OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
Function Manual, 05/2021, A5E03735815-AJ
281
Integrating the server method
The diagram below shows how an OPC UA client (A) calls the server method "Cool":
The CPU executes the instance "Cool1" of the server method "Cool" in the cyclic user program
⑥
.
The CPU first uses the instruction "OPC_UA_ServerMethodPre" to query
④
whether an OPC UA
client has called the server method "Cool"
①
.
•
If the server method has not been called, program execution returns directly to the cyclic
user program over
④
and
⑥
. The CPU resumes the cyclic user program after "Cool1".
•
If the server method has been called, this information is returned to the server method
"Cool" over
④
. The actual functionality is now executed in the Cool server method,
see"<Method Functionality>" in the graphic.
The server method then uses the instruction "OPC_UA_ServerMethodPost"
⑤
to notify the
firmware (B) that the instruction has been executed
③
.
The firmware returns this information over
②
to the calling OPC UA client (A).
The CPU resumes the cyclic user program after "Cool1".
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......