Professional Documents
Culture Documents
13 Signal Tracing From 800xa - RevC
13 Signal Tracing From 800xa - RevC
TABLE OF CONTENTS
Chapter 15 - 1
TT308-15 Signal Tracing from 800xA - RevC.doc
15.1.1 Objectives
15.1.2 Legend
Chapter 15 - 2
System 800xA Training
The most common reason for tracing a variable is the fact that there is an
alarm in the alarm list. Of course, you want to find out where the code
generating that alarm is located. This is done on a system that is running
Control Builder and where Control Builder is on-line.
Data transfer between applications uses a protocol called MMS. MMS stands
Right click the alarm and go to the “MainFaceplate”. Go to the “IO Status” tab.
In this case, we will get information of an alarm at Valve Sxx_V2.
Go to the Operator Workplace and look at the Alarm Line. In this case, we will
trace the cause of an alarm at Valve Sxx_V2 to the code which generated it
Chapter 15 - 3
TT308-15 Signal Tracing from 800xA - RevC.doc
This will take you to the generated the error in the Control Builder Project
Explorer. It might be that Control Builder is not shown directly but that it is
flashing in the taskbar, if this happens click it twice (no double click) in the
taskbar and it will show.
This means that you do not have to know in which application or controller the
code is located. The system will take you there. By double clicking the POU it
opens, and you can find alarm.
You can also choose “Function Block Editor” (or if applicable “Control Module
Editor”) after right clicking the alarm, then the POU will open automatically.
But then it is not shown where it is located in the project.
Chapter 15 - 4
System 800xA Training
You can check if you found the right alarm by inspecting the alarm text and
instance name of the function block or control module you found, both could
be present in the alarm list.
Chapter 15 - 5
TT308-15 Signal Tracing from 800xA - RevC.doc
Suppose we want to find out what I/O is responsible for this alarm.
You can see that there is no Feedback1 and by calling up the interaction
window of the valve you can check that it should be closed.
Find the parameter or variable in the declaration pane and right click it, then
choose “I/O editor”.
That will take you straight to the “Hardware” window that belongs to the I/O
module. The focus is on the variable that we are tracing so now we have found
the I/O we were looking for.
Chapter 15 - 6
System 800xA Training
Since version SV5.1 of System 800xA there are two methods by which data is
exchanged between applications:
Tracing an alarm form a graphic display it is actually almost the same. In most
cases the operator will have found the graphic display already where he/she
discovered something is wrong. Now instead of right clicking the alarm: right
click the graphic element.
From here on, the procedure is the same as before. You open up the POU and
find the code that generated the alarm.
Chapter 15 - 7
TT308-15 Signal Tracing from 800xA - RevC.doc
There is no automatic way of doing this; essentially you need to track it down
manually as described in the following diagram.
Because the diagram is rather theoretical we will try it out on an example. The
signal we want to track is the ‘Ilock1Out’ from the SxxCM_V2.
First, we go the object in the Project Explorer, and open the editor.
Chapter 15 - 8
System 800xA Training
The question again is: variable or parameter in the higher POU? Because we are
at the top level the answer is easy, it is a variable, a global variable.
Now we have to find where it is used as a connection other than the one we
already found before. The path will lead down from here. Paths up have no
Chapter 15 - 9
TT308-15 Signal Tracing from 800xA - RevC.doc
forks there is only one way up. Paths down can split numerous times thought.
You will have to check them all to be sure you missed nothing.
So where on the top level gCM_OutletValveGroup being used? The easiest way
to find out is to use “Search”. But since we are looking for a particular
component of this structured variable, we will perform the search with the
same of that component.
Here we can see that it is used twice. The second one is the path we came up,
so this is not what we are looking for. Double click the blue path to investigate
the first path down.
Chapter 15 - 10
System 800xA Training
2. Specify a document path and a template file (*.dot) for the output. Click
“More…” to set the filter options.
3. The filter helps you specify parts of the control project and keeping the
document size to a minimum.
Chapter 15 - 11
TT308-15 Signal Tracing from 800xA - RevC.doc
4. After adjusting the filter settings for types and objects, another filtering
can be done per item. You can now specify which items to include/exclude
for the previous selected types and objects.
6. Use the standard Word function “Find” to search for any names.
Chapter 15 - 12
System 800xA Training
7. Type a name.
8. Select “Find Next” and you can get a name and IO address.
Chapter 15 - 13
TT308-15 Signal Tracing from 800xA - RevC.doc
Decide which instances to include in the document. If, for example, you
only want to include PID controllers, just type ‘PID*’ in the lower input field
in the Filter Options. Or Search for a dedicated Tag name like shown in the
picture.
Chapter 15 - 14
System 800xA Training
The “Variables” and “Parameters” tabs allow you to filter the variables and
parameters displayed in the document. You could for example choose to
include only parameters and variables that are connected to IOs.
4. Press “OK” to produce the document. You can see now which variable is
used as an analog input by “Sxx_FT1” and the corresponding IO chanel.
In the workplace there also is a Find Tool, which has been introduced in
chapter “Plant Explorer Workplace”. This tool is not intended for finding
variables or parameters but for finding object and aspects.
Assume we have a process stop and we did not get an alarm. We suspect it
might be a certain object, SxxCM_V6, in the field but we do not know where it
is in Control Builder or Workplace. Now click the “find” button to search
through Workplace.
Chapter 15 - 15
TT308-15 Signal Tracing from 800xA - RevC.doc
Type in the name of the object and press “Search”. Right click on the object on
the right side and call the Project Explorer from the context menu.
Choose “References” in the context menu and find the graphic displays that
contain the object. Or maybe you just want the Faceplate; it is all in the
context menu.
Chapter 15 - 16
System 800xA Training
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.
While OLE was originally designed for office applications (e.g. Word, Excel).
OPC technology is an extension of that protocol for industrial applications.
Chapter 15 - 17
TT308-15 Signal Tracing from 800xA - RevC.doc
OPC is a group defined protocol for process control data communication. It has
three interfaces as follows:
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:
The OPC Data Access Server provides data from controllers programmed with
Control Builder through an OPC Data Access 2.0 and 1.0A interface.
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.
Chapter 15 - 18
System 800xA Training
The OPC server configuration panel gives you possibilities to see the
configuration of the AC800M/C OPC Server.
Left click on the icon in the taskbar or from the Windows Start menu:
programs>ABB Industrial OT 800xA > Control and IO > OPC Server for AC 800M
5.0 > OPC Server for AC800M 5.0.
The panel has two controller specification tabs, one for Data Access and one
for Alarms and Events.
The OPC server is a service which is auto started and needs to be in status
“Running”. If the controller is successfully connected you will have a smiley
icon.
At the alarm and event tab you will see the same. In this picture one controller
is not connected:
Chapter 15 - 19
TT308-15 Signal Tracing from 800xA - RevC.doc
To check the connectivity, you can open a control aspect for a control object
(hardware unit, function block etc.) in the Control Structure.
In the picture below we use the Control Module aspect of the object Sxx_TIC1
Temp Control Type to check if the OPC connection is working well.
1. Open the Config View for the control module (or function block) aspect
for an object in the Control Structure.
2. In the Config View select the tab card “Property View”. Enable the
caption “Subscribe for live data” to get the live data from the OPC-
Server.
Chapter 15 - 20
System 800xA Training
The data quality must be “Good”. If it is not, check the data in the on-
line editor Control Builder to make sure it is good at the source. If it is
not then the problem is in the controller.
The System Status Viewer is an aspect in the Service Structure (located at the
Services object).
This aspect provides knowledge about the service 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 services is running well. In case of problems
a red color indicates a failed service (displayed in the picture below).
Chapter 15 - 21