SYS600 COM500i Users Guide

Download as pdf or txt
Download as pdf or txt
You are on page 1of 144

MicroSCADA Pro SYS 600 9.

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

4 Safety information ................................................................................ 13


4.1 Backup copies .............................................................................. 13
4.2 Fatal errors ................................................................................... 13

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

Communication Gateway, COM 500i


User's Guide

5.5.1.4 Defining indication cross-references ............. 33


5.5.2 Opening and closing Signal Cross-Reference ................ 34
5.5.3 Defining NCC properties ................................................ 35
5.5.3.1 Adding an NCC ............................................. 36
5.5.3.2 Deleting an NCC ........................................... 37
5.5.3.3 Defining NCC properties ............................... 38
5.5.4 Definition of Function Table download ............................ 39
5.5.5 Configuring transparent SPA .......................................... 41
5.5.6 Alarm groups .................................................................. 42
5.5.6.1 Adding alarm groups ..................................... 43
5.5.6.2 Editing alarm groups ..................................... 44
5.5.6.3 Deleting alarm groups ................................... 44
5.5.7 Defining views ................................................................. 44
5.5.8 Defining attributes for columns ....................................... 46
5.5.8.1 Adding new attributes .................................... 47
5.5.8.2 Editing attributes ........................................... 47
5.5.8.3 Deleting attributes ......................................... 47
5.5.9 Defining auto-address parameters ................................. 48
5.5.10 Indication address overlap check ................................... 49
5.5.11 Signal handling ............................................................... 49
5.5.11.1 Adding signals ............................................... 49
5.5.11.2 Editing signals ............................................... 50
5.5.11.3 Deleting signals ............................................. 50
5.5.12 Defining indication cross-references ............................... 50
5.5.12.1 Adding cross-references ............................... 53
5.5.12.2 Deleting cross-references ............................. 58
5.5.13 Initialization of event state signals .................................. 59
5.5.14 Defining command cross-references .............................. 62
5.5.14.1 Adding cross-references ............................... 64
5.5.14.2 Deleting cross-references ............................. 67
5.5.15 Defining parameters ....................................................... 68
5.5.16 Importing and exporting cross-references ...................... 71
5.5.16.1 Exporting cross-references ........................... 71
5.5.16.2 Importing cross-references ........................... 73
5.5.16.3 Exporting and importing cross-references with
Microsoft Excel .............................................. 74
5.5.17 Converting cross-references from Microsoft Excel to COM
500i cross-references ..................................................... 77
5.5.17.1 Cross-Reference File Converter ................... 78
5.5.17.2 Source File Parameters ................................ 79
5.5.17.3 Signal Identification Column Positions .......... 80
5.5.17.4 Cross-Reference Identification Column
Positions ........................................................ 81
5.5.17.5 Preview ......................................................... 82
5.5.17.6 Destination Parameters ................................. 82
5.5.17.7 Conversion Example ..................................... 83

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.5.18 Printing cross-references ................................................ 84


5.6 Using COM 500i ........................................................................... 87
5.6.1 Communication Diagnostics dialog ................................. 87
5.6.1.1 Link Layer diagnostics .................................. 87
5.6.1.2 Alarm Group diagnostics ............................... 90
5.6.1.3 Application tab ............................................... 94
5.6.2 Traceability ...................................................................... 95
5.6.3 Command authorization .................................................. 97
5.6.4 Recording signal routing to log files ................................ 98

6 Technical description ...........................................................................103


6.1 Hardware requirements ................................................................103
6.2 Available protocols ........................................................................103
6.2.1 Information about protocols ............................................104
6.2.2 CPI ..................................................................................105
6.3 Data flow .......................................................................................106
6.3.1 Indications .......................................................................107
6.3.1.1 Mechanism and data types ...........................107
6.3.1.2 Telegrams and parameters ...........................108
6.3.1.3 Handling of analog and digital values ...........114
6.3.1.4 Deadband ......................................................115
6.3.2 Commands .....................................................................116
6.3.2.1 Mechanism and data types ...........................116
6.3.2.2 Telegrams and parameters ...........................117
6.3.2.3 Command confirmations in IEC
60870-5-101/104 ...........................................119
6.3.3 System messages, system and application commands ..120
6.3.4 Time synchronization ......................................................121
6.3.5 File transfer .....................................................................121
6.3.6 Transparent SPA messages ...........................................122
6.4 Cross-reference and parameter files ............................................124
6.4.1 Cross-reference files .......................................................124
6.4.2 System and application parameter file ............................124
6.4.3 Parameter files of Signal Cross-Reference ....................125
6.5 Application objects ........................................................................125
6.5.1 Introduction .....................................................................125
6.5.2 Application objects created by COM 500i .......................125
6.5.3 Application objects modified by COM 500i .....................126
6.6 COM 500i command procedures ..................................................127
6.6.1 Description of the command procedures ........................128
6.6.2 Modifications to the command procedures .....................133
6.7 File summary ................................................................................133
6.7.1 VSO files .........................................................................133
6.7.2 INI files ............................................................................134
6.7.3 Text files for command procedure source code ..............134
6.7.4 Text files for object creation and other purposes ............136

5
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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

Communication Gateway, COM 500i


User's Guide

2 Introduction

2.1 This manual


This manual provides thorough information on how to use the COM 500i functionality
to make a SYS 600-based communication gateway. This manual describes how to install,
configure and engineer COM 500i. Detailed descriptions are given to help the user to
provide deeper knowledge about the functionality of COM 500i.
This user’s guide is divided into following sections:

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.

2.2 Use of symbols


This publication includes warning, caution and information symbols where appropriate
to point out safety-related or other important information. It also includes tips to point
out useful hints to the reader. The corresponding symbols should be interpreted as follows:

Warning icon indicates the presence of a hazard which could


! result in personal injury.

Caution icon indicates important information or a warning


related to the concept discussed in the text. It might indicate

8
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

the presence of a hazard, which could result in corruption of


software or damage to equipment/property.

Information icon alerts the reader to relevant factors and


conditions.

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.

2.3 Intended audience


This manual is intended for installation personnel, administrators and skilled operators
to support installation of the software.

2.4 Related documents


The following is a listing of documentation related to COM 500i.
Name of the manual MRS number
SYS 600 9.3 System Configuration 1MRS756646
SYS 600 9.3 System Objects 1MRS756662
SYS 600 9.3 Application Objects 1MRS756660
SYS 600 9.3 CDC-II Slave Protocol 1MRS756649
SYS 600 9.3 Picture Editing 1MRS756643
SYS 600 9.3 Communication Programming Interface (CPI) 1MRS756651
LIB 500 Operation Manual 1MRS755359
SYS 600 9.3 DNP 3.0 Slave Protocol 1MRS756658
SYS 600 9.3 DNP 3.0 Master Protocol 1MRS756657
SYS 600 9.3 IEC 60870-5-101 Slave Protocol 1MRS756653
SYS 600 9.3 IEC 60870-5-101 Master Protocol 1MRS756655
SYS 600 9.3 IEC 60870-5-104 Slave Protocol 1MRS756654
SYS 600 9.3 IEC 60870-5-104 Master Protocol 1MRS756656
SYS 600 9.3 IEC 61850 Master Protocol (OPC) 3.0 1MRS756632
SYS 600 9.3 Modbus Master Protocol 1MRS756641

9
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

SYS 600 9.3 Modbus Slave Protocol 1MRS756642


SYS 600 9.3 IEC 60870-5-103 Master Protocol 1MRS756640
SYS 600 9.3 External OPC Data Access Client 1MRS756647
SYS 600 9.3 OPC Server 1MRS756659

2.5 Document conventions


The following conventions are used for the presentation of material:
• The words in names of screen elements (for example, the title in the title bar of a
dialog, the label for a field of a dialog box) are initially capitalized.
• Capital letters are used for file names.
• Capital letters are used for the name of a keyboard key if it is labeled on the keyboard.
For example, press the CTRL key. Although the Enter and Shift keys are not labeled
they are written in capital letters, e.g. press ENTER.
• Lowercase letters are used for the name of a keyboard key that is not labeled on the
keyboard. For example, the space bar, comma key and so on.
• Press CTRL+C indicates that you must hold down the CTRL key while pressing
the C key (to copy a selected object in this case).
• Press ALT E C indicates that you press and release each key in sequence (to copy
a selected object in this case).
• The names of push and toggle buttons are boldfaced. For example, click OK.
• The names of menus and menu items are boldfaced. For example, the File menu.
- The following convention is used for menu operations: Menu Name > Menu
Item > Cascaded Menu Item. For example: select File > Open > New Project.
- The Start menu name always refers to the Start menu on the Windows Task
Bar.
• System prompts/messages and user responses/input are shown in the Courier font.
For example, if you enter a value out of range, the following message is displayed:
Entered value is not valid.
You may be told to enter the string MIF349 in a field. The string is shown as follows
in the procedure: MIF349
• Variables are shown using lowercase letters: sequence name

2.6 Document revisions


Version Revision number Date History
A 9.3 31.3.2010 New document
B 9.3 FP2 30.9.2012 Document updates

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

3.1 About this section


This section provides general information about COM 500i, its components, and main
functions.

3.2 COM 500i as a communication gateway


COM 500i is a communication gateway functionality included in SYS 600. COM 500i
is the successor of COM 500. The purpose of COM 500i is to provide a gateway between
process devices and up to eight upper level systems (NCC). The main tasks of COM
500i are signal re-routing and protocol conversions. The use of COM 500i as a gateway
in a substation is illustrated in Figure 3.1.

Figure 3.1: COM 500i as a communication gateway

11
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

COM 500i provides a variety of protocols for both process and upper level
communication.

3.3 COM 500i engineering process


The engineering process of COM 500i contains the following steps:
1. Software installation
2. System configuration
3. Signal generation
4. Signal engineering
For more information about the engineering steps, see Chapter 4 Safety information.

Signal engineering process


Signal engineering process contains the following configuration steps in the COM 500i.
Configuration is made by using Signal X-References tool.
1. Add the NCCs to Signal X-References tool and define the information related to it,
for example, the protocol to be used. Define also the alarm groups to be used.
2. Check that all the indications and commands (that is input and output process objects)
that are needed are shown in the tool. If they are not, add them.
3. Check that all the necessary attributes for indications and commands are correctly
shown in the tool. If they are not, add the missing attributes or change their
definitions.
4. Define to which NCCs COM 500i should send the indications. Connect the
indications to alarm groups, if needed.
5. Configure the commands to be received from the NCCs.
6. Adjust the system and application parameters.
For more information about the signal engineering process and Signal X-References
tool, see Section 5.5 Signal engineering.

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.

4.1 Backup copies

Taking backup copies


We suggest that you take backup copies before making any changes, especially the ones
that might have side effects. Software and data need to be copied to another place.
Backup copying makes it easier to restore the application software in case of disk crash
or other severe failure when stored data is lost. It is therefore recommended that backup
copies are taken regularly.
There should be at least two system backup copies and two application copies. A new
backup is copied over the oldest backup. This way the latest version is always available,
even if the backup procedure fails.
Detailed information on how to take backup copies should be delivered to the customer
with the application.

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.

4.2 Fatal errors


A fatal error is an error that causes a breakdown or a locked situation in the SYS 600
program execution.

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

Communication Gateway, COM 500i


User's Guide

Files may be damaged if you shut down the base system


computers by switching the power off.

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.

5.1 Overview of COM 500i


COM 500i is a communication server which provides communication gateway functions
for mapping signals between the process devices and up to eight upper level systems
depending on the licence. The upper level system is here called the Network Control
Center (NCC). COM 500i sends information for supervising and controlling the
customers’ processes to the system and receives process control commands. COM 500i
also handles system co-ordination tasks, such as dynamic assignments of control command
authorities and communication supervision.
COM 500i supports a variety of protocols for connecting the process devices to upper
level systems. It is typically connected to the network by some telecontrol protocols. For
example, an NCC using the IEC 60870-5-104 protocol can be connected to IEC61850,
LON, SPA or IEC 60870-5-103 devices via the COM 500i gateway.

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

Communication Gateway, COM 500i


User's Guide

Figure 5.1: Typical stand-alone COM 500i system

5.1.1 COM 500i application

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.

Figure 5.2: Software layers in COM 500i

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.

5.1.2 Functional environment

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.

Figure 5.3: Environment model of COM 500i

17
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

5.1.3 Communication Programming Interface

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

5.2.1 Upgrading from earlier revisions

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.

Updating from revision 1.0…1.0 C


The application objects (event channels, command procedure and so on) of COM 500
revision 3.0 have been renamed not to follow the LIB 5xx conventions, as was the case
in the older COM 500 revisions. The cross-reference pointer is also stored in a different
attribute in revision 3.0.
COM 500i provides an automatic application update script that goes through the process
database of a COM 500i application and does the following changes:

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.

5.2.2 Software installation

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.

Figure 5.4: COM 500i tab in Tool Manager

19
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

5.2.3 COM 500i start-up

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.

Figure 5.5: Preparing a COM 500i application

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.

Figure 5.6: Requesting application restart

5.3 System configuration

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.

Base system objects


Each base system has a set of objects that specify the base system and its environment,
hardware and software, as well as the physical and logical connections of the base system
and its applications.

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.

Communication system objects


Each communication module contains a set of system objects, which specify
communication line properties, connected devices and so on. These objects can be created,
modified and deleted by SCIL, and setting the attributes of the objects can change the
properties. Each communication line is represented by one object, as well as each station
created on a line.
In case of PC-NET, the process communication system objects can be defined by using
System Configuration Tool or by using SCIL statements.

5.3.1 Base system configuration

COM 500i base system


Basic configuration of the base system, for example the base system itself, nodes, links,
and SYS 600 monitors, is defined in the SYS_BASCON.com file. For more information
about the base system configuration, see SYS 600 System Configuration.

SYS_BASCON.com file
COM 500i application must be introduced in the SYS_BASCON.com file:
#local COM500 = vector(TRUE) ;TRUE = COM500i application

5.3.2 Communication system configuration

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

Communication Gateway, COM 500i


User's Guide

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.

Modbus RTU Slave


Modbus RTU Slave Emulator is a gateway program providing a connection from SYS 600
to a NCC using Modbus RTU Master protocol. From SYS 600’s point of view, Modbus
Slave is seen as a NET node object and the STA object connected to Modbus slave node
operates as a data storage for the data values which are requested by the Modbus master.
This STA object also receives the control commands from NCC and activates the handling
of the commands in COM 500i correspondingly.

23
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

5.3.3 Configuration tips

IEC 60870-5-101/104 protocols


When configuring the IEC 60870-5-101 slave lines and stations it is very important to
match the message field length attributes (IL, CL, PL and SL, see SYS 600 System
Configuration for details) to the corresponding parameters of the master system. A
mismatch with these attributes can lead to a situation where communication appears to
be running properly, but the messages are incorrectly interpreted or not set to the process
database at all. In IEC 60870-5-104 protocol the message field lengths are fixed by the
standard and non-standard value should not be used.
The semantics of the cause of transmission in SYS 600 differs from that in
IEC 60870-5-101/104. Therefore, if SYS 600 is used as the IEC master, the following
definition should be made to the station type:
#SET STY29:BCT(3) = "UNKNOWN"

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

DNP 3.0 protocol


Some requests and unknown messages sent from the NCC are received in process objects
and interpreted by the COM 500i command procedures. To ensure that these messages
are received and interpreted properly, the following things should be checked:
• The MI attribute of each slave station should have its default value (30 000 + station
number).
• The CA attribute of each DNP 3.0 slave station should have its default value (32
000).
• By default, COM 500i sends data with dynamic variations. If the value changes in
indication but not the status, a variation without status are sent. If the status changes,
the status is also sent. If the station attribute RM bit 1 is set, the variations are fixed
to same as in the master’s request.
When data is sent as a double binary signal, two binary data objects with consecutive
addresses are used for the two bits of the value. An alternative way to send double
indications is to use double bit input object. This object type has been added to the
standard later and is not necessarily supported by all masters. Comparing the device
profile documents may be necessary.

5.4 Signal generation


The signals, that is process objects for COM 500i, have to be generated. This can be
done by:
• Reusing an existing application or parts of an existing application
• Importing signals
• Building a COM 500i application

5.4.1 Reusing an existing application

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

Communication Gateway, COM 500i


User's Guide

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

5.4.2 Importing signals

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.

When using LIB 500 Database Import/Export Tool, the


required scale objects must be created manually in the target
application.

For more information on Database Import/Export Tool, see the LIB 500 Operation
Manual.

5.4.3 Building a COM 500i application

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

In case of a combined SMS-COM system, we strongly recommend building the


application by using the LIB 5xx application software. It is possible even if no HSI is
required, since LIB 5xx provides an effective graphical engineering environment where
the process database can be built fast and easily. LIB 5xx provides support for most types
of process devices, and the LIB 5xx picture functions create the correct number of process
objects with suitable attribute values.
In a stand-alone COM 500i, the application is built without LIB5xx, either by using the
SYS 600 DB <--> text tool in both source and target (COM 500i) applications or by
creating process objects manually one by one.
When building a COM 500i application using LIB 5xx, the following software must be
installed:
• LIB 500 application library base software.
• Any LIB 5xx software containing the needed functionality.
To create the application:
1. Create pictures for the application. These pictures consist of background and picture
functions for controlling and supervising the process units. Use Picture Editor for
creating the pictures. In addition to supporting the creation of a background, it
provides tools for handling picture functions. If the COM 500i application is to be
used only as a gateway (no HSI) the pictures can be created as drafts, that is, picture
editing should not be given much effort.
2. Install the necessary standard functions from the application libraries. The picture
function is simply given an identification and placed into the picture.
3. Configure the picture function. Set the parameters of the picture function according
to the configuration of the process unit and the application. Use Standard
Configuration Tool for this purpose. For more information related to these three
first steps, see SYS 600 Picture Editing.
Each picture function creates all the application objects it requires. These application
objects are usually created at the configuration phase. In addition to Standard
Configuration Tool, Process Object Tool is used to define the process objects.

Application check list

The following issues must be noted when building and


maintaining the COM 500i application.

• 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

Communication Gateway, COM 500i


User's Guide

procedure name = event channel name) must be attached as a secondary object of


this event channel.
• Application objects with the logical name COM_* or BNCC* are internal COM
500i objects and must not be modified.
• A free type object with the logical name COM_GENVAR is an internal COM 500i
object and must not be modified.
• APL:BSV elements 20... 29 are reserved for COM 500i.
• Station local/remote switch must be in remote position to enable commands from
any NCC.
• The names of the NCCs to perform commands must be in the Authorized Centers
list of the Station Authority dialog, which is accessed via the Stations menu of a
LIB 5xx station picture.

5.5 Signal engineering


Signals are divided into indications and commands, that is, input and output process
objects. Indications are sent from process units to COM 500i, where they are rerouted
to one or several NCCs. Usually there are single indications, double indications, and
measurements that need to be forwarded to the NCCs.
Commands are sent from the NCC to COM 500i, where they are rerouted to process
units. Secured commands, direct commands, and setpoints are typical commands that
are sent. The rerouting of indications and commands is presented in Figure 5.7.

Figure 5.7: Rerouting of indications and commands

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 Engineering process


Signal Engineering means that COM 500i is told how to reroute the signals. This is done
by using Signal Cross-Reference. Signal Engineering contains the following steps:
1. Add the NCCs to the tool and define the information related to it, for example the
protocol that should be used. Define also the signals you want to use. This step is
described in Section 5.5.3 Defining NCC properties and Section 5.5.6 Alarm groups.
2. Check that all the indications and commands that are needed are shown in the tool.
If they are not, add them. This step is described in Section 5.5.11 Signal handling.
3. Check that all the necessary attributes for indications and commands are correctly
shown in the tool. If they are not, add the missing attributes or change their
definitions. This step is described in Section 5.5.8 Defining attributes for columns.
4. Define the NCC to which COM 500i should send the indications. Give the address
and additional definitions for the signals. This step is described in Section 5.5.12
Defining indication cross-references.
5. Define the address to which COM 500i should send the command received from
the NCC. When you want to receive a command in a specific form or you want to
send a reply for a command to the NCC, define the Response Indication on the
General column of the Commands tab. This step is described in Section 5.5.13
Initialization of event state signals.
Signal Engineering is done in Signal Cross-Reference, which is described in the following
sections.

5.5.1 Using Signal Cross-Reference

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:

Figure 5.8: Caution dialog of ComTool

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

Communication Gateway, COM 500i


User's Guide

Cross-Reference contains four notebook tabs, which are the Indications tab, Commands
tab, NCCs tab and Parameters tab.

Figure 5.9: Signal Cross-Reference

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.

Figure 5.10: Options menu

The Help menu displays information concerning Signal Cross-Reference, such as


identification, version number, revision, and license information.

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.

Figure 5.11: Toolbar of Signal Cross-Reference

31
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

5.5.1.4 Defining indication cross-references

The addressing of CDC-II Slave indications consists of:


• Non-SOE points
• SOE points
For the non-SOE points, you can do the addressing by defining the CDC-II Slave address.
For the SOE points, the addressing also contains the Test bit, PPU and PT Nr (Point
Number) definitions in the address fields; see Figure 5.12. However, the SOE points are
not defined for the analog inputs.

33
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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)

5.5.2 Opening and closing Signal Cross-Reference

To open Signal Cross-Reference, double-click the Signal Cross-Reference icon on the


COM 500i tab of Tool Manager. You can also click the icon and select File > Open.
Signal Cross-Reference can also be opened from the Engineering menu of the COM 500i
Communication Diagnostics dialog.
To close Signal Cross-Reference, select File > Exit or double-click its closing box.

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.

Figure 5.13: Progress Indicator

Figure 5.14: Notification dialog box

5.5.3 Defining NCC properties

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

Communication Gateway, COM 500i


User's Guide

Figure 5.15: NCC tab of Signal Cross-Reference

NCC definitions concern the upper level systems that COM


500i is supposed to communicate with. COM 500i can be
connected to up to eight NCCs. Before any alarm group or
signal definitions can be made, NCC definitions should already
exist.

5.5.3.1 Adding an NCC

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

Figure 5.16: Add NCC dialog for selecting protocol type

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.

Figure 5.17: Add NCC2 dialog for selecting station number

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).

5.5.3.2 Deleting an NCC

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

Communication Gateway, COM 500i


User's Guide

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.

5.5.3.3 Defining NCC properties

Each NCC should have the following properties defined:


• Protocol. Either RP 570, IEC 60870-5-101/104, Modbus, DNP 3.0, CDC Type-II,
or CPI. This is the communication protocol used for communication with the upper
level system.
• Station number. This is the number of the STA:S object number representing the
upper level system.
• Name. A default name NCC ‘n’ (n=number) is given when a new NCC is added;
see above. This name is also used as the command source name in the COM 500i
command authority check mechanism.
• Comment Text. This is a free text with the maximum length of 30 characters.
• Send Group Alarms at Start-up. If this parameter is set, the value of the group
alarm signal will be send to the upper level system as a non-time-tagged binary
message. This is applicable for IEC 60870-5-101/104. This parameter has no effect
on spontaneous alarm signals which are generated in process devices after the
communication establishment.
• Function Table definitions. See Section 5.5.4 Definition of Function Table
download.
• Address Offset in Command Receiving. When this parameter is enabled, address
offset is used in command receiving. Before the address offset can be used, bit 2 of
the RM attribute of the DNP slave station must be 1.
• Signal Routing Enabled. As a default, the NCC signal routing is enabled. If
explicitly required, the NCC signal routing can be disabled by unsetting the check
box. Then data forwarding command procedures do not send data to the selected
slave station object. This feature can be accessed by project specific engineering
through free type object COM_GENVAR:IZ(5..12) where indexing is related to the
used NCC number in configuration. For example, the third NCC in configuration
uses COM_GENVAR:PIZ7.
• Operation Mode. This parameter is valid only for the DNP 3.0 protocol and it
describes how messages are sent between the slave (COM 500i) and the master
(NCC). The descriptions of the operation modes are as follows (for more information,
see DNP 3.0 documentation):
• Quiescent Operation. In this mode the master does not poll the slave, all the
communication is based on unsolicited report-by-exception messages. The master
can send application layer confirmations to the slave.
• Unsolicited Report-by-Exception Operation. The communication is basically
unsolicited, but the master occasionally sends integrity polls for Class 0 data to
verify that its database is up-to-date.
• Polled Report-by-Exception Operation. The master frequently polls for event
data and occasionally for Class 0 data.

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.

