SYS600 COM500i Users Guide
SYS600 COM500i Users Guide
SYS600 COM500i Users Guide
3
Communication Gateway, COM 500i
Trace back information:
Workspace Main version a10
Checked in 2012-11-12
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Contents
1 Copyrights ............................................................................................. 7
2 Introduction ........................................................................................... 8
2.1 This manual .................................................................................. 8
2.2 Use of symbols ............................................................................. 8
2.3 Intended audience ........................................................................ 9
2.4 Related documents ....................................................................... 9
2.5 Document conventions ................................................................. 10
2.6 Document revisions ...................................................................... 10
3 Overview ................................................................................................ 11
3.1 About this section ......................................................................... 11
3.2 COM 500i as a communication gateway ...................................... 11
3.3 COM 500i engineering process .................................................... 12
5 Instructions ........................................................................................... 15
5.1 Overview of COM 500i .................................................................. 15
5.1.1 COM 500i application ..................................................... 16
5.1.2 Functional environment .................................................. 17
5.1.3 Communication Programming Interface ......................... 18
5.2 Installation ..................................................................................... 18
5.2.1 Upgrading from earlier revisions ..................................... 18
5.2.2 Software installation ........................................................ 19
5.2.3 COM 500i start-up .......................................................... 20
5.3 System configuration .................................................................... 20
5.3.1 Base system configuration .............................................. 21
5.3.2 Communication system configuration ............................. 21
5.3.3 Configuration tips ............................................................ 24
5.4 Signal generation .......................................................................... 25
5.4.1 Reusing an existing application ...................................... 25
5.4.2 Importing signals ............................................................. 26
5.4.3 Building a COM 500i application ..................................... 26
5.5 Signal engineering ........................................................................ 28
5.5.1 Using Signal Cross-Reference ....................................... 29
5.5.1.1 Menus ........................................................... 30
5.5.1.2 Toolbar .......................................................... 31
5.5.1.3 Tabs ............................................................... 32
3
SYS 600 9.3 MicroSCADA Pro 1MRS756633
4
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
5
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Index .......................................................................................................137
6
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
1 Copyrights
The information in this document is subject to change without notice and should not be
construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for any
errors that may appear in this document.
In no event shall ABB Oy be liable for direct, indirect, special, incidental or consequential
damages of any nature or kind arising from the use of this document, nor shall ABB Oy
be liable for incidental or consequential damages arising from the use of any software
or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written
permission from ABB Oy, and the contents thereof must not be imparted to a third party
nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
Copyright © 2012 ABB Oy. All rights reserved.
Trademarks
ABB is a registered trademark of ABB Group. All other brand or product names
mentioned in this document may be trademarks or registered trademarks of their respective
holders.
Guarantee
Please inquire about the terms of guarantee from your nearest ABB representative.
Third Party Copyright Notices
This software uses pugixml library (http://pugixml.org). pugixml is Copyright ©
2006-2012 Arseny Kapoulkine.
7
SYS 600 9.3 MicroSCADA Pro 1MRS756633
2 Introduction
Overview
This section provides general information about COM 500i, its components and main
functions.
Safety information
This section provides information about the prevention of hazards and taking backups
from the system.
Instructions
This section provides an overview of COM 500i. It also gives instructions for installation,
configurations, engineering and upgrading.
Technical description
This section contains descriptions of the functionality, design and configuration of COM
500i. Detailed description is given to help the user to understand the functioning of COM
500i.
8
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Tip icon indicates advice on, for example, how to design your
project or how to use a certain function.
Although warning hazards are related to personal injury, and caution hazards are
associated with equipment or property damage, it should be understood that operation
of damaged equipment could, under certain operational conditions, result in degraded
process performance leading to personal injury or death. Therefore, comply fully with
all warnings and caution notices.
9
SYS 600 9.3 MicroSCADA Pro 1MRS756633
10
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
3 Overview
11
SYS 600 9.3 MicroSCADA Pro 1MRS756633
COM 500i provides a variety of protocols for both process and upper level
communication.
12
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
4 Safety information
This section gives information about the prevention of hazards and taking backups from
the system.
System backup
Usually a system back up is taken after the application is made. It should be taken again
when changes are made to the SYS 600 system. This is needed, for example, when the
driver configuration or the network setup is changed.
Application backup
An application backup is also taken at the same time with the system backup, after the
application is made. It should be taken again when changes are made to the application,
for example if pictures or databases are edited or new pictures are added.
Handling
In case of a fatal error:
1. Write down the possible SYS 600 error messages.
2. Shut down the SYS 600 main program. If this cannot be done in the SYS 600 Control
Panel, try to end the task in Windows Task Manager.
13
SYS 600 9.3 MicroSCADA Pro 1MRS756633
3. The data kept in the main memory at the moment of a fatal error is placed in the
drwtsn32.log file with Windows 2003 Server, Windows XP and earlier. By default
it is placed under %SYSTEMDRIVE%\Documents And Settings\All
Users\Application Data\Microsoft\Dr Watson. Log and dump file paths can be
checked with the drwtsn32 application. (Start -> run -> drwtsn32.exe). Analyze and
copy the data in these files.
Starting with Windows Server 2008 and Windows 7 the crash handling has changed.
The location of the dump files can be read from the registry under the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error
Reporting\LocalDumps. The DumpFolder value tells the location of the dump files.
Collect the data from this location.
4. Restart the system.
Report the program break-down together with the possible SYS 600 error messages and
the information from the drwtsn32.log file to the SYS 600 supplier.
Status codes
Error messages in SCIL are called status codes. A list of status codes and short
explanations can be found in SYS 600 Status Codes.
14
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
5 Instructions
This section gives an overview of COM 500i. It also gives instructions for installation,
configurations, engineering, and upgrating the software.
Function
The main task of COM 500i is to handle data transfer between the process devices and
up to eight network control centers. Data transfer usually involves protocol conversion.
Other tasks, such as communication supervision and command authority checking are
also involved.
Both the process devices and the network control system may be products of ABB or a
third party. Certain documents, for example interoperability lists and device profiles,
can be used for verifying the compatibility between COM 500i and other systems.
Example system
COM 500i can be used as a stand-alone gateway as well as combined with any other
SYS 600 product option, for example in order to add Single Line Diagrams, Event Lists,
IED Tools or an archiving functionality; see Figure 5.1.
15
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The use of a COM 500i application depends on the type of the system. In case of a
stand-alone gateway, the application is used merely for signal rerouting but in case of a
combined SYS-COM, the application is also used for process control and management,
and it acts both as a communication gateway and a Substation Controlling System (SCS).
The above is based on the layered structure of the SYS 600 software, presented in
Figure 5.2. The application layer can have different functions, which are independent of
the lower layers.
From the communication point of view, the COM 500i application sees each process
unit and NCC as a system object. Setting the attributes of the system objects can change
the properties of the communication channels.
Communication between COM 500i and an NCC is based on the command procedures
implemented in the SCIL programming language. These procedures send information
from the COM 500i application to the communication module for protocol conversion
16
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
and transmission. Usually one command procedure is needed for each type of data. Data
can also be transferred based on the application and system commands, such as general
interrogation commands, and at special situations, for example at the application start-up
and after communication disturbances. When the system is running, process events
generally activate the command procedures via event channels.
Commands and setpoints from an NCC to a substation are brought into the COM 500i
application via process objects. They activate the command procedures via event channels.
Command procedures send the actual control commands to the process units. System
and application commands are also received using the process objects. The content of
the COM 500i command procedures is described in Chapter 6 Technical description.
The functional environment of a COM 500i application can be described by using the
environment model shown in Figure 5.3. The COM 500i application communicates
through the base system and communication module. In addition to NCCs and the COM
500i application, the base system can also communicate with an SCS application at the
same time.
17
SYS 600 9.3 MicroSCADA Pro 1MRS756633
COM 500i provides support for the Communication Programming Interface (CPI), which
is an environment for protocol development that can be used for implementing new
protocols in SYS 600. CPI is a collection of functions programmed in the C language
for making communication software that converts between the SYS 600 internal protocol
and other protocols. CPI is available on request.
CPI-based communication software can be used for process communication or for upper
level communication. The CPI library contains functions for sending and receiving
messages to/from COM 500i. It also contains functions to pack and unpack data. The
CPI-based communication software and COM 500i communicate through the TCP/IP
network. The program that uses the CPI interface in COM 500i must emulate an RTU
profile, which has process objects of RTU-200 process database interface type. CPI is
described in more detail in Chapter 6 Technical description.
5.2 Installation
If you want to upgrade an existing COM 500 application to COM 500i revision 9.3,
please observe the following notes.
COM 500i revision 9.3 has a mechanism that makes all the required modifications to
the application to update an older revision to revision 9.3. This mechanism is started
when a monitor is opened to a COM 500i application for the first time after the installation
of COM 500i. After the mechanism has been run, you must restart SYS 600 to take all
the modifications in use. The modifications are described in detail in Section 5.2.3 COM
500i start-up.
If any project specific modifications have been made to the command procedures of the
previous COM 500 revision, the modifications must be copied to the matching new
command procedures. The signal configuration, that is the contents of the cross-reference
tables, does not need any changes. For more information about the content of the
command procedures, see Chapter 6 Technical description.
For more information about the changes needed in the configuration files, see Section 5.3
System configuration.
18
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
• The cross-reference pointer of a process object is moved from the FI attribute to the
new TI attribute.
• The event channel name is changed from BNU_* to COM_*.
• The old COM 500 command procedures BNU_*:C are maintained, the new
corresponding command procedures are named COM_*:C.
• The predefined command procedure APL_INIT_1:C is modified to execute the new
COM 500i initialization procedure.
Installation procedure
COM 500 is included in SYS 600 9.2 or newer as a license-dependent functionality,
referred to as COM 500i. COM 500i is a communication gateway between process
devices and network control centers (NCCs). The main tasks of COM 500i are signal
rerouting and protocol conversions.
The COM 500i tab in Tool Manager is created when SYS 600 is started for the first time.
To use the COM 500i functions, select the COM 500i tab from Tool Manager; see
Figure 5.4.
19
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Actions at start-up
When the COM 500i license has been installed and SYS 600 restarted, an application
can be prepared for COM 500i in Signal X-Reference; see Figure 5.5.
The application must be restarted after preparation; see Figure 5.6. After application
restart, COM 500i automatically creates all the necessary application objects, such as
event and time channels, and command procedures. COM 500i also creates the directory
\sc\apl\<name>\com 500, which is used for storing cross-reference files and parameter
files automatically.
Configuration files
In COM 500i, the base system is configured in the SYS_BASCON.com file.
The SYS_BASCON.com file is an ASCII file, which can be edited with a text editor,
for example with Notepad in the Windows or with SCIL Program Editor.
20
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Base system objects are defined with SCIL commands in the SYS_BASCON.com file,
which is executed each time the base system is started. With a few limitations, you can
also define and modify the base system objects any time when COM 500i is running.
During the operation, the base system objects are in the primary memory of the base
system computer.
SYS_BASCON.com file
COM 500i application must be introduced in the SYS_BASCON.com file:
#local COM500 = vector(TRUE) ;TRUE = COM500i application
Protocols
COM 500i supports several protocols. For example, IEC61850, SPA, LON and IEC
60870-5-103 masters can be used for process communication, and IEC 60870-5-104
slave, IEC 60870-5-101 slave, DNP 3.0 slave, RP-570 slave, Modbus RTU slave and
CDC-II slave protocols for upper level communication with Network Control Centers
(NCC). For more information on the protocols, see Chapter 6 Technical description.
The following chapters provide information for the configuration of the NCC
Communication using mentioned slave protocols.
When the upper level communication is configured, it is very important to match the
parameters (attributes) of the communication line and station to the parameters of the
upper level system. The attributes of the communication line and station system objects
are described in detail in the configuration manual of the protocol or in case of the RP-570
21
SYS 600 9.3 MicroSCADA Pro 1MRS756633
slave protocol, in SYS 600 System Objects manual. For more information about
communication system configuration needed for a CPI application, see SYS 600
Communication Programming Interface (CPI).
The communication system configuration needed for the process communication (master
protocols) is described in SYS 600 System Configuration manual, SYS 600 System
Objects manual or in the protocol specific manual.
PC-NET
PC-NET can be configured either by using System Configuration Tool or SCIL. Using
System Configuration Tool is preferred when configuring COM 500i. Detailed information
about using System Configuration Tool is provided in SYS 600 System Configuration.
If SCIL statements need to be used for configuration, COM 500i provides standard
command procedures for creating communication lines and stations for the RP 570 slave,
IEC 60870-5-101 slave, and DNP 3.0 protocols. The command procedure COM_RPSCR
contains communication line and station definitions for the RP 570 slave protocol. It
needs to be executed every time PC-NET is restarted, for example, from the predefined
command procedure APL_INIT_1:C.
As input the command procedure COM_RPSCR needs the NET number, line number,
vector of stations, and message application number.
The following command defines the RP 570 slave protocol to line 1 of NET 1 and adds
a master station with number 8 into it:
#EXEC COM_RPSCR:C (@NET=1, @LINE=1, @STATIONS=VECTOR(8),
@APPLIC=1)
Command procedure COM_101SCR defines the lines and stations for the IEC
60870-5-101 slave protocol. It also needs to be executed every time PC-NET is started.
As input the command procedure needs the NET number, line number, communication
mode (0 = balanced, 1 = unbalanced), vector of stations, and message application number.
The following command defines a balanced IEC 60870-5-101 slave protocol to line 2
of NET 1 and adds a master station with number 9 into it:
#EXEC COM_101SCR:C (@NET=1, @LINE=2, @MODE=0,
@STATIONS=VECTOR(9),@APPLIC=1)
The following command defines an IEC 60870-5-104 slave protocol to line 2 of NET 1
and adds a master station with number 9 into it:
#EXEC COM_104SCR:C (@NET=1, @LINE=2,
@STATIONS=VECTOR(9),@APPLIC=1)
For a DNP 3.0 slave protocol the lines and the station can be created by using the
command procedure COM_DNPSCR, which needs also to be executed every time
PC-NET is started. As input this command procedure needs the NET number, line number,
vector of stations, and message application number.
22
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The following command defines a DNP 3.0 slave protocol to line 3 of NET 1 and adds
a master station with number 10 into it:
#EXEC COM_DNPSCR:C (@NET=1, @LINE=2, @MODE=0,
@STATIONS=VECTOR(10),@APPLIC=1)
CDC-II Slave
CDC-II Slave Emulator is a gateway program providing SYS 600 with a connection to
the CDC-II Master station. From SYS 600’s point of view, CDC-II Slave is seen as a
normal NET object, which can have up to four STA objects connected to it. Hence, the
normal COM 500i signal engineering and signal routing can be applied to CDC-II Slave.
The COM 500i start-up initialization command reads the NCC names from the CDC-II
Slave and writes them down to the NCC cross-reference table. The command procedures
of downstream direction use the information when it is written to the history database.
The command procedures of upstream direction send normal and SOE (sequence of
events) binary, double binary, and analog values to CDC-II Slave.
The application takes only one command line parameter, which is the path to the
configuration file.The program command line parameter is optional, and if the path is
not given, the application defines the configuration file in the default directory.
When the application is started, it reads the configuration file (config.ini). The
configuration file is a normal Windows configuration file, which includes the following
sections:
• LOG
specifies the logging parameters
• CPI
specifies the SYS 600 connection parameters
• RTU
specifies the basic RTU emulation parameters
• LINKS
specifies the communication links
• COMPLIENCE
specifies various parameters for tuning CDC-II Slave behaviour.
For more information, see SYS 600 CDC-II Slave Protocol.
23
SYS 600 9.3 MicroSCADA Pro 1MRS756633
In the COM 500i start-up the cross-referenced data points to the mentioned data storage
are initialized and after this, the communication is enabled using the DI attribute of the
station objects. In Modbus RTU, only the static values are transferred i.e. the transfer of
timestamped data is not supported.
When the Modbus Slave application is started, it reads the configuration file (config.ini)
and establishes the connection to the base system. Same SYS 600 system may have
multiple Modbus Slave instances running at the same time to have connections to multiple
masters. For more information, see SYS 600 Modbus Slave Protocol and the SYS 600
System Configuration.
If this definition is not made, spontaneous events (COT = 3) are not registered in the
process database.
Application and system commands, as well as unrecognized messages sent from the
NCCs, are received in process objects and interpreted by the COM 500i command
procedures. To ensure that these commands are received and executed properly, the
following things should be checked:
• The MI attribute of each slave station should have its default value (29000 + station
number).
• The CA attribute of each IEC 60870-5-101/104 slave station should have its default
value (32000).
• The value of the PC (Process Data Confirmation) attribute of each IEC slave station
should be set to 0 in order to ensure proper confirmation and termination of the IEC
commands. System and application commands are not confirmed automatically
when the attribute is set to the automatic test mode.
• If COM 500i is not synchronized from the NCC, the value of the RM (Running
Mode) attribute of the IEC slave station should be so that bit 1 of the value is set
(RM = 2 if no other bits are set). Otherwise data is sent with an invalid time tag
status to the master.
24
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
• By default, COM 500i waits for a secured command from the master. The select
command must come before the execute command. If you want to use direct
commands, the station attribute RM bit 4 must be set. Otherwise a negative
acknowledgement is sent to the master.
• In IEC60870-5-104, time-stampted commands are used by default. In order to accepts
commands of this type, the COM 500i must be synchronized to use the same time
as the master. See station attribute CC for more information
Reusing an existing application is recommended especially when SYS 600 and COM
500i are used in parallel. After the SYS 600 application has been built, it (directory
\sc\apl\<name>) can be copied as such to the COM 500i computer.
If only gateway functionality is required (no HSI, printouts and so on), it is enough to
copy only the directory \sc\apl\<name>\apl_ that contains the necessary databases. If an
existing COM 500i application is reused, for example in another substation, the directory
\sc\apl\<name>\COM500 must also be copied.
25
SYS 600 9.3 MicroSCADA Pro 1MRS756633
After copying the application, it must be prepared for the base tools in the COM 500i
computer. Make also the required changes in SYS_BASCON.com.
When reusing a complete application that has been prepared for LIB 500 you must do
one of the following:
• Install LIB 500 to the COM 500i computer
• Rename the file \sc\apl\<name>\apl_\apl_lib.txt
Importing signals means that process objects are imported from another application by
using load files and tools made for this purpose. Importing process objects can be done
in any of the following ways:
• By using the SYS 600 DB <--> text tool in both source and target (COM 500i)
applications.
• By using LIB 500 Database Import/Export Tool in both source and target
applications.
• By using LIB 500 Database Import/Export Tool to import a load file generated by
the SigTOOL software.
For more information on Database Import/Export Tool, see the LIB 500 Operation
Manual.
Building a COM 500i application (creating the process database) is similar to building
a SYS 600 application: the actual gateway functionality is provided by COM 500i and
the definitions made with Signal Cross-Reference in the signal engineering phase. A
COM 500i application can be built in the following ways:
• Manually by creating process objects one by one.
• Using the Install Standard Functions Dialog of Object Navigator.
• Using the LIB 5xx application library software.
Building a COM 500i application manually is rather complicated and comes into question
only in case the number of signals is very small. Process objects can be created by the
Object Navigator of the base tools, using Signal Cross-Reference, or by SCIL.
If process objects already exist in the database, cross-reference information can be
imported. For more information, see Section 5.5.16 Importing and exporting
cross-references.
26
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
• The Table Index (TI) attribute of the process objects has been reserved for
• The Free Integer (FI) attribute of those output process objects included in a command
in Signal Cross-Reference is used for database queries. This attribute should not be
changed.
• COM 500i uses event channels named COM_* to activate command procedures.
These must not be removed from the process objects. If any other event channel is
to be attached to a process object, the corresponding command procedure (command
27
SYS 600 9.3 MicroSCADA Pro 1MRS756633
28
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Signal Cross-Reference is a tool that is used for mapping signals from the process devices
to the NCCs (monitoring direction) and vice versa (controlling direction). Signal
Cross-Reference can also be used for making NCC and alarm group definitions, as well
as setting the system and application parameters.
If ComTool is already open in another monitor, Figure 5.8 is shown:
Signal Cross-Reference is shown in Figure 5.9. It contains a menubar at the top with six
menus, which are the File menu, Edit menu, Signal menu, View menu, Options menu,
and Help menu.
Below the menubar there is a toolbar with twelve shortcut buttons, a drop-down menu
for the views and a button named Define to access the View Definitions dialog. Signal
29
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Cross-Reference contains four notebook tabs, which are the Indications tab, Commands
tab, NCCs tab and Parameters tab.
5.5.1.1 Menus
The File menu is used for opening the Cross-Reference Import, Export and Convert
dialogs, the Print and Page Setup, and Print dialogs. If you select Exit, Signal
Cross-Reference is closed.
The Edit menu contains functions for cutting, copying and pasting text between the text
boxes located in tabs and dialogs of Signal Cross-Reference. It is also used for opening
the Find dialog that can be used for finding text strings from the signals and the
cross-reference data.
By using the Signal menu, signals (process objects) can be added and edited. The scale
of analog input process objects can be edited. The Signal menu is also used for opening
the Column Attributes dialog, which is used for defining and ordering attributes to be
shown on the Indications and Commands tabs.
You can use the View menu to change the view in Signal Cross-Reference. When you
select a view name from the View menu, the signals are read from the process database
both to the Indications and Commands tab. The View menu can also be used for opening
the View Definitions dialog. The View Definitions dialog is used to define search
30
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
conditions for signals displayed on the Indications and Commands tabs. The signals are
searched from the process database.
The Options menu is used for setting the toolbar visible and invisible and for choosing
the select method to be used when editing signals or cross-reference information. The
Options menu contains an item for enabling and disabling the address overlap check of
input signals. The Options menu can also be used for opening the Auto Addressing
dialog. By using the Auto Addressing dialog the address offsets for Indications and
Commands can be defined. For more information, see Section 5.5.9 Defining auto-address
parameters. It is also possible to enable or disable the displaying of internal process
objects in ComTool. When the menu item Internal Process Objects as Indications is
unselected (default), the internal process objects with the logical name prefix BNCC*
are hidden in the Indications tab and in the list of Response Indications. When this menu
item is selected, the internal process objects for COM 500i can be seen.
5.5.1.2 Toolbar
The toolbar of Signal Cross-Reference shown in Figure 5.11 contains twelve shortcut
buttons for quick access of the different functions. From left to right the functionality of
the buttons is: Cut, Copy, Paste, selection method Line, selection method Free, Delete,
Add signal, Import, Export, Convert, Edit signal, and Scale. The toolbar also provides
a drop-down menu for selecting the view and a Define button to access the View
Definitions dialog.
31
SYS 600 9.3 MicroSCADA Pro 1MRS756633
5.5.1.3 Tabs
Indications tab
The Indications tab is used for defining signal cross-references for indications, that is
input process objects. By defining the address you can specify where the signal should
be send to. However, you can also define the behaviour of the signals (see the NCC
specific columns below).
By default, indication signals include columns for five attributes. The included attributes
are:
• Object Identifier
• Object Text
• Logical Name
• Index
• Process Object Type
The tab has also NCC specific columns:
• Address
• Alarm group
• Signal handling
• Scale
• Signal class
Signal related definitions are displayed inside the indication signal definition area at the
bottom of the Indications tab. The indication signal statistics area includes numeric
information concerning signals of the application. For example, a number of indication
signals, connected (cross-referenced) signals and the number of signals that are connected
to a selected NCC are shown.
Commands tab
The Commands tab is used for defining signal cross-references for commands, that is
output process objects. This tab includes columns for the same attributes as the Indication
tab. The following information is entered for each command signal per NCC:
• Command type
• Purpose
• Command group
• Response indication
• Address
• Signal handling attributes
As the Indication tab, the Commands tab also includes statistics.
NCCs tab
The NCCs tab is used for adding or deleting NCCs or for defining properties of the
NCCs. This tab contains a list of the NCC names. At the bottom of the tab there are
buttons for adding and deleting NCCs. NCC specific information is displayed on the
32
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
right side of the tab. Protocol, station number, name, comment text operation mode and
group alarm information are displayed for the selected NCC.
Alarm groups are listed inside the alarm information area. You can modify the alarm
groups by clicking the corresponding Add, Edit or Delete buttons on the tab, when an
NCC is selected.
Parameters tab
A separate tab for the common parameters is included in Signal Cross-Reference to
enable defining the COM 500i system and application parameters. These common
parameters include time-out parameters and authorization check parameters.
These attributes and their values are saved into a parameter file. The parameter file is
taken as input both for the command procedures and Signal Cross-Reference, when they
are started. Changing the attributes affects the functionality of the active system.
33
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Figure 5.12: Indications tab with address fields for the SOE points
When you have defined these points in the Signal Cross-References tool, the configuration
must be made visible to CDC-II Slave. For COM 500i version 2.0, you should export
the cross-reference, but for COM 500i version 3.0 or later, each page (NCC, Indications
and Commands) must be printed to their respective files that are:
• NCC.TXT (NCC information)
• IND.TXT (Indication points)
• CMD.TXT (Command points)
Properties
When you open or close Signal Cross-Reference, a Progress Indicator appears on the
screen to display the progress of reading indication and command signals from the process
database; see Figure 5.13. If the number of indication or command signals exceeds 10
000 according to the current view definition, a notification dialog box is shown on the
34
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
screen; see Figure 5.14. In this case you should reduce the number of signals included
in the current view definition.
NCC properties are defined on the NCCs tab; see Figure 5.15. If you edit these fields,
the alarm group names and the drop-down menus of the NCC names that are shown on
the Indications and Commands tabs are also changed.
35
SYS 600 9.3 MicroSCADA Pro 1MRS756633
To add an NCC, click the Add button at the bottom of the NCCs tab. A new NCC is
added to the NCC name list. The NCC name is generated according to the following
convention:
name [number], where the name is NCC and the number is 1 to 48.
The name can be edited and its maximum length is 10 characters.
When a new NCC is added, the following dialog is shown in ComTool; see Figure 5.16.
In this dialog the user is able to select the NCC type. The possible selections can be
chosen from the list of protocols.
36
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
When the NCC type has been selected, ComTool locates the configured station numbers
from the base system that match the appropriate station type. When a correct station
number is selected in this dialog, the new NCC type are added into ComTool; see
Figure 5.17.
When the Modbus NCC type is selected, ComTool locates the station types of RTU from
the base system. Figure 5.17 shows the found station numbers of the RTU station type.
On the NCCs tab there is an option button for Modbus NCC type. After the NCC has
been added to the list of protocols, the NCC tab shows the defined protocol of the NCC.
The appropriate Protocol option is set (see Figure 5.15).
To delete an NCC:
1. Click the NCC name in the list.
2. Click Delete. A notification dialog appears on the screen.
3. Click Yes and the NCC disappears.
37
SYS 600 9.3 MicroSCADA Pro 1MRS756633
When an NCC is deleted, all the alarm group and signal definitions related to the NCC
in question are also deleted.
You can delete only the last NCC from the list.
38
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
• Static Report-by-Exception Operation. The master polls only for Class 0 data or
the specific data it requires.
The following parameters are valid only for IEC 60870-5-101/104 protocols:
• File Transfer Enabled. You can choose whether the file transfer is in use or not.
When the file transfer is enabled, COM 500i sends files from the root directory to
the NCC. By default, this option is FALSE.
• File Mask. You can use the file mask to identify the files to be transferred by COM
500i. The following wildcard characters can be used:
* Matches with any character string including the null string.
? Matches with any single character, at the end of name or extension. It also
matches the null character.
Default File Mask is *.*
• Root Directory. The root directory for the transferred files. The default folder is
[Appl path]\RECORDER\ROOT.
• Include subdirectories. When Include subdirectories is selected, COM 500i transfers
files also from the subdirectories of the root directory.
• Compress Files. The sending files can be compressed using WinZip program. When
COM 500i compresses the sending files, it is possible to keep file type and directory
structure unchanged.
• Transparent SPA Enabled for Relay Units. To enable the transparent SPA
function, select the Transparent SPA Enabled for Relay Units check-box.
Defining the properties of an NCC:
1. Check either RP 570, IEC 60870-5-101/104, Modbus, CDC Type-II, CPI, or DNP
3.0 Protocol check-box to select the protocol the NCC uses.
2. Enter the Station number, Name, and Description for the NCC.
3. Check the Send Group Alarms at Start-up check-box if you want to use this feature.
4. In case of the DNP 3.0 protocol, select the Operation Mode.
In the NCC information panel you can define the Function Table download. Select the
Function Table (FTAB) source, if you are using the RP 570 or CPI protocol for the NCC
(see Figure 5.18).
39
SYS 600 9.3 MicroSCADA Pro 1MRS756633
In the File Location field you see which Function Table file has been chosen, and the
path to it. In order to change the Function Table source, click the Browse button ( )
After clicking this button, a standard File Chooser opens. The default file extension is
set to .hex (Function Table files).
If Function Table is downloaded from the NCC, the user can define the Function Table
to be old when the NCC sends the FCOM_COLDSTART command. The definition can
be done by checking the box next to Mark Function Tables old during
FCOM_COLDSTART command below the File Location field. After this procedure,
the NCC needs to download the Function Table to COM 500i again.
If a file, that is not a Function Table configuration file, is chosen in the File Chooser,
the following dialog is displayed to the user.
40
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Figure 5.20: Error dialog when non-FTAB file has been chosen
Signal Cross-Reference is used to configure the signal routing for transparent SPA
through COM 500i. It is possible to enable the transparent SPA functionality for each
NCC of IEC 870-5-101/104-type using the NCC tab; see Figure 5.21.
When the transparent SPA function is enabled, the related relay units and the IEC object
addresses used for SPA responses are defined in a separate dialog; see Figure 5.22.
41
SYS 600 9.3 MicroSCADA Pro 1MRS756633
An IEC object address related to the selected relay unit is added, changed, and deleted
by using the corresponding dialog items. Adding a relay unit provides a list of the relay
units available. Before deleting a relay unit, a confirmation dialog is displayed.
Whenever changes are made either to the relay unit list or the IEC object address with
Signal Cross-Reference, the changes are reflected in the related application objects used
by signal routing. If there is address overlap between application objects or the user
enters invalid information, the corresponding messages are displayed and no change is
reflected in the application objects; see Figure 5.23 and Figure 5.24.
A group alarm collects several inputs into a single binary alarm signal, which is forwarded
to the NCCs. For example, all alarms within one bay, or all the trip signals can be grouped
to reduce the amount of signals sent to the NCCs. The group alarm can also be used to
differentiate the alarms. For example, according to the priority of the alarm the signals
can be divided into different groups.
The COM 500i group alarm works as follows:
• When the first of the connected signals gets into the alarming state, the group alarm
is set, that is binary value 1 is sent to the alarm group address.
• As long as at least one of the connected signals is alarming, the group alarm remains
set.
• When the last of the connected signals gets into the non-alarming state, the group
alarm is reset, that is, the binary value 0 is sent to the alarm group address.
Each NCC can have up to 2000 alarm groups and 65535 signals can be connected to an
alarm group. Note that it is possible to connect a signal to an alarm group without mapping
the signal itself to an NCC, meaning that the value of the signal is not sent. For more
42
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
information about alarm groups and their diagnostics, see Section 5.6.1.2 Alarm Group
diagnostics.
43
SYS 600 9.3 MicroSCADA Pro 1MRS756633
9. A new alarm group is added to the alarm group list. If an alarm group already exists
with the same address, a notification dialog box is displayed on the screen. Change
the address of the new or the existing alarm group.
The query conditions of the signals included on the Indications and Commands tabs are
modified in the View Definitions dialog.
44
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
View definitions
By default, a non-editable view called Standard is assigned with Signal Cross-Reference.
To view the query conditions of the indication and commandsignals defined for a view,
click the view name on the list. Figure 3.5.9-1 shows an example of a view called Eastwick
and its conditions.
45
SYS 600 9.3 MicroSCADA Pro 1MRS756633
You can modify the column attributes attached to the Indications and Commands tabs
by using the Column Attributes dialog.
By default, five columns are attached to the Indications and Commands tabs. These are:
• Object Identifier (OI)
• Object Text (OX)
• Logical Name (LN)
• Index (IX)
• Process Object Type (PT)
Order of attributes
To change the order of the attributes, select the attribute you want to relocate and then
click the Up or Down buttons.
46
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
To edit an attribute in the Column Attributes dialog, select the attribute on the list. Then
modify the attribute information either in the Attribute drop-down menu or in the title
text field.
To delete an attribute from the Column Attributes dialog, select the attribute on the list
and click Delete.
47
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Auto-addressing parameters are used when cross-reference signals are copied and pasted
in Signal Cross-Reference. The purpose of the auto-addressing mechanism is to define
address offsets to avoid address overlaps when cross-reference data is copied and pasted.
For example, if the cross-references of an indication connected to an RP 570 NCC are
copied and the address of the signal is 002^001 while the RP 570 address offsets are 1
(block number) and 2 (bit number), the NCC address of the signal where the
cross-reference is pasted will be 003^003.
For the different NCC protocols the auto-addressing parameters are as follows:
• For RP 570 and CPI block address 1…255 and bit address 0…15 for binary objects
and block 1...2000 for analog objects
• For IEC 60870-5-101/104 IEC address 1…65535
• For DNP 3.0 index 1…65535
• For Modbus block address 1...4096 and bit address 0...15 for binary objects and
block 0...65535 for analog objects
IEC 60870-5-101/104 and DNP 3.0 addresses depend on the used IL (Information object
address Length) station attribute value.
Auto-addressing parameters are defined using the Auto Addressing dialog shown in
Figure 5.28.
48
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
By selecting the corresponding item in the Options menu, the Indication Address Overlap
Check can be taken into use. When it is in use, this function checks for address overlaps
every time a new address is given, and if an overlap is detected, the user is notified with
a dialog (see Figure 5.29). Unselecting the corresponding menu item can disable the
address overlap check.
The notification dialog appears also in some other cases, for example if consecutive bit
addresses for DB (Double binary indication) type objects are given, or if the same bit
address is given for DB and BI (Binary input) type objects. This is because the DB and
BI type objects are found in the same memory space in the RP 570, Modbus and CPI
protocols.
Note that when the address overlap check is in use it may decrease the performance of
Signal Cross-Reference, especially if the number of indication signals is significant.
It is possible to add, delete and edit signals, that is process objects, by using Signal
Cross-Reference. The attributes of the existing process object can also be modified.
49
SYS 600 9.3 MicroSCADA Pro 1MRS756633
For more information about creating new process objects, see SYS 600 Application
Objects.
Cross-references for indication signals are defined on the Indications tab (see Figure 5.31).
Cross-referencing of indication signal means defining either the address or additional
definitions. It is also possible to define the signal handling of a cross-referenced signal.
When an address has been defined for the signal, the indication is sent to the NCCs.
When an alarm group has been defined for the signal, the alarm group is activated.
However, see the note below.
For each indication (input process object) the following properties should be defined:
• NCC address, that is the address in the upper level system where the signal is sent
to. In RP 570, Modbus and CPI the address consists of a block number (1... 255 for
RP 570 and CPI, 1... 125 for Modbus) and possibly a bit number (0... 15). In IEC
60870-5-101/104 and DNP 3.0 protocols the address is an integer (IEC address) the
range of which is determined by the Information Address Length (IL) attribute of
50
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
the corresponding station. The address can be omitted if the signal is only connected
to a group alarm and the value itself is not sent.
• Alarm group information, that is the alarm group to which the signal is connected.
This information can be omitted if the signal is not sent to any alarm group. Note
that the alarm group is presented as a number in Signal Cross-Reference.
• Signal handling attributes. These attributes define how the signal is handled before
it is sent to the NCCs, for example a double binary signal can be sent as a single
indication. Note that the alarm group is presented as a number (a bitmask of the
numbers of the selected signal handling attributes) in Signal Cross-Reference.
• Signal class. For signals connected to IEC 60870-5-101/104 or DNP, you can select
the signal class that it used when the signal is sent to the NCC.
• Scale algorithm. For each analog signal you can also select the scale algorithm that
is used when the signal is sent to the NCC. If no signal is selected, the signal will
be scaled with algorithm 1:1.
• Group interrogation and counter group interrogation for IEC 60870-5-101/104.
Interrogation group number (integer 1...16) or counter interrogation group number
(integer 1...4) is added to Free Integer (FI) attribute of the cross-reference process
object. By default, value of FI attribute is 0. Signal specific group number is defined
to ComTool as follows (See Figure 5.32). Add a FI attribute into ComTool from
Column Attribute dialog. Rename the column title from FI - Free Integer to Group
Nr.
51
SYS 600 9.3 MicroSCADA Pro 1MRS756633
52
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
53
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Send with Time Tag Send with Time Tag Send as Inverse Value
None
Double bin- Project Specific Project Specific Project Specific
ary
Send with Time Tag Send with Time Tag Send as Inverse Value
54
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
None
Analog input Project Specific Project Specific Project Specific
Send with Time Tag Send with Time Tag Send as 16-bit Value
None
Pulse Project Specific Project Specific Project Specific
counter
None Send with Time Tag Send as 32-bit value
None
55
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Send with Time Tag Send with Time Tag Send as Inverse Value
Send as Analog Value Send with and without Send Change with Time
Time Tag
None Send Change with Relative Time
Send with Long Time
Tag Send Always as Event
None None
The Modbus protocol does not have time tagged events. It does not either separate analog
and digital inputs. They are both set to 16 or 32 bits registers.
In order to select a scale for an analog input signal, click the Scale column of the selected
NCC to change the Signal Handling field into the Scale field. Click the button on the
right side of this field to open the Scale dialog shown in Figure 5.34. Select a scale from
the list and click OK. Note that the name of the scale cannot be longer than ten characters.
56
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
You can edit the attributes of a selected scale object by selecting Scale from the Signal
menu, when a cell containing a scale name is selected. This opens Scale Object Tool
dialog shown in Figure 5.35. The scaling of analog signals in COM 500i is described in
more detail in Chapter 6 Technical description.
57
SYS 600 9.3 MicroSCADA Pro 1MRS756633
• With binary data: low index is used for storing data which is received from block
sending. High index is used for storing event data and its time tag. In COM 500i,
high index (low index + 100) is used for cross-referencing process data to the NCC.
• At start-up, the event recording object is in Not Sampled Status and low index is
used for data source. The event recording object is always updated at start-up and
can be used by COM 500i if high index is not updated.
• Other type of data (analog input, pulse counter) is cross-referenced from its low
index. Analog Inputs: high index is used for alarm/warning data.
• If data is to be attached to an alarm group, it is taken from the low index
58
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The initial state from the event state signals is not received during the communication
start-up, for example trip signals. The state is received only when an event occurs in the
system. That may be inside 1 minute, or 5 years after the communication start-up. These
process objects will be seen as erroneous until the first event occurs. Additional
configuration is required to assign the default value to those process objects which have
been cross-referenced in COM 500i to be further sent to the NCC. With this method the
indication signals that have been collected into the Trip Signals list in Signal
Cross-Reference get a default object value and a valid object status (OK_STATUS). All
possible data types are supported. With measurements the used value is 0 and with
indications the default value is a non-alarm value (the setting of non-alarm values is
based on information in Alarm Generation [AG] and Alarm Activation [LA] process
object attributes).
How to add indication signals to the Trip Signals list:
1. Select one signal in the Indications tab. Click the right mouse button and a shortcut
menu appears on the screen. Select Add to Trip Signals; see Figure 5.36
2. The same procedure can be done in another way. Select one signal in the Indications
tab. After this, select Signal from the menubar. Finally, select Add to Trip Signals;
see Figure 5.37.
59
SYS 600 9.3 MicroSCADA Pro 1MRS756633
60
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
When the Add button is used for adding new trip signals, Figure 5.39 appears on the
screen:
This dialog shows the List of Indications. You can add a new trip signal into the list by
selecting the indication signal and clicking OK.
61
SYS 600 9.3 MicroSCADA Pro 1MRS756633
In the Trip Signals dialog, there are selections for the behaviour of trip signals in the
following situations:
• Send during General Interrogation. It is possible to define whether COM 500i
sends trip signals during the general interrogation command from the NCC or not.
Trip signals are sent by default.
• Send when Station Suspended. It is also possible to define that COM 500i sends
trip signals when the station enters the suspended state. Trip signals are sent by
default.
Cross-references for commands (output process objects) are defined on the Command
tab of Signal Cross-Reference (see Figure 5.40).
Devices connected to SYS 600 which communicate using different protocols are
controlled through different command philosophies on the application level. Consequently,
in addition to being a protocol converter, COM 500i has to be able to make conversions
between different methods of command handling. For this purpose the following
parameters must be given for each command in Signal
1. Type, specifies the control philosophy of the application level.
For binary output, analog output and digital output process objects:
• Direct command. Note that the object commands of IEC 60870-5-103 devices
must be made using this command type.
For binary output process objects:
• Direct command with two output objects (for example REF 542, tap changer
raise/ lower commands).
• Secured command with four output objects (for example SPACOM devices,
REF 543).
• Secured command with one output object (for example IEC 60870-5-101
devices, RTU 200).
• Secured command with five output objects (IEC 61850 devices).
• Secured command with two output objects and Select.
• Secured command with three output objects.
• Secured command with six output objects (Three State Switch).
For analog output process objects:
• Secured command with one output object (for example REC 561 devices). This
can be received in binary, double binary, or analog format depending on the
used signal handling attribute and NCC protocol.
• Secured command with five output objects (IEC 61850 devices).
• Secured command with one output object and Select (IEC 60870-5-101/104
and DNP 3.0 devices)
2. Purpose, specifies the function of an individual signal (output process object). The
values displayed in the HSI depend on the Type and are as follows:
• Open command (direct command/2 output objects, secured command with
Select/2 output objects and Secured command/3 output objects)
62
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
63
SYS 600 9.3 MicroSCADA Pro 1MRS756633
received as an inverse value. Note that the alarm group is presented as a number
(a bit mask of the numbers of the selected signal handling attributes) in Signal
Cross-Reference.
The signal handling attribute Receive as Double Command (bit 2) is used only for
IEC-101/104. The signal handling attribute Send as Inverse Value (bit 1, used for
all protocols) can be specified for analog outputs in the ComTool.
64
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
6. Click the button next to the Indication field and the Indications dialog will be opened
(see Figure 5.41).
7. Select the correct indication from the list and click OK. The selected return indication
appears in the indication field.
8. Enter the Address to the command field. Note that if there are several objects
constituting one command (for example type secured/4 output objects), the same
address will be copied to all the signals of the command. Note also that if the data
type of the selected signal is not supported in the protocol of the NCC, a message
will be shown on the statusbar, and entering the address is inhibited.
9. Select the Signal Handling Attributes using the Signal Handling Attributes dialog.
Note that if there are several objects constituting one command (for example type
secured/4 output objects), the same address will be copied to all the signals of the
command. The available signal handling attributes are presented in Table 5.1.
Table 5.2: Command signal handling attributes
Data type RP 570/CPI/Modbus IEC 60870-5-101/104 DNP 3.0
Binary output Project Specific Project Specific Project Specific
65
SYS 600 9.3 MicroSCADA Pro 1MRS756633
None
Digital output Project Specific Project Specific
None None
Another example in Figure 5.43 shows how a secured command with two output objects
is defined for raise/lower command of a SPACOM tap changer.
66
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Figure 5.45: An example of secured 5 output object command with synchrocheck and interlock
override
67
SYS 600 9.3 MicroSCADA Pro 1MRS756633
If there are multiple command signals in the same command group, their addresses
and signal handling attributes will be deleted automatically.
4. Repeat the address and possible signal handling attribute for removing all the NCC
columns, which have been connected for the selected signal.
5. The command signal cross-reference is deleted, and the General column is cleared.
Parameters are defined and viewed on the Parameters tab shown in Figure 5.47. The
Parameters tab enables the definition of the COM 500i configuration. These common
parameters include the following information:
• Time-out parameters
• Authorization checking parameters
• Miscellaneous parameters
These attributes and their values are saved into a parameter file or a free type object.
The parameter file is taken as input both for the command procedures and Signal
Cross-Reference, when they are started.
68
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
69
SYS 600 9.3 MicroSCADA Pro 1MRS756633
• REx Select Execute Delay. This parameter defines the delay (in milliseconds)
between the consecutive select and the execute commands sent to a REx device.
The default value is 500 ms.
• STA Object Status Check Timeout. Timeout (in seconds) used when checking
the state of a station reported as SUSPENDED. The default value is 5000 ms.
• Response Indication Timeout. Time (in seconds) after which the command
connected to a response indication is terminated. This is the time waited for an
indication connected to a command to be updated, before a negative command
termination is sent to the IEC 60870-5-101/104 NCC that sent the command. The
default value is 60 s.
• CPI Selection Reset Time. Time (seconds) after which the internal selection of a
CPI command is reset. The default value is 60 s.
Hot stand-by Timeout Information
• NET Initialization Switchover Delay. Time (second) after which the initialization
of the protocol converters in NET started. This parameter should be set to be the
time from switchover to the moment when all the NET lines and stations have been
set to in use. The default value is 0 s.
• Database Initialization Time. Defines time in seconds after which NET database
initialisation is started (DNP 3.0 and RP 570) and Database Initialized message in
sent to the NCCs IEC 60870-5-101/104. The default value is 0 s.
Authorization Information
• Command Source Check In Use. This parameter states whether the LIB 500
command source check is in use. When this parameter is set on, the name of the
NCC (for example NCC 1) must be on the list of authorized command centers of
the application. This list is edited using the Command Authority dialog that can be
opened from the LIB 500 Stations menu. If the COM 500i application is not built
using LIB 5xx or no HSI (station pictures) is used, this parameter must be set. The
default value is TRUE. When a stand-alone version of COM 500i is being used, this
selection is dimmed, that is not in use.
• Station L/R Check In Use. This parameter states whether the Station Local/Remote
switch check is in use. When this parameter is in use, the COM 500i command
procedures check that the value of the Station Local/Remote switch process object
corresponds to that of the remote position of the switch. The default value is TRUE.
• Station L/R Object Logical Name. Logical name of the Station Local/Remote
switch process object. This parameter must be given if the station local/remote
switch process object is not created by LIB 5xx or a stand-alone COM 500i is used.
Otherwise it should be set to “”, an empty text string. The default value is an empty
text string.
• Station L/R Object Index. Index of the Station Local/Remote switch process object.
This parameter must be given if the Station Local/Remote switch process object is
not created by LIB 5xx or a stand-alone COM 500i is used. Otherwise it should be
set to zero. The default value is 0.
NCC Communication information
• Send IEC Terminations. The user has the possibility to select if command
terminations are sent to the master. By default, this option is enabled.
70
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
71
SYS 600 9.3 MicroSCADA Pro 1MRS756633
• Indications. Exported information includes all the attributes included in the column
attributes, and for each NCC address, alarm group number, signal handling attribute,
and scale.
• Commands. Exported information includes all the attributes included in the column
attributes, command type, purpose, logical name and index of the response indication,
and for each NCC address and signal handling attribute.
• NCCs. Exported information includes the station number, protocol, NCC name,
comment text, operation mode, the parameter Send Group Alarms at Start-Up and
Function Table Definition (FTAB). When NCCs are exported, alarm groups are
exported to a separate file including the following information: NCC number, alarm
group name, alarm group number, and address.
• All. This includes all the alternatives listed above.
The names of the export files are fixed and the directory is the PICT directory of the
current application. It is possible to select whether the first row in the export file includes
column names; by default this is set. The following parameters can also be changed:
• Field Separator. This is the character that separates consecutive fields in the export
file. The possible choices are comma, semicolon, and tabulator.
• Text Delimiter. The possible choices are “” (double quote) and none (no delimiter).
Clicking OK starts exporting. During the export of signals a Progress Indicator is shown
to display the percentage of exported signals.
72
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
For more information about exporting cross-references with Microsoft Excel, see Chapter
5. Technical description.
The Import operation can be started from the menubar by selecting File > Import, which
opens the Import dialog shown below. One of the following alternatives can be selected:
• All
• Indications
• Commands
• NCCs
The information included in the alternatives is the same as when exporting. The names
of the imported files are also the same as when exporting. Parameters First Row Includes
Columns, Field Separator, and Text Delimiter should be selected according the file to
be imported.
73
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Clicking the OK button starts importing. During the import operation a Progress Indicator
is shown to display the amount of imported signals.
In the Microsoft Excel, select File >Open and select files of type All Files (*.*) from
the drop-down menu. Navigate to the application's PICT folder and select the
COM_XRIND.xrd file. Click Open. When Microsoft Excel recognises the file format,
it launches the Text Import Wizard - Step 1 of 3 (see Figure 5.51). Select the Delimited
file type and Start import at row 1. Click Next.
74
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The Text Import Wizard - Step 2 of 3 is shown in Figure 5.52. Set the Delimiter to Tab
and the Text Qualifier to (none). Click Finish.
The information included in the import file is displayed in Microsoft Excel, see
Figure 5.53. The width of the columns can be adjusted according to the widest column
cell by double-clicking at the top of intermediate column headers.
The information in the following columns is surrounded by double quotation marks.
Logical name (LN), Object Identifier (OI), Object Text (OX), Address (Ad) and Scale
(Sc). If an empty contents is included, it is represented as "" characters. Other columns,
for example Index (IX), Process Object Type (PT), Alarm Group (AG), Alarm Bit (AB)
and Signal Handling (SH) include integer values. If an empty contents is included, the
75
SYS 600 9.3 MicroSCADA Pro 1MRS756633
cell's contents is empty. The Address, Alarm Group, Alarm Bit, Signal Handling and
Scale columns appear for each NCC in which the NCC number is used as a prefix together
with a colon.
When definitions have been typed in the Microsoft Excel sheet, the signals to be imported
into Signal Cross-Reference can be determined by selecting the rectangular area of the
signals and cross-reference definitions. This means that each column and row in the
sheet is selected and the information is copied to the clipboard by selecting Edit > Copy.
This copied information can then be pasted to the Notepad application by pasting the
contents of clipboard by selecting Edit > Paste in the Notepad. When information is
pasted from the clipboard, the tabulator is always used as a field separator. Use then
Notepad to store the information into a file to be imported into Signal Cross-Reference.
Save the file to the application's PICT folder with name COM_XRIND.xrf. Note that
you should verify that all the information is included, because the indication
cross-references are constructed into COM 500i according to the information on that
76
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
file. Previous cross-references are removed from COM 500i when Import Mode Construct
new cross-references is being used and new cross-references are constructed according
to the import file.
Selecting Cross-Reference > Import in Signal Cross-References opens the Import
ComTool dialog, see Figure 5.54. Define the Import Mode as Construct new
cross-references, Signals as indications and Field Separator as TAB (tabulator). Click
OK.
When the importing into ComTool has finished, there is a need to refresh the view. This
is done in order to update the displayed information in Indications according to the
imported data, see Figure 5.55.
Typically, the signal lists contain all the signals related to the information between COM
500i and the NCC. These lists contain the used cross-references for indication and
command addresses between the substation (COM 500i) and the upper level system
(Network Control Center). These lists are mainly maintained outside COM 500i and
their contents may already be specified by the upper level system. Due to the great amount
77
SYS 600 9.3 MicroSCADA Pro 1MRS756633
of different signal lists (with different amount of sheets used, different column names,
and so on), the generic functionality to convert the signal lists’ cross-reference files
(.XRF) used by COM 500i has been introduced in Signal Cross-reference.
This functionality can be used to convert the indication signals: binary inputs, double
binary indications, analog inputs and digital inputs. With regard to the command
addresses, the signal engineering needs to be done in Signal Cross-References only. At
the moment, there is not a similar functionality in the product for handling the command
cross-references outside COM 500i. Typically, the requirement to support signal lists is
more important for indications. It is due to the bigger amount of signal related information
concerning the indications, when compared with commands.
Converter can be started from the Signal Cross-Reference menubar by selecting File >
78
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The following chapters are common to the first 4 tabs: Source File Parameters, Signal
Identification Column Positions and Cross-Reference Identification Column Positions.
The functionality of Destination Parameters tab is described in its own Destination
Parameters chapter later on.
Source File Parameter specifies the file name and its location used as a source signal list
file for each different indication type. It is also possible for the user to change the file
name and location to something else when is clicked. Clicking this button opens the
File Chooser.
When View is clicked, the Converter opens the source file in SCIL Viewer; see
Figure 5.57.
79
SYS 600 9.3 MicroSCADA Pro 1MRS756633
In SCIL Viewer, it is possible to see the contents of the source file as usual in text editor
applications. This quality is needed in the next step, in which the row numbers that are
being used as a source for the information during the conversion need to be specified.
Start from Row specifies the first row number to be handled. The default value is 1. If
the source file contains a heading the Start from Row value should be set to 2.
Until Row specifies the last row that is handled during the conversion. The default value
is the last row of the source file. Both Start from Row and Until Row values are read
during the start-up of Converter, or when the source file name is changed via File Chooser.
This information is needed, when the signals are identified by their name and type during
the conversion. Typically, the signal is identified based on the combination of Logical
Name and Index attributes. The signal type is based on the value of Process Object Type.
The column positions for LN and IX are mandatory. Column position PT is not needed,
if the indication type specific tabs is used to convert signals of the same type, that is
Binary Inputs tabsfor binary input signals and Double Binary Indications tabsfor double
binary indication signals and so on. If the column position has not been specified and
the user reads the source file into some of the indication tabs, the Converter informs the
user to verify that all the signals in the source file are the same type as selected tabstab.
80
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Other signal identification columns and Object Text and Object Identifier are meant for
recognizing the signals in the Preview and the functional purpose of each row in the
resulted file, if later transferred to another system. With regard to the Object Identifier,
the Preview can also combine the contents of Object Identifier, if it has been structured
into several columns (Substation, Bay, Device, and so on). During the conversion, these
columns are merged into one column in the result file. The values of these columns are
not applied to the process database, when importing the converted file in Signal
Cross-Reference later. This is because the import functionality is only meant for importing
the cross-reference information.
The column position of each attribute is recognized through introducing its column
position in the original file. Column positions are identified as numerical and
aplhanumerical information, for example 2 - B, where number 2 refers to the second
column from the left-hand side of the file, or letter B, which refers to the B column in
the source application.
If the data in the source columns has been qualified with "" characters, then the qualifier
" should become selected for the appropriate attribute. As a default, None is applied as
a qualifier.
These columns specify the actual cross-reference information which is used by COM
500i signal routing. Typically, each cross-referenced signal contains at least the Address.
In the case of NCC connection, the address information may consist of the Address only,
or also the Bit Number may be included. The values for Address and possible Bit Number
should be integer values representing the address used between COM 500i and the NCC.
As a default, the Bit Number is selected as type None, that is not defined in the converted
file. It should be noted that Bit Number should be located in its own column position in
the file to be converted.
81
SYS 600 9.3 MicroSCADA Pro 1MRS756633
In addition to the address column positions, the Alarm Group and Signal Handling may
be included in the converted file. The value for Alarm Group should be an integer value
representing the number of groups related to the NCC in question, whereas the value for
Signal Handling should be an integer value representing a different number related to
the signal process object type and supported in COM 500i signal routing.
Scale column position should be defined in case the analog input signals are included
into converted file. The value for Scale should be text representing the Scale object in
the COM 500i process database. Note that the Cross-reference Converter does not check
the existence of the Scale object in the COM 500i process database. If the Scale object
is not found during the signal routing, the message “COM 500i Scale object is not found”
is displayed in the Notify Window. The message also informs about the used Scale object
and the signal identification.
For the DNP and IEC protocol it is also meaningful to include the Signal Class column
position. The value for Signal Class should be an integer value representing the number
of signal class applicables in communication.
As a default, both the Scale and Signal Class column positions are set as None, that is
not defined.
5.5.17.5 Preview
The result of reading the file to be converted is produced in the Preview area. PreThe
Preview displays the information in the same order as it appears in the converted file.
The following table describes the functions of the buttons in this tool, see Table 5.3.
Table 5.3: Functions of the tool
Button Function
View Reads the input file in SCIL Viewer. It is possible to Print
and Copy to clipboard the contents of opened file.
Read File Reads the input file in selected tab and displays the result
in Preview area
Convert tab Converts the input file in selected tab and produces the
file in output folder with specified name and format
Convert All Converts all the input files in tabs and produces the file
in output folder with specified name and format
Close Closes the Cross-Reference File Converter tool
It is possible to define the conversion Output File Name and location in this tab. As a
default, the conversion result is written in the PICT folder of running application.
82
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
If there is a need to specify another file, click the button in the Destination Parameters,
which opens the File Chooser dialog. Use this dialog to define another output file name
and location.
When Append to File option is set (default), the conversion result is appended to the end
of the file, if it exists. If Append to File is not set, the conversion result always overwrites
the file, if it exists.
In this tab, it is also possible to select the output file format. There are two possible
formats: Version 3.0 and Version 4.0. Version 3.0 is used in COM 500 product versions
3.0 and its related Service Packs running in MicroSCADA 8.4.3 environment. Version
4.0 is used in COM 500 product versions 4.0 and its related Service Packs running in
MicroSCADA 8.4.4 or later environments.
Below is an example on how to convert the indication cross-references from the tabular
sheet to the file, and from there to convert by Cross-Reference File Converter to be later
imported into Signal Cross-Reference.
1. Open the tabular sheet in the application including the indication signals.
2. Select File > Save As from the application.
3. Save the file in the PICT folder or the running application and use the Text type
(Tab delimited) with .txt extension.
4. If the different sheets are included in each indication signal type, the saving needs
to be done for each sheet separately. Use the file names such as: AI.txt, BI.txt, DB.txt
and DI.txt. This is because these are the default names used by the Cross-Reference
File Converter when converting input files.
5. Start Signal Cross-Reference.
6. Select Cross-Reference > Convert.
7. Specify the Source File Parameters, Signal Identification Column Positions,
Cross-Reference Identification Column Positions according to each file to be
converted. Click Read File to verify the result of column positions.
8. Define the definitions in the Destination Parameters tab according to the environment.
9. For each signal type, click the Convert tab or Convert All to convert the
cross-references from .txt files to .xrf files.
10. Close the Signal Cross-Reference File Converter tool by clicking Close.
11. Select Cross-Reference > Import from Signal Cross-Reference.
12. Set the option Construct new cross-references, First Row Includes Columns and
Field Separator to , (comma).
13. Click OK.
14. When Importing is finished, refresh the view in Signal Cross-Reference by
re-selecting the active view name from the View menu.
83
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Configuring a printer
The availability of printers and the configuration work needed depends on which context
the SYS 600 monitor is opened to. In COM 500i, a monitor is opened to the context of
the MicroSCADA user by default, that is the user with the user name MicroSCADA. In
this case only local printers can be used for printing from Signal Cross-Reference. Local
printers are:
• Printers connected directly to computer's serial or parallel port.
• Network printers defined as local port.
The procedure how to define a network printer as a local port is described in SYS 600
Installation and Administration Manual.
If a monitor is opened from command prompt or from SCIL with an operating system
call, it can be opened to the context of the current operating system user. This requires
that the command line option start_as_logon_user is used when opening the monitor.
Further more information on opening monitors, see SYS 600 Installation and
Administration Manual. When a monitor is opened to the context of the current operating
system user, the printers that are provided by the operating system to the user are also
available for printing from Signal Cross-Reference.
Printing
When printing from Signal Cross-Reference, the user can select one of the several options.
These options are listed below with information of their content.
NCC printout
• Name of the NCC
• Description of the NCC
• Protocol of the NCC
• Station number of the NCC
• Alarm group names
• Alarm group addresses
84
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Indications printout
• Logical name and index
• Unit number and address
• Object identification and object text
• NCC address
• Signal handling attributes
• Alarm Group number
• Scale
• Signal class
Commands printout
• Logical name and index
• Unit number and address
• Object Identification and Object Text
• Command type, purpose and command group
• NCC address
• Signal handling attributes
Parameters printout
• Name of the parameter
• Value of the parameter
• Unit of the parameter
Cross-reference information can be printed by selecting File and Print from the menubar.
This opens the Print dialog shown in Figure 5.59. The print selection can be:
• Current page. When this option is selected, the printout contains the active notebook
page, that is indications, commands, NCCs, or parameters.
• All pages. This option includes all the cross-reference information in the printout.
• Selected pages. The printout is made according to the further selections.
• Include Empty Signals. When this option is selected, the printout includes
cross-referenced and non cross-referenced signals.
85
SYS 600 9.3 MicroSCADA Pro 1MRS756633
All the printed pages contain a header, a number of columns and column titles, and a
footer. The title is centered in the header of each paper. Column titles are the names of
the column attributes. Under each column, there is cross-reference information printed
for each signal. Certain fixed signals are allocated into each printed page. The footer
contains the name and number of the application, the number of each page, and the total
number of pages (see Figure 5.60).
Page setup
It is possible to change the settings of the printed page by selecting Cross-Reference >
Page Setup. This opens the Page Setup dialog shown in Figure 5.61. The page settings
include the width of the top, bottom, left, and right margins. By default these settings
have values: 20, 20, 20 and 20, respectively.
86
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Print setup
Printer settings can be changed by selecting Cross-Reference > Print Setup. This opens
the Print Setup dialog shown in Figure 5.62. This dialog contains options for printer
name, properties, paper size, source, and orientation.
Each NCC tab includes general information found from the cross-reference tables and
diagnostics information.
General information displays the NCC’s name and description, the station number of
NCC and the protocol of NCC. Diagnostics information displays diagnostic counter
indices, names and their values in this NCC. Depending on the used protocol of NCC,
the number of diagnostic counters may be different according to the following table
below.
87
SYS 600 9.3 MicroSCADA Pro 1MRS756633
88
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
On the right hand side of each NCC tab, there are two graphs displaying the counter
values in a plot diagram (see Figure 5.63). The diagnostic counters, which are displayed
in these graphs can be changed by selecting two appropriate counter names on the list.
The first selected counter is displayed in the upper graph and the second in the lower
graph. Press down the CTRL key while selecting the second counter with a mouse click.
By default, the first two counters are selected, when the Communication Diagnostics
dialog is opened. The counter values are refreshed every five seconds. If there is no need
to update the graphs, unselect the last active counter name on the list by pressing the
Space-key. If the counter value exceeds its maximum value 30 000, the value will restart
from 0.
For each plot graph there is a zoom functionality that allows zooming a selected plot
area in each graph. To zoom in a graph, click the Zoom In inside the appropriate graph,
and select the zoom area by pressing and releasing the mouse button for a rectangular
area in this graph. When releasing the mouse button, the selected area becomes zoomed.
To zoom out the selected graph click Zoom Out (see Figure 5.64).
89
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The Alarm Groups functionality means that a set of signals can be grouped to certain
alarm groups. When one or several signals in an alarm group enter the alarm state, the
alarm group itself also enters that state. When this occurs, COM 500i sends the alarm
value to the NCC. When all the signals in an alarm group return to the normal state, the
alarm group itself also returns to that state. In this case, COM 500i sends the normal
value to the NCC. Note that if there are alarm state changes for some signals, which do
not change the alarm group state, COM 500i does not send the same alarm group state
to the NCC. However, all the alarm group changes are sent when communication is
established between COM 500i and an IEC 60870-5-101/104 NCC. This is one
configurable feature on the NCC tab. Group alarms are also sent when general
interrogation occurs.
The Alarm Groups dialog (see Figure 5.65) shows the following information:
• Group specifies the alarm group number. The group number is displayed, when
signals are connected to alarm groups in Signal Cross-Reference.
• Name displays the alarm group name.
• Address displays the alarm group address.
90
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
• On displays the alarm group state. When the alarm group is in the alarming state,
the check-box is set under the On column. When the alarm group is in the normal
state, the check-box is not set under the On column.
• Time Stamp of Last Signal Update displays the time stamp for when a signal in
this alarm group in COM 500i has been updated the last time, without changing the
alarm group state.
• Time Stamp Sent to NCC displays the time stamp for when COM 500i has sent
the alarm group state change to the NCC.
The Alarm Groups dialog can also be directly accessed from the ComTool, when an
NCC is selected on the NCCs tab and the Diagnostics button is clicked in the Alarm
Information panel.
By double-clicking an alarm group, you can see all the alarm signals in a specific group.
The name of the alarm group, whose alarm signals are displayed, is identified in the title
of the dialog (see Figure 5.66).
91
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The different fields and buttons in the Alarm signals dialog are described Table 5.5.
Table 5.5: Fields and buttons in Alarm signal dialog
Filter By using filters, you can define the signals which you want
to be displayed. The default filter name is “All”. When it
is selected after filtering, all the signals are shown. Pre-
defined user filters can be chosen from a drop-down
menu. A filter, which is stored in a user profile, is set by
clicking the Set Filter button. By default, the number of
filters is 10.
User-defined attributes By using the User-defined attributes you can define the
attributes to be displayed on the three rightmost columns
of the table (for example SS, AN and IU). User-defined
attributes can be chosen from a drop-down menu. Selec-
ted attribute values are stored and restored. If the History
function is enabled, the changing of user-defined attributes
will clear old values from that column.
Navigation You can navigate in the dialog with the buttons in the
lower left corner. With these arrow buttons you can select
one of the alarm groups (see below), from which alarm
signals are displayed. Information on what group is active
at that time, is shown in the dialog.
Select the first alarm group.
92
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The condition for alarm signals inside an alarm group can be defined in the Filter dialog
(see Figure 5.67). The condition can be constructed by using certain dialog items (for
example Attribute and Value) and text fields as in the figure below. It can also be directly
entered as SCIL condition into the Filter text field.
In the example below, all the alarm signals which have a logical name with prefix S1B
and index 10 are included in the condition.
93
SYS 600 9.3 MicroSCADA Pro 1MRS756633
2. Click the Reset button. The notification dialog appears on the screen.
3. Click Yes. The group alarm is reset.
Resetting the group alarm does not reset the alarms of the
signals connected to the group alarm.
The diagnostics of the parallel queues, process event queues, and running objects are
shown on the Application tab (Figure 5.68). These diagnostics display how the COM
500i functionality increases the system load in the application.
Parallel Queues display the maximum length of parallel queues together with the length
of the waiting executions in the parallel queues. The percentage of these values are shown
as well.
Process Event Queues display the maximum number of process events that can be in the
queue for event channel activation. The number of event channel start-up commands
from the process in the event channel queue are shown together with the percentage of
these values.
Running Objects displays the contents of common time and event channel queues and
the contents of parallel queues. For COM 500i-specific parallel queues, the contents are
described more precisely in the descriptive text column, for example Parallel queue 2,
Command Terminations. The object column contains the names of the command
procedures or data objects currently under execution in REPR queues, for example C
COM_GENINT. The character C identifies the command procedure, whereas D identifies
the data object.
The objects in each of these queues are updated with an interval of 1 second. If an object
is found from a queue, the type and name of the object will be shown, for example C
COM_GENINT.
94
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
5.6.2 Traceability
There is usually a need to trace signals during the factory and site acceptance tests in the
COM 500i project. Especially, if a stand-alone COM 500i is used, this is the only easy
way to test signals. During these tests, it is verified that each signal included in the system
is transmitted and received in the correct way. Traceability in COM 500i means that
signal values with related attributes are displayed and updated as event-based in the
Signal Diagnostics dialog. The set of signals to be traced is selected in Signal
Cross-Reference. The selection can consist of signal rows inside a certain rectangular
area or individual signal rows. You can select individual signal rows, when you press
the CTRL key and click the rows you want to be included in the selection. Both the
indication and command signals can be selected. Each row included in the Signal
Diagnostics is updated, when a value update related to that signal occurs there. The
related attributes to be displayed can be selected from the appropriate drop-down menus.
It is possible to store the history related to the signal changes, when Enable history in
dialog is set. History is collected as long as the Signal Diagnostics dialog is displayed.
95
SYS 600 9.3 MicroSCADA Pro 1MRS756633
When using a signal dialog from another tool than COM diagnostics, there are functions
that work in a different way:
• Navigation
Shows information on what signal is selected. The navigation buttons where
you can scroll back and forth are active.
• Table
There are 11 columns and the first column is a combination of the logical
signal name and index.
Figure 5.69 shows the Signal Diagnostics dialog:
The History viewer (Figure 5.70) shows the last 10 states of the selected signal. The
name of the signal is shown in the dialog title. In the columns you can see the attribute
values and the row number. If there is no value in a cell, the column attribute has been
changed during the history gathering.
96
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The Refresh button is in disabled state. The button is enabled only when Signal diagnostic
is opened from COM 500i Diagnostics.
When a command is received, COM 500i checks the command authority of the NCC.
The command authority is determined by the following factors:
• Station Local/Remote switch must be in remote or out of use position, if the
parameter Station L/R Check In Use is set.
• NCC must be given the authority to make commands.
These factors can either be used simultaneously or individually.
In case a command is not authorized, a negative command confirmation is sent to the
NCC if the IEC 60870-5-101/104 protocol is used (see Chapter 6 Technical description).
If DNP 3.0 is used, the command is confirmed with status information that the outputs
are in the local state.
When a stand-alone COM 500i is used, the following user interface is displayed on the
Parameters tab of ComTool (see Figure 5.71). In this case, the selection Command Source
Check in Use is not applicable.
97
SYS 600 9.3 MicroSCADA Pro 1MRS756633
EIf the Record to Log check box is set on the Parameters tab of ComTool, it is possible
to log data forwarding between the COM 500i database and the NCC system. The
generated log files can be cleared from the ComTool with the Delete Log Files button.
Logging is stopped when Record to Log check box is not set.
The log mechanism saves data from every transaction between the COM 500i command
procedures and the PC-NET. Some internal handling is also written to log. Runtime log
is written to free type objects. The number of these free type process objects is 10, each
of which consist 1000 lines. When these objects are written, the log mechanism writes
text files to a COM 500i-specific path in the application directory. This path is shown
on the Parameters tab of ComTool. Files can be generated up to 10, com_log1..10.log.
The user can read this log with a specific tool, which can be started from the COM 500i
tab of Tool Manager (see Figure 5.4) or the Parameters tab of ComTool by using the
Log File Viewer button (see Figure 5.72).
When the tool is opened, it creates a new log file from the current runtime logs,
com_log.log. The tool shows on the notebook tabs all the defined NCCs, and data sent
to them and received from them with some default data:
The main dialog of the COM 500i Log Viewer tool is a logged events navigator with
several notebook tabs, containing a table, toolbar and menu (see Figure 5.73).
The base functionality of the tool is showing information from the log files and displaying
it with or without filtering. All information is separated into notebook tabs. Each tab,
except the last one, contains data related to a certain NCC. The last tab contains data,
which is not included into any NCC specific notebook tabs. Logged events are listed by
tabs instead of showing all the information at the same time. Navigation buttons allow
moving to the next and previous tabs, as well as to the beginning and to the last tab. The
number of rows on a tab is configurable. The main table on the each notebook tab contains
only most important columns, and detailed information about a record is shown on a
double-click. The table rows are highlighted with different colours depending on the
signal type. The tool has a possibility to customise filters for the following fields:
• Destination addresses range
• Process Object name (text filter)
• Date and time (for example all the signals regarding a certain period of time)
• Data source station number
• Command procedure
98
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
99
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The user can switch between different NCC by selecting the appropriate notebook tab.
The main table on each tab has a limited row count. If the number of possible log records
is greater than this value, then full log data list will be shown by tabs. The user can
navigate the full list by using the toolbar buttons – First, Previous, Next, Last. The
maximum row count is specified by Table_PageSize parameter of the [LViewer] section
in the COMLViewer.INI file in the user parameters directory. The default page size is
20. The status bar at the bottom of table shows information about the total number of
log records found for the currently selected NCC and currently displayed line numbers.
In case the log files are changed while the tool is running, it is possible to refresh log
data by pressing toolbar button Refresh or by selecting Log > Refresh.
When the user tries to set the Record to Log option in Com
Tool, the following caution dialog appears on the screen (see
Figure 5.74). If Yes is clicked, the Record to Log function will
be set, otherwise not.
Detailed event information can be viewed in a separate dialog (see Figure 5.75), which
can be accessed by double-clicking the desired row in the main table. Another way to
do it is to select the desired row in the main table, to click the right mouse button and to
select Detail from the shortcut menu which appears on the screen.
100
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
This dialog contains two groups of attributes: Common attributes, which are common
for all NCC protocols, and Protocol specific attributes. When an alarm group is displayed
in the Detail dialog, the alarm group name is included into the Common attributes group.
When an analog input process object is displayed in the Detail dialog, the attached Scale
object is included into the Common attributes group.
The user can also define different filters to search specific data up to 11000 lines logging
data.
Logged events listed in the tables can be filtered by different attributes. The Filter dialog
is accessible from the toolbar button or by selecting View > Filter Events. Figure 5.76
appears on the screen after the option is selected:
101
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The user can specify any combination of the following filters: Process Object name, with
a keyword which should be included in the process object name at a specified position;
Destination address range; Time period; Source station number; Command procedure.
All the filters are saved in COMLViewer.INI file in the user parameters directory.
The tool has also a possibility to fill the filter dialog automatically with attributes of the
certain event. For that option the user should select a row, which contains the desired
event, and select Use as Filter… from the shortcut menu (called in with the click of the
right mouse button).
The currently selected filters are displayed in the status bar, which is placed on the right
hand side of toolbar in the main dialog.
102
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
6 Technical description
This section describes the functionality, design, and configuration of COM 500i.
103
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Some of the protocols listed above are master protocols, which means that the protocol
is used for communicating with process devices, whereas slave protocols are used for
communicating with upper level systems. The following sections provide reference
documentation on the protocols supported in COM 500i. In addition to the documents
mentioned below, the SYS 600 documentation can be used as reference.
SPA
SPA-Bus Communication protocol V2.4.
104
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
CDC-II Slave
For more information on using this protocol, contact your supplier.
OPC DA Server
OPC DA Server can be used for connecting the SYS 600 system to an upper level system,
which contains the OPC DA Client. For more information about using this protocol, see
SYS 600 OPC Server.
OPC DA Client
OPC DA Client can be used for connecting the SYS 600 system to protection and control
devices, which contain the OPC DA Server. For more information about using this
protocol, see SYS 600 External OPC Data Access Client, SYS 600 Application Objects,
and SYS 600 System Objects.
6.2.2 CPI
CPI software can be used to implement both the master and slave protocols. The CPI
library contains functions to send and receive messages. It also contains functions to
pack and unpack data. The CPI-based communication software and COM 500i
communicate through the TCP/IP network.
105
SYS 600 9.3 MicroSCADA Pro 1MRS756633
When using a CPI program with COM 500i for upper level communication (slave
protocol), the following rules apply:
• The communication system object attribute interface of the device is as in RP 570
slave
• The process database interface is of RTU 200 type
• System messages are as in RP 570 slave
The CPI interface is designed to support connections to several applications in a base
system or in several base systems. All applications in one base system can be reached
using the same TCP/IP socket.
Figure 6.1: Process unit can communicate with base system through CPI
106
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
6.3.1 Indications
Indications (input process objects) receive data from the process devices. This data is
then sent to the NCCs by COM 500i. Data flow from a process device to one or several
NCCs is shown in Figure 6.2.
107
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Sending input signals to an NCC does not require any additional process objects, except
for group alarm, since the data is sent directly to the NET unit using a set of command
procedures based on the data stored in the cross-reference tables. This data includes:
• Address to which the data is sent (NCC address)
• Alarm group information
• Information about the handling of the signal (signal handling attributes)
• The scale object used in scaling of analog values
The following table presents the different IEC 60870-5-101/104 Application Service
Data Unit (ASDU) types that are used in COM 500i when sending data to an NCC. The
ASDU used depends on the signal handling attributes selected for the signal in Signal
Cross-Reference. Only those signal handling attributes that affect the ASDU used are
mentioned.
For more information about defining the signal handling attributes, see Section 5.5.12
Defining indication cross-references.
Table 6.2: IEC 60870-5-101 ASDU types in COM 500i
Data Signal Handling Attributes ASDU Type
type
Binary None M_SP_NA_1(1)
input Send with Time Tag M_SP_TA_1(2)
Send with Long Time Tag M_SP_TB_1 (30)
Send as Double Binary M_DP_NA_1(3)
Send with Time Tag M_DP_TA_1(4)
+ Send as Double Binary -
Send with Long Time Tag M_DP_TB_1 (31)
+ Send as Double Binary -
Send with and without Time Tag M_SP_NA_1(1)
- + M_SP_TA_1(2)
Send with and without Time Tag M_SP_NA_1(1)
+ Send with Long Time Tag + M_SP_TB_1(30)
Send with and without Time Tag M_DP_NA_1(3)
+ Send as Double Binary + M_DP_TA_1(4)
Send with and without Time Tag M_DP_NA_1(3)
+ Send with Long Time Tag + M_DP_TB_1(31)
+ Send as Double Binary
108
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
109
SYS 600 9.3 MicroSCADA Pro 1MRS756633
110
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
The IEC 60870-5-104 protocol uses the same ASDUs as IEC 60870-5-101, but the default
signal handling attribute for IEC 60870-5-104 is Send with Long Time Tag.
When Send with and without Time Tag has been selected, two consecutive messages
are sent, one with and one without a time tag. This feature is suitable for masters that
handle time-tagged and non-time-tagged data separately.
The table below presents theIEC 60870-5-101/104 cause of transmission values possible
in COM 500i for different types of data.
Table 6.3: IEC 60870-5-101/104 Cause Of Transmission (COT) values
Data type COT Explanation
Binary input 3 Spontaneous
5
11
20
Double bin- 3 Spontaneous
ary 5 Return information caused by remote command
11 Requested
20 Interrogated by general interrogation
111
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The following table describes the input data objects and variations used with the DNP
3.0 slave protocol. The data object and variation used depends on the signal handling
attributes. The variations described in the table below are default variations, that is
variations that are used if no variation is specified by the master in the data request.
Table 6.4: DNP 3.0 input data objects and variations in COM 500i
Data type Signal Handling Attributes Object Variation
Binary input* None 1 1 (2) 1
Send Change 2 1
Send Change with Time 2 2
Send Change with Relative Time 2 3
Send as Double Bit Input Object 3 2
Send as Double Bit Input Object 4 1
+ Send Change - -
Send as Double Bit Input Object 4 2
+ Send Change with time - -
Send as Double Bit Input Object 4 3
+ Send Change with Relative time
Double binary* None 1 1 (2) 1
Send Change 2 1
Send Change with Time 2 2
Send Change with Relative Time 2 3
Send as Double Bit Input Object 3 2
Send as Double Bit Input Object 4 1
+ Send Change - -
Send as Double Bit Input Object 4 2
+ Send Change with time - -
Send as Double Bit Input Object 4 3
+ Send Change with Relative time
Binary output Report Status to Master 10 2
112
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
113
SYS 600 9.3 MicroSCADA Pro 1MRS756633
tab in Signal Cross-Reference; see Figure 5.31. If the cell is left empty, the default class
is used.
The default class for the IEC 60870-5-101 protocol is 1. It is possible to select between
classes 1 and 2; class 1 has a higher priority. The class definition for the IEC 60870-5-101
protocol is usable only when the unbalanced communication mode is used.
In DNP 3.0, there are two kinds of data: static data and event data. Static data in DNP
3.0 is called class 0 data. Event data can have three different classes or priorities: class
1 (high priority), class 2 (medium priority) and class 3 (low priority).
Since some data types have a different value range in SYS 600 and in the slave protocols
supported in COM 500i, some kind of scaling is needed. Analog input values are handled
as follows:
In COM 500i, you can define the scaling of an analog signal separately for each NCC.
This is done by selecting an existing scale object to the signal in question in Signal
Cross-Reference.
The scaling algorithm is as follows:
• The “Process” value range is scaled to the “SYS 600 database” value range of the
scale object.
• The value sent to the NCC is limited to the value range defined by the message type
of the NCC protocol.
• If the value is over this value range, the overflow bit of the analog telegram is set
in the IEC 60780-5-101/104 and DNP 3.0 protocols, and in the RP 570 protocol the
status of the signal is marked as invalid.
For example, if the value of an analog signal sent to an IEC 60870-5-101/104 master as
a scaled value is to be divided by ten, the parameters of Scale Object Tool should be as
shown in Figure 6.3. For more information on Scale Object Tool, see SYS 600 Application
Objects.
114
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
6.3.1.4 Deadband
The transmission of analog values as events in DNP3.0 can be limited by using the
deadband possibility. Currently, all changes to analog values are transmitted by the
COM_USAI procedure to the NCC. The modification of the COM_USAI procedure is
needed to define the deadband. Note that the modifications have an effect on all analog
points transmitted to the NCC via DNP3.0.
The delta value can be hardcoded if the same delta value is acceptable throughout the
whole system.
#WHEN 4 #BLOCK ; ********************** DNP 3.0 slave*******..
;protocol parameters
@SD_CLASS = 2 ; middle weight (priority)
#IF %SIGNAL_CLASSES(%NCC_COUNTER) == 0 #THEN #BLOCK
@EV_CLASS = 0 ; use default event class
#BLOCK_END
#ELSE @EV_CLASS = %SIGNAL_CLASSES(%NCC_COUNTER) ; use signal spes.
class
@DELTA = 25 ; original = 0
@EV_ALL = 0
The event is only transmitted if the difference between the new value and the previously
transmitted value is larger than 25.
The project specific definition can also be used in the following way:
#WHEN 4 #BLOCK ; ********************** DNP 3.0 slave*******
.
.
.
;**************** project-specific
modifications********************
#IF BIT(%SIGNAL_HANDLING_ATTRS(%NCC_COUNTER),0) == 1 #THEN
#BLOCK
;write the project-specific code in this block
@DELTA = 30
#BLOCK_END
115
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The event is only transmitted if the difference between the new value and the previously
transmitted value is larger than 30. Now, this applies only to the points, which have the
project-specific bit set in the Signal X-references tool. This modification is useful if only
a small group of points generate a useless load to the NCC line.
If each point or each station must have a limiting value of its own, the usage of a threshold
value in the process object may be considered, see SYS 600 Application Objects. The
TH attribute can be used to limit the amount of activation of COM_USAI procedure. If
a nonzero value is used in TH, it is usually better not to modify COM_USAI as described
above.
For more information, contact your local supplier.
6.3.2 Commands
COM 500i receives a command from an NCC as an input, which activates a set of
command procedures. It sends the command to the process objects that are connected
to the process units based on the information stored in the
• Logical names and indexes of the output process objects
• Logical name and index of the response indication, if any connected
• Information about the handling of the signal (signal handling attributes)
116
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Figure 6.4: Command from the NCC into the COM 500i application
The input process objects that receive the commands from the NCC are created
automatically by Signal Cross-Reference. The following output data types are supported
in COM 500i:
• Binary output
• Digital output
• Analog output
The following table presents the different IEC 60870-5-101/104 ASDU types that are
expected in COM 500i when receiving commands from an NCC. The ASDU used
depends on the signal handling attributes selected for the signal in Signal Cross-Reference.
Only those signal handling attributes that affect the ASDU used are mentioned.
If a digital command is made to a non-IEC protocol, the command type from an NCC
must be analog. The Regulating Step Command is a binary command. Other protocols
than IEC 60870-5-101/104 use the digital value itself in the command, for example a
16-bit value.
117
SYS 600 9.3 MicroSCADA Pro 1MRS756633
None C_SC_NA_1(45)
Analog out- Project Specific -
put
Inversed Value -
- C_SC_NA_1(45)
None C_SE_NA_1(48)
C_SE_NB_1(49)
C_SE_NC_1(50)
Digital out- Project Specific -
put
Inversed Value -
None C_SE_NA_1(48)
C_SE_NB_1(49)
C_SE_NC_1(50)
The following table describes the output data objects and variations used with the DNP
3.0 slave protocol.
Table 6.6: DNP 3.0 output data objects and variations in COM 500i
Data type Signal Handling Attributes Object Variation
Binary output Project Specific
Inversed Value
12 1
None 12 1
118
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
41 2
None 41 2
Analog output values are scaled and limited by using a reverse algorithm that is used
when analog input values are sent to the NCC.
It is possible to define binary input commands received from the NCC for the analog
output command. These are used when commanding a REC 561 type of device. It uses
analog values for binary commands. These analog values can be defined by the user in
the COMTool parameters, otherwise default values are used.
The RP 570 and CPI command analog output values are scaled and limited by using the
scale COM_AIRP'ncc_number'. They are generated when the COM 500i application is
started for the first time.
The IEC 60870-5-101/104 protocol includes the concept of command confirmation and
termination. In COM 500i, commands sent from an NCC using the IEC 60870-5-101/104
protocol are confirmed and terminated as follows:
• System commands are always confirmed by COM 500i.
• All application commands, except the reading of user data (ASDU 102), are
confirmed and terminated by COM 500i.
• Reset process commands (ASDU 105) are only confirmed, not terminated.
Direct data commands are confirmed and terminated as follows:
• A command is confirmed when the handling of the command in the corresponding
command procedure begins.
• If the command is not authorized, a negative command confirmation is sent.
• If the response indication related to the command has not been connected to the
command in Signal Cross-Reference, the command is terminated when the handling
of the command in the corresponding command procedure is finished.
Secured data commands are confirmed and terminated as follows:
• A command is confirmed when the process device replies to the selected command.
If the response is negative, a negative command confirmation is sent to the NCC.
• If the command is not authorized or it fails, a negative command confirmation is
sent.
119
SYS 600 9.3 MicroSCADA Pro 1MRS756633
• A command is terminated when the process device replies to the executed command,
and the command is not attached to a specific indication. If the reply is negative, a
negative activation termination is sent to the NCC.
• If the response indication related to the command has not been connected to the
command in Signal Cross-Reference, the command is terminated when the handling
of the command in the corresponding command procedure is finished.
If an indication is connected to a data command, the following rules apply:
• If the output objects are of IEC type, the command is terminated when the termination
is received from the device. The IEC/Analog Input termination process object must
be in index (IX) with the indication process object index added with 100. The Object
Address (OA) must be 1 000 000Hex added with a command object address to
receive confirmation and termination from the device to the database. To use this
function an indication must be connected to the command in the ComTool.
• In case of another output object type, the command is terminated when the connected
response indication is updated.
• If the termination (IEC) or response indication (other types) is not received within
the time-out parameter Response Indication Timeout defined in Signal
Cross-Reference, a negative termination is sent.
The NET unit generates protocol-specific system messages as status codes to inform
about some special conditions, for example, about the loss of communication.
NCC protocols provide specific application and system commands that are used in such
tasks as time synchronization or interrogation of data. These commands are also handled
by a COM 500i application.
The system and application commands supported in COM 500i can be found in the
interoperability lists and device profiles of the NCC protocols, or in the SYS 600 manuals
describing the implementation of these protocols.
The NET unit handles application and system commands. These commands are received
by process objects that are created by Signal Cross-Reference. After this, the COM 500i
command procedures are activated. To ensure that these commands are received and
executed properly, the values of the MI (Message Identification) and CA (Command
Address) attributes of IEC and DNP slave stations should be checked as stated in Chapter 4
Safety information of this document.
120
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
COM 500i should be synchronized from each NCC by default. Until a synchronization
message is received, the time stamps of the messages sent to the NCC are marked as
invalid. After a synchronization message has been received, time stamps are marked as
valid until the system is restarted for the next time.
If the system is synchronized by other means, for example by using a local GPS receiver,
there is no need to mark the time stamps as invalid. This can be done in different NCC
protocols as follows:
• In IEC 60870-5-101/104 by setting the RM attribute of the IEC slave station so that
bit 1 of the value is set (RM = 2 if no other bits are set)
• In RP 570 slave by setting the TI attribute of the SPI station to 1
• In DNP 3.0 by setting the TC attribute of the DNP slave station to 1
In general, you can use the IEC 60870-5-101/104 file transfer feature to transmit files
of all types from the relay to the SYS 600 computer. You can select the transmitted files
freely from the gateway computer and transmit them to the NCC.
In the file transfer process, the process devices store files to a directory in the in the
COM 500i file system.The time channel activates a command procedure and reads the
files from the directory. Then the files are transferred to the NCC. The file transfer from
a process device to one or several NCCs is shown in Figure 6.5.
121
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Command
procedures File
File transfer
transfer NCC
File
folder
Process
devices
122
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Command
procedure
BS Reply
NCC
Command
Relay
unit
In Relay Setting Tool, a separate IEC address must be set for each relay unit using the
transparent SPA functionality of COM 500i. Consequently, when using Transparent
SPA, the IEC 870-5-101/104 Gateway (COM 6xx/500) protocol is selected in CConfig
COM 500i. If the LIB 500/510 version is older than 4.2 Add-On 1, the IEC 870-5-101/104
Gateway (COM 6xx) protocol should be selected.
123
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Signal Cross-Reference writes the cross-reference information to ASCII text files from
where they are loaded automatically at start-up. The following text files are found in the
directory /APL/<name>/com500:
• COM_XRNCC1.txt contains the NCC definitions
• COM_XRCMD*.txt contains cross-reference information of the commands (output
process objects)
If the previous COM 500i version is used, the directory may also contain
COM_XRIND*.txt files. These files are no longer used to store the indication
cross-reference information.
Cross-reference information of indications is stored in free-type process objects.
COM 500i uses a set of system and application parameters to control its operation. These
parameters are used by Signal Cross-Reference and the COM 500i command procedures.
Some of the parameters can be edited on the Parameters tab of Signal Cross-Reference,
124
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
and some are internal parameters of COM 500i. The parameters are saved in the file
Com500.ini.
These parameter files are used for defining the user-interface, attributes and view
definitions in Signal Cross-Reference. There are three parameter files, which have the
following names, locations, and purposes:
• Attr_com.txt contains a list of valid attributes concerning process objects, that can
be attached as columns to the Indications and Commands tabs of Signal
Cross-Reference. Location: /sc/Stool/SysConf.
• ComTool.ini is located in the directory: /sc/apl/<name>/par/<user> and it contains:
- The definitions for Signal Cross-Reference co-ordinates on screen during the
last session, number of columns attached to the Indications and Commands tabs
and the number of selected view definitions.
- The definitions for ruler positions located between adjacent columns to define
the width of the column.
- Definitions for attribute names and their titles in columns.
• ComView.ini contains the definitions for the number of views assigned to Signal
Cross-Reference and the names of views defined using View Definitions. The
assigned indication and command signal conditions for every view defined by using
View Definitions. Location: /sc/apl/<name>/par/<user>.
6.5.1 Introduction
Several application objects are created by COM 500i. Some of these objects are created
automatically at the first start-up, and some are created when definitions are made in
Signal Cross-Reference. Also existing application objects are modified.
In COM 500i, the following naming convention is used:
• Event channels, time channels, free-type objects and command procedures are named
COM_*:*
• Process objects and free-type process objects are named BNCC*:P
COM 500i creates new application objects for the following purposes:
125
SYS 600 9.3 MicroSCADA Pro 1MRS756633
• Event channels and command procedures for sending data from the input process
objects to the NCCs.
• Process objects for receiving commands from the NCCs.
• Event channels and command procedures for interpreting commands coming from
the NCCs and sending them to the correct output process objects.
• Event channels, process objects, and command procedures for group alarm
functionality.
• Event channels and command procedures for COM application start-up and
initialization.
• Event channels and command procedures application and system commands.
• Time channels, event channels, and command procedures for command termination.
• Free-type objects and process objects for storing cross-reference data.
• Free-type object for storing internal parameters
In addition to the application objects described above, some other objects may also be
needed for the COM functionality. Signal Cross-Reference creates these objects.
126
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
127
SYS 600 9.3 MicroSCADA Pro 1MRS756633
The parallel queues from number 3 to 6 can be freely used in COM 500i applications
(revision 3.0 or later). It must be noticed that LIB 500 uses those queues when installed.
See the LIB 500 documentation for more details.
In situations where there is need for free parallel queues, the following can be done to
5 free queues:
• Set all the COM 500i command procedures in queue 1 to queue 0. Now these
procedures use the first random queue.
• Move the command procedures from queue 12 and 15 to queue 10.
• Move the command procedures from queue 13 and 14 to queue 11.
For more information on how to change a queue, see SYS 600 Application Objects.
128
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
129
SYS 600 9.3 MicroSCADA Pro 1MRS756633
130
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
131
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Signal Cross-Reference.
COM_USOXR:C Interprets and handles the data stored in the command
cross-reference tables when the status of output objects
is sent to NCCs of protocol type DNP 3.0.
COM_USPC:C Sends pulse values to the NCCs. The value of the signal
is handled according to the signal handling attributes se-
lected in Signal Cross-Reference.
132
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Without the exceptions mentioned in this chapter, the COM 500i command procedures
should not be modified.
Each of the command procedures COM_US**:C and COM_DS**:C are divided into
four sections based on the NCC protocol; the first section is for RP 570 slave, the second
for IEC 60870-5-101/104 slave, the third for CPI and the fourth is for DNP 3.0. In each
of these sections there is the following empty SCIL block:
;********** project-specific modifications ***************
#IF LENGTH(SELECT(%SIGNAL_HANDLING_ATTRS(%NCC_NR),"==1")) > 0
#THEN #BLOCK
;write the project-specific code in this block
#BLOCK_END
This project specific block is for the project specific modifications that are protocol and
data type specific, and can be activated by selecting the Project Specific signal handling
attribute in Signal Cross-Reference for an individual signal. For example, if an analog
signal is connected to three NCCs and the Project Specific signal handling attribute is
selected for the RP 570 NCC, the SCIL code in the project specific block in the RP 570
section of the command procedure COM_USAI:C is executed when this individual signal
is sent to the NCCs. The project specific block can be used for modifying the value, time
stamp, status information and other parameters that are sent to the NCCs, or the data of
the command received from an NCC.
When editing the COM 500i command procedures, it should be ensured that the command
procedures that are compiled are also compiled after editing. Otherwise, the performance
of COM 500i may decrease.
File Description
ComTool.vso COM 500i Signal Cross-Reference
Com_Stand.vso COM 500i Diagnostics Tool
COMLViewer.vso COM 500i Log Viewer
133
SYS 600 9.3 MicroSCADA Pro 1MRS756633
File Description
Cdcmon.vso CDC-II Monitor Tool
File Description
Comstand.ini Initialization file for Diagnostics Tool
Comtool.ini Initialization file for Signal Cross-Refer-
ence
Tools.ini Initialization file for Tool Manager
Toolsupd.ini File used for updating Tool Manager
Toolview.ini Initialization file for Tool Manager
Cdcmon.ini Initialization file for CDC-II Monitor Tool
134
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
135
SYS 600 9.3 MicroSCADA Pro 1MRS756633
File Description
COM_COM.txt Source file for the APL_COM.txt definition
text
COM_START.txt Makes definitions at application start-up.
COM_UPDT.txt Updates the application from an older COM
500i
COM_APLOBJ.txt Creates COM 500i application objects.
APL_COM.txt Stores application start definitions for COM
500i.
ATTR_COM.txt Stores process object attribute definitions.
136
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
Index
137
SYS 600 9.3 MicroSCADA Pro 1MRS756633
138
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide
G N
Group alarm, 135 NCC, 12, 17, 107, 117, 119, 124, 134, 135
Handling, 107 NCCs page, 29, 32, 35
Negative
H Command Confirmation, 97, 119
NET, 108, 120
History viewer, 96 NET Initialisation Start Delay, 69
HSI, 27, 62, 70
O
I Object Identifier, 75
IEC 60870-5-104, 134 Object Navigation Tool, 26
IEC 60870-5-103, 15, 62 Object Text, 75
IEC 60870-5-101, 63, 117, 133, 134 OI, 46, 75
IEC 60870-5-101/104, 21 Open monitor, 84
IL (Information object address Length), 48 Operation Mode, 38, 39, 72
Importing OX, 46, 75
Cross-references with Microsoft Excel, 74
Signals, 26
Import Mode, 76
P
Index, 75 Parallel Queues, 94, 127
Indication Address Overlap Check, 49 Parameter
Indications, 31, 107 Files, 106, 125
Indication signal, 32, 54, 59 Reading, 127
indication signals, 78 Parameters page, 29, 33, 68
Indications page, 29, 32 PC-NET, 21, 22
Initialisation of event state signals, 59 Picture Editor, 27
Installation, 18 PLC-2-Family, 104
Internal process objects, 31 Process
Internal Process Objects, 28 Communication, 103
International Standard, 104 Devices, 12, 127
IX, 46, 75 Event Queues, 94
Object Definition Tool, 27, 50
L Object Type, 75
Progress Indicator, 34
LA, 59 Project Specific, 133
LIB 5xx, 26, 27, 28, 70 Protocol
Link Layer diagnostics, 87 Conversion, 12, 103
LN, 46, 75 Converters, 135
Logical name, 75 Protocols, 104
Log Viewer, 133 PT, 46, 75
LON, 104 Pulse counter, 55, 107, 136
M R
Mapping signals, 15 Read-of-user-data, 135
Master protocols, 103 Record to Log, 71
MI, 120
Modbus, 21, 37, 38, 39
139
SYS 600 9.3 MicroSCADA Pro 1MRS756633
Scale, 75
Scaling signals, 114
T
SCIL, 133 Table Index (TI) attribute, 27, 73, 126
SCOM_RPSFT:C, 131 Text Import Wizard, 75
SCS, 17 Time
Selection flags, 135 Stamp, 133
Send IEC Terminations, 70 Synchronisation, 121
SH, 75 Timeout, 63, 69, 135
Signal, 114 Traceability, 95
Engineering, 12, 28 Transparent SPA, 36, 41, 122, 132, 136
Generation, 12, 25 Trip Signals list, 59
Handling, 65, 117
Rerouting, 11, 28 U
Specific classes, 54, 113
Signal Cross-Reference, 29 Upgrade, 18
Signal Cross-Reference Tool, 119, 120, 124, 133 Upper level
Signal Diagnostics, 96 Communication, 103
Signal Handling, 75 System, 127
Signal identification columns, 81
Signal lists, 77 V
Signal routing, 106
Signals, 77 View Definitions, 44, 46
Slave
Protocols, 103 Z
Software installation, 12, 19
SPA-Bus, 104 Zoom In, 89
SPACOM, 62, 66 Zoom Out, 89
140
Contact us
www.abb.com/substationautomation