EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Page 878

Siemens SIMATIC ET 200AL
1585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
192 Function Manual, 12/2017, A5E03735815-AF
Server method
When the tag "#Started" has the value "TRUE", this starts the actual user program (lines 15
to 31).
You have all kinds of programming options in this section: You can read in or output process
values, access global data blocks, call functions and function blocks, etc.
The application program may take several cycles.
To signal the end of the user program set the tag "#Method_Finished" to "TRUE".
With "#Method_Result" you transfer a self-defined error code that is used at the block
parameter "UAMethod_Result" of the instruction "OPC_UA_ServerMethodPost".
Calling the "OPC_UA_ServerMethodPost" instruction
The tag "#Method_Finished" was set in line 21 or 29 (server method) to save the state that
the user program (lines 15 to 31) was executed.
This tag is used in the instruction "OPC_UA_ServerMethodPost" to inform the operating
system if the server method was executed or not (lines 33 to 45).

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals