OPC UA for S7-1500 and S7-1200
Unrestricted © Siemens 2020 |
siemens.com/simatic-s7-opcua |
|
|
OPC UA at a glance
OPC Foundation
•Founded 1996 (OPC Classic specification) ,OPC UA specification release 2009
•More than 450 members from all areas
|
|
|
|
|
Siemens AG |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Bosch Software Innovations GmbH |
|
||||||||||||||||||
|
|
|
|
|
|
|
|
SAP AG |
|
|
Fraunhofer IOSB |
|
|
|
|
|||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PHOENIX CONTACT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
Cisco Systems |
|
|
|
|
Yokogawa Electric Corporation |
|
|
Unified Automation GmbH |
|
|||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HMS Industrial Networks |
|
|
|
Bosch Rexroth AG |
|
|
Emerson Process Management |
|
|
Honeywell Inc |
|||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
ProSoft Technology |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||
|
|
|
Rockwell Automation |
|
|
|
Softing Industrial |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
Endress+Hauser Process Solutions AG |
||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Beckhoff Automation GmbH |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
|
|
|
Microsoft Corporation |
|
|
|
FANUC CORPORATION |
|
|
CERN |
|
|
|
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ABB Automation GmbH |
|
|
|
|
|
IBM |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||
|
|
|
|
|
|
|
|
Bundesamt für Sicherheit in der Informationstechnik (BSI) |
|
|
||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
Festo AG & Co. KG |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||
|
|
|
|
ascolab GmbH |
|
|
|
|
|
|
|
B&R |
|
|
|
GE |
|
|
|
|
Pilz GmbH & Co. KG |
|
|
|
||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
Unrestricted © Siemens 2020 |
|
|
|
Schneider Electric |
|
|
Hilscher Gesellschaft für Systemautomation mbH |
|
|
|
|
|
||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
Page 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OPC UA at a glance Cooperations
Unrestricted © Siemens 2020
Page 3
North-South Alignment
Strategic alignment of OPC UA and PROFINET
Cloud
|
MES, ERP |
|
<![if ! IE]> <![endif]>North |
SCADA, DCS |
|
OPC UA |
||
|
V15.1
<![if ! IE]> <![endif]>South |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PROFINET |
|||||
|
|
|
Unrestricted © Siemens 2020
Page 4
<![if ! IE]> <![endif]>Ethernet |
<![if ! IE]> <![endif]>OPC UA |
|
<![if ! IE]> <![endif]>Industrial |
<![if ! IE]> <![endif]>PROFINET |
|
|
||
|
|
|
|
|
|
Controller
Power supply and distribution
Manufacturing Execution System
SCADA- |
|
Energy |
System |
|
management |
|
||
|
Engineering- |
|
|
Framework |
HMI |
IPC |
Industrial |
Motion |
CNC |
|
|
Communication |
Control |
|
Industrial |
Decentral IO |
Drives |
Industrial |
Identification |
|
|
controllers |
OPC UA Data Access Client (SIMATIC S7-1500)
Customer use cases
Vertical Line Integration: e.g. MES, SCADA |
|
Industry Standard Support |
|
|
|
UA |
UA |
Server S7- |
Server S7- |
1500 |
1200 |
Machine |
|
PLC |
|
|
UA |
|
Client |
Unrestricted © Siemens 2020
Page 5
UA
Client
Machine |
PLC |
Inbuilt server |
|
interface |
Method |
building
Object
Companion Variable
Specifications
& Methods
Variable – Property
S7-1500 OPC UA Server
Browsing
Client
<![if ! IE]> <![endif]>Browse Request |
<![if ! IE]> <![endif]>Browse Response |
Server
Browsing of
SPS-Data
Read/Write
Client
<![if ! IE]> <![endif]>R/W Request |
<![if ! IE]> <![endif]>R/W Response |
Server
Acyclic access to data
S7-1500 S7-1200
S7-1500
S7-1200
*: Only for user modelled interfaces
Unrestricted © Siemens 2020
Page 6
Registered
Read/Write
Client
<![if ! IE]> <![endif]>Registering Nodes |
<![if ! IE]> <![endif]>Node Handles |
<![if ! IE]> <![endif]>R/W Request |
<![if ! IE]> <![endif]>R/W Response |
Server
High performance with repeated acyclic access
Subscription
Client
Publishing
Sampling
Server
Load reduction for HMI / monitoring applications
S7-1500 |
|
S7-1200 |
|
S7-1500 |
|
S7-1200 |
|
|
|
|
|
|
|
Methods
Client
<![if ! IE]> <![endif]>Call Request ( ) |
<![if ! IE]> <![endif]>Call Response ( ) |
Server
Consistent data transfer through function call (no handshakes)
Companion
Specifications
Client
Server
Information modeling
S7-1500 |
|
S7-1200 |
|
S7-1500 |
|
S7-1200 |
|
|
|
|
|
|
|
OPC UA Server for SIMATIC S7-1500 based CPUs
Functional scope
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
• Browsing of PLC Data • Dynamic adaptation of the client configuration to the data provided by a server
Unrestricted © Siemens 2020
Page 7
OPC UA Server for SIMATIC S7-1500 based CPUs Functional scope
|
Read |
|
|
|
|
OPC UA |
|
|
server |
|
|
|
Read request |
|
|
Node ID = "DB1"."myArray“ |
|
1111 |
Read response |
|
0000 |
Value = “11110000”, Timestamp = 10/29/2018 3:15pm, Status = Good |
|
DB1.myArray |
||
|
||
|
|
Data access
1111
0000
DB1.myArray
• Symbolic read access to PLC data
Unrestricted © Siemens 2020
Page 8
1111
1111
DB1.myArray
OPC UA Server for SIMATIC S7-1500 based CPUs Functional scope
OPC UA server
1111
1111
DB1.myArray
Data access
1111
11110000
DB1.myArray
Write
Write request
Node ID = "DB1"."myArray“, Value = “11111111”,
Write response
Status = Good
• Symbolic write access to PLC data
Unrestricted © Siemens 2020
Page 9
1111
1111
DB1.myArray
OPC UA Server for SIMATIC S7-1500 based CPUs Functional scope
OPC UA server
Node ID: "123456789“
Memory: 16# ABCD_01234
1111
0000
123456789
Data access
1111
0000
DB1.myArray
Registered Read
Register Node request Node ID = "DB1"."myArray“
Register Node response Node ID = “123456789"
Read request
Node ID = "123456789"
Read response
Value = “11110000”, Timestamp = 10/29/2018 3:15pm, Status = Good
Improved performance with repeated access
• Repeated access to PLC data
Unrestricted © Siemens 2020
Page 10
Node ID: "DB1". "myArray"
Node ID: "123456789" |
1111 |
|
|
|
1111 |
|
123456789 |
OPC UA Server for SIMATIC S7-1500 based CPUs Functional scope
OPC UA server
Sampling Queue
1111
11110000 DB1.myArray
Sampling
1111
11110000 DB1.myArray
Subscribe
Subscribe request
Node ID = „DB1“.“myArray“, Publishing interval = 5s, Sampling interval = 1s
Publish request
Publish response
Publish response
Value = “111100001111”, Timestamp = 10/29/2018 3:15pm, Status = Good
Publishing
Load reduction for monitoring use cases (Compared to polling)
1111
11110000 DB1.myArray
|
• Load reduction for monitoring use cases |
• Absoulte filters possible |
|
|
|
Unrestricted © Siemens 2020
Page 11
*: Simplified illustration