OPC UA communication
9.4 Using the S7-1500 CPU as an OPC UA client
Communication
Function Manual, 05/2021, A5E03735815-AJ
321
Connection parameter assignment using an example:
The plant produces blanks in a production line.
The following controllers are used:
1.
An S7-1511 CPU serves as the controller of the production line.
The controller is named "
Productionline
" in the example.
The OPC UA server of the controller is enabled.
The CPU has the IP address 192.168.1.1 in the example.
This CPU publishes the values of following tags via the OPC UA server:
–
NewProduct
The tag has the data type "BOOL".
When this PLC tag has the value TRUE, the production line has processed a blank.
The blank is ready for pick-up.
–
ProductNumber
This tag contains the identification number of the blank.
The tag has the data type "Int".
–
Temperature
This tag contains temperature values recorded during the production of the blank.
The tag is an array with elements of the "Real" data type.
In addition, this CPU provides the following writable tag:
–
ProductionEnabled
The tag is set by the OPC UA client.
The tag has the data type "BOOL".
If the value is set to TRUE, the production line is released and may produce blanks.
In addition, this CPU provides the following method via the OPC UA server:
–
OpenDoor
.
OPC UA clients can hereby arrange for an access door to be opened to the production
line.
2.
An S7-1516 CPU controls the interaction with other production lines.
This CPU is named "
Supervisor
" in the example.
The OPC UA client of this CPU is enabled.
Using OPC UA, this CPU can read the NewProduct and ProductNumber tags, set the
ProductionEnabled tag and call the OpenDoor method.
The CPU has the IP address 192.168.1.2 in the example.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......