5.5.4 Definition of Function Table download

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).

Figure 5.18: NCC Information panel

39
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

Figure 5.19: File Chooser

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

5.5.5 Configuring transparent SPA

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.

Figure 5.21: Transparent SPA in use

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.

Figure 5.22: Transparent SPA relay units

41
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

Figure 5.23: Address overlap

Figure 5.24: Invalid entry

5.5.6 Alarm groups

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.

5.5.6.1 Adding alarm groups

To add an alarm group:


1. Click Add. The Alarm Group Definitions dialog appears on the screen; see
Figure 5.25

Figure 5.25: Alarm Group Definitions dialog

2. Type the Alarm group name.


3. Enter the alarm group Address depending on the NCC protocol.
4. There is also an option to invert the alarm group state. By default, COM 500i uses
the value 0 as normal value, and 1 as alarm value. When the box Send as Inverse
Value is checked, value 1 becomes normal value and value 0 alarm value, when the
alarm group state is sent to the NCC.
5. Send as Pulse
If signals in an alarm group never get a non-alarm value from a device, the used
alarm group may remain in the alarming state forever. If the alarm group value is
defined to be sent as a pulse, every time an alarm occurs in a signal, it is immediately
set with a non-alarm value in the alarm group. For example, if a disturbance recorder
starts, the NCC gets the alarming and non-alarming event in a short time.
6. Send with Long Time Tag
There is also an option to send the alarm group information to NCC of type IEC 101
by using Long Time Tag. As a default, the Long Time Tag is not selected.
7. Send Alarm Group Always
If the Send Alarm Group Always option is selected, the alarm group’s state is always
sent to the NCC when information related to an alarm group is updated. Therefore,
the alarm group’s state is resent each time an alarm signal is updated. Send Alarm
Group Always is by default not selected.
8. Click OK.

43
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

5.5.6.2 Editing alarm groups

To edit an alarm group:


1. Select an alarm group on the list.
2. Click Edit to open the Alarm Group Definitions dialog.
3. Change the definitions in the corresponding text fields.
4. Click OK.

5.5.6.3 Deleting alarm groups

To delete an alarm group:


1. Click an alarm group on the list to select it.
2. Click the Delete button. The notification dialog appears on the screen.
3. Click Yes. The alarm group disappears.

5.5.7 Defining views

The query conditions of the signals included on the Indications and Commands tabs are
modified in the View Definitions dialog.

Opening the View Definitions dialog


To open the View Definitions dialog select View > Define; see Figure 5.26. You can
also click the Define button in the toolbar to access 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

Figure 5.26: View Definitions dialog

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.

Adding view definitions


To add a new view definition, click Add. A new view name is added to the list based
on the convention:
name [view number]
where the name is name for view and the view number is the number of the view in View
Definitions.
By default the query conditions of the Standard view are copied to the new view. These
conditions can be modified to suit the purposes of the new view.

45
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Closing the View Definitions dialog


Click OK to close the View Definitions dialog. The validity of the new view condition
is checked, and if it is invalid, a dialog will be shown. The names of the valid view
definitions are added as separate menu items to the View menu.

5.5.8 Defining attributes for columns

You can modify the column attributes attached to the Indications and Commands tabs
by using the Column Attributes dialog.

Opening the Column Attributes dialog


To open the Column Attributes dialog, select Signal > Add Column Attributes (see
Figure 5.27

Figure 5.27: 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

Closing the Column Attributes dialog


Click OK to close the dialog. If new attributes were added to the list, new columns have
been added to the Indications and Commands tabs. These are located on the right side
of the tab.

Defining attribute column widths


To define the attribute column widths on the Indications and Commands tabs, move the
rulers. The width of the column is set, when you drop the ruler.
If you change the width of a column on the Indications tab, the corresponding column
will also be changed on the Commands tab and vice versa.

5.5.8.1 Adding new attributes

To add a new attribute:


1. Click Add.
2. Select the attribute you want to add to the list from the Attribute drop-down menu.
3. Type a Title for the new attribute. If no title is specified for the new attribute, a
two-char attribute name is used as the default title. The new attribute is added to the
list.

The maximum number of columns is 15 in Signal X-references


tool.

5.5.8.2 Editing attributes

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.

5.5.8.3 Deleting attributes

To delete an attribute from the Column Attributes dialog, select the attribute on the list
and click Delete.

It is not possible to delete all the column attributes. At least


one attribute must be defined.

47
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

5.5.9 Defining auto-address parameters

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.

Figure 5.28: Auto Addressing dialog

Opening the Auto Addressing dialog


To open the Auto Addressing dialog, select Settings > Auto Addressing.

Defining auto-addressing parameters


To define the auto-addressing parameters, select the used NCC protocols and write the
address offsets in the corresponding text fields.

48
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

Closing the Auto Addressing dialog


Click OK to close the dialog. The defined auto-addressing parameters will be used when
cross-reference information is pasted in Signal Cross-Reference.

5.5.10 Indication address overlap check

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.

Figure 5.29: Address overlap notification dialog box

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.

5.5.11 Signal handling

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.

5.5.11.1 Adding signals

To add signals, the following steps should be taken:


1. Select New from the Signal menu. This opens the New Signal dialog shown in
Figure 5.30.
2. Enter the logical name and index of the new signal. Click OK and the signal appears
in Signal Cross-Reference.

49
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

For more information about creating new process objects, see SYS 600 Application
Objects.

Figure 5.30: New Signal dialog

5.5.11.2 Editing signals

To edit the attributes of an existing signal, take the following steps:


1. Double-click the row of the signal to be edited. This opens Process Object Tool.
2. Edit the attributes.
3. Click OK.

5.5.11.3 Deleting signals

In order to delete a signal take the following steps:


1. Change the Selection method to Line from the Options menu.
2. Select the line of the signal to be deleted.
3. Select Delete from the Edit dialog or press CTRL+B. This opens a confirmation
dialog box.
4. Click OK and the signal is deleted.

5.5.12 Defining indication cross-references

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

Communication Gateway, COM 500i


User's Guide

Figure 5.31: Indications tab of Signal Cross-Reference

52
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.32: Group interrogation number for IEC 60870-5-101/104

5.5.12.1 Adding cross-references

To add a cross-reference for the indication signal:


1. Click the correct signal row in the indication signals list.
2. Select an NCC by clicking a field below the NCC column. Note 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 status bar and the selections described below are disabled.
3. Select an alarm group by clicking the button on the right-hand side of the alarm
group field. The Alarm Groups dialog appears on the screen. The alternatives include
the alarm groups that have been added to the NCC in the NCCs tab. Select one alarm
group from the list.
4. Define the address based on the block and bit number for RP 570 protocol, Modbus
or CPI, IEC address for IEC 60870-5-101/104 protocol and index for DNP 3.0
protocol.

53
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

5. In case of an analog input signal define a scale. It is possible to select a different


scale for each signal and for each NCC.
6. Click the button on the right side of the signal-handling field and the Signal Handling
Attributes dialog appears on the screen (see Figure 5.33). Select one or several signal
handling attributes from the list of attributes. To select several attributes, hold the
CTRL key down while clicking the attributes.
7. Define the signal specific class. For the IEC 60870-5-101 protocol the signal classes
are 1 or 2. If the class has not been defined, it is 1.
For the DNP protocol the signal classes are 0,1,2 or 3. The default class is 1 for
binary inputs and double binary indications. By default, class 2 is applied for other
signal types.
8. Click OK. The cross-reference of the indication signal is ready. It is displayed under
the cross-referenced NCC name.
Indication signal types and the corresponding signal handling attribute values are listed
in Table 5.1. When the signal handling attribute Project Specific is selected, a specific
block in the corresponding command procedure is executed to enable the project specific
modifications. For more information, see Chapter 6 Technical description.
Table 5.1: Signal handling attributes related to different data types
Data RP 570 / CPI / Mod- IEC 60870-5-101 / 104 DNP 3.0
bus
Binary input Project Specific Project Specific Project Specific

Send with Time Tag Send with Time Tag Send as Inverse Value

Send as Inverse Value Send as Inverse Value Send as Double Binary

Send as Double Binary Send as Double Binary Send Change

None Send with and without Send Change with Time


Time Tag
Send Change with Relative Time
Send with Long Time
Tag Send Always as Event

None Send as Double Bit Input Object

None
Double bin- Project Specific Project Specific Project Specific
ary
Send with Time Tag Send with Time Tag Send as Inverse Value

Send as Inverse Value Send as Inverse Value Send as Single Indication

Send as Single Indica- Send as Single Indica- Send Change


tion tion
Send Change with Time
None Send with and without
Time Tag Send Change with Relative Time

Send with Long Time Send Always as Event


Tag
Send as Double Bit Input Object
None
None

54
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

Data RP 570 / CPI / Mod- IEC 60870-5-101 / 104 DNP 3.0


bus
Digital input Project Specific Project Specific

Send with Time Tag Send with Time Tag

Send as Analog Value Send as Analog Value

None Send with and without


Time Tag

Send with Long Time


Tag

None
Analog input Project Specific Project Specific Project Specific

Send with Time Tag Send with Time Tag Send as 16-bit Value

None Send as Floating Point Send without Flag


Value
Send Change Event without Time
Send with and without
Time Tag Send Always as Event

Send as Scaled Value Send Change Event with Time

Send with Long Time Send as Binary Input


Tag
None
Send as Binary Input

None
Pulse Project Specific Project Specific Project Specific
counter
None Send with Time Tag Send as 32-bit value

Send with and without Send as Delta Counter


Time Tag
Send without Flag
Send with Long Time
Tag Send change Event Without Time

None Send Always as Event

None

55
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Data RP 570 / CPI / Mod- IEC 60870-5-101 / 104 DNP 3.0


bus
OPC Event Project Specific Project Specific Project Specific

Send with Time Tag Send with Time Tag Send as Inverse Value

Send as Inverse Value Send as Inverse Value Send as Double Binary

Send as Double Binary Send as Double Binary Send Change

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

Send as Analog Value Send as Analog Value

None None

IEC 60870-5-104 signal handling attributes differ from IEC


60870-5-101 only by the usage of time stamp types. By
standard, it is not possible to use the IEC 101 style short time
stamps in IEC 104. These are however still possible to use in
COM 500i. By default, IEC 104 uses long time stamps with
date.

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.

Figure 5.33: Signal Handling Attribute dialog

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

Figure 5.34: Scale dialog

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.

Figure 5.35: Scale Object Tool dialog

RTU specific configuration


When adding cross-references for signals of RTU type, the following LIB convention
should be checked:

57
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

• 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

Cutting, copying and pasting cross-references


Cross-reference data can be cut, copied and pasted from one signal to another, or from
a group of signals to another by taking the following steps:
1. Set the Selecting method as Free from the Options menu or the toolbar.
2. Mark the cross-reference data to be cut/copied and pasted with mouse on the
Indication tab.
3. Cut or copy the cross-reference data by selecting Cut or Copy from the Edit menu
or by using the corresponding shortcut button of the toolbar.
4. Click the field in the upper left corner of the area where the cross-reference data is
to be pasted.
Paste the cross-reference data by selecting Edit > Paste or by using the corresponding
button.

5.5.12.2 Deleting cross-references

To delete cross-reference from the signal:


1. Click an indication signal row.
2. Select an NCC by clicking the table below the appropriate NCC.
3. Clear the Address and the Signal class fields. If a signal handling attribute or scale
is used, set them to None.
4. If the alarm group has been defined for the indication signal, select None from the
Alarm group drop-down menu.
5. The cross-reference is deleted between the indication signal and the corresponding
NCC.
Cross-reference information can also be deleted using the delete function as follows:
1. Set the Selecting method as Free from the Options menu or the toolbar.
2. Mark the cross-reference data to be deleted with mouse on the Indication tab.
3. Delete the cross-reference data by selecting Edit > Delete or by using the
corresponding button.

58
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

5.5.13 Initialization of event state signals

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

Figure 5.36: Adding indication signals to Trip Signals list

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

Communication Gateway, COM 500i


User's Guide

Figure 5.37: Add new indication signals to Trip Signals list.

How to remove indication signals from 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 Remove from Trip Signals; see also Figure 5.36.
2. This can also be done in another way: Select one signal in the Indications tab. After
this, select Signal from the menubar. Finally, select Remove from Trip Signals;
see also Figure 5.37.
How to view the indication signals included into the Trip Signals list:
• Select Signal > Trip Signals.
As a result, you will see a new dialog; see Figure 5.38. This dialog shows all the existing
signals. It is also possible to add new trip signals into the list by using the Add button.
If you want to clear some of the existing signals from the list, select one signal and click
the Remove button.

60
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.38: Trip Signals list

When the Add button is used for adding new trip signals, Figure 5.39 appears on the
screen:

Figure 5.39: Add Trip Signals dialog

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

Communication Gateway, COM 500i


User's Guide

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.

5.5.14 Defining command cross-references

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

• Close command (direct command/2 output objects, secured command with


Select/2 output objects and Secured command/3 output objects)
• Select command (secured command/3 output objects)
• Open select (secured command/4 output objects, 5 output objects and 6 output
objects)
• Close select (secured command/4 output objects, 5 output objects and 6 output
objects)
• Free select (secured command/6 output objects)
• Earth select (secured command/6 output objects)
• Execute (secured command/4 output objects and 6 output objects)
• Open Execute (secured command/5 output objects)
• Close Execute (secured command/5 output objects)
• Cancel (secured command/4 output objects, secured command/5 output objects)
For direct commands the purpose has no meaning and selecting it is disabled.
3. Command group, specifies the group controlled objects (for example breaker and
truck) with output process objects sharing the same logical name, the output objects
of the different object should be given different command group numbers. Value:
1 to 5.
For each command signal (output process object) the following properties should
be defined:
General, signal-related information (common for all NCCs):
• Command type, that is how the command is presented in the COM 500i process
database
• Purpose of the signal
• Number of the command group
• Response indication. This is the input process object that is updated as the result
of the command, for example the position indication object of a breaker is the
response indication of the breaker (open/close) command. This information
ensures that the IEC 60870-5-101/104 messages are sent in the correct order to
the NCC when commands are received from the NCC. When a response
indication is received from the process device, COM 500i sends a command
termination to an IEC 60870-5-101/104 NCC. If a command is timed out or
COM 500i cannot operate the device, a negative command termination is sent
to the NCC. If IEC 60870-5-101/104 protocol is not used to connect any of the
NCCs, this information can be omitted.

Response indication cannot be defined for the direct type


of commands; it is allowed only for the secured type of
commands. Also pasting of response indication ignores
the operation. In this case the text Pasted response
indication is not allowed for Direct Commands is
displayed on the statusbar of ComTool.

NCC related information:


• Signal handling attributes. These attributes define how the signal is handled
before it is sent to the process devices, for example an object command can be

63
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

Figure 5.40: Commands tab

5.5.14.1 Adding cross-references

To add a cross-reference for a command signal:


1. Click a row in the command signals list.
2. Select the General column by clicking the same command signal row under General
column.
3. Select a command type from Type drop-down menu.
4. Select a signal purpose from the Purpose drop-down menu. If the alarm group has
been defined for the Indication signal, select None in the alarm groups dialog.
5. Select the Command Group number from the drop-down menu. When the command
type is set to direct or Secured / 1 output object, the command group of the
cross-referenced signal is automatically set to 1. Note that if you want to change the
command group number, you must first set the command type to None and then
back.

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).

