OPC-UA Solutions What real world problems can be solved with UA?

Jim Luth OPC Foundation Technical Director October 2006 The Plant : a Complex Environment with many opportunities for standards for interoperability

Other Plant Computing Servers Devices

hours PLANT INFORMATION NETWORK - Ethernet Personal Computer Network Manager Archive Replay Module Area Servers Control Stations min Plant Additional Network Application History CN Modules Modules Module Module

secs Fiber Optics

CONTROL NETWORK Network Network PLC Gateway Gateway Gateway Subnetwork Gateway Network Control Network Interface Extenders Other Data Module PLC Other 1 sec Hiway Boxes Subsystems Multifunction k Logic Manager r C Process o Controller O w N t Manager e Extended T n R msec Controller O b u L S N Advanced Basic E T Process Controller W

O Manager Advanced R K Multifunction LocalProcessors Controller

µ sec Transmitters Smartine Transmitters • Asynchronous Processing • Complex Information Flows • Multiple Interfaces • Multi-vendor • Mission Critical • Proprietary • How To Manage Changes? Jim Luth 2 Numerous Incompatible Protocols

DDE RS -232 HART Lonworks UNICODE 802.3 V.35 InterbusBluetooth DNS CC -Link IPsec RS -485 CAN TCP OAGIS KerberosDeviceNet ControlNet CORBA netDDERS -422 DHCPBAPI EBCDIC HTTP SOAPSNMP DeviceLogix802.11 COM IPX FIPIO ANSI USB AS -I Industrial RS -423 .NET RemotingCANopen DCOM OPC -HDA ARPXMLEthernet OPC -A&E OLE Firewire WMI IPv6 802.1x IPv4 UDP OPC -DA FDI ICMP RARP EthernetJ1939 FTP

Jim Luth 3 Numerous Incompatible Tiers

E RP CR RM SC CE SC P CP LM

R& &D En te rp ri ise

Jim Luth 4 New features in Unified Architecture

Highlight of some features new to UA that were not available in previous OPC interfaces…

Jim Luth 5 New Communications Underpinnings

Based on standards for the Web XML, WSDL, SOAP, WS-* WS-Policy negotiates protocol and encoding WS-SecureConversation provides secured sessions Optimized for the Intranet OPC Binary encoding over TCP

Jim Luth 6 OPC Interface Unification

SOA (Service Oriented Architecture) Alarms & Single set of Services Events Query, Read, Write, Data Access Subscribe… Historical Data Named/Typed relationships Access between nodes. Commands

Complex Data UAUA ServerServer

The UA Server embodies the functionality of existing OPC Servers using a single set of services

Jim Luth 7 New Security Model

UA Clients present credentials to UA Servers (x509 certs on both sides).

UA Servers require authentication and authorization. Access control can be fine-grained down to the property level.

Optional message signing and encryption.

Jim Luth 8 New Complex Data Features

Tells clients how to parse structured data

Allows use of XML Schemas for describing XML data

Defines OPC Binary data description language that uses XML to describe binary data structures

Allows client to access device specific data descriptions (e.g. Fieldbus Foundation OD)

Jim Luth 9 Designed to expose models

Vendor Information Model

Information Model Specifications IEC, ISA, MIMOSA …

OPC Information Model DA A&E HDA CMDs

OPC UA Base Services All Necessary Services

Clients written to just the base can still discover and access all data from the derived layers!

Jim Luth 10 Unified Object Model

OPC DA and HDA OPC Commands

OPC UA Object

Variable Services Method Services Variables Methods ______() ______() ______() OPC A&E

Events Event Services

OPC Subscriptions

Jim Luth 11 Robustness

Subscription Update Features Keep-alive (heartbeat) messages Allows clients to detect a failed server or channel Sequence Numbers in each update message Allows client re-sync to obtain missed messages Decouples callback channel from notification mechanism, allowing callback channel to be reset without loss of data

Redundancy Features Designed for easy (optional) redundancy of both Clients and Servers e.g. re-sync request can be sent to a backup server

Jim Luth 12 UA Scalability es m ra Standard internet nf ai m protocols allow s er cross-platform st lu c Mainframe communication rs ve er s Server ps Cluster to sk e Server d Server es bl ta Desktop or PC p es Portables ic Multiple UA APIs ev de •C/C++ Controllers Controllers •JAVA Embedded Systems •Microsoft .NET

Jim Luth 13 Existing OPC Features Retained

Address Space visibility through browsing & query

Efficient report-by-exception communication

Similar base information models for easy adapters

OPC Information Model DA A&E HDA CMDs

Jim Luth 14 Solutions

Example Problems Solved

with UA Solutions…

Jim Luth 15 Remote Access

PROBLEM: I need fast, secure remote access to data via the internet to my supply chain partner.

SOLUTION: OPC-UA using HTTP and UA Binary encoding

Jim Luth 16 ISA S95 Modeled Plant

PROBLEM: I modeled my plant using ISA S95 and I want the metadata in the model available as well as the real-time data.

SOLUTION: OPC-UA is designed to expose model metadata and there will be a UA companion spec. for S95

Jim Luth 17 OPC in device

PROBLEM: I want to supply an OPC interface to my device without the use of an external Windows PC

SOLUTION: OPC-UA is cross-platform and embeddable

Jim Luth 18 Java based ERP

PROBLEM: My Java based ERP system needs data from MES and the factory floor

SOLUTION: OPC volunteers are creating a UA communication stack and API in Java

Jim Luth 19 Redundancy

PROBLEM: EDF needs redundancy in nuclear applications

SOLUTION: UA defines how redundancy is done for consistency between all UA applications

Jim Luth 20 Questions?

Jim Luth OPC Foundation Technical Director [email protected]

Jim Luth 21