Sei sulla pagina 1di 30

PLCopen ®

for efficiency in automation

PLCopen and OPC UA

a perfect match

Eelco van der Wal


Managing Director PLCopen

Page 1 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Page 2 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Page 3 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

PLCopen as a World-wide association


Main Office in Europe Office in Korea
Office in North America Office in China
Office in Japan

Page 4 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

What is this?

1100 1010 0011 0101

Page 5 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

How do I get access to it?


1100 1010 0011 0101

Where can I find it?

Page 6 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

RPM =2000

HMI with graphic representation of temperature value

How ?

Controller with temperature value

Page 7 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

It is not about the networks


It is about communication
It is not about data
It is about information

Page 8 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Communication (TC4)

Page 9 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

TC4 Communication
 OPC UA specifies HOW
 PLCopen specifies WHAT

Page 10 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

IEC 61131-3 Software Model


Configuration
Resource Resource Variable
access path

Task Task Task Task FB


Function
Block

Program Program Program Program


Variable
FB FB FB FB

Global and direct variables


Execution
control path

Access path

Communication Function

Page 11 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

OPC-UA
BaseVariableType BaseObject Type
OPC UA Part 5 OPC UA Part 5

OPC-UA DI
Configurable TopologyElement
ObjectType BlockType
Type

DeviceType

IEC 61131-3 OPC-UA

CtrlTaskType CtrlConfigurationType CtrlResourceType CtrlProgramOrganizationUnitType

Priority ConfigurableComponentsType:
Resources CtrlProgramType CtrlFunctionBlockType

Examples

PLC_Z345 CPU_A100 Main FB_MotorControler

ConfigurableComponentsType:
Resources bLocalMain nInput

CPU_A100:
FB_MotorControler: fOutput
CPU1
MotorControler1

CPU_A100: FB_MotorControler: bLocal


CPU2 MotorControler2

Page 12 printed at 11/28/2018 www.PLCopen.org


FolderType:
Root
PLCopen ®

for efficiency in automation


FolderType:
Organizes
Objects Ctrl Configuration
BaseObjectType:
Organizes
DeviceSet

PLC_Z345:
PLC1
Ctrl Resource
ConfigurableObjectType:
Resources

CPU_A100:
CPU1

CPU_A100: TaskType:
CPU2 Task1 Priority

ConfigurableObjectType:
Programs

Main: Executes
Main1

HasLocalVars bLocalMain

FB_MotorControler:
Motor1

Ctrl Program HasInputVars nInput


Organization Units
HasOutputVars fOutput

HasLocalVars bLocal

FolderType:
GlobalVars nGlobal1

nGlobal2

Page 13 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Source Code
How? Communication to
OPC UA Client

Development Environment

Compiler

Controller / Run time environment

Logic Motion Safety OPC UA Server


Program Shared
Information Implementation

Page 14 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Page 15 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation


Different entry point:
Beckhoff Cntrl Bosch-Rexroth Logic B&R Cntrl

... but semantic identical objects!

Page 16 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Entry point into namespace


Object types based on Full object hierarchy Entry point for DA
Function Blocks below DeviceSet Clients like HMI

Page 17 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Advantages for users


 Transparent Access to relevant information
• like Variables, Datatypes, Function Blocks, Structures, Tasks, etc.

 Less Engineering time in overall control systems


(Controller, HMI, SCADA, ERP, etc.)
 Transparent Communication independent from system
and network

“Communication will never be the same”

Page 18 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Transparent communication
independent from system and network

Page 19 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

The logo

Page 20 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

The cooperation

Page 21 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

New activities with OPC Foundation

Page 22 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

PLCopen & OPC: The logical next steps


FB‘s for Data Communication
Prototype implementation
of all FB‘s done !
UaConnect
UaNodeGetHandle Call for Review Dec-2013
UaNodeReleaseHandle Release March 2014
UaNodeGetInfo
UaMonitoredItemCreate
UaMonitoredItemDelete
UaRead / UaReadList
UaWrite / UaWriteList
UaMethodGetHandle
UaMethodReleaseHandle
UaMethodGetInfo
UaMethodCall

Diagnosis
UaConnectionGetStatus

Page 23 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Controller-to-Controller Communication

Goal: to define a set of FBs for UA Client communication


Basis for Machine-to-Machine communication

Page 24 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Controller-to-Controller Communication
PLCopen & OPC-UA-FB’s:
Plant Engineering MES System
- Vertical communication
OPC UA Server OPC UA Server
- Horizontal communication
- Fieldbus independent
OPC-UA

OPC-UA
It’s fast – but not a fieldbus!

OPC-UA OPC-UA

Page 25 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Future: Connection out of controller


MES System Plant Engineering
OPC UA Server OPC UA Server Virtual machine
Data
base

Page 26 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Overview PLCopen

Page 27 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Page 28 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

Page 29 printed at 11/28/2018 www.PLCopen.org


PLCopen ®

for efficiency in automation

More Information...
and to download the specifications (f.o.c)

www.PLCopen.org

Free-of-Charge electronic Newsletter ‘PLCopening’ (in English)


email: evdwal@PLCopen.org

Page 30 printed at 11/28/2018 www.PLCopen.org