Figure 5.41: Indications dialog

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

Inverse Value Inverse Value Receive Inverse Value


as Double Command
Receive as Regulation Report Status to Master
Command None
None
None

65
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Data type RP 570/CPI/Modbus IEC 60870-5-101/104 DNP 3.0


Analog out- Project Specific Project Specific Project Specific
put
None None Report Status to Master

None
Digital output Project Specific Project Specific

None None

An example of a cross-referenced command consisting of four signals (secured/4 output


objects) is presented in Figure 5.42. This example is for a breaker open/close command
of a REF 543 unit.

Figure 5.42: Example of secured 4 output object command

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.

Figure 5.43: An example of a direct 2 output object command

An example of a cross-referenced command of five signals (secured/5 output objects)


is presented in Figure 5.44.

Figure 5.44: An example of a secured 5 output object command

An example of a cross-referenced command of five signals (Synchrocheck and interlock


override) is presented in Figure 5.45 and in Figure 5.46.

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

Figure 5.46: Addresses for synchrocheck and interlock override commands

IEC 60870-5-101/104 regulating step commands are handled


as double commands in COM 500i.

Cutting, copying, and pasting cross-references


The delete, cut, copy, and paste functions for commands are as for indications except
for the fact that only one command can be cut or deleted at a time.

5.5.14.2 Deleting cross-references

To delete all the cross-references from a command signal:


• If you select None from the Type drop-down menu, then all the related command
cross-references will be deleted. The General column will also be cleared.
• If a command signal cross-reference contains multiple output objects, the Address,
Signal handling, and Type definitions will be removed from the cross-referenced
indices, which are in the same command group.
To delete a cross-reference from a command signal:
1. Click a command signal in the command signals list.
2. First select an NCC column, which includes a cross-reference to this signal. Do this
by clicking the row under that NCC column.
3. Clear the Address field. If a signal handling attribute has been defined, select None
from the Signal Handling Attributes dialog.

67
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

5.5.15 Defining parameters

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

Figure 5.47: Parameters tab

The parameters listed below can be edited in Signal Cross-Reference.


Timeout Information
• NET Initialization Start Delay. Time (seconds) after which the initialization of
the protocol converters in NET is started. This parameter should be set to be the
time from SYS 600 start-up to the moment when all the NET lines and stations have
been created. The default value is 60 s.
• Database Initialization Time. Time (seconds) in which the COM 500i database is
considered as initialized, that is all the input process objects connected to the process
devices have been updated. After this time, COM 500i sends a Database Initialized
message to the NCCs and accepts NCC-specific commands from the NCCs. This
parameter should be measured using the actual system with all the devices connected.
The default value is 120 s.

69
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

• 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

• IEC Command Received without Select. It is possible to select whether the


commands are accepted without the SELECT command or not. When this option
is selected, all commands must be sent from the NCC without the SELECT command.
However, the command are sent to the relay with the SELECT command, if the
command type of the command is Secured in the commands page. By default, this
option is not selected.
• Double Indication Inversion in IEC 60870-5-101/104. The Double Indication
Inversion functionality is recommend to be disabled, when IEC 61850 protocol is
used in process communication. For example, if IEC 61850 and SPA protocols are
used in process communication, the Double Indication Inversion functionality can
be disabled, but the Inversed Value Signal Handling must be set in use for SPA
double indication. By default, this option is enabled.
• Display Alarm Groups in Alarm List. This option displays state of Alarm Group
in Alarm List. By default, this option is disabled.
• Not sampled status activates alarm group. If this option has been selected and a
process object of the alarm group is the not sampled state, in start-up the alarm group
is sent with an alarming state.
• Record to Log. The internal message forwarding of COM 500i can be saved to a
log and the contents can be read with a separate tool, which can be opened by clicking
the Log File Viewer button. It is possible to reset the logging by clicking the Delete
Log Files button. This mechanism is meant to be used only in the engineering phase
or in the cases when traceability is needed.
• REC 561 Command Values. The binary commands are sent as analog values to
REC 561. The user can define the values of the commands.

5.5.16 Importing and exporting cross-references

5.5.16.1 Exporting cross-references

Cross-reference signal information can be exported from Signal Cross-Reference into


delimited text files. This functionality can be used for producing documentation of the
cross-references or to modify the existing cross-references by editing the exported files
with a spreadsheet or an ASCII editor. It is also possible to create new cross-references.
The exported files have the following names and purposes:
• COM_XRNCC.xrf; NCC information
• COM_XRGRP.xrf; Alarm group information
• COM_XRIND*.xrf; Indication information
• COM_XRCMD*.xrf; Command information
Depending on the number of indications or commands there can be multiple text files.
If one indication text file includes more than 10000 lines, the second text file, called
COM_XRIND1.xrf, will be taken into use and so on.
Export operation can be started from the menubar by selecting Export from the File
menu, which opens the Export dialog shown in Figure 5.48. The user can select one of
the alternatives listed below.

71
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

• 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).

The Text Delimiter none is used, when the cross-reference


data is to be exported to external application programs.
The import functionality of Signal X-Reference does not
support the none text delimiter.

Clicking OK starts exporting. During the export of signals a Progress Indicator is shown
to display the percentage of exported signals.

Figure 5.48: Export dialog

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.

5.5.16.2 Importing cross-references

Importing cross-references from files modifies the cross-information of the current


application. Figure 5.49 shows the Import dialog, which has two modes:
• Modify existing cross-references. In this mode, only the NCCs and signals that
are found both in the imported files and the current application can be modified. No
new NCCs, alarm groups or signals are created. The row number in the imported
file has to match the value of the Table Index (TI) attribute of the process object in
the report database. (If a row is imported, but no matching row number is found in
the report database, no cross-reference information is imported from the file.)
This function modifies the existing cross-reference data according to the related
information in the rows of the imported file. The value of the Table Index attribute
is not modified at all during the import function.
• Construct new cross-references. When cross-reference data is imported by using
this mode, all the existing cross-references are removed from the report database.
After that, the cross-references are recreated according to the information in the
rows of the imported file. If new NCCs, alarm groups or signals are detected, they
are created. The Table Index attribute values are assigned into the found process
objects in the report database, as well as into the corresponding Action Name (AN)
attribute values.

All the cross-reference definitions used by COM 500i


must appear in the imported file. Otherwise, some of the
previously defined cross-references are lost. This function
is applicable only for the indication signals.

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

Communication Gateway, COM 500i


User's Guide

Figure 5.49: Import dialog

Clicking the OK button starts importing. During the import operation a Progress Indicator
is shown to display the amount of imported signals.

5.5.16.3 Exporting and importing cross-references with Microsoft Excel

If there is need to construct templates in Microsoft Excel, define cross-references for


some signals in the ComTool and select Cross-Reference > Export. Figure 5.50 shows
the Export dialog, from which you can define the Field Separator as TAB (tabulator).
This function generates the COM_XRIND.xrf file into the application's PICT folder and
it can be used for importing the template into Microsoft Excel.

Figure 5.50: Export dialog of ComTool

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

Figure 5.51: Text Import Wizard - Step 1 of 3 dialog of Microsoft Excel

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.

Figure 5.52: Text Import Wizard - Step 2 of 3 dialog of Microsoft Excel

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

Communication Gateway, COM 500i


User's Guide

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.

The contents of Alarm Bit (AB) column depends on the Alarm


Group (AG) definition in the following way. If the Alarm
Group value has been defined to be for example 1, the first
signal of this alarm group is identified with Alarm Bit value
1, the second signal of this alarm group is identified with Alarm
Bit value 2 and so on. For the next Alarm Group, the alarm bit
values start again from 1. If no alarm group definition exists,
there is no need to fill the Alarm Bit column.

