Chapter 15 OPC Connectivity: System 800xa Training
Chapter 15 OPC Connectivity: System 800xa Training
TABLE OF CONTENTS
Chapter 15 - 1
T315-15 OPC Connectivity - RevC
15.1.1 Objectives
On completion of this chapter you will be able to:
• Describe communication structure and data flow
• Set up OPC connectivity
• Verify communication (live data)
• Explain the Name Uploader
15.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
Chapter 15 - 2
System 800xA Training
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 15 - 3
T315-15 OPC Connectivity - RevC
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 15 - 4
System 800xA Training
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
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 15 - 5
T315-15 OPC Connectivity - RevC
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 15 - 6
System 800xA Training
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 15 - 7
T315-15 OPC Connectivity - RevC
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 15 - 8
System 800xA Training
Select “Tools > Save cold retain values...” and set an interval time.
Chapter 15 - 9
T315-15 OPC Connectivity - RevC
Chapter 15 - 10
System 800xA Training
5. Click onto the browse button and select the configuration file from disc.
6. Accept all dialogs.
Chapter 15 - 11
T315-15 OPC Connectivity - RevC
2. Press “New” to create a new Service Group. The new Service Group is named
SG_Sxx_Control_Network by default.
3. To get a connection from the Service Group to the OPC Server Node, click onto
the “Add” button.
Chapter 15 - 12
System 800xA Training
4. Select the OPC Server Node from the list and click “OK”. Press “OK” to create
the new Service Group.
5. Click onto the “Apply” button to finish the setup after you selected the service
group from the name list.
6. 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 15 - 13
T315-15 OPC Connectivity - RevC
2. Right-click and select “New Object” from the context menu. Select Service Group
and enter a name, such as AC800M OPC AE Collector and click “Create”.
Chapter 15 - 14
System 800xA Training
3. Right-click on the newly created Service Group object and select “New Object”
again. Enter a name, such as AC800M OPC AE nodename (where nodename is a
Connectivity Server name) and click “Create”.
4. Select the “Configuration” tab of the Service Provider Definition aspect for the
Service Provider object. Select the name of the AC 800M Connectivity Server in
the Node drop-down list box and click “Apply”.
Chapter 15 - 15
T315-15 OPC Connectivity - RevC
5. Navigate to the Service Group object previously created. Select the “Special
Configuration” tab of the Service Group Definition aspect.
6. Select as Alarm Server the OPC Server that is your collector (supplier of alarm
and event information) and click “Apply”.
Usually it is called OPC AE Server for AC 800M.
7. Verify that OPC AE Server for AC 800M is set in the Collection Definition drop-
down list box.
Chapter 15 - 16
System 800xA Training
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 15 - 17
T315-15 OPC Connectivity - RevC
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 15 - 18
System 800xA Training
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 15 - 19
T315-15 OPC Connectivity - RevC
Chapter 15 - 20
System 800xA Training
Valve Valve
Name
Tank
Tank
Valve1 (type “Valve”) Name
Valve1
Relative name
Control Builder
Applications
myTank Tank
Valve1 Valve
In the example above, the tank contains one or more valves created from other object
types. When the Tank object type is instantiated several times in the application it will
be possible to name the instance e.g. myTank but the valve will still have the same
name Valve1!
NOTE! The valve can therefore not be identified by a unique
name and its own faceplate.
The Name Uploader tool solves this problem by going through all objects in the
Control Structure, looking for parameters called Name. The Name Uploader then
fetches the names via the OPC server and adapts the Name aspect, so that each object
has a system-unique name.
NOTE! If there are no unique names, the object name in an
alarm list will be presented with a GUID number!
Chapter 15 - 21
T315-15 OPC Connectivity - RevC
After running the Name Uploader this will result in unique name and description in
the Name aspect on the Control Structure instances.
Chapter 15 - 22
System 800xA Training
Chapter 15 - 23
T315-15 OPC Connectivity - RevC
Chapter 15 - 24