0% found this document useful (0 votes)
69 views16 pages

T314-05 OPC Connectivity - RevC

This chapter discusses OPC connectivity in System 800xA training. It describes the OPC standard, structure and data flow of OPC communication, and the MMS server. It also explains necessary OPC server settings and how to verify OPC connectivity.

Uploaded by

Rio Yuwandi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views16 pages

T314-05 OPC Connectivity - RevC

This chapter discusses OPC connectivity in System 800xA training. It describes the OPC standard, structure and data flow of OPC communication, and the MMS server. It also explains necessary OPC server settings and how to verify OPC connectivity.

Uploaded by

Rio Yuwandi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

System 800xA Training

Chapter 5 OPC Connectivity

TABLE OF CONTENTS

Chapter 5 OPC Connectivity .................................................................................................................................................. 1


5.1 General Information ..................................................................................................................................................... 2
5.1.1 Objectives.............................................................................................................................................................. 2
5.1.2 Legend .................................................................................................................................................................. 2
5.1.3 Reference Documentation ...................................................................................................................................... 2
5.2 OPC Communication.................................................................................................................................................... 3
5.2.1 OPC Standard ........................................................................................................................................................ 3
5.2.2 Structure and Data Flow......................................................................................................................................... 4
5.2.3 MMS Server .......................................................................................................................................................... 5
5.2.4 OPC Terms............................................................................................................................................................ 5
5.2.5 Controller CPU Load ............................................................................................................................................. 6
5.2.6 AfW OPC Service Model ....................................................................................................................................... 6
5.3 OPC Server Settings ..................................................................................................................................................... 8
5.3.1 How to Setup Data Access Connection................................................................................................................... 8
5.3.2 How to Setup Alarm and Event Connection............................................................................................................ 9
5.3.3 How to Load Configuration Automatically at Startup ............................................................................................. 9
5.4 OPC Settings in System 800xA....................................................................................................................................10
5.4.1 How to Check OPC Data Access Settings..............................................................................................................10
5.4.2 How to Check OPC Alarm and Event Settings.......................................................................................................11
5.5 Check OPC Connectivity.............................................................................................................................................14
5.5.1 Check Control Object Properties ...........................................................................................................................14
5.5.2 Check the System Services....................................................................................................................................16

Chapter 5 - 1
T314-05 OPC Connectivity - RevC

5.1 General Information

5.1.1 Objectives
On completion of this chapter you will be able to:
• Describe communication structure and data flow
• Explain the necessary settings
• Verify communication (live data)

5.1.2 Legend
> Indicates when you go from one menu to a sub-menu
Italic Indicates object and file names
“ “ Indicates dialog box buttons, tabs, menus etc.
Bold Indicates important topics
Indicates start/explanation of student activity

5.1.3 Reference Documentation


3BSE035983 Industrial IT 800xA – Control and I/O
OPC Server for AC 800M – Configuration
3BSE041434 Industrial IT 800xA - System
System Guide – Technical Data
3BSE043732 Industrial IT 800xA – Control and I/O
Application Programming – Introduction and Design

Chapter 5 - 2
System 800xA Training

5.2 OPC Communication

5.2.1 OPC Standard


OPC stands for OLE for Process Control. OLE (Object Linking and Embedding) is a
Microsoft technology for objects to interact with each other. OLE is based on COM or
DCOM.
OLE allows placement of “embedded objects” and “linked objects” in a document that
retains the native data used to create them (or a “link” to that data) as well as format
information. In simpler terms, the ‘clipboard’ metaphor of ‘cut’, ‘copy’, and ‘paste’.
A double-click allowed the object data to be automatically brought back into the
original editor.

The OPC Foundation is a non-profit corporation that has established a set of standard
OLE/COM interface protocols advancing interoperability between automation/control
applications, field system/devices and business/office applications in the process
control world.

While OLE was originally designed for office applications (e.g. Word, Excel). OPC
technology is an extension of that protocol for industrial applications.
NOTE! OPC is an open standard.
www.opcfoundation.org

OPC provides a mechanism to provide data from a data source and communicate the
data to any client application in a standard way.
OPC is a group defined protocol for process control data communication. It has three
interfaces as follows:
• OPC Data Access for real time data
• OPC Historical Data Access for historical data
• OPC Alarm and Event for event data

Chapter 5 - 3
T314-05 OPC Connectivity - RevC

5.2.2 Structure and Data Flow