Figure 5.53: Imported file in Microsoft Excel

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.

Figure 5.54: Import dialog of ComTool

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.

Figure 5.55: Dialog box indicating that importing of cross-references is ready

5.5.17 Converting cross-references from Microsoft Excel to COM 500i


cross-references

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

Communication Gateway, COM 500i


User's Guide

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.

5.5.17.1 Cross-Reference File Converter

Converter can be started from the Signal Cross-Reference menubar by selecting File >

Convert or clicking the appropriate toolbar button .


Several settings have been introduced to identify the cross-reference information during
the conversion.
Converter consists of five different tabs. The first four tabs are meant for each different
indication type: Binary inputs, Double Binary Indications, Analog Inputs and Digital
Inputs. Whereas, the fifth tab contains the Destination Parameters.

78
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.56: Main view of Converter

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.

5.5.17.2 Source File Parameters

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

Communication Gateway, COM 500i


User's Guide

Figure 5.57: Binary inputs source file in SCIL Viewer

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.

5.5.17.3 Signal Identification Column Positions

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

Figure 5.58: Reading source file without specifying PT column

If only one source file contains all the different indication


types, then the conversion can be handled in one tab only. In
this case, there is a need to specify the column position for the
PT attribute.

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.

5.5.17.4 Cross-Reference Identification Column Positions

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

Communication Gateway, COM 500i


User's Guide

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

5.5.17.6 Destination Parameters

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.

5.5.17.7 Conversion Example

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

Communication Gateway, COM 500i


User's Guide

5.5.18 Printing cross-references

It is possible to print cross-references from Signal Cross-Reference. This functionality


can be made for producing documentation of the application to be sent to the customer
or the supplier of the Network Control Center system.

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.

When local printers are used, the MicroSCADA user should


have access to these printers.

Since printouts from Signal Cross-Reference are made by using


the Visual SCIL dialogs, the resolution of the display affects
the printout. The resolution should be 1024 x 768 or higher.

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.

Figure 5.59: Print dialog

85
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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).

Figure 5.60: Example of printed List of Indication Signals

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.

Figure 5.61: Page Setup dialog

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.

Figure 5.62: Print Setup dialog

5.6 Using COM 500i

5.6.1 Communication Diagnostics dialog

The Communication Diagnostics dialog is a tool for displaying communication diagnostics


for each NCC and system information in COM 500i. Selected signals can be displayed
here for diagnostic purposes. From the Tool menubar, it is possible to open Signal
Cross-Reference and the COM 500i tab of Tool Manager. It is also possible to change
the used font.
A separate tab is included in the Communication Diagnostics dialog for each NCC of
COM 500i. The Diagnostics dialog is shared by two different notebook tabs. The first
tab shows the Link Layer diagnostics and the other one shows the Alarm Groups
diagnostics.

5.6.1.1 Link Layer diagnostics

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

Communication Gateway, COM 500i


User's Guide

Table 5.4: NCC diagnostics counters


NCC (IEC 60870-5-104) NCC (RP 570 Slave) NCC (DNP 3.0) NCC (IEC 60870-5-
101)
Transmitted Telegrams Transmitted Telegrams Transmitted Telegrams Transmitted Tele-
grams
Failed Transmissions Failed Transmissions Failed Transmissions Failed Transmis-
sions
Transmitted Timeouts Timeout Errors Transmitted Commands Transmitted Com-
mands
Transmitted I (Infromation) Format Received Telegrams Transmitted Replies Transmitted Replies
Messages
Transmitted S (Supervisory) Format Parity Errors Received Telegrams Received Telegrams
Messages
Transmitted U (Unnumbered control Overrun Errors Parity Errors Parity Errors
function) Format Messages
Received I Format Messages Redundancy Errors Overrun Errors Overrun Errors
Received S Format Messages Framing Errors Check Sum Errors Check Sum Errors
Received U Format Messages Buffer Overflow Errors Framing Errors Framing Errors
Received Messages / Telegrams Buffer Overflow Errors Buffer Overflow Er-
rors
TCP Connect Count TCP Connect Count 1
TCP Accept Count TCP Accept Count 1
TCP Close Count TCP Close Count 1
Duplicates and Losses
Buffer Overflow Errors

1 These are valid only for DNP 3.0 with TCP/UDP.


For the NCC of protocol type CPI or Modbus, only the Alarm Groups tab is displayed,
not the Link Layer tab.

88
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.63: NCC Communication Diagnostics dialog

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

Communication Gateway, COM 500i


User's Guide

Figure 5.64: Zoom Functionality of plot graph

5.6.1.2 Alarm Group diagnostics

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.

Figure 5.65: Alarm Groups dialog

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

Communication Gateway, COM 500i


User's Guide

Figure 5.66: Alarm signals dialog

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.

Select the previous alarm group.

Select the following alarm group.

Select the last 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

History function By setting the “Enable history in dialog” checkbox, history


data of shown signals is collected. The 10 last changes
of every signal are stored as long as the dialog stays open.
By double-clicking a signal or by selecting it and then
pressing the History button, it is possible to see the stored
history. By default, the first rows in the signal history are
shown. When the dialog is closed, history data is cleared.
Refresh By clicking the Refresh button it is possible to check if
new signals have got to the alarming state in a group.
Signals that are not alarming any more disappear from
the list. History data is cleared for all signals.
Close Clicking the Close button closes the signal dialog.
Alarm Signals Table All the signal information is shown in a table. When there
is a change in the signal state, the view is updated.

There are 8 columns in the alarm signal view: 5 fixed and


3 user-defined columns. In the first fixed column, the lo-
gical signal names and their indexes are shown. The
second column shows the time stamp of the last update.
The third column shows the object status. The fourth
column shows the object value, if it is readable (for ex-
ample the value has been received from the process).
The fifth column shows the alarm state for signals.

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.

Figure 5.67: Filter dialog

Resetting alarm groups


To reset an alarm group:
1. Click an alarm group on the list to select it.

93
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

5.6.1.3 Application tab

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.

The maximum length shown in the application is not an


absolute limit, because the queue can continue growing.

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

Figure 5.68: Application tab

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

Communication Gateway, COM 500i


User's Guide

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:

Figure 5.69: 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

Figure 5.70: History viewer dialog

The Refresh button is in disabled state. The button is enabled only when Signal diagnostic
is opened from COM 500i Diagnostics.

5.6.3 Command authorization

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.

Figure 5.71: Authorization Information dialog

97
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

5.6.4 Recording signal routing to log files

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).

Figure 5.72: Access to Log File Viewer

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

Figure 5.73: Main dialog of COM 500i Log Viewer

There are four standard columns on each notebook tab:


• Date & Time from the triggered process object
• Used COM 500i command procedure
• Triggered process object name and index
• Possible SCIL status (or text description)
Six columns are visible only on NCC specific notebook tabs:
• Source STA object number
• Sent NCC address
• Sent value
• Status of process object during signal routing
• Event Class
• State text (SX)
The rows in the tables are highlighted with different colours depending on the signal
type: successfully sent upstream data is light green and downstream data is light yellow,
other data is white in colour. The lines with SCIL error are highlighted with red.

99
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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.

Figure 5.74: Caution dialog of Record to Log function

Using the logging mechanism generates more load to the


system. In large systems it is not possible to use logging for a
long time. The user must check from the diagnostic tool that
the usage of event channel does not increase when logging is
set to use. It must also be remembered that analog indication
points can generate a lot of updates and some delta values
should be used in that case (for example, analog inputs in IEC
103 devices).

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

Figure 5.75: Details dialog

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.

Only successfully sent upstream or downstream data can be


viewed in this dialog.

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

Communication Gateway, COM 500i


User's Guide

Figure 5.76: Custom Filters dialog

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.

6.1 Hardware requirements


See SYS 600 Installation and Administration Manual.

6.2 Available protocols


The protocols supported in COM 500i are shown in Table 6.1. The master protocols are
used in process communication and the slave protocols in upper level communication.
In addition to the supported protocols, the Communication Programming Interface (CPI)
is also listed. CPI is in fact not a protocol, but rather an interface that can be used for
implementing new protocols in the SYS 600 environment. If protocols that are not listed
above need to be used, there is a possibility to program the protocol conversion using
CPI. The programming is done by using the C language.
Table 6.1: Supported protocols in COM 500i
Protocol Type Support
SPA Master PC-NET
LAG 1.4 (LON) Master PC-NET
IEC 60870-5-101 Master and slave PC-NET
IEC 60870-5-103 Master PC-NET
IEC 60870-5-104 Master and slave PC-NET
IEC 61850 Master IEC 61850 Server
ANSI X3.28 - AB (ABB) Master PC-NET
RP 570 Master and slave PC-NET
DNP 3.0 (Subset 3) Master and slave PC-NET
CPI (supports both) PC-NET
Modbus Master and slave PC-NET and external software
CDC-II Slave External software
OPC DA Client External OPC Data Access Cli-
ent / Base system
OPC DA Server Base system
OPC A&E Client Base system
OPC A&E Server Base system

103
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

6.2.1 Information about protocols

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.

LAG 1.4 (LON)


LON Application Guidelines for Substation Automation. Version 1.4. This is the ABB
standard for using LON as a substation automation protocol.

RP 570 master and slave


This protocol is used for communication between the RTU 200 family process devices
and the SYS 600 systems. Protocol Specification: RTU PROTOCOL 570 and 571 (RP
570 and RP 571). Doc. id: 1KSE 300000-VW. M. Vänskä 95-10-18.

ANSI X3.28 master


This protocol is used for communication with Allen-Bradley PLC devices. It is also used
for communication with SRIO 1000M and SRIO 500M devices. Protocol Specifications:
• PLC-2-Family RS-232-C Interface Module. Doc. Id: 1771-6.5.8
• SRIO 1000M and 500MDoc. Id: 34 SRIO 100M 2 EN1 D

IEC 60870-5-103 master


This protocol is used for connecting the SYS 600 system to protection and control devices.
Protocol Specification: International Standard IEC 60870-5-103.

IEC 60870-5-101 master and slave


Protocol specification: INTERNATIONAL STANDARD IEC 60870-5-101.

IEC 60870-5-104 master and slave


Protocol specification: INTERNATIONAL STANDARD IEC 60870-5-104.

IEC 61850 Master


This protocol is used for connecting the SYS 600 system to protection and control devices.
For more information about using this protocol, see SYS 600 IEC 61850 Master Protocol
(OPC) *1.0 and OPC Data Access Client user’s guides.

104
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

DNP 3.0 master and slave


The following protocols describe the DNP 3.0 protocol:
• DNP 3.0 DATA LINK LAYER version 0.02 (P009-0PD.DL)
• DNP 3.0 APPLICATION LAYER version 0.03 (P009-0PD.APP)
• DNP 3.0 DATA OBJECT LIBRARY version 0.02 (P009-OBL)
• DNP 3.0 TRANSPORT FUNCTIONS version 0.01 (P009-0PD.TF)
• DNP 3.0 SUBSET DEFINITIONS version 2.00 (P009-01G.SUB)

Modbus master and slave


Protocol Specification: Modicon Modbus Protocol Reference 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.

OPC A&E Server


OPC A&E Server can be used for connecting the SYS 600 system to an upper level
system, which contains the OPC A&E Client. For more information, see SYS 600
Application Objects and SYS 600 System Objects.

OPC A&E Client


OPC A&E Client can be used for connecting the SYS 600 system to protection and
control devices, which contain the OPC A&E Server. For more information, see 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

Communication Gateway, COM 500i


User's Guide

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.

When using CPI, SYS 600 Communication Programming


Interface (CPI) should be used as a guideline. This manual is
delivered on request. In the CPI projects it is recommended to
contact ABB Oy.

Figure 6.1: Process unit can communicate with base system through CPI

6.3 Data flow


Data flow through COM 500i is handled by the signal routing mechanism, which consists
of the following parts:
• Cross-reference mechanism, that is cross-reference tables created and maintained
by Signal Cross-Reference
• Parameter files
• Command procedures
The other parts of the signal routing are:
• System message handling, application, and system command handling

106
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

• Command authority check


• Group alarm handling

6.3.1 Indications

6.3.1.1 Mechanism and data types

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.

Figure 6.2: Indications from process devices to NCC

The following input data types are supported in COM 500i:


• Binary input
• Double binary input
• Digital input
• Analog input
• Pulse counter
• Bit stream
• OPC event

107
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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

OPC event data type


When the signal handling Send as Analog is selected, the OE value of the OPC event
process object is sent to an NCC using the analog data type. Otherwise, the OE value is
sent to an NCC using the binary data type.
When the OE value is sent using the binary data type and the value is 0, the value 0 is
sent. When the OE value is not equal to 0, the value 1 is sent.

6.3.1.2 Telegrams and parameters

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

Data Signal Handling Attributes ASDU Type


type
Double None M_DP_NA_1(3)
binary Send with Time Tag M_DP_TA_1(4)
Send with Long Time Tag M_DP_TB_1(31)
Send as Single Indication M_SP_NA_1(1)
Send with Time Tag M_SP_TA_1(2)
+ Send as -
Single Indication M_SP_TB_1 (30)
Send with Long Time Tag + -
Send as Single Indication M_DP_NA_1(3)
- + M_DP_TA_1(4)
Send with and without Time Tag -
+ Send with Long Time Tag M_DP_NA_1(3)
Send with and without Time Tag + M_DP_TB_1(31)
+ Send as Single Indication -
Send with and without Time Tag M_SP_NA_1(1)
+ Send with Long Time Tag + + M_SP_TA_1(2)
Send as Single Indication M_SP_NA_1(1)
+ M_SP_TB_1(30)
Digital None M_ST_NA_1(5)
input Send with Long Time Tag M_ST_TA_1(6)
Send with Time Tag M_ST_TB_1 (32)
Send as Analog Value M_ME_NA_1(9)
Send with Time Tag M_ME_TA_1(10)
+ Send as -
Analog Value M_ME_TD_1(34)
Send with Long Time Tag -
+Send as Analog Value M_ST_NA_1(5)
Send with and without Time Tag + M_ST_TA_1(6)
Send with and without Time Tag M_ST_NA_1(5)
+ Send with Long Time Tag + M_ST_TB_1(32)
Send with and without Time Tag -
+ Send as Analog Value M_ME_NA_1(9)
Send with and without Time Tag + M_ME_TA_1(10)
+ Send with Long Time Tag+ -
Send as Analog Value M_ME_NA_1(9)
+ M_ME_TD_1(34)

109
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Data Signal Handling Attributes ASDU Type


type
Analog None M_ME_NA_1(9)
input Send with Time Tag M_ME_TA_1(10)
Send with Long Time Tag M_ME_TD_1(34)
Send as Floating Point Value M_ME_NC_1(13)
Send as Scaled Value M_ME_NB_1(11)
Send with Time Tag M_ME_TC_1(14)
+ Send as Floating Point Value -
Send with Time Tag M_ME_TB_1(12)
+ Send as Scaled Value -
Send with Long Time Tag M_ME_TE_1(35)
+ Send as Scaled Value -
Send with Long Time Tag M_ME_TF_1(36)
+ Send as Floating Point Value -
Send with and without Time Tag M_ME_NA_1(9)
- + M_ME_TA_1(10)
Send with and without Time Tag M_ME_NA_1(9)
+ Send with Long Time Tag + M_ME_TD_1(34)
Send with and without Time Tag M_ME_NC_1(13)
+ Send as Floating Point Value + M_ME_TC_1(14)
Send with and without Time Tag M_ME_NB_1(11)
+ Send as Scaled Value + M_ME_TB_1(12)
Send with and without Time Tag M_ME_NC_1(11)
+ Send with Long Time Tag + M_ME_TF_1(36)
+ Send as Floating Point Value -
Send as Binary Input M_SP_NA_1(1)
Send as Binary Input M_SP_TA_1 (2)
+ Send with Time Tag -
Send as Binary Input M_SP_TB_1 (30)
+ Send with Long Time Tag -
Send as Binary Input M_SP_NA_1(1)
+ Send with and + M_SP_TA_1(2)
Without Time Tag -
Send as Binary Input + Send M_SP_NA_1(1)
with and Without Time Tag + + M_SP_TB_1(30)
Send with Long Time Tag
Pulse None M_IT_NA_1(15)
counter Send with Time Tag M_IT_TA_1(16)
Send with Long Time Tag M_IT_TB_1(37)
Send with and without Time Tag M_IT_NA_1(15)
- + M_IT_TA_1(16)
Send with and without Time Tag M_IT_NA_1(15)
+ Send with Long Time Tag + M_IT_TB_1(37)

110
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

Data Signal Handling Attributes ASDU Type


type
OPC None M_SP_NA_1(1)
event 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_TB_1(30)
Send with and without Time Tag M_DP_NA_1(3)
+ Send with Long Time Tag + M_DP_TA_1(4)
Send with and without Time Tag M_DP_NA_1(3)
+ Send as Double Binary + M_DP_TB_1(31)
Send with and without Time Tag M_ME_NA_1(9)
+ Send with Long Time Tag M_ME_TA_1(10)
+ Send as Double Binary -
Send as Analog Value M_ME_TD_1(34)
Send with Time Tag
+ Send as Analog Value
Send with Long Time Tag
+ Send as Analog Value

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.

The IEC 60870-5-104 protocol standard does not define


ASDUs with Short Time Tag. However, it is possible to use
Send with Time Tag in the IEC 60870-5-104 protocol.

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

Communication Gateway, COM 500i


User's Guide

Data type COT Explanation


Digital input 3 Spontaneous
5 Return information caused by remote command
11 Requested
20 Interrogated by general interrogation
Analog input 3 Spontaneous
5 Return information caused by remote command
11 Requested
20 Interrogated by general interrogation
Pulse 3 Spontaneous
counter 5 Return information caused by remote command
11 Requested
20 Interrogated by general interrogation
OPC event 3 Spontaneous
5 Return information caused by remote command
11 Requested
20 Interrogated by general interrogation

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

Data type Signal Handling Attributes Object Variation


Analog input None 30 1
Send as 16-bit Value 30 2
Send without Flag 30 3
Send as 16-bit Value 30 4
+Send without Flag - -
Send Change Event without Time 32 1
Send as 16-bit Value 32 2
+ Send Change Event without Time - -
Send Change Event with Time 32 3
Send as 16-bit Value 32 4
+ Send Change Event with Time - -
Send as Binary Input 1 1(2) 1
Send as Binary Input 2 1
+ Send Change Event without Time - -
Send as Binary Input 2 2
+ Send Change Event with Time
Pulse counter None 20(21) 2 2
Send as 32-bit Value 20(21) 2 1
Send as Delta Counter 20 4
Send as 32-bit Value 20 3
+Send as Delta Counter - -
Send without Flag 20(21) 2 6(10) 2
Send as 32-bit Value 20(21) 2 5(9) 2
+Send without Flag - -
Send as Delta Counter 20 8
+ Send without Flag - -
Send as 32-bit Value 20 7
+Send as Delta Counter - -
+Send without Flag - -
Send Change Event without Time 22 2
Send Change Event without Time 22 1
+ Send as 32-bit Value
Analog output Report Status to Master 40 2
OPC event None 1 1 (2) 1
Send Change 2 1
Send Change with Time 2 2
Send Change with Relative Time 2 3
Send As Analog Value 30 1
Send As Analog Value 32 1
+ Send Change - -
Send As Analog Value 32 3
+ Send Change with Time

1. Variation 2 is used when the status of the process object changes.


2. Used if counters have been frozen by the master.

Signal specific classes


It is possible to define signal specific classes for the IEC 60870-5-101 and DNP 3.0
protocols in the COM 500i functionality. With this feature, signals can have different
priorities in events sent towards the NCC. To use a specific class in COM 500i, write
the class number in the column for the signal class, which is located on the Indications

113
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

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).

6.3.1.3 Handling of analog and digital values

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.

Figure 6.3: Scale Object Tool dialog

114
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

Digital input values are handled as follows:


• In SYS 600, the value is 0…65535.
• In RP 570 and CPI, the value is 0…65535 or -2000…2000 (sent as analog value).
• In IEC 60870-5-101/104, the value (as seen in SCIL) is 0..127 (step point
information) or -32767…32767 (sent as analog value).
• If the value range of the slave protocol is different than in SYS 600, a digital input
value is limited as follows: the value sent to the NCC is limited between 0 and the
maximum of the value range of the slave protocol.
• In Modbus, the value is 0... 65535 (sent as analog value).

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

Communication Gateway, COM 500i


User's Guide

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

6.3.2.1 Mechanism and data types

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

6.3.2.2 Telegrams and parameters

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

Communication Gateway, COM 500i


User's Guide

Table 6.5: IEC 60870-5-101/104 ASDU types in COM 500i


Data type Signal Handling Attributes ASDU Type
Binary out- Project Specific -
put
Inversed Value -

Receive as Double Command C_DC_NA_1(46)

None C_SC_NA_1(45)
Analog out- Project Specific -
put
Inversed Value -

Receive as Double Command C_DC_NA_1(46)

Receive as Single Command C_SC_NA_1(45)

Send without Synchrocheck C_DC_NA_1(46)

- 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 -

Receive as Double Command C_DC_NA_1(46)

Receive as Single Command C_SC_NA_1(45)

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

Report Status to Master 10 2

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

Data type Signal Handling Attributes Object Variation


Analog out- Project Specific
put
Inversed Value

Report Status to Master 40 2

41 2

Receive as Single Command 12 1

Send without Synchrocheck 12 1

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.

6.3.2.3 Command confirmations in IEC 60870-5-101/104

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

Communication Gateway, COM 500i


User's Guide

• 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 value of the PC attribute of each IEC slave station should


be set to 0 when using COM 500i. Otherwise, commands may
not be properly confirmed or terminated.

6.3.3 System messages, system and application commands

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

6.3.4 Time synchronization

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

6.3.5 File transfer

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

Communication Gateway, COM 500i


User's Guide

COM 500i application NET

Command
procedures File
File transfer
transfer NCC

File
folder

Process
devices

Figure 6.5: File transfer process

6.3.6 Transparent SPA messages

In general, the Transparent SPA functionality is used to upload or download relay


parameters via the gateway using Relay Setting Tool. Additionally, it is possible to
transfer disturbance collector files from the process units to the upper level system (NCC).

122
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 application NET

Command
procedure

BS Reply
NCC
Command

Relay
unit

Figure 6.6: Transparent SPA process

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.

Figure 6.7: Protocol selection in CConfig (LIB 500/510 4.2 Add-On 1)

123
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Figure 6.8: Protocol selection in CConfig (LIB 500/510 4.2)

6.4 Cross-reference and parameter files


Cross-reference information and various parameters are stored in free type process objects
and ASCII text files.

The files described in this chapter should never be edited


manually because it may lead to a severe application
malfunction.

6.4.1 Cross-reference files

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.

6.4.2 System and application parameter file

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.

6.4.3 Parameter files of Signal Cross-Reference

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 Application objects

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 application objects should not be removed or


modified.

6.5.2 Application objects created by COM 500i

COM 500i creates new application objects for the following purposes:

125
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

• 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.

If an address overlap occurs when creating a process object


with a predefined address, the execution of the COM 500i
command procedure is attached to the secondary objects of
the event channel connected to the existing process object.

6.5.3 Application objects modified by COM 500i

When a cross-reference is attached to a process object, the following modifications are


made:
• The Table Index (TI) attribute of the process object is set to point to the due position
of the cross-reference table.
• The event channel, for example COM_USAI for analog input process object, is
attached to the process object and the event channel activation is set. If the event
channel (AN attribute) of the process object is already reserved, the execution of
the COM 500i command procedure is attached to the secondary objects list of the
event channel.
Other modifications made by COM 500i include:
• The execution of the command procedure COM_COMINI is attached to the
predefined command procedure APL_INIT_1.
• The execution of the command procedure COM_COMINI_H is attached to the
predefined command procedure APL_INIT_H.
• The execution of the command procedure COM_SUSSTA is attached to the
predefined command procedure APL_EVENT.
• The execution of the command procedure COM_SUSNOD is attached to the
predefined command procedure SYS_EVENT.
• The execution sequence for the NET restart uses the system event process object
for the used NET node number.

126
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

6.6 COM 500i command procedures


There are separate command procedures for delivering the different types of SYS 600
data supported in COM 500i. Each of these command procedures is executed in a parallel
queue of its own. The data type and function of these command procedures can be defined
to be based on the following naming convention:
• The command procedures that send data to the upper level system are named
COM_US + data type, for example COM_USDB for double binary indication data.
• The command procedures that forward commands from the upper level system to
the process devices are named COM_DS + data type, for example COM_DSAO
for analog output data.
In addition to the command procedures designed for the actual data delivery, there are
also command procedures for other purposes, for example parameter reading, interpreting
cross-reference information, executing the system and application commands. All the
command procedures included in COM 500i are shortly described in this section.
In some cases the command procedures are executed spontaneously, that is driven by
event channel execution caused by the update of a process object, and in some cases the
procedures are executed by other command procedures.
The command procedures are automatically created at start-up when the COM 500i
license has been installed and a monitor is opened. The source code of the procedures
is read from the text files located in the directory /com/active/com_. For performance
reasons most of the command procedures are compiled when they are created, that is
the compiled code is executed during the signal routing.
To prevent the handling of different data types from affecting each other, COM 500i
uses different parallel queues for command procedures.
The following list shows the parallel queues used with the dedicated COM 500i command
procedures.
Table 6.7: Used Parallel Queues with Dedicated Command Procedures
Queue Command Procedures
1 COM_COMINI, COM_COMINI_H, COM_RDGEN, COM_RDXREF,
COM_NETINI, COM_NETINI_H, COM_GRPAL, COM_GRPSND,
COM_RESPRC, COM_RDDTA, COM_SUSNOD, COM_SUSSTA,
COM_PNDIND, COM_RESSEL, COM_DCNET
2 COM_RPSCR, COM_RPSDI, COM_RPSFT, COM_RPSS, COM_101SCR,
COM_104SCR, COM_IESS, COM_IESA, COM_IESEI, COM_IECTRM,
COM_CPISS, COM_DNPSCR, COM_DNPSS, COM_DSUN
7 COM_USDB
8 COM_USBI
9 COM_USAI
10 COM_USDI
11 COM_GENINT, COM_CNTINT, COM_IEGICL, COM_DBSTA
12 COM_USBS, COM_USPC

127
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

Queue Command Procedures


13 COM_DSBO
14 COM_DSAO, COM_DSDO
15 COM_IEFT, COM_USFT, COM_TRPSPA
16 COM_USOE

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.

6.6.1 Description of the command procedures

The different command procedures are described in Table 6.8:


Table 6.8: Command procedures
Command Procedure Description
COM_101SCR:C Creates an IEC 60870-5-101 slave line and station(s).
This command procedure can be used for communication
system configuration and executed for example from the
predefined command procedure APL_INIT_1:C.
COM_104SCR:C Creates an IEC 60870-5-104 slave line and station(s).
This command procedure can be used for communication
system configuration and executed for example from the
predefined command procedure APL_INIT_1:C.
COM_AUTHCH:C Executes the COM 500i authorization check mechanism.
For more information, see Section 5.5.15 Defining para-
meters.This command procedure is executed by each of
the command procedures COM_DS**:C.
COM_BOCMD:C Executes a direct or secured object command depending
on the command type, the protocol of the upper level
system and the protocol of the process device. This
command procedure is executed by the command proced-
ure COM_DSBO:C.
COM_CNTINT:C Executes a counter interrogation command sent from an
NCCof protocol type IEC 60870-5-101. This command
procedure is executed by the command procedure
COM_IESA:C.

128
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

COM_COMINI:C Executes the start-up mechanism of a COM 500i applica-


tion by executing a number of sub-procedures. The exe-
cution of this command procedure is automatically at-
tached to the predefined command procedure
APL_INIT_1:C.
COM_COMINI_H:C Executes the start-up mechanism after switchover.

The execution of this command procedure is automatically


attached to the predefined command procedure
APL_INIT_H:C.
COM_CPIDI:C Sets the DI (Database Initialized) attribute of CPI when
the COM 500i process database has been updated after
start-up (when the time set in the parameter Database
Initialization Time has expired). For more information, see
Section 5.5.15 Defining parameters. This command is
executed by the command procedure COM_NETINI:C.
COM_CPISS:C Interprets the system messages coming from a CPI-con-
nected NCC and executes a number of sub-procedures
according to the received system messages.
COM_DBSTA:C Marks the database initialized for the COM 500i applica-
tion. This command procedure is executed by
COM_NETINI:C.
COM_DCNET:C Creates event channels and command procedures for
restarting a communication unit. This command procedure
is executed once by COM_COMINI:C.
COM_DNPSCR:C Creates a DNP 3.0 slave line and station. This command
procedure can be used for communication system config-
uration and executed for example from the predefined
command procedure APL_INIT_1:C.
COM_DNPSS:C Interprets and confirms the application commands sent
from an NCC of protocol type DNP 3.0. Application com-
mands (for example cold start) are executed by a number
of sub-procedures.
COM_DSAO:C Forwards an analog output-type command coming from
an NCC to the process device. The value of the command
is handled according to the signal handling attributes se-
lected in the Signal Cross-Reference.
COM_DSBO:C Forwards a binary output-type command coming from an
NCC to the process device. The value of the command
is handled according to the signal handling attributes se-
lected in Signal Cross-Reference. Executes the sub-pro-
cedure COM_BOCMD:C.
COM_DSDO:C Forwards a digital output-type command coming from an
NCC to the process device. The value of the command
is handled according to the signal handling attributes se-
lected in Signal Cross-Reference.
COM_DSUN:C Sends negative confirm command to IEC 60870-101/104
NCC and confirm command with status 4 (Control opera-
tion is not supported for this point) to DNP 3.0 NCC, when
command address is not defined in MicroSCADA data-
base.

129
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

COM_DSXREF:C Interprets and handles the data stored in the command


cross-reference tables. This command procedure is ex-
ecuted by each of the command procedures
COM_DS**:C.
COM_GENINT:C Executes a general interrogation command sent from an
NCC depending on the protocol of the NCC. This com-
mand procedure is executed by the command procedures
COM_IESA:C COM_CPISS:C and COM_RPSS:C.
COM_GRPAL:C This command procedure takes care of the group alarm
handling.
COM_GRPSND:C Performs a forced sending of group alarms, for example
at start-up or when re-initializing a NET database.
COM_IECTRM:C Forwards a command termination sent from an IEC 60870-
5-101/103 process device to an NCC of protocol type IEC
60870-5-101/104.
COM_IEFT:C Sends the file to the NCC of protocol type IEC 60870-5-
101/104. This command procedure is executed by the
command procedure COM_USFT:C.
COM_IEGICL:C Resets GI data in IEC 60870-5-101/104 queues of pc_net
when a GI Cancel command is received from IEC 60870-
5-101/104 NCC.
COM_IESA:C Interprets and confirms the application commands sent
from an NCC of protocol type IEC 60870-5-101/104. Ap-
plication commands (for example general interrogation)
are executed and terminated by a number of sub-proced-
ures.
COM_IESEI:C Sends an end-of-initialization message (ASDU 70) to an
NCC of protocol type IEC 60870-5-101/104 when the
COM 500i process database has been updated after start-
up (after the time set in the parameter Database Initializ-
ation Time has expired). For more information, see Sec-
tion 5.5.15 Defining parameters. This command procedure
is executed by the command procedure COM_NETINI:C.
COM_IESS:C Interprets and confirms the system commands sent from
an NCC of protocol type IEC 60870-5-101/104.
COM_NETINI:C Initializes the internal databases of the RP 570 and DNP
3.0 slave devices in NET. The CPI slave is also initialized.
Executes the command procedures COM_GENITNT:C,
COM_IESEI:C and COM_RPSDI:C (after the time set in
the parameter Database Initialization Time has expired).
COM_NETINI_H:C Initializes the internal databases of the RP 570 and DNP
3.0 slave devices in NET after switchover. The CPI slave
is also initialized. Executes the command procedures
COM_GENITNT:C, COM_IESEI:C and COM_RPSDI:C
(after the time set in the parameter Database Initialization
Switchover Time has expired).

130
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

COM_PNDIND:C Checks whether there are pending, that is esponse indic-


ations (indications connected to a command that have
not yet been updated) older than the parameter Response
Indication Time-out and if such indications are found, ter-
minates the corresponding commands (negative termina-
tion). This command procedure is called by time channel
COM_PNDIND. For more information, see Section 5.5.15
Defining parameters.
COM_RDDATA:C Executes a read of user data command sent from an NCC
of protocol type IEC 60870-5-101/104. This command
procedure is executed by the command procedure
COM_IESA:C.
COM_RDGEN:C Initializes and reads the system and application paramet-
ers either from the application itself or from the parameter
file Com500.ini. This command procedure is executed
either by the command procedure COM_COMINI:C at
start-up or by the Signal Cross-Reference Too when the
parameters have been edited.
COM_RDXREF:C Loads the cross-reference information from the down-
stream cross-reference files to RAM at start-up. This
command procedure is executed by the command proced-
ure COM_COMINI:C.
COM_RESPRC:C Executes a reset process command sent from an NCC
of protocol type IEC 60870-5-101/104. This command
procedure is executed by the command procedure
COM_IESA:C.
COM_RESSEL:C Resets the internal selection flag of a command coming
from a CPI-connected NCC (after the time set by the
parameter CPI Command Rese Time has expired), if no
execute command is received to the same address.
COM_REVDTA:C Contains the revision information of the current COM 500i
version.
COM_RPSCR:C Creates an RP 570 slave line and station. This command
procedure can be used for communication system config-
uration. It can be executed, for example, from the pre-
defined command procedure APL_INIT_1:C
COM_RPSDI:C Sets the DI (database initialized) attribute of a RP 570
slave station after the COM 500i process database has
been updated after start-up (after the time set in the
parameter Database Initialization Time has expired). This
command procedure is executed by the command proced-
ure COM_NETINI:C For more information, see Sec-
tion 5.5.15 Defining parameters.
SCOM_RPSFT:C Loads FTABs from a text file to an RP 570 slave station.
The FTAB file must be created by using other software.
COM_RPSS:C Interprets the system messages coming from an RP 570
slave NCC and executes a number of sub-procedures
according to the system message.
COM_RPSY:C Marks an RP 570 slave NCC as synchronized when a
clock synchronization message has been received from
the NCC.

131
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

COM_SUSNOD:C Executes command procedure COM_SUSSTA, when a


connection to LAN node is lost. This command procedure
has been connected to event channel SYS_EVENT.
COM_SUSSTA:C Sends the indications connected to process devices to
the NCC after the process device is suspended. This
command procedure is connected to the predefined event
channel APL_EVENT.
COM_TRPSPA:C Receives and sends transparent SPA messages. The
transparent SPA attributes are selected on the NCC tab
of Signal-Cross Reference for the NCCs using the IEC
60870-5-101/104 protocol.
COM_USAI:C Sends analog input values to the NCCs. The value of the
signal is handled according to the signal handling attrib-
utes selected in the Signal Cross-Reference.
COM_USAO:C Sends the status of analog output values to NCCs of
protocol type DNP 3.0 if the corresponding signal handling
attribute has been selected in Signal Cross-Reference.
COM_USBI:C Sends binary input values to the NCCs. The value of the
signal is handled according to the signal handling attrib-
utes selected in Signal Cross-Reference.
COM_USBO:C Sends the status on binary output values to NCCs of
protocol type DNP 3.0 if the corresponding signal handling
attribute has been selected in Signal Cross-Reference.
COM_USBS:C Sends the bit stream values to the NCC. The value of the
signal is handled by the signal handling attributes selected
in Signal Cross-Reference.
COM_USDB:C Sends double binary input values to the NCCs. The value
of the signal is handled according to the signal handling
attributes selected in Signal Cross-Reference.
COM_USDI:C Sends digital input values to the NCCs. The value of the
signal is handled according to the signal handling attrib-
utes selected in Signal Cross-Reference.
COM_USFT:C Sends the files to the NCCs. The file transfer attributes
are selected for the NCCs, whose protocol type is IEC
60870-5-101/104, on the NCC page of Signal Cross-Ref-
erence. This command procedure is called by the time
channel COM_USFT.
COM_USOE:C Sends OPC event values to the NCCs. The value of the
signal is

handled according to the signal handling attributes selec-


ted in

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

COM_USXREF:C Interprets and handles the data stored in the indication


cross-reference tables. This command procedure is ex-
ecuted by each of the command procedures COM_US**:C

6.6.2 Modifications to the command procedures

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.

6.7 File summary


The following files are copied to the system when COM 500i is installed. All the files
are located in the directory /com/active/com_.

6.7.1 VSO files

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

Communication Gateway, COM 500i


User's Guide

File Description
Cdcmon.vso CDC-II Monitor Tool

6.7.2 INI files

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

6.7.3 Text files for command procedure source code

File Description of the Procedure


COM_101SCR.txt Creates a line and station for IEC 60870-5-
101 slave.
COM_104SCR.txt Creates a line and station for IEC 60870-5-
104 slave.
COM_AUTHCH.txt Checks the authority of a command from
an NCC.
COM_BOCMD.txt Performs a direct or secured command.
COM_CNTINT.txt Performs a counter interrogation.
COM_COMINI.txt Initializes a COM 500i application.
COM_COMINI_H.txt Initializes a COM 500i application after
switchover.
COM_CPIDI.txt Sets the DI attribute of the CPI software.
COM_CPISS.txt Receives and interprets the CPI system
messages.
COM_DCNET.txt Restarts COM 500i if NET is restarted.
COM_DBSTA.txt Marks the database initialized.
COM_DNPSCR.txt Creates a line and a station for DNP 3.0
slave.
COM_DNPSS.txt Interprets DNP 3.0 application commands.

134
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

File Description of the Procedure


COM_DSAO.txt Performs a direct command using an AO
object.
COM_DSBO.txt Performs a command using BO objects.
COM_DSDO.txt Performs a direct command using a DO
object.
COM_DSUN.txt Sends negative confirm when unknown
command address.
COM_DSXREF.txt Decodes command direction cross-refer-
ence data.
COM_GENINT.txt Performs a general interrogation.
COM_GRPAL.txt Sends a group alarm to an NCC.
COM_IECTERM.txt Forwards command termination to NCCs.
COM_IEFT.txt Sends file to the IEC 101/104 NCC.
COM_IEGICL.txt Resets GI data in IEC 60870-5-101/104
queues of pc-net.
COM_IESA.txt Interprets the IEC 101/104 application
commands.
COM_IESEI.txt Sends an end-of-initialization message.
COM_IESS.txt Interprets the IEC 101/104 system com-
mands.
COM_NETINI.txt Initializes the protocol converters in NET.
COM_NETINI_H.txt Initializes the protocol converters in NET
after switchover.
COM_PNDIND.txt Terminates response indications after a
timeout.
COM_RDDATA.txt Performs a read-of-user-data command.
COM_RDGEN.txt Reads application and system parameters.
COM_RDXREF.txt Reads cross-reference information.
COM_RESPRC.txt Performs a reset process command.
COM_RESSEL.txt Resets selection flags of CPI commands.
COM_REVDTA.txt COM 500i revision information.
COM_RPSCR.txt Creates a line and station for an RP 570
slave.
COM_RPSDI.txt Sets the DI attribute of an RP 570 slave
station.

135
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

File Description of the Procedure


COM_RPSFT.txt Loads FTABs to an RP 570 slave.
COM_RPSS.txt Interprets RP 570 system messages.
COM_RPSY.txt Marks the RP 570 slave as syncronized.
COM_SUSNOD.txt Executes command procedure
COM_SUSSTA.
COM_SUSSTA.txt Sends the signals connected to a suspended
station.
COM_TRPSPA.txt Receives and sends transparent SPA mes-
sages.
COM_USAI.txt Sends analog data to the NCC.
COM_USAO.txt Sends analog output status to the NCC.
COM_USBI.txt Sends binary input data to the NCC.
COM_USBO.txt Sends binary output status to the NCC.
COM_USBS.txt Sends bit stream data to the NCC.
COM_USDB.txt Sends double binary data to the NCC.
COM_USDI.txt Sends digital input data to the NCC.
COM_USFT.txt Sends file to the NCC.
COM_USOE.txt Sends OPC event data to the NCC.
COM_USPC.txt Sends pulse counter data to the NCC.
COM_USXREF.txt Decodes monitoring direction cross-refer-
ence data.

6.7.4 Text files for object creation and other purposes

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

Bit stream, 107, 136


A BNCC*, 28, 125
AB, 75 BO objects, 135
Add
Alarm group, 43 C
Cross-reference, 53
NCC, 36 CA, 120
New attribute, 47 C language, 103
Signals, 49 Class, 113
View Definitions, 45 Column Attributes, 46
Address, 75 COM 500i, 105
Address offsets, 31 COM 500i application, 26
AG, 59, 75 COM 500i base system, 21
Alarm Bit, 76 COM_101SCR, 22
Alarm Groups, 12, 42, 76, 90 COM_101SCR:C, 128
Analog COM_*, 27
Data, 136 COM_COMINI, 126
Input, 54, 58, 107, 110, 112, 113, 114, 119, 126 COM_CPIDI:C, 129
Output, 64, 66, 113, 117, 118, 127 COM_CPISS:C, 129
Signal, 51, 57, 114, 133 COM_DBSTA:C, 129
ANSI X3.28, 104 COM_DCNET:C, 129
ANSI X3.28 master, 104 COM_DNPSCR:C, 129
AO object, 135 COM_DNPSS:C, 129
APL_EVENT, 126 COM_DS, 127
APL:BSV, 28 COM_DS**:C, 133
Application COM_DSAO:C, 129
Check list, 27 COM_DSBO:C, 129
Commands, 17, 24, 106, 119, 120, 134 COM_DSDO:C, 129
Malfunction, 124 COM_DSXREF:C, 130
Objects, 18, 27, 125, 136 COM_GENINT:C, 130
Page, 94, 95 COM_GENITNT:C, 130
Start-up, 16, 136 COM_GRPAL:C, 130
Application Backup, 13 COM_GRPSND:C, 130
Application Service Data Unit (ASDU), 108, 117 COM_IECTRM:C, 130
ASCII, 124 COM_IEFT:C, 130
Attr_com.txt, 125, 136 COM_IEGICL:C, 130
Authority, 97, 134 COM_IESA:C, 130
Auto-addressing, 48 COM_IESEI:C, 130
Automatic application update script, 18 COM_IESS:C, 130
COM_NETINI:C, 130
COM_PNDIND:C, 131
B COM_RDDATA:C, 131
Backup copies, 13 COM_RDGEN:C, 131
Base system, 106 COM_RDXREF:C, 131
Binary COM_RESPRC:C, 131
Input, 49, 54, 107, 136 COM_RESSEL:C, 131
Output, 65, 112, 117, 118, 136 COM_REVDTA:C, 131
Binary input, 119 COM_RPSCR:C, 131

137
SYS 600 9.3 MicroSCADA Pro 1MRS756633

Communication Gateway, COM 500i


User's Guide

COM_RPSDI:C, 131 Cross-references


COM_RPSS:C, 131 for commands, 62
COM_RPSY:C, 131 for indications, 50
COM_SUSSTA, 126, 132
COM_SUSSTA:C, 132 D
COM_TRPSPA:C, 132
COM_US, 127 Database Initialisation Time, 69
COM_USAI:C, 132 Defining
COM_USAO, 127 Attributes, 46
COM_USAO:C, 132 Indication cross-references, 50
COM_USBI:C, 132 NCC, 38
COM_USBO:C, 132 Parameters, 68
COM_USBS:C, 132 Delete
COM_USDB, 127 Alarm group, 44
COM_USDB:C, 132 Attribute, 47
COM_USDI:C, 132 Cross-reference, 58, 67
COM_USFT, 132 NCC, 37
COM_USOE:C, 132 Signals, 50
COM_USOXR:C, 132 Design, 8, 103
COM_USPC:C, 132 Diagnostics Tool, 133
COM_USXREF:C, 133 DI attribute, 134, 135
COM_XRIND.xrf file, 74 Digital
Command Input, 107, 136
Authority check, 15, 38, 107 Output, 66, 117, 118
Authority dialog, 70 DNP 3.0, 97
Confirmation, 119 DO object, 135
Procedures, 106, 127 Double
Signals, 66 Binary data, 136
Source Check In Use, 70 Binary indication data, 127
Termination, 119 Binary input, 107
Commands page, 29, 32, 64
Communication E
Gateway, 11, 15
Server, 15 Edit
Communication Diagnostics dialog, 87 Alarm group, 44
ComTool.ini, 125 Attributes, 47
ComView.ini, 125 Signals, 50
Configuration, 8, 103 Engineering process, 12
Configuration tips, 24 Environment model of COM 500i, 17
Corresponding signal, 54 Event channels, 94, 126
CPI (Communication Programming Interface), 18, Exporting cross-references with Microsoft Excel, 74
103, 105, 133, 134
CPI Selection Reset Time, 70 F
Cross-reference, 53, 124, 135
Command signal, 64 Fatal error, 13
Export, 71 FCOM_COLDSTART, 40
Import, 73 Field Separator, 74, 77
Indication signals, 50, 73 File Chooser, 40
Mechanism, 106 Filters, 93
Menu, 30 Free Integer (FI) attribute, 27
Print, 84 FTABs, 136
Signals, 48 Functionality, 8, 103

138
1MRS756633 MicroSCADA Pro SYS 600 9.3
Issued: 31.3.2010 Communication Gateway, COM 500i
Version: B/30.9.2012
User's Guide

Function Table download, 39 Monitoring direction cross-reference, 136

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

Communication Gateway, COM 500i


User's Guide

Reset SRIO 500M, 104


Alarm group, 93 SRIO 1000M, 104
Process, 119, 135 Stand-Alone COM 500i, 15
Response indications, 63, 135 Standard Configuration Tool, 27
Response Indication Timeout, 70, 120 STA Object Status Check Timeout, 70
Reusing existing application, 25 Start-up actions, 20
REx, 62, 66, 70 Station L/R Check In Use, 70, 97
REX 561 Command Values, 71 Station L/R Object Index, 70
REx Select Execute Delay, 70 Station L/R Object Logical Name, 70
RP 570, 131 Status
RP 570 slave, 106 codes, 14
RS-232-C Interface Module, 104 Information, 133
RTU 200, 18, 104, 106 SYS_BASCON.com, 21
RTU PROTOCOL 570 and 571, 104 System
RTU specific configuration, 57 Backup, 13
Commands, 17, 24, 106, 119, 120, 135
S Parameters, 135

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

1MRS756633 B/30.9.2012 © Copyright 2012 ABB. All rights reserved.


ABB Oy
Substation Automation Products
P.O. Box 699
FI-65101 Vaasa
FINLAND
Tel. +358 10 22 11
Fax. +358 10 224 1094

www.abb.com/substationautomation

You might also like