Siemens OPC UA User manual

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