The OPC Server for AC 800M is needed for reading run-time data or alarms and
events from controllers. The OPC Server for AC 800M consists of the following parts:
OPC Data Access Server
The OPC Data Access Server provides data from controllers programmed with
Control Builder through an OPC Data Access 2.0 and 1.0A interface.
OPC Alarm and Event Server
The OPC Alarm and Event Server generate a stream of information, mostly event
notifications, and distribute them to the Alarm and Event clients. OPC Alarm and
Event 1.02 standard is supported.

Aspect
Server

Connectivity
Server

The OPC Server must be installed in the same physical node as the Connectivity
Server.
There are a number of basic rules that applies:
• One OPC Server is allowed to subscribe to data from a maximum of 24 PM861
controllers, or the equivalent number of variables from other controller types.
• A maximum of three OPC Servers are allowed to subscribe to Data Access and/or
Alarm and Event from one controller.
• Multiple OPC Clients can subscribe to data or event notifications from the same
OPC Server.
• A third-party OPC Client should, if possible, be installed on the same PC as the
OPC Server.

Chapter 5 - 4
System 800xA Training

5.2.3 MMS Server


The MMS Server resembles a switchboard between the OPC Server and the Control
Network. The server is automatically installed when the Control Builder, or the OPC
Server is installed, so no further action is required.

MMS stands for “Manufacturing Message Specification” and is an ISO 9506 standard.
For further information look at:
www.nettedautomation.com/standardization/ISO/TC184/SC5/WG2

The protocol defines communication messages transferred between controllers as well


as between the engineering station (such as Control Builder) and the controller (e.g.
downloading an application or reading/writing variables).
It has been developed especially for industrial applications. The protocol can be used
on many different networks, but preferably on the TCP/IP network, which is the most
commonly used network today.

5.2.4 OPC Terms


Data is passed between OPC Servers and OPC Clients via subscriptions made to OPC
Items (tags).
OPC Server
OPC Server is a software application that establishes a connection to the field device
and serves data to OPC compliant applications.

OPC Item
This is the syntax (tag name) used to reference a register or bit location in the field
device (PLC, valve, power monitor meter etc…)

OPC Client
OPC Client is a software application that attaches to an OPC Server application and
establishes the OPC Items it wishes to read/write.

Chapter 5 - 5
T314-05 OPC Connectivity - RevC

5.2.5 Controller CPU Load


Communication handling has the lowest priority in an AC 800M controller. It is
therefore important to consider controller CPU load if the communication handling is
vital to the application.
Running at the maximum cyclic load will result in poor capacity and response times
for peer-to-peer and OPC Server for AC 800M communication. It is recommended
that peak cyclic controller load will be kept below 65%, and static cyclic load below
60%, under all conditions. Even lower cyclic loads (30-40%) are desirable if high
communication throughput is important.

5.2.6 AfW OPC Service Model


An Afw Service is designed to run around the clock. It is portioned into several
service groups, each group handling part of the scope of the service. For redundancy
each group can contain several service providers running on different servers.

Aspect 800xA
Directory Clients

Client/Server
Network
Afw OPC Service
Service Group Service Group
Service Service Service Service
Provider Provider Provider Provider

redundant redundant
Connectivity Connectivity
Servers Servers

AC 800M
controllers Controller XXX

Using information from the Aspect Directory, a service handler provides one uniform
interface to the service, relieving the client applications from having to deal with
issues such as how the service is partitioned, redundant service providers, etc.
NOTE! A Service Provider resides always in a dedicated node.

Chapter 5 - 6
System 800xA Training

A typical example is the OPC communication:

800xA OPC Client: Service Structure


Clients
OpcDA Connector, Service Event Collector, Service
1 Service Group for each CS or CS-pair 1 Service Group for each CS or CS-pair
Service Service Service Service
Aspect Provider Provider Provider Provider
Server ex. CS1/2 ex. CS2/2 ex. CS1/2 ex. CS2/2

Client/Server
Network

OPC Server
Connectivity
DA AE
Server Data Access Alarm & Events

Control
Network

AC 800M
controller

The Afw OPC server concept allows many different OPC servers to be placed under
one common server that unifies access to data from different sources.
This common server provides one set of OPC compliant interfaces, eliminating the
need for client applications to know which OPC server to use for each data item.

Chapter 5 - 7
T314-05 OPC Connectivity - RevC

5.3 OPC Server Settings


All configuration steps in this section must take place in the Connectivity Server.
Start the OPC Server from the Windows Start menu:
Programs > ABB Industrial IT > 800xA System > Control and IO > OPC Server
for AC 800M 5.0 > OPC Server for AC 800M 5.0
Alternatively double click on the icon on your desktop:

5.3.1 How to Setup Data Access Connection


1. Select the tab card “Data Access”.
2. Type in the controllers IP-Address into the Controller Identity input field.
To simplify the connection of controllers, there is a function to find all available
controllers on the Control Network. Select “View > Available Controllers” to get
a list of controllers.

The controller addresses can be “dragged and dropped” from the list to the OPC
Server Configuration panel.

3. Press “Connect”. The “Smiley” indicates that the connection is up and running.

Chapter 5 - 8
System 800xA Training

5.3.2 How to Setup Alarm and Event Connection


1. Select the tab card “Alarm and Event”.
2. Choose the controller in the same way as for the Data Access connection.
3. Press “Connect”. The Alarm and Event connection to the controller exists if the
“smiley” face is shown.

5.3.3 How to Load Configuration Automatically at Startup


Once the OPC Server is running and all controllers configured and operational, the
OPC Server configuration can be stored into a configuration file. This file is the
loaded automatically loaded whenever the computer reboots.
1. Select “Settings > Autoload Configuration…” and enable “Autoload
Configuration” by clicking the check box.

2. Click onto the browse button and select the configuration file from disc.
3. Accept all dialogs.

Chapter 5 - 9
T314-05 OPC Connectivity - RevC

5.4 OPC Settings in System 800xA


To get connectivity to the AC 800M OPC Server some settings are necessary in the
Engineering Workplace.

5.4.1 How to Check OPC Data Access Settings


These adjustments are located on the Control Network object, which is placed in the
Control Structure.
1. Click onto the Control Network object and select the OPC Data Source Definition
aspect of this object. Select the tab card “Connectivity”. The Service Group is
named “SG_Control_Network” by default.

2. To get a view about the kind of OPC Server which is used in the System 800xA,
click onto the tab card “OPC Configuration”. This is configured by default as
ABB.AC800MC_OpcDaServer.3.

Chapter 5 - 10
System 800xA Training

5.4.2 How to Check OPC Alarm and Event Settings


Setting up the OPC alarm and event connectivity is necessary to generate and view
alarm and event on System 800xA. The services for Alarm and Event are found in the
Service Structure.

You have to connect to an OPC Alarm Server (collector) before you can get any
alarms and events.

1. Go to the Service Structure and select Event Collector, Service.

2. Select Service Group object (in our example it is called AC800M OPC AE
Collector).

Chapter 5 - 11
T314-05 OPC Connectivity - RevC

3. Select the “Configuration” tab of the Service Provider Definition aspect for the
Service Provider object. Verify that the service is enabled and that the node of
your Connectivity Server is selected.

4. Navigate to the Service Group object previously. Select the “Special


Configuration” tab of the Service Group Definition aspect.
5. Select as Alarm Server the OPC Server that is your collector (supplier of alarm
and event information). Usually it is called OPC AE Server for AC 800M.

Chapter 5 - 12
System 800xA Training

6. Verify that OPC AE Server for AC 800M is set in the Collection Definition drop-
down list box.

Chapter 5 - 13
T314-05 OPC Connectivity - RevC

5.5 Check OPC Connectivity

5.5.1 Check Control Object Properties


To check the connectivity you can verify that live data are received from the controller
for a control object in the Control Structure, e.g. a program or an object like a valve.
In this example we use the valve Sxx_V1 to check if the OPC connection is working.

Open the Config View for the Function Block aspect of an object in the Control
Structure. Select the tab card “Property View”. Enable the option “Subscribe for live
data” to get the live data from the OPC-Server.
If the Quality column displays “Good", then the connection to the OPC Server is ok.

Chapter 5 - 14
System 800xA Training

Right click on the object Sxx_V1 and select “Main Faceplate” to call up the faceplate
for the valve.
If the OPC connection works well, you can switch for instance the vale to Auto mode.
The variable AutoMode will change from “False” to “True”.

Mode
indication

A bad OPC connection is displayed on the faceplate as shown below and you will
not be able to operate the valve. Also the Quality column shows “Bad
communication” in the Property View.

Chapter 5 - 15
T314-05 OPC Connectivity - RevC

5.5.2 Check the System Services


The System Status Viewer is an aspect in the Service Structure (located at the
Services object).

This aspect provides knowledge about the services of System 800xA. The OPC
connection is one of the services. The Event Collector service handles the OPC Alarm
and Event stream coming into the system.

The green color indicates that the service is running well. In case of problems a red
color indicates a failed service (displayed in the picture below).

Chapter 5 - 16

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy