01 Introduction Overview
01 Introduction Overview
Introduction and
Overview
© Siemens 2019 siemens.com/sitrain
Learning objectives
… what OPC UA is
OPC:
• OLE for Process Control (old acronym for the OPC Classic standard)
• Openness, Productivity and Connectivity
• Open Platform Communications (in use since OPC Unified Architecture (UA))
Cloud
Remote
application
Control system, e.g. WinCC Professional
Driver A
Driver A
Interface A
Interface A
A
Interfaces
B C D E F G
PROFINET
PROFIBUS
Ethernet
Fieldbus X
Modbus
S7
Field devices Distributed I/O Controllers
The solution Office SCADA
Cloud
Remote
application
Interface A
OPC UA
OPC UA communication
PROFINET
PROFIBUS
Ethernet
Fieldbus X
Modbus
S7
Field devices Distributed I/O Controllers
Goals of OPC
• Flexible and efficient data access Many applications and hardware support OPC
• Easy to understand Can be utilized after just a little training
• Easy to implement Programming examples, libraries
• Openness of specification Available through OPC Foundation, IEC standard
• Use of universal and platform-independent devices as data source
• Integration in devices on all levels of the automation pyramid
With OPC UA, field devices can be directly connected as servers
• Comprehensive security e.g. authorization, authentication, encryption
What OPC is not:
• OPC is not a replacement for fieldbus protocols
• There is currently no real-time-capable communication at the field level, e.g. PLC, drives, valves,
I/O modules
Advantages of OPC
Only one software driver has to be developed as the interface for an OPC
server
The hardware can be integrated immediately in all OPC-capable applications
The server function can be integrated in hardware through developer kits
Highlights of OPC
Convenient interface
Comprehensive set operations
Asynchronous read and write operations
… OPC UA in detail
Industry standards as Companion Specifications
Platform independence
Cross-vendor interoperability
Compact and clearly structured functionality
OPC Foundation
SPECIFICATION
Publication of first A&E OPC UA IEC 62541 PUBSUB
specification OPC Classic Alarms & Release of OPC UA as Completion of IEC PubSub specification
Establishment of OPC Events specification harmonized standardization for for IoT communication
Foundation specification OPC UA
TSN
START DA HDA IEC STANDARD OPEN SOURCE Completion of IEEE
OPC task force is Release of OPC Classic Release of OPC Classic OPC UA submitted as Communication stacks standardization for real-
formed specification for specification for IEC standard become open source time communication
Data Access Historical Data Access with TSN Ethernet
1995 1996 1998 1999 2001 2006 2009 2014 2015 2018 2019
OPC UA principle
Uniform access
OPC UA integrates existing OPC Classic specifications – DA, A&E, HA, Programs – in one specification.
The single shared basis for information access reduces the costs for system integration.
OPC UA
COM Client
UA Client OPC DA Data Access
• Data Access OPC OPC HDA Historical Data Access
• Historical Access
Client OPC A&E Alarms & Events
• Alarms & Conditions
• Programs
Security Security
• User name / Password • Certificate-based
• User administration • Encrypted connection
• User name / Password
• User administration
Performance Performance
• Each access type requires a server • A single server is possible
• Data transfer without semantic description • Data transfer and semantic description
Client/server architecture
Comparison of OPC Classic and OPC UA
OPC UA
OPC
OPC Server OPC UA Server
Data broker Server Data supplier Server
Industrial PC Data broker
with Windows Embedded
PN
Server possible
PN
Embedded Server S7-1500
Data supplier e.g. RFID reader
Data supplier
S7-300 S7-1200
Management
OPC UA
Direct connection of level Real-time-capable
devices on all levels
Operator
Authentication and level C2C communication in
PROFINET
encryption real time
Controller
level
Standardized profiles
Semantics services Field
level
Advantages on the data and Advantages on the control
management levels and field levels
OPC UA Specification
Access types
Part 8 – Data Access Part 10 – Programs
Infrastructure Basic
Part 1 – Concepts Part 5 – Information Model
Utility
Part 12 – Discovery Part 13 – Aggregate
Siemens Industry product portfolio
Classification of OPC UA servers
Controller HMI IPC Industrial Motion MindConnect IOT2000, S7-400 with CP 443-1
communication control Nano
TIA Portal
Engineering
Client
Exercise concept in detail
Receiving of packages
RFID reader
Server • Scanning of a package with the RFID reader
• Provision of the scanned package ID
WinCC RT Advanced
Control and visualization of the process
Client
• Reading/writing of variables of the S7-1500 from an HMI
Independent exercises
Guideline for the practical exercises
Server
Client
S7-1200 S7-1500
2D code reader AnsiC
Data supplier for Client/Server
Server Server
SIMATIC NET
OPC UA
Server
PROFINET
Exercise concept in detail