0% found this document useful (0 votes)
3 views

OPC Client Server

The document discusses Open Platform Communications (OPC), an interoperability standard for data exchange in industrial automation, highlighting the development of OPC UA specifications for enhanced scalability and security. It contrasts OPC Classic with OPC UA, detailing the limitations of COM/DCOM and the advantages of a platform-independent architecture. Additionally, it provides practical applications for establishing OPC connections between various PLCs and SCADA systems.

Uploaded by

basit890
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

OPC Client Server

The document discusses Open Platform Communications (OPC), an interoperability standard for data exchange in industrial automation, highlighting the development of OPC UA specifications for enhanced scalability and security. It contrasts OPC Classic with OPC UA, detailing the limitations of COM/DCOM and the advantages of a platform-independent architecture. Additionally, it provides practical applications for establishing OPC connections between various PLCs and SCADA systems.

Uploaded by

basit890
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

OPC Client/Server software

and practical applications

Ragab Abd Elwanees


OPC
Open Platform Communications (OPC) :
• Interoperability standard for the secure and reliable exchange of
data in industrial automation and manufacturing
• It is a platform that ensures the seamless flow of information
among devices from multiple vendors.

❖ The OPC Foundation developed the OPC UA specifications to address these needs and at the same time provided a
feature-rich technology open-platform architecture that was future-proof, scalable and extensible.

Ragab Abd Elwanees


OPC client OPC Server

A software program to provide data

Ragab Abd Elwanees


OPC
1. Lack of device interoperability caused less than optimal solutions and high costs for customers.
2. OPC development was driven by the needs of customers.
3. OPC is a standard for data representation upon which
4. OPC software applications are built.
5. Three types of OPC applications- OPC server, OPC client and OPC client/server.

siemens ABB
Ragab Abd Elwanees
OPC Server/client

• The OPC client uses the OPC server to get data from or send commands to the hardware.

Ragab Abd Elwanees


Ragab Abd Elwanees
The OPC client uses the OPC server to get data from or
send commands to the hardware.
• OPC protocol is used to transfer data over a network and overcome the

security problems.

• OPC is an open standard

• Any OPC client can interface with any OPC server, Regardless of the

vendor

Ragab Abd Elwanees


OPC DA vs OPC UA
Classic OPC

The OPC Classic specifications are based on Microsoft Windows technology using the COM/DCOM (Distributed
Component Object Model) for the exchange of data between software components. The specifications provide
separate definitions for accessing process data, alarms and historical data.

OPC DA (Data Access)

• Original version of OPC specification


• Based on Microsoft windows technology using the COM/DCOM
• Most widely used specification in the OPC standard.

• OPC Data Access (OPC DA)

• OPC Alarms and Events (OPC AE)

• OPC Historical Data Access (OPC HDA)


Ragab Abd Elwanees
COM /DCOM
• COM: Component Object Model.
• DCOM: Distributed Component Object Model.
• Need to be aware because you may have to configure COM/DCOM in Windows.

Request value

OPC Client OPC Server

Data Item returned


Data Item consists of 3 parts:
• Value
• Quality
• Time Stamp
Ragab Abd Elwanees
Limitations of COM/DCOM

Classic OPC

COM DCOM

Drawbacks of COM/DCOM:
• Frequent configuration issues with COM and DCOM.
• Instability of COM and DCOM within Windows.
• Limited to the Windows OS only.
• Data Security issues.

***Decision made to develop OPC standard independent of COM/DCOM***


OPC HDA:
• OPC Historical Data Access.
• Provides access to historical data as opposed to real - time data

OPC AE
• OPC Alarms and Events
• Provide access to alarm and event data

❖ The importance of choosing OPC clients/servers based on the specifications they support.
❖ That OPC clients and servers exchange Data Items and each consists of a value, quality
and time stamp

Ragab Abd Elwanees


OPC UA (Unified Architecture)

• Released in 2008
• Platform-independent service-oriented architecture
• A cross-platform protocol (does not depend on any particular operating system or hardware platform)

Windows MacOS Linux

OPC UA also defines the necessary access mechanisms to information models.


• Look-up mechanism (browsing) to locate instances and their semantic
• Read and write operations for current data and historical data Method execution
• Notification for data and events
COM/DCOM TCP/IP

Choosing OPC Software


• There is no one OPC client or server that supports all of the OPC specifications
• Need to be aware of the OPC specifications of the software bring used
• OPC Specifications are used when OPC clients and servers are developed.

BIG POINT: Always check the data sheets of OPC server and client software before you choose

Ragab Abd Elwanees


OPC application 1
S7-1500 and ignition SCADA

Ragab Abd Elwanees


❑ The application example describes the configuration steps for creating a secure OPC UA connection
between a SIMATIC S7-1500 controller and and ignition SCADA

Ragab Abd Elwanees


Steps

1. Device configuration 2. Set IP address for the PLC

Ragab Abd Elwanees


3. Activate OPC UA server 4. Runtime licenses have to be the same

Ragab Abd Elwanees


Using s7-PLCSIM advanced V4.0 to act like an actual PLC

5. Activate PLCSIM Virtual Eth


Adapter

6. Set Communication parameters

7. Start simulation

Ragab Abd Elwanees


Creating an OPC Connection in Ignition Gateway

New connection

OPC UA connection

Ragab Abd Elwanees


Insert the endpoint URL (server )

next

Ragab Abd Elwanees


Ragab Abd Elwanees
❑ Now we have an OPC client connection with in ignition gateway and you can transfer data
between the the SCADA and the PLC across OPC UA server/client

Ragab Abd Elwanees


OPC application 2
micro850 PLC and ignition SCADA

Ragab Abd Elwanees


We will use (Cogent DataHub) to provide OPC server

Ragab Abd Elwanees


Turn on PLC simulator

Connect PLC with


cogent OPC server

Ragab Abd Elwanees


Activate

Set parameters

Ragab Abd Elwanees


❑ Here we can copy the endpoint URL (server) in order to connect with ignition OPC client
❑ Then you can add new OPC client connection in ignition gateway as the same as before

Ragab Abd Elwanees

You might also like