Simatic OPC UA Server and Client en
Simatic OPC UA Server and Client en
Simatic OPC UA Server and Client en
Embedded security
(authentication, signature et crypted
communication)
Server activation
Browse
OPC UA
server
Browse request
Node ID = 84 (root folder), BrowseDirection = forward
Browse response
Node ID, browse name, display name, node class, type def
Browse
Read
OPC UA
server
Read request
Node ID = "DB1"."myArray“
1111
1111 Read response 1111
0000
Value = “11110000”, Timestamp = 10/29/2018 3:15pm, Status = Good
DB1.myArray DB1.myArray
Data access
1111
0000
DB1.myArray
Write
OPC UA
server
1111 Write request
0000 Node ID = "DB1"."myArray“, Value = “11111111”,
DB1.myArray
1111
Write response 1111
Status = Good ü
DB1.myArray
1111
0000
1111
DB1.myArray
OPC UA
Register Node request Node ID = "DB1"."myArray“
server
Register Node response Node ID = “123456789"
Node ID: "123456789“
Memory: 16# ABCD_01234
Read request
Node ID: "DB1". "myArray"
Node ID = "123456789" Node ID: "123456789" 1111
1111 1111
0000
Read response 123456789
123456789
Value = “11110000”, Timestamp = 10/29/2018 3:15pm, Status = Good
Data access
3000 2750
2750 2500
2500 2250
2250 2000
2000
1750
1750 50%
Communication load
1500
1500
1250
1250
1000
1000
750
750
500 500
250 250
0 Items 0 Items
100 500 1000 Struct of 1000 Array of 1000 [DINT] 100 500 1000 Struct of 1000 Array of 1000 [DINT]
Read avg. Registered Read avg. Read avg. None 1516 Read avg. Basic256Sha256 Sign&Encrypt 1516
7000
3500
50%
6000 3000 Communication load
5000 2500
4000 2000
3000 1500
2000 1000
1000 500
0 0 Data
Comm BOOL DWORD REAL LREAL DINT STRING WSTRING
20% 25% 30% 35% 40% 45% 50% type
load [254] [254]
Read 1516 avg. Reg. Read avg. 1516 Read 1516 avg. Reg. Read avg. 1516
Subscribe
OPC UA
server Subscribe request
Node ID = „DB1“.“myArray“, Publishing interval = 5s, Sampling interval = 1s
Publish request
Sampling Queue
1111
1111 Publish response 0000
1111
0000
1111 Publish response
Value = “11110000”,
“11111111”, Timestamp = 10/29/2018 3:15pm, Status = Good
DB1.myArray DB1.myArray
Publishing
Sampling
Methods
OPC UA
server
Drive
Method FB
Call request
NodeID
Node ID==“instDrive".“Method“,
“instDrive".“Method“, InputArguments:
InputArguments:[ [DriveSpeed
DriveSpeed==“99999”
“1000” ]]
SetDrive
Speed
Call response
OutputArguments:
OutputArguments: [] [ ] Status =Status = Good
BadInvalidArgument
RPM: 1’000
0
• Consistent data transmission • Request based interaction with the user program
Methods
• Consistent data transmission • Request based interaction with the user program
Use of methods
Programming methods
Companion Specification
Standard SIMATIC interface User defined interface Standardized interface
Instance
https://support.industry.siemens.com/cs/us/en/view/109755133
BD
Exportation
Types, instances, mapping
Mapping
Publishing
Registering Nodes
Browse Request
Call Request ( )
R/W Request
R/W Request
Browse Response
Call Response ( )
R/W Response
R/W Response
Node Handles Sampling
Browsing of Acyclic access to High performance Load reduction for Consistent data transfer Information
SPS-Data data with repeated HMI / monitoring through function call modeling
acyclic access applications (no handshakes)
OPC UA OPC UA
Server Client
Machine Machine
Method
PLC PLC
Companion
Specifications Object
OPC UA & Methods
Client
Variable
Variable – Property
Michel Avondet
Technical Account Manager for CERN
Av.des Baumettes 5
1020 Renens
Téléphone: +41 585 584 712
E-mail:
michel.avondet@siemens.com
siemens.ch