Configuring MicroSCADA for IEC 60870 5 103 Master Protocol

background image

1MRS752012-MEN

Issued:

15.03.2002

Version:

A

Program revision: 4.0

We reserve the right to change data without prior notice.

Configuring MicroSCADA for
IEC 60870-5-103 Master Protocol

Configuration Guide

COM 500

Notice 1

The information in this document is subject to change without notice and should not
be construed as a commitment by ABB. ABB assumes no responsibility for any error
that may occur in this document.

Notice 2

This document complies with the program revision 4.0.

Notice 3

Additional information such as Release Notes and Last Minute Remarks can be
found on the program distribution media.

Trademarks

Microsoft is a registered trademark of Microsoft Corporation.

Windows NT is a trademark of Microsoft Corporation.

L

ON

W

ORKS

is a registered trademark of Echelon Corporation.

Other brand or product names are trademarks or registered trademarks of their respective holders.

All Microsoft products referenced in this document are either trademarks or registered trademarks of Microsoft
Corporation.

background image
background image

MicroSCADA Technology Manuals

SYS 500 manuals

COM 500 manuals

Application Objects

1MRS751848-MEN

Introduction to MicroSCADA Technology

1MRS751852-MUM

JAVA-API for MicroSCADA

1MRS751851-MEN

Programming Language SCIL

1MRS751849-MEN

SCIL-API for MicroSCADA

1MRS752199-MEN

Status Codes

1MRS751850-MEN

System Configuration

1MRS751846-MEN

System Objects

1MRS751847-MEN

Configuring MicroSCADA for OPC DA Client

1MRS752246-MEN

Installation

1MRS751853-MEN

Picture Editing

1MRS751854-MEN

System Management

1MRS751857-MEN

Visual SCIL Objects

1MRS751856-MEN

Visual SCIL User Interface Design

1MRS751855-MEN

COM 500 Engineering

1MRS751858-MEN

Connecting LONWORKS Devices to MicroSCADA

1MRS751845-MEN

Communication Programming Interface (CPI)

1MRS751859-MEN

Configuring MicroSCADA for DNP V3.00 Master Protocol

1MRS751860-MEN

Configuring MicroSCADA for DNP V3.00 Slave Protocol

1MRS751861-MEN

Configuring MicroSCADA for IEC 60870-5-101 Master Protocol

1MRS751862-MEN

Configuring MicroSCADA for IEC 60870-5-101 Slave Protocol

1MRS751863-MEN

Configuring MicroSCADA for IEC 60870-5-103 Master Protocol

1MRS752012-MEN

Configuring MicroSCADA for IEC 60870-5-104 Master Protocol

1MRS751964-MEN

Configuring MicroSCADA for IEC 60870-5-104 Slave Protocol

1MRS751965-MEN

Configuring MicroSCADA for Modbus Master Protocol

1MRS752242-MEN

Configuring MicroSCADA for Modbus Slave Protocol

1MRS751864-MEN

COM 500

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

1MRS752012-MEN

background image

LIB 500 manuals

LIB 510 manuals

SMS 510 manuals

CAP 505 manuals

Common manual for LIB, CAP and SMS

LIB 500 Configuration Manual

1MRS751880-MEN

LIB 500 Operator’s Manual

1MRS751885-MUM

LIB 510 Configuration

1MRS751886-MEN

LIB 510 MV Process Configuration

1MRS751887-MEN

LIB 510 MV Process Operator’s Manual

1MRS751891-MUM

LIB 510 Operator’s Manual

1MRS751888-MUM

SMS 510 Installation and Commissioning

1MRS751897-MEN

SMS 510 Operator’s Manual

1MRS751898-MUM

CAP 505 Installation and Commissioning

1MRS751901-MEN

CAP 505 Operator’s Manual

1MRS751902-MUM

Relay Configuration Tool Tutorial

1MRS751903-MEN

Relay Mimic Editor Configuration

1MRS751904-MEN

Relay Configuration Tool Quick Start Reference

1MRS751905-MEN

SPTO Configuration Tool

1MRS751906-MEN

Protocol Editing Tool

1MRS751982-MUM

Tools for Relays and Terminals

1MRS752008-MUM

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

Configuration Guide

background image

1
2

3
4

5

1

Introduction

2

Safety information

3

Instructions

4

Technical description

5

Interoperability list

COM 500

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

1MRS752012-MEN

background image
background image

COM 500

Contents

Configuration Guide

Contents:

1. Introduction ...............................................................................9

2. Safety information ...................................................................11

2.1. Backup copies .............................................................................11
2.2. Fatal errors ..................................................................................11

3. Instructions ..............................................................................13

3.1. General .......................................................................................13
3.2. Configuration ...............................................................................13

3.2.1. Base system configuration ...............................................14
3.2.2. Communication system configuration ..............................16

3.3. After configuration .......................................................................37
3.4. How to test the configuration .......................................................38
3.5. Serial cable wiring diagram .........................................................38

4. Technical description .............................................................39

4.1. General .......................................................................................39

4.1.1. IEC 60870-5-103 Protocol ...............................................39
4.1.2. Level of implementation ...................................................39

4.2. Communication ...........................................................................44

4.2.1. Protocol converter ............................................................44
4.2.2. Addressing .......................................................................45
4.2.3. Device communication attributes .....................................46
4.2.4. Data in monitoring direction .............................................48
4.2.5. Disturbance and generic data ..........................................50
4.2.6. Data in control direction ...................................................50
4.2.7. Transparent data commands ...........................................52

4.3. Status codes ...............................................................................54

5. Interoperability list ..................................................................59

5.1. Physical layer ..............................................................................59
5.2. Link layer .....................................................................................59
5.3. Application layer ..........................................................................59

5.3.1. Selection of standard information numbers in monitor

direction 60

5.3.2. Selection of standard information numbers in control

direction 63

5.3.3. Basic application functions ...............................................64
5.3.4. Miscellaneous ..................................................................64

1MRS752012-MEN

Configuring MicroSCADA for
IEC 60870-5-103 Master Protocol

background image
background image

1MRS752012-MEN

COM 500

9

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

1. Introduction

1

1. Introduction

Using this manual

This manual should be read when you want to use the IEC 60870-5-103 master
protocol and need information related to it. It describes how to configure the base
system and the communication system to establish communication to an IEC 60870-
5-103 slave.

In addition to this configuration, the base system needs to be configured for other
communication tasks, e.g. process communication, if needed. For information about
this subject, refer to other manuals, e.g. Application Objects and System Objects.

Referenced manuals

The following MicroSCADA manuals should be available for reference during the
use of this manual:

• System Configuration manual

• System Objects manual

• Application Objects manual

Other referenced manuals

The IEC 60870-5-103 protocol is based on the following documents by the IEC
Technical Committee 57:

• IEC 60870-5-1

Transmission Frame Formats

• IEC 60870-5-2

Data Link Transmission Services

• IEC 60870-5-3

General Structure of Application Data

• IEC 60870-5-4

Definition and Coding of Information Elements

• IEC 60870-5-5

Basic Application Functions

• IEC 60870-5-103

Companion standard for the IEC 60870-5-103 protocol

IEC 60870-5-103 Master Protocol

The IEC 60870-5-103 master protocol is mainly used for process level
communication between SYS 500 and process units as presented in (see Fig. 1.-1).

1MRS752012-MEN

background image

10

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

1. Introduction

Configuration Guide

)LJ 7KH,(&PDVWHUVHHVWKH6XEVWDWLRQ&RQWURO6\VWHP6&6DVDQ,(&VODYH

background image

1MRS752012-MEN

COM 500

11

Configuring MicroSCADA for
IEC 60870-5-103 Master Protocol

Configuration Guide

2. Safety information

2. Safety

information

This chapter gives information about the prevention of hazards.

2.1.

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, usually to a CD or a backup tape. A writable CD and DAT tape are commonly
used.

Backup copying makes it easier to restore application software in case of a disk crash
or any other serious 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 backup is taken after the application is made. A backup should be
taken again when changes are made to the MicroSCADA system. For example, if
the driver configuration or the network set-up is changed.

Application backup

An application backup is also taken at the same time with system backup, after the
application is made. A backup should be taken again when changes are made to the
application. For example, if pictures or databases are edited or new pictures are
added.

2.2.

Fatal errors

A fatal error is an error that causes a break-down or a locked situation in the
MicroSCADA program execution.

Handling

In case of a fatal error:

Write down the possible MicroSCADA error messages.

Shut down the MicroSCADA main program. If this cannot be done in the

MicroSCADA Control Panel, try to end the task in Windows NT™

1

Task

Manager.

1. Windows NT is a trademark of Microsoft Corporation.

1MRS752012-MEN

background image

12

1MRS752012-MEN

Configuring MicroSCADA for
IEC 60870-5-103 Master Protocol

COM 500

2. Safety information

Configuration Guide

Shutting down the base system computers by switching off the power might damage
the files.

In Windows NT, the data kept in the main memory at the moment of a fatal error

is placed in the drwtsn32.log file. It is placed in a system folder, for example
Winnt. Analyse and copy the data in this file.

Restart the system.

Report the program break-down together with the possible MicroSCADA error
messages and the information from the drwtsn32.log file to the MicroSCADA
supplier.

Status codes

Error messages in SCIL are called status codes. A list of status codes and short
explanations can be found in the Status Codes manual.

background image

1MRS752012-MEN

COM 500

13

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

3. Instructions

3.1.

General

Communication

In MicroSCADA the IEC 60870-5-103 master protocol is implemented in the PC-
NET software only. PC-NET communicates over an INTEGRATED link and via the
serial ports of the base system computer. Setting the attributes of the MicroSCADA
system objects can modify the communication parameters.

The base system sees each IEC master device as a station (STA object) which has
been created to a line of a NET unit. Each IEC station works as a protocol converter
that converts data between the internal protocol of MicroSCADA and the IEC
60870-5-103 protocol.

Requirements

The following software is required:

• MicroSCADA Software 8.4.2 or newer, see the revision information below

• Operating system - Windows NT

Revision information

The information given in this document is valid for MicroSCADA revision 8.4.4.
With the following limitations the information is valid in older revisions:

• The IEC 60870-5-103 master protocol was implemented in revision 8.4.2

• The SE and OS attributes, as well as synchronisation with configurable address

were implemented in revision 8.4.2 A

• The OM attribute was implemented in revision 8.4.4

• Dial-up and the CB attribute were implemented in revision 8.4.3

3.2.

Configuration

General

The configuration can be divided into two parts:

• Base system configuration

• Communication system configuration

Configuration can be made either by using the System Configuration Tool or by
using SCIL statements. The following sections show how to make the configuration
by using SCIL. For details about the System Configuration Tool, please refer to the
System Configuration manual.

1MRS752012-MEN

background image

14

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

3.2.1.

Base system configuration

General

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.

The base system objects are defined with SCIL commands in the
SYS_BASCON.COM file, which is executed every time the base system is started.
With a few limitations, you can also define and modify the base system objects any
time when MicroSCADA is running. During the operation, the base system objects
are in the primary memory of the base system computer.

The IEC 60870-5-103 master protocol is implemented in the PC-NET software,
which means that an INTEGRATED link must be used. The IEC 60870-5-103
master protocol uses the station type (STY object) 29.

Configuration steps

To configure SYS_BASCON.COM:

Define the base system.

Define a link.

Define a node.

Define a monitor.

Define an application.

Define the station type.

Define the IEC stations.

The definitions are made in the example below by using the old
SYS_BASCON.COM template. If the new (revision 8.4.2 or later) template is used,
the INTEGRATED link and the node for the PC-NET will be created by the System
Configuration Tool and need not to be included in SYS_BASCON.COM. For more
information about the system objects, see the System Objects manual.

Example

The following is an example of the SYS_BASCON.COM file for communication
with the IEC 60870-5-103 master protocol. An application IEC_TEST is defined. In
this example two IEC 60870-5-103 master stations are configured.

It is important to map the cause of transmission value (3) as shown in the following
example, otherwise data with COT 3 does not update the process objects!

;***************************************************************************

;

background image

1MRS752012-MEN

COM 500

15

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

; SYS_BASCON.COM

; BASE SYSTEM CONFIGURATION TEMPLATE

;

;***************************************************************************

#CREATE SYS:B = LIST(-

SA = 209,- ;STATION ADDRESS OF BASE SYSTEM

ND = 9,- ;NODE NUMBER OF BASE SYSTEM

DN = 3,- ;DEFAULT NET NODE NUMBER

DS = "RTU",- ;STA TYPES: E.G. STA,RTU,SPA,REX

FS = "NEVER")

;FILE SYNCH CRITERIA:

;NEVER,MAINT,SET,CHECKPOINT,ALWAYS

;***************************************************************************

;

; COMMUNICATION LINKS

#CREATE LIN:V = LIST(- ;REQUIRES THE PC-NET PROGRAM

LT = "INTEGRATED",-

SC = "\SC\PROG\PC_NET\PC_NETS.EXE") ;STARTUP COMMAND

#CREATE LIN3:B = %LIN

;***************************************************************************

;

; COMMUNICATION NODES

#CREATE NOD:V = LIST(-

LI = 3,-

SA = 203)

#CREATE NOD3:B = %NOD

;***************************************************************************

;

; PRINTERS

;***************************************************************************

;

; MONITORS

#LOOP_WITH I = 1..5

#CREATE MON’I’:B = LIST(-

TT = "LOCAL",- ;TRANSLATION TYPE

DT = "X") ;X MONITOR

@MON_MAP(%I) = -1

#LOOP_END

#LOOP_WITH I = 6..10

#CREATE MON’I’:B = LIST(-

TT = "LOCAL",- ;TRANSLATION TYPE

DT = "VS") ;VISUAL SCIL MONITOR

@MON_MAP(%I) = -1

#LOOP_END

;***************************************************************************

;

; APPLICATIONS

#CREATE APL:V = LIST(-

TT = "LOCAL",- ;TRANSLATION TYPE

NA = "IEC_TEST",- ;NAME OF APPLICATION DIRECTORY

AS = "HOT",- ;APPLICATION STATE: COLD,WARM,HOT

HB = 2000,- ;HISTORY BUFFER SIZE)

RC = VECTOR("FILE_FUNCTIONS_CREATE_DIRECTORIES"),-

AP = (1,2),-

MO = %MON_MAP,- ;MONITOR MAPPING

PR = (1,2,3)) ;PRINTER MAPPING

background image

16

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

#CREATE APL1:B = %APL

;***************************************************************************

; STATION TYPES

#SET STY29:BCX = "IEC"

#SET STY29:BCT(3) = "UNKNOWN" ; MAPPING OF RESET FRAME COUNT BIT (FCB)

;***************************************************************************

; STATIONS

;*** NET 3 stations ***

#CREATE STA:V = LIST(-

TT = "EXTERNAL",-

ST = "IEC",-

ND = 3,-

TN = 1)

#CREATE STA1:B = %STA

#CREATE STA:V = LIST(-

TT = "EXTERNAL",-

ST = "IEC",-

ND = 3,-

TN = 2)

#CREATE STA2:B = %STA

;***************************************************************************

3.2.2.

Communication system configuration

General

Each NET unit contains a set of system objects, which specify line properties,
connected devices etc. These objects can be created, modified and deleted by SCIL,
and setting the attributes of the objects can change the properties.

Access to the attributes can be one of the following:

5HDGRQO\: The attribute can only be read. There are still a few exceptions in
which the values can be reset.

:ULWHRQO\: The attribute can only be written (set).

5HDGFRQGLWLRQDOZULWH: The attribute can be both read and written, but the
object must be set out of use (IU = 0) before writing.

1ROLPLWDWLRQV: The attribute can be both read and written without limitations.

The implementation of the IEC 60870-5-103 master protocol in MicroSCADA can
be divided into two layers: link layer and application layer. Both of these layers have
a specific functionality and a set of attributes of their own. The link layer
corresponds to a line of a NET unit and the application layer corresponds to a station
configured to the line.

The purpose of the communication system configuration is to:

• Create all the system objects needed to establish communication between the

master and the slave.

• Adjust the values of the system object attributes to match the physical

communication channel and the properties of the slave station.

background image

1MRS752012-MEN

COM 500

17

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Setting the attribute values

All the line and station attributes have sensible default values but the value of each
attribute must be checked against the requirements of the actual communication
system. The attribute values depend on:

• The physical communication media (e.g. leased telephone line, radio link and

power line carrier). This affects particularly the attributes of the line, such as baud
rate and parity.

• The network topology used (point-to-point, multidrop). This affects, for example,

the link type.

• The size (number of stations) of the system. This affects especially the timeout

parameters; the slower the media and bigger the system, the longer timeouts are
needed.

• The master system. This affects both the line and station attributes, and also the

message types used.

When making the IEC connection, an agreement about the communication
parameters used should be made with the supplier or owner of the system acting as
the IEC slave.

Network topologies

The implementation of the IEC 60870-5-103 master protocol in MicroSCADA
supports direct and serial bus topologies. The direct topology (point-to-point) can be
a direct physical cable from point-to-point or a two-node radio or modem network.
The serial bus topology (multi-drop) is commonly made up of many modems with
their outputs and inputs tied together, or using a star-coupler.

The IEC 60870-5-103 protocol supports one master on a line. Figure 3.2.2.-1
illustrates the network topologies.

)LJ

1HWZRUNWRSRORJLHV

background image

18

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

Only the unbalanced mode of the IEC 60870-5-103 protocol is specified and can be
used.

IEC 60870-5-103 link layer

The line process of a NET unit performs the functions of the link layer. The purpose
of the link layer is to send and receive messages with external devices using the IEC
60870-5-103 protocol. The link layer provides also frame synchronisation and link
control.

According to the IEC 870 standards, the link layer performs the following
functions:

• Provides access to the transmission medium.

• Serialises and deserialises frames.

• Adds and removes frame delimiters if not performed by data circuit terminating

equipment.

• Detects frame synchronisation errors.

• Detects frame size errors.

• Monitors signal distortion if not performed by data circuit terminating equipment.

• Recognises frames addressed to a designated station.

• Prevents the station transmitting without a pause.

• Protects messages against loss and errors within predetermined limits.

• Reports on persistent transmission errors.

• Reports on the status of link configuration.

• Supports initiation and maintenance functions.

Link layer attributes

The following attributes can be used for configuring the IEC 60870-5-103 master
lines in MicroSCADA.

,8

,Q8VH

Indicates whether the line is in use (value 1) or not in use (value 0).

Data type:

Integer

Value:

0, 1

Index range:

1... 8 (NET line numbering)

Default value:

0

Access: No

limitations

32

3URWRFRO

The data transfer protocol used on the line. The line is defined to the NET by setting
this attribute. By setting the attribute to 0, the line definition including all the line
attributes will be deleted.

background image

1MRS752012-MEN

COM 500

19

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Data type:

Integer

Value:

0... 35
Value with IEC 60870-5-103 master protocol: 33

Index range:

1... 8 (NET line numbering)

Access: Read,

conditional

write

6'

6\VWHP'HYLFH1DPH

Associates the NET line numbers of PC-NET with the device names of the physical
channels of the serial ports.

By default, line number 1 is connected to COM1, line 2 to COM2 and so on. By
using the SD attribute it is possible to override these default values. This may be
necessary if COM ports will be used as NET lines or if, for example, a RocketPort
card is used.

Data type:

Text

Value:

See above

Index range:

1... 8 (NET line numbering)

Access: Read,

conditional

write

36%XIIHU3RRO6

L]H

Specifies the number of message buffers reserved for the line. Each buffer can
contain one message. The maximum data content length of a message is 228 bytes.

Data type:

Integer

Value:

1... 250

Index range:

1... 8 (NET line numbering)

Default value:

20

Access: Read,

conditional

write

The value of this attribute should be greater than the number of IEC stations
configured on the line.

%5

%DXG5DWH

Transmission rate used on the line.

Data type:

Integer

Value:

1... 19200

Unit:

Bits / s

Index range:

1... 8 (NET line numbering)

Default value:

19200

Access: Read,

conditional

write

background image

20

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

3<

3DULW\

Specifies the parity check (if any) used for the characters transferred on the line.

Data type:

Integer

Value:

0 = no parity check
1 = odd parity
2 = even parity

Index range:

1... 8 (NET line numbering)

Default value:

2

Access:

Read, conditional write

20

2SHUDWLQJ0RGH

This attribute consists of a set of flags which controls the behaviour and
functionality of the IEC line. Each flag is one bit of this attribute. The bits are the
following:

Bit 1:

The polling method when the remote station sets the DFC bit on.
When this bit is 0, the master sends the ’request status of link’
until the remote station clears the DFC bit (this is the default
operation). When this bit is 1, the master continues polling
normally.

Bit 2:

One link, one station poll. When this bit is 1, the master infinitely
polls the first link which responds. Only the station from which
the first data is received is set to OK status and in case of a
communication failure, only this station is set to the suspended
state. This configuration is especially useful in a multistation
configuration with dial-up, in which the remote station makes
the call and there is only station behind the link. This bit should
be set only in the unbalanced mode.
When this bit is 0, all the links are polled normally (this is the
default operation).

Bits 3..15:

Not used, do not set

Data type:

Integer

Value:

0..65535

Index range:

1...8 (NET line numbering)

Default value:

0

Access:

Read, conditional write

5'

5HFHLYHU'DWD%LW&RXQW

Specifies the number of data bits in each received character.

Data type:

Integer

Value:

5, 6, 7 or 8

Unit:

Data bits

Index range:

1... 8 (NET line numbering)

Default value:

8

background image

1MRS752012-MEN

COM 500

21

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Access: Read,

conditional

write

6%

6WRS%LWV

Specifies the number of stop bits attached to each transmitted character.

Data type:

Integer

Value:

1 or 2

Unit:

Stop bits

Index range:

1... 8 (NET line numbering)

Default value:

1

Access: Read,

conditional

write

7'

7UDQVPLWWHU'DWD%LW&RXQW

Specifies the number of data bits in each transmitted character.

Data type:

Integer

Value:

5, 6, 7 or 8

Unit:

Data bits

Index range:

1... 8 (NET line numbering)

Default value:

8

Access: Read,

conditional

write

3'

3ROOLQJ'HOD\

Delay between polling messages. The purpose of this attribute depends on the
communication mode. The master sends the polling messages (for class 1 or class 2)
with an interval defined by this attribute.

Data type:

Integer

Value:

0... 65535

Unit:

Milliseconds

Index range:

1... 8 (NET line numbering)

Default value:

50

Access: Read,

conditional

write

33

3ROOLQJ3HULRG

The polling frequency of suspended stations. The attribute specifies how often
suspended stations on the line are polled.

Data type:

Integer

Value:

1...255

Unit:

Seconds

Index range:

1...8 (NET line numbering)

Default value:

10

Access: Read,

conditional

write

background image

22

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

3/

3ROOLQJ/LPLW

This attribute is used for controlling the polling sequence of IEC stations. The
purpose of the PL attribute is to limit the number of successive polls of one station
(link address). Normally one station is polled until all the data is read.

Data type:

Integer

Value:

2... 100

Index range:

1... 8 (NET line numbering)

Default value:

10

Access:

Read, conditional write

53

5HSO\3ROOLQJ

This attribute specifies the number of successive polls to a station where the master
has sent a command.

Data type:

Integer

Value:

1... 20

Index range:

1... 8 (NET line numbering)

Default value:

1

Access:

Read, conditional write

6/

6HFRQGDU\SROOLQJ/LPLW

This attribute is used to control the class 2 polling of IEC stations. The purpose of
the SL attribute is to limit the number of successive class 2 polls of one station (link
address). If a value of zero is given, the attribute is meaningless and the value of PL
applies to class 2 polls also. The value of SL is limited to be less or equal to PL.

Value:

0 .. 100 (less or equal to PL)

Indexing:

1..8 (NET line numbering)

Access:

Read, conditional write

Default:

0

'(

&76'HOD\

Time delay (in milliseconds) between the activation of the RTS signal (Request to
Send) and the start of a new transmission.

Data type:

Integer

Value:

0... 65535

Unit:

Milliseconds

Index range:

1... 8 (NET line numbering)

Default value

50

Access:

Read, conditional write

background image

1MRS752012-MEN

COM 500

23

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

7:

7UDQVPLVVLRQ:DLW'HOD\

Specifies the transmission delay in milliseconds, i.e., the time that the NET must
wait after receiving a CTS (Clear to Send) signal until starting the transmission of a
message.

Data type:

Integer

Value:

0... 65535

Unit:

Milliseconds

Index range:

1... 8 (NET line numbering)

Default value:

0

Access: Read,

conditional

write

+7

+HDGHU7LPHRXW

Specifies the maximum waiting time in milliseconds within which the first byte of
a link layer response from the IEC slave should have been received after the
transmission of a message. If no response has been received within this time, new
attempts are performed the number of times specified by the Enquiry limit. If no
response is still obtained, the station will be suspended.

Data type:

Integer

Value:

0... 65535

Unit:

Milliseconds

Index range:

1... 8 (NET line numbering)

Default value:

2000

Access:

Read, conditional write

7,

5HVSRQVH7LPHRXW

The time in seconds that the IEC link waits for the end of the received message.

Data type:

Integer

Value:

0... 255

Unit:

Seconds

Index range:

1... 8 (NET line numbering)

Default value:

2

Access: No

limitations

5.

576.HHS8S3DGGLQJ&KDUDFWHUV

The number of padding characters (null characters) inserted to the end of the
telegram to delay the passivation of the RTS (Request To Send) signal.

Data type:

Integer

Value:

0... 255

Index range:

1... 8 (NET line numbering)

Default value:

0

Access: Read,

conditional

write

background image

24

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

5,

5HFHLYH,QWHUUXSW(QDEOH'HOD\

Defines the delay in milliseconds after which the receiver of a NET line is enabled
after a message has been issued.

Data type:

Integer

Value:

0... 255

0 = receiver enabled all the time

1… 9 = receiver enabled right after transmission

10… = receiver enabled as stated by the value

Unit:

Milliseconds

Index range:

1... 8 (NET line numbering)

Default value:

5 (unbalanced mode)

Access:

Read, conditional write

(1

(QTXLU\/LPLW

Specifies the maximum number of times that a message is retransmitted after a
timeout.

Data type:

Integer

Value:

1... 255

Index range:

1... 8 (NET line numbering)

Default value:

3

Access:

Read, conditional write

6*

0RGHP6LJQDO

An attribute for direct supervision and control of the state of the modem signal. The
attribute applies to all protocols. It is used for diagnostics and testing.

Data type:

Integer

Value:

0 = passive signal
1 = active signal

Index range:

100 * line no. + signal no. Signal no. 5 = CTS, 8 = DCD,
20 = DTR

Access: Read-only

0,

0HVVDJH,GHQWLILFDWLRQ

Object address of system messages.

Data type:

Integer

Value:

1... 32760

Index range:

1... 8 (NET line numbering)

Default value:

6000 + (100 * NET number) + line number

Access:

Read, conditional write

background image

1MRS752012-MEN

COM 500

25

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

060HVVDJH$SSOLFDWLRQ

The number of the application that is the receiver of the system messages generated
by the line.

Data type:

Integer

Value:

1... 32

Default value:

1

Index range:

1... 8 (NET line numbering)

Access: Read,

conditional

write

([DPSOH

In the example of SYS_BASCON.COM earlier in this chapter, the number of the
message application is 1.

/.

/LQN7\SH

The type of data link connection used on the line. This attribute controls the
behaviour of the RTS-control line.

Data type:

Integer

Value:

4: Radio link

Index range:

1... 8 (NET line numbering)

Default value:

4

Access: Read,

conditional

write

&%

&DUULHU%ORFNLQJ

This attribute determines whether the Carrier Detect (DCC) signal of the serial port
must be set in order for the IEC station to receive messages. The DCD pin of the
serial port is used for this attribute.

Data type:

Integer

Value:

0 = Carrier blocking not used, Carrier Detect ignored
1 = Carrier blocking not used, Carrier Detect must be set

Default value:

1

Index range:

1... 8 (NET line numbering)

Access: Read,

conditional

write

'&

'LDJQRVWLF&RXQWHUV

The line protocols gather statistical information about the events on the lines by
incrementing a number of diagnostic counters. All the major events and error
situations of the communication have their own counters.

When accessing diagnostic counters, the attribute is indexed according to the
formula:

100 * (line number) + (diagnostic counter number)

The IEC 60870-5-103 master protocol supports the following counters:

1. Transmitted telegrams

background image

26

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

2. Failed transmissions
4. Transmitted commands
5. Transmitted replies
11. Received messages
12. Parity errors
13. Overrun errors
14. Check sum errors
15. Framing errors
16. Buffer overflow errors

Data type:

Integer

Value:

0... 30000

Index range:

See above

Access:

Read-only, the values can be reset

IEC 60870-5-103 application layer

The main purpose of the application layer is protocol conversion between IEC
60870-5-103 and the internal protocol of MicroSCADA. The application layer also
takes care of the application level communication with the slave.

The STA objects created in a NET unit perform the functions of the application
layer. Several STA objects of the IEC device type are allowed on the same line.
Some of the application layer attributes are used for configuration of the station,
others are used for device communication. The configuration attributes are
presented in this chapter and the communication attributes in the next one.

Application layer attributes

The following attributes can be used for configuring the IEC 60870-5-103 slave
stations in MicroSCADA.

,8

,Q8VH

Indicates whether the station is in use (value 1) or not in use (value 0).

Data type:

Integer

Value:

0 or 1

Default value:

0

Access:

No limitations

/,

/LQH1XPEHU

The number of the NET line the station is connected to.

Data type:

Integer

Value:

1... 8

Default value:

1

Access:

Read, conditional write

background image

1MRS752012-MEN

COM 500

27

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Setting this attribute is not needed when the station is created by using the DV
attribute.

3$

3ROOLQJ$GGUHVV

The link address of the IEC 60870-5-103 master station.

Data type:

Integer

Value:

0... 254, when PL attribute = 1

NOTE! Address 255 is reserved for broadcast messages.

Default value:

1

Access:

Read, conditional write

6$

6WDWLRQ$GGUHVV

The station address of the IEC 60870-5-103 master station, the common address of
ASDU in an IEC message.

Data type:

Integer

Value:

0... 255

Default value:

1

Access:

Read, conditional write

'5

'LUHFWLRQ

States if the IEC master station acts as the station A (primary station) or station B
(secondary station).

Data type:

Integer

Value:

0 or 1

Default value:

1 (primary station)

Access:

Read, conditional write

3/

3ROOLQJ$GGUHVV/HQJWK

The length of the link address in octets.

Data type:

Integer

Value:

1 (the value should always be 1)

Default value:

1

Access:

Read, conditional write

6/

6WDWLRQ$GGUHVV/HQJWK

The length of the station address (common address of ASDU) in octets.

Data type:

Integer

Value:

1 (the value should always be 1)

background image

28

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

Default value:

1

Access:

Read, conditional write

,/

,QIRUPDWLRQ$GGUHVV/HQJWK

The length of the information object address in octets.

Data type:

Integer

Value:

2 (the value should always be 2)

Default value:

2

Access:

Read, conditional write

&/

/HQJWKRI&DXVHRI7UDQVPLVVLRQ,QIRUPDWLRQ

The length of the cause of transmission field in an IEC 60870-5-103 message in
octets.

Data type:

Integer

Value:

1 (the value should always be 1)

Default value:

1

Access:

Read, conditional write

$/

$OORFDWLRQ

Allocates the station to an application. When the AL attribute has the value 1, the
station is reserved by the application specified by the AS attribute. All the
spontaneous messages from the station will be sent to this application.

Data type:

Integer

Value:

0 or 1

Access:

No limitations

$6$OORFDWLQJ$SSOLFDWLRQ

Specifies the allocating application of the station (see the AL attribute). The
allocating application will get all the spontaneous process data from the station. This
application is also the only one that is allowed to set the device communication
attributes.

Data type:

Integer

Value:

0... 32
0 = no application

Access:

Read-only

When the AL attribute is set to 0, AS also gets the value 0.

0,

0HVVDJH,GHQWLILFDWLRQ

Object address of the system messages.

background image

1MRS752012-MEN

COM 500

29

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Data type:

Integer

Value:

1... 32760

Default value:

29000 + station number

Access: Read,

conditional

write

060HVVDJH$SSOLFDWLRQ

The number of the application that is the receiver of the system messages generated
by the line.

Data type:

Integer

Value:

1... 32

Default value:

1

Access: Read,

conditional

write

([DPSOH

In the example of SYS_BASCON.COM earlier in this chapter, the number of the
message application is 1.

6(

6\VWHP0HVVDJHV(QDEOHG

Specifies whether the system messages generated by NET and related to the station
are sent to applications (value 1) or not (value 0). By using this attribute, it is
possible to disable the system messages related to the station.

Data type:

Integer

Value:

0 or 1

Default value:

1

Access: No

limitations

&$

&RPPDQG$GGUHVV

The object address of the bitstream process object in the MicroSCADA process
database, where unrecognised or private range (ASDUs 32-255) messages are sent.

Data type:

Integer

Value:

0… 65534

Default value:

32000

Access: Read,

conditional

write

The unit number (UN attribute) of the bit stream process object must be the same as
the STA object number of the IEC master station.

0/

0D[LPXP0HVVDJH/HQJWK

The maximum length of a transmitted message in octets.

Data type:

Integer

Value:

20…253

background image

30

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

Default value:

230

Access:

Read, conditional write

50

5XQQLQJ0RGH

Consists of a set of flags that control the behaviour and functionality of the IEC
master station. Each flag is one bit of this attribute. The bits are as follows (bits 1...
2 used by the IEC slave stations are left out):

Bit 0:

The hour transmission method of the events to the master. When this
bit is 0, the master gets the year and date from the slave as clock
synchronisation (ASDU 6,COT8). When this bit is 1, the master adds
the year, date and hour from its internal clock to the events. Minutes
and seconds should be provided in time-tagged events by the slave.

Bit 5:

Sending the general interrogation command when the master gets the
zero (OK) status. When this bit is 0, a general interrogation command
is always sent when the object status of the IEC master station gets the
value zero, e.g. when set in use or after a suspension. When this bit is
1, general interrogation is not sent automatically at zero status.

Data type:

Integer

Value:

1... 65534, see above

Default value:

33

Access:

Read, conditional write

([DPSOH

Disable general interrogation at zero status, RM value = 0*1+1*32=32.

'&

'LDJQRVWLF&RXQWHUV

The values of the diagnostic counters which the NET unit keeps for the station. The
counters have the following meaning:

1. Suspension information (0 = OK, 1 = suspended)

2. Suspension counter
3. Transmitted data messages
4. Transmitted command messages
5. Transmitted confirmation messages
6. Received data messages
7. Received command messages
8. Received confirmation messages
9. Received unknown messages

Data type:

Integer

Value:

1... 65535

Index range:

1... 20

Access: Read-only

background image

1MRS752012-MEN

COM 500

31

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

262EMHFW6

WDWXV

The current object status of the IEC slave station. When the value 1 is written to this
attribute, the slave station retransmits its current status code.

Data type:

Integer

Value:

0… 65535

Access:

Read-only, the values can be reset

67

6<6:DLWLQJ7LPH

The maximum time that the slave station waits for a reply from the base system.

Data type:

Integer

Value:

0... 60000

Unit:

Milliseconds

Default value:

5000

Access: No

limitations

57

$FWLYDWLRQ5HSO\7LPHRXW

The maximum time the IEC master station waits for an application layer command.

Data type:

Integer

Value:

0... 255

Unit:

Seconds

Default value:

10

&7

$FWLYDWLRQ7HUPLQDWLRQ7LPHRXW

The maximum time the IEC master station waits for a positive or negative
acknowledgement.

Data type:

Integer

Value:

0... 255

Unit:

Seconds

Default value:

60

Access: No

limitations

Autodialling attributes

MicroSCADA provides support for the autocaller functionality for the IEC 60870-
5-103 master protocol. An autocaller is a modem with functions for automatic dial-
up. The dial-up can be initiated by the IEC master or the IEC slave.

The autocaller must use the AT (Hayes) command set. Note that when using odd or
even parity, the modem must support 11-bit word length. In some cases, this feature
must be enabled by using the AT commands. Please refer to the documentation of
the modem used for further details.

background image

32

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

The following autocaller attributes are valid for the IEC 60870-5-103 master lines:

$&

$XWRFDOOHU(QDEOHG

The AC attribute states whether an autocaller is connected to the line (value 1) or not
(value 0).

Data type:

Integer

Value:

0 or 1

Default value:

0

Access:

No limitations

$6$XWRFDOOHU6

WDWH

This attribute indicates the state of the autocaller.

Data type:

Integer

Value:

0... 4

0 = IDLE, ready to make a call

1 = CONNECTED, transmission is activated

2 = BUSY, autocaller is dialling

3 = INITIAL, autocaller is uninitialised

4 = CONFIGURE, the IU attribute of the line is set to 0

Default value:

0

Access:

Read-only

&/

&RQQHFWLRQ7LPH/LPLWHG

This attribute determines whether a time limit has been set to the connection (value
1) or not (value 0). The maximum duration of the connection is determined by the
CT attribute.

Data type:

Integer

Value:

0 or 1

Default value:

0

Access:

No limitations

&7

&RQQHFWLRQ7LPH

The maximum time that a connection is allowed to last. The attribute is significant
only if time limiting is activated (CL = 1).

Data type:

Integer

Value:

1... 255

Unit:

Seconds

Default value:

0

Access:

No limitations

background image

1MRS752012-MEN

COM 500

33

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

&1

&RQQHFWLRQ

The CN attribute is used for dialling devices from NET and for breaking telephone
connections. This attribute has significance only in the unbalanced mode.

A call to a station or workstation is initiated by writing the phone number to the CN
attribute. The NET unit then commands the autodialling modem to dial the number.
The success of the dialling is reported as a system message. Writing an empty string
to CN breaks the connection. When dialling a station, the link address of the station
should be given at the end of the phone number string, preceded by the letter "

6".

This option is normally used to increase the communication performance on
multidrop lines. The station number has significance only in the unbalanced mode
(several stations on one line).

Data type:

Text

Value:

Text string of maximum 25 characters

Default value:

Empty text string

Access:

No limitations

([DPSOH

#SET NET1:SCN5 = "123456789S11"

&6&RQQHFWHG6

WDWLRQ

The link address of the station a NET unit is communicating with.

Data type:

Integer

Value:

0... 65535

0 = autocaller not defined or no communication

Default value:

0

Access:

Read-only

''

5DGLR'LVFRQQHFWLRQ'HOD\

Delay between the last data transfer and line disconnection.

Data type:

Integer

Value:

1... 255

Unit:

Seconds

Default value:

0

Access:

No limitations

0&

0RGHP&RPPDQG

Using this attribute, a modem can be controlled directly from SCIL with the AT/
Hayes commands. When an AT command is written to the MC attribute, it is
transmitted to the modem on the line. The response from the modem is read using
the same attribute.

Data type:

Text

Value:

Text string, an AT/Hayes command

Default value:

0

background image

34

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

Access:

No limitations

([DPSOH

#SET NET1:SMC3 = ("AS0?")’

3&

3XOVH'LDOOLQJ

This attribute determines the dialling principle used.

Data type:

Integer

Value:

0 = tone dialling
1 = pulse dialling

Default value:

0

Access:

No limitations

5&

5HPRWH&DOOV(QDEOHG

The RC attribute states whether remote calls are enabled on a line, i.e., if the NET
unit can be called from the stations connected to the line in question.

Data type:

Integer

Value:

0 = remote calls not enabled
1 = remote calls enabled

Default value:

0

Access:

No limitations

5:

5DGLR&RQQHFWLRQ:DLW7LPH

Normally the DCD (Data Carrier Detect) signal is used to indicate an active
connection. There are cases, however, e.g. on radiotelephone lines using half-duplex
links, where this is not possible. The RW attribute defines the waiting time in
seconds in such a situation: from the finishing of the dialling until the transmission
is started.

Data type:

Integer

Value:

0... 255

Unit:

Seconds

Default value:

0

Access:

No limitations

65

$XWRFDOOHU$765HJLVWHU

The S registers used by the autocallers follow the AT (Hayes) de facto standard.

All the autocallers which use the AT command set have a number of S registers. The
number of registers used and the meaning of the individual registers slightly varies
from one autocaller model to another. The contents of the S registers are therefore
not described in this document. Please refer to the modem manuals.

Using the SR attribute, the S registers number 2, 6, 7, 8, 9, 10, 11 and 12 are
accessed. By using the MC attribute (see above), other S registers can also be
accessed. The S registers 11 and 12 cannot be set.

background image

1MRS752012-MEN

COM 500

35

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

Data type:

Integer

Value:

See the modem manuals

Indexing:

Seconds

Access:

100 * line number + register number

([DPSOH

The S register number 6 of line 2 in NET1 is set = 4:

#SET NET1:SSR206 = 4

Examples of communication system configuration

The following SCIL procedures make the communication system configuration
which is related to the base system configuration example presented earlier in this
document. The first procedure creates an IEC 60870-5-103 slave line and two
stations on this line.

;***************************************************************************

; INPUT PARAMETERS

@NET = 3 ; NODE NUMBER OF THE PC-NET

@LINE = 1 ; LINE NUMBER

@STATIONS = (1,2) ; MASTER STATION NUMBERS

@APPLIC = 1 ; APPLICATION NUMBER

;

***************************************************************************

; CREATE A IEC 60870-5-103 MASTER LINE TO NET

#IF NET’NET’:SPO’LINE’==0 #THEN #BLOCK

#SET NET’NET’:SPO’LINE’ = 33

;IEC 60870-5-103

;master

#SET NET’NET’:SLK’LINE’ = 4

;link type

#SET NET’NET’:SPD’LINE’ = 500

;polling delay (ms)

#SET NET’NET’:SRI’LINE’ = 5

;receiver disabling time (ms)

#SET NET’NET’:SPL’LINE’ = 10

;polling limit

#SET NET’NET’:SPP’LINE’ = 10

;polling period(ms)

#SET NET’NET’:SRP’LINE’ = 1

;reply polling

#SET NET’NET’:SSD’LINE’ = "COM1" ;system device name

#SET NET’NET’:SMS’LINE’ = %APPLIC

;message application

#SET NET’NET’:SMI’LINE’ = %LINE+(6000+(%NET*100)) ;message identifier

#SET NET’NET’:SBR’LINE’ = 19200 ;baud rate

#SET NET’NET’:SPY’LINE’ = 2

;parity

#SET NET’NET’:SRD’LINE’ = 8

;receive bit count

#SET NET’NET’:STD’LINE’ = 8

;transmit bit count

#SET NET’NET’:SSB’LINE’ = 1 ;stop bit count

#SET NET’NET’:SPS’LINE’ = 20

;buffer pool size

#SET NET’NET’:SDE’LINE’ = 50

;CTS delay (ms)

#SET NET’NET’:SHT’LINE’ = 2000

;header timeout (ms)

#SET NET’NET’:STI’LINE’ = 2

;timeout interval (s)

#SET NET’NET’:STW’LINE’ = 0

;transmission wait delay (ms)

#SET NET’NET’:SRK’LINE’ = 0

;RTS keep up padding characters

#SET NET’NET’:SEN’LINE’ = 3

;enquiry limit

#BLOCK_END

;***************************************************************************

; CREATE IEC 60870-5-103 MASTER STATIONS TO NET

#LOOP_WITH I = 1..LENGTH(%STATIONS)

@STA=%STATIONS(%I)

#SET NET’NET’:SDV(29)

= (%STA,%LINE);create station to line

#SET STA’STA’:SAL

= 1

;allocated

background image

36

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

#SET STA’STA’:SAS

= %APPLIC ;allocating application

#SET STA’STA’:SMI

= 1000+%STA;message identification

#SET STA’STA’:SMS

= %APPLIC ;message application

#SET STA’STA’:SSE

= 1 ;system messages enabled

#SET STA’STA’:SSA

= %STA

;station address

#SET STA’STA’:SSL

= 2 ;station address length (bytes)

#SET STA’STA’:SPA

= %STA ;polling address link address)

#SET STA’STA’:SPL

= 1 ;polling address length (bytes)

#SET STA’STA’:SIL

= 2 ;info addr. length (bytes)

#SET STA’STA’:SCL

= 1 ;COT length (bytes)

#SET STA’STA’:SCA

= 32000 ;command address

#SET STA’STA’:SST

= 5000 ;SYS waiting time (ms)

#SET STA’STA’:SRT

= 10 ;application reply timeout (s)

#SET STA’STA’:SCT

= 60 ;application termin. timeout (s)

#SET STA’STA’:SSU

= 0 ;summer time (0=no, 1=yes)

#SET STA’STA’:SRW

= 10 ;reply window size

#SET STA’STA’:SML

= 230 ;max. message length

#SET STA’STA’:SDR

= 0 ;direction

#SET STA’STA’:SRM

= 0 ;running mode

#SET STA’STA’:SIU

= 1 ;set station in use

#LOOP_END

; Set line in use

#SET NET’NET’:SIU’LINE’ = 1

The second example is for an IEC 60870-5-103 master line with dial-up and two IEC
stations.

;***************************************************************************

; INPUT PARAMETERS

@NET = 3 ; NODE NUMBER OF THE PC-NET

@LINE = 2 ; LINE NUMBER

@STATIONS = (1,2) ; MASTER STATION NUMBERS

@APPLIC = 1 ; APPLICATION NUMBER

;***************************************************************************

; CREATE A IEC 60870-5-103 MASTER DIAL-UP LINE TO NET

#IF NET’NET’:SPO’LINE’==0 #THEN #BLOCK

#SET NET’NET’:SPO’LINE’ = 31

;IEC 60870-5-103

;master

#SET NET’NET’:SLK’LINE’ = 1

;link type

#SET NET’NET’:SPD’LINE’ = 500

;polling delay (ms)

#SET NET’NET’:SRI’LINE’ = 5

;receiver disabling time (ms)

#SET NET’NET’:SPL’LINE’ = 10

;polling limit

#SET NET’NET’:SPP’LINE’ = 10

;polling period(ms)

#SET NET’NET’:SRP’LINE’ = 1

;reply polling

#SET NET’NET’:SSD’LINE’ = "COM1"

;system device name

#SET NET’NET’:SMS’LINE’ = %APPLIC

;message application

#SET NET’NET’:SMI’LINE’ = %LINE+(6000+(%NET*100)) ;message identifier

#SET NET’NET’:SBR’LINE’ = 19200 ;baud rate

#SET NET’NET’:SPY’LINE’ = 2

;parity

#SET NET’NET’:SRD’LINE’ = 8

;receive bit count

#SET NET’NET’:STD’LINE’ = 8

;transmit bit count

#SET NET’NET’:SSB’LINE’ = 1

;stop bit count

#SET NET’NET’:SPS’LINE’ = 20

;buffer pool size

#SET NET’NET’:SDE’LINE’ = 50

;CTS delay (ms)

#SET NET’NET’:STW’LINE’ = 0

;transmission wait delay (ms)

#SET NET’NET’:SHT’LINE’ = 50

;header timeout (ms)

#SET NET’NET’:STI’LINE’ = 50

;timeout interval (ms)

#SET NET’NET’:SRK’LINE’ = 0

;RTS keep up padding

;characters

#SET NET’NET’:SEN’LINE’ = 3

;enquiry limit

#SET NET’NET’:SAC’LINE’ = 1

;autocaller enabled

background image

1MRS752012-MEN

COM 500

37

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

3. Instructions

3

#SET NET’NET’:SIU’LINE’ = 1

;set line in use, initialize

;modem

#BLOCK_END

;*************** Configure Autocaller *************************************

#SET NET’NET’:SIU’LINE’ = 0

#SET NET’NET’:SCL’LINE’ = 0

;connection time limited

#SET NET’NET’:SCT’LINE’ = 0

;connection time

#SET NET’NET’:SDD’LINE’ = 0

;radio disc. delay

#SET NET’NET’:SPU’LINE’ = 0

;pulse dialing

#SET NET’NET’:SRC’LINE’ = 0

;remote calls enabled

#SET NET’NET’:SRW’LINE’ = 0

;radio connection wait time

#SET NET’NET’:SIU’LINE’ = 1

;***************************************************************************

; CREATE IEC 60870-5-103 MASTER STATIONS TO NET

#LOOP_WITH I = 1..LENGTH(%STATIONS)

@STA=%STATIONS(%I)

#SET NET’NET’:SDV(29)= (%STA,%LINE);create station to line

#SET STA’STA’:SAL = 1

;allocated

#SET STA’STA’:SAS = %APPLIC

;allocating application

#SET STA’STA’:SMI = 1000+%STA

;message identification

#SET STA’STA’:SMS = %APPLIC

;message application

#SET STA’STA’:SSE = 1

;system messages enabled

#SET STA’STA’:SSA = %STA

;station address

#SET STA’STA’:SSL = 2

;station address length (bytes)

#SET STA’STA’:SPA = %STA

;polling address link address)

#SET STA’STA’:SPL = 1

;polling address length (bytes)

#SET STA’STA’:SIL = 2

;info addr. length (bytes)

#SET STA’STA’:SCL = 1

;COT length (bytes)

#SET STA’STA’:SCA = 32000

;command address

#SET STA’STA’:SST = 5000

;SYS waiting time (ms)

#SET STA’STA’:SRT = 10

;application reply timeout (s)

#SET STA’STA’:SCT = 60

;application term. timeout (s)

#SET STA’STA’:SSU = 0

;summer time (0=no, 1=yes)

#SET STA’STA’:SRW = 10

;reply window size

#SET STA’STA’:SML = 230

;max. message length

#SET STA’STA’:SDR = 0

;direction

#SET STA’STA’:SRM = 0

;running mode

#SET STA’STA’:SIU = 1

;set station in use

#LOOP_END

;dial number 123456789 and start polling link address 1

#SET NET’NET’:SCN’LINE’ = "123456789S1" ;connection

3.3.

After configuration

For each input signal from the process devices, the process database should contain
a process object whose value changes after process data is received. For each
command there should be an output process object. You should also create the bit
stream process object that receives transparent SPA messages from the slave.

Besides the configuration of the base and communication system, you also need to
configure the IEC slave.

background image

38

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

3. Instructions

Configuration Guide

3.4.

How to test the configuration

When the slave and master stations have been physically tested and the
configuration has been completed, the connection and configuration can be tested
based on the following methods:

• Clear to Send (CTS) and Carrier Detect (DCD) signals. With the IEC master

protocols both the Clear to Send and Carrier Detect signals are always active.

• Diagnostic counters. When the communication between the slave and the master

is running properly and data is moving on the line, the diagnostic counters
indicating the number received and transmitted data messages should be
incrementing.

• By connecting a serial line analyser to the IEC 60870-5-103 line.

3.5.

Serial cable wiring diagram

When connecting the IEC master to a MicroSCADA IEC slave using a direct serial
cable, the wiring illustrated by Figure 3.5.-1 should be used:

)LJ 6HULDOFDEOHZLULQJGLDJUDP

background image

1MRS752012-MEN

COM 500

39

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

4. Technical

description

4.1.

General

4.1.1.

IEC 60870-5-103 Protocol

The IEC Technical Committee 57 (Working Group 03) has developed a protocol
standard for telecontrol, teleprotection and associated telecommunications for
electric power systems. The result of this work is IEC 60870-5. The five documents
listed in Chapter 1 specify the base of IEC 60870-5.

The IEC Technical Committee 57 has also generated a companion standard IEC
60870-5-103 for telecontrol equipment and systems with coded bit serial data
transmission for monitoring and controlling processes. This standard utilises the
series of documents of IEC 60870-5.

IEC 60870-5-103 is designed according to the Enhanced Protocol Architecture
(EPA) and it specifies the following Open Systems Interconnection (OSI) layers:

• Physical layer

• Data link layer

• Application layer

The physical layer can be any bit-serial physical layer, such as RS-232 C, RS-485
or fibre transceiver. In MicroSCADA the communication takes place by using the
serial port(s) of the base system computer. The interface used is RS-232 C.

4.1.2.

Level of implementation

In IEC 60870-5-103 the application level messages are called Application Service
Data Units (ASDUs). Each ASDU consists of one or several information objects
that contain the actual user data. MicroSCADA supports the ASDUs presented in
Table 4.1.2-1.

Table 4.1.2-1

Application Service Data Units supported by MicroSCADA

Type id

Description

Monitoring Direction

1

Time-tagged messages

2

Time-tagged messages with relative time

3

Measurands I

4

Time-tagged measurands with relative time

5

Identification

6

Time synchronisation

8

General interrogation termination

9

Measurands II

10

Generic data

11

Generic identification

23

List of recorded disturbance

26

Ready for transmission of disturbance data

1MRS752012-MEN

background image

40

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

Private range ASDUs 32-255 can be received to a bitstream process object, which
address is defined with the CA station attribute.

Generic data and disturbance data handling are left out from this document.

Each application level message contains one or more information objects. The
information object address is constructed from the function type and the
information number codes. The first octet of the information object defines the
function type of the protection equipment used. The user can also define private
function types. Standard function types are defined in the following table.

Table 4.1.2-2

Standard function types

It is also possible to use function types from a private range. The use of such
functions is left open in this document.

27

Ready for transmission of a channel

28

Ready for transmission of tags

29

Transmission of tags

30

Transmission of disturbance values

31

End of transmission

Controlling Direction

6

Time synchronisation

7

General interrogation

47

Generic data

48

General command

49

Generic command

50

Acknowledgement for disturbance data transmission

Type id

Description

Function type

Parameter in Controlling Direction

128

Distance protection

160

Overcurrent protection

176

Transformer differential protection

192

Line differential protection

254

Generic function type

255

Global function type

background image

1MRS752012-MEN

COM 500

41

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

The information number of the protection equipment is defined by the second
object of the information object. It is defined in the following tables.

Table 4.1.2-3

Information number ranges

Table 4.1.2-4

Data in monitor direction

Monitor direction

0... 15

System functions

16... 31

Status

32... 47

Supervision

48... 63

Earth fault

128... 143

Auto-reclosure

144... 159

Measurands

240... 255

Generic functions

Control direction

0... 15

System functions

16... 31

General command

240... 255

Generic functions

Information

number

ASDU

Type

Description

System functions in monitoring direction

0

8

End of general interrogation

0

6

Time synchronisation

2

5

Reset FCB

3

5

Reset CU

4

5

Start/Reset

5

5

Power On

Status indications in Monitoring Direction

16

1

Auto-recloser active

17

1

Teleprotection active

18

1

Protection active

19

1

LED reset

20

1

Monitor direction blocked

21

1

Test mode

22

1

Local parameter setting

23

1

Characteristic 1

24

1

Characteristic 2

25

1

Characteristic 3

26

1

Characteristic 4

27

1

Auxiliary input 1

28

1

Auxiliary input 2

background image

42

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

29

1

Auxiliary input 3

30

1

Auxiliary input 4

Supervision indications in Monitoring direction

32

1

Measurand supervision I

33

1

Measurand supervision V

35

1

Phase sequence supervision

36

1

Trip circuit supervision

37

1

I >> back-up supervision

38

1

Voltage transformer fuse failure

39

1

Teleprotection disturbed

46

1

Group warning

47

1

Group alarm

Earth fault indications in monitoring direction

48

1

Earth fault 1

49

1

Earth fault 2

50

1

Earth fault 3

51

1

Earth fault forward

52

1

Earth fault reverse

Fault indications in monitoring direction

64

2

Start/pick-up L1

65

2

Start/pick-up L2

66

2

Start/pick-up L3

67

2

Start/pick-up N

68

2

General trip

69

2

Trip L1

70

2

Trip L2

71

2

Trip L3

72

2

Trip I>>

73

4

Fault location in X ohms

74

2

Fault forward/line

75

2

Fault reverse/busbar

76

2

Teleprotection signal transmitted

77

2

Teleprotection signal received

78

2

Zone 1

79

2

Zone 2

80

2

Zone 3

81

2

Zone 4

82

2

Zone 5

Information

number

ASDU

Type

Description

background image

1MRS752012-MEN

COM 500

43

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

83

2

Zone 6

84

2

General start/pick-up

85

2

Breaker failure

86

2

Trip measuring system L1

87

2

Trip measuring system L2

88

2

Trip measuring system L3

89

2

Trip measuring system E

90

2

Trip I>

91

2

Trip I>>

92

2

Trip IN>

93

2

Trip IN>>

Auto-reclosure indications in monitoring direction

128

1

Circuit breaker ‘on’ by auto-recloser

129

1

Circuit breaker ‘on’ by long-time auto-recloser

130

1

Auto-recloser locked

Measurands in monitoring direction

144

3

Measurand I

145

3

Measurand I, V

146

3

Measurand I, V, P, Q

147

3

Measurand In, Ven

148

9

Measurand I

L1,2,3

, V

L1,2,3

, P, Q, F

Information

number

ASDU

Type

Description

background image

44

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

Table 4.1.2-5

Data in control direction

For further details see the IEC 60870-5-103 interoperability list for MicroSCADA
in the end of this document.

4.2.

Communication

This chapter gives a more detailed description of the implementation of the IEC
60870-5-103 master protocol in MicroSCADA. The attributes that can be used for
device communication are also described. Examples of how to exchange data
between the master and the slave are given in this chapter along with information
about the IEC 60870-5-103 status codes.

IEC 60870-5-103 uses an unbalanced communication mode where a master station
controls the data traffic by polling the outstations sequentially. In this case the
master is the primary station that initiates all the message transfer. The outstations
are secondary stations (slaves) that may transmit only when they are polled.

4.2.1.

Protocol converter

Each IEC 60870-5-103 master station configured on a line of a NET unit acts as a
protocol converter between the IEC 60870-5-103 protocol and a base system. An
internal protocol of MicroSCADA is used in communication between the
MicroSCADA nodes, for example, between a base system and a NET unit.

In IEC60870-5-103 the data sent from the slave to the master can be divided in two
classes: class 1 and class 2. By default, the master polls class 2 and the slave tells in
reply when it has data for request in class 1.

Information

number

ASDU

Type

Description

System functions

0

7

Initialisation of general interrogation command

0

6

Time synchronisation

Supervision indications in monitoring direction

16

20

Auto-recloser on/off

17

20

Teleprotection on/off

18

20

Protection on/off

19

20

LED reset

23

20

Activate characteristic 1

24

20

Activate characteristic 2

25

20

Activate characteristic 3

26

20

Activate characteristic 4

Response is
with same
information
number

1

Response

background image

1MRS752012-MEN

COM 500

45

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

Addressing

In IEC 60870-5-103 there are three kinds of addresses:

/LQNDGGUHVV: the address of the IEC link. This address is defined by the PA
(Polling Address) attribute of the IEC station. In most cases it is the same as the
station address.

6WDWLRQDGGUHVV:a common address of an ASDU. There can be several common
addresses of an ASDU with the same link address. This address is defined by the
SA (Station Address) attribute of the IEC station.

6LJQDODGGUHVV:aninformation object identifier. This address is unique for each
signal with the same common address of an ASDU. The information object
identifier is constructed from two octets:

• The first octet is for Function Type, 0... 255. It defines the type of

the protection equipment used.

• The second octet is for Information Number, 0... 255. It defines the

type of the information within a given function type.

MicroSCADA supports only unstructured addresses. However, this does not prevent
communication with the IEC slaves by using structured addresses, since the two
types of addresses just demonstrate two different ways of presenting the same
address. For example, a two-byte address can be represented as follows:

unstructured = 256*upper byte(Information Number) + lower byte(Function Type).

In MicroSCADA both the input and output process objects share the same address
range, which means that there can not be two process objects with overlapping
addresses. If the user wants this feature, e.g. a command and the corresponding
indication having the same address, it can be achieved by using offsets that are
outside the information address range limited by the information object identifier
length. The offset used must be large enough to set only the bits of the information
object address that are more significant than the bits within the information object
identifier range (0... 65535).

([DPSOH

(bits numbered from 0 to 15)

16 bit addresses

Information object address 2000 (decimal) = 00000011111010000 (binary)

Offset = 131072 (decimal) = 100000000000000000 (binary), sets bit 16

Address for indication = 2000 (decimal) = 00000011111010000 (binary)

Address for command = 2000 + 131072 = 133072 (decimal) =
00000011111010000 (binary)

The NET unit interprets both addresses as 2000, since bits above the information
object identifier range are left out.

background image

46

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

4.2.2.

Device communication attributes

*,

*HQHUDO,QWHUURJDWLRQ

Setting this attribute sends a general interrogation command (ASDU 7) to the IEC
slave station.

By setting 1 to the GI attribute a general interrogation message is generated. By
using the vector value, the user can define the scan number (SCM) byte value in the
given vector parameter. The received confirmation must have the same value in the
supplementary information (SIN) field. In this case the first parameter of the vector
is unused.

Data type:

Vector or integer

Value:

Vector (ENA,[SCM]) or integer 1

Access: No

limitations

'HVFULSWLRQRIWKHYHFWRUSDUDPHWHUV

ENA:

No defined meaning

SCM:

Scan number

6<

6\QFKURQLVH

The SY attribute is used to make an accurate time synchronisation of IEC stations.
No time arguments are needed since the time sent in the synchronisation message is
taken from the internal clock in MicroSCADA. Stations can be synchronised one by
one or by using a broadcast synchronisation message, which synchronises all the
stations configured on an IEC line.

Data type:

Vector

Value:

Vector (COT, [BRO])

Access: Write-only

'HVFULSWLRQRIWKHYHFWRUSDUDPHWHUV

COT:

Cause of transmission of the synchronisation messages. Valid
values: 8 = time synchronisation.

BRO:

Broadcast, determines whether the synchronisation message is a
broadcast message (value 1) or not (value 0). If omitted, value 0
is assumed.

&2

&RPPDQG2XW

The CO attribute can be used for generating command messages to IEC stations. All
kinds of commands can be generated: data commands, application commands and
system commands. Transparent data and messages related to disturbance data in the
command direction are also sent by using the CO attribute.

The data content of the command, which in the IEC standards is called a set of
information objects, is given as transparent data, octet by octet. Note that the user is
responsible for the validity of the data content. For more information, please refer to
the IEC standards listed in Chapter 1.

Data type:

Vector

background image

1MRS752012-MEN

COM 500

47

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

Value

Vector (TYPE, ADDR, COT, DATA)

Value range:

0... 65535

Access: Write-only

Indexing

RID; this parameter specifies which response ASDU ID
(data in monitoring direction) is used as a reply message
to the command sent by the CO attribute. This response
message is also sent to the bitstream process object of the
base system (where OA = CA-attribute). The termination
process object is not updated. If RID is not given or its
value is 0, the CO-command behaves as it was an ASDU
20 ‘general command’. If a non-blocking bit is set in RID,
the process commands are possible to send, although the
NET waits for a reply to a CO-command. If the private
response bit is set in RID, the expected reply ASDU is
from the private range, i.e. transparent SPA commands.

Table 4.2.2-1

RID parameter

'HVFULSWLRQRIWKHYHFWRUSDUDPHWHUV

TYPE:

Type identification of the ASDU, integer. This parameter can be
a type identification given in the IEC 60870-5-103 companion
standard or a private one. Examples of type identifications of
command messages are given in the table below.

If the Type Identification octet is 255 (0xFF), the value is used
as a 16 bits WORD whose upper byte is set to VSQ byte of
message.

Sending the Transparent SPA messages in the IEC 60870-5-103
message format is described in Section 4.2.5.

Table 4.2.2-2

Examples of type identifications of command messages

RID: set of bits <abnnnnnnnn> where

n

<0>

ASDU 1 with COT 20/21 or ASDU 10 with COT 40/ 41 is
a reply to the CO-command

<1... 255> response ASDU ID

b

<0>

blocking mode

<1>

non-blocking mode

a

<1>

next private range response (ASDU ID <32-255>) is a
valid reply to the CO-command

Type id

Description

6

Time synchronisation

7

General interrogation

47

Generic data

background image

48

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

ADDR:

Information object identification of the command, integer.
Consists of Function Type and Information Number.

COT:

Cause of transmission of the message, integer. This parameter
describes the reason why a message is sent. The causes of
transmission shown in Table 4.2.2-3 are valid when using the
CO attribute.

Table 4.2.2-3

The causes of transmission valid for the CO attribute

DATA:

The set of information objects of the command as integers. Each
integer corresponds to one octet in the IEC message.

Some examples of the use of the CO attribute are presented below.

;general interrogation, scan number 0

#SET STA’STA_NR’:SCO = (7,(255+256*0),9,0)

;auto-recloser off command, address 4256

;return information identifier 0 (obligatory)

#SET STA’STA_NR’:SCO = (20,(160+256*16),20,1,0)

4.2.3.

Data in monitoring direction

Data in monitoring direction, i.e. from the slave to the master, is received by IEC
type process objects. Data in monitoring direction includes, for example, indications
and measured values. The relation between the IEC 60870-5-103 ASDUs and
MicroSCADA process object types is presented in Table 4.2.3-1:

Table 4.2.3-1

Relations between the MicroSCADA process object types and
IEC 60870-5-103 ASDUs

48

General command

49

Generic command

50

Acknowledgement for disturbance data transmission

Type id

Description

COT

Description

8

Time synchronisation

9

Initialisation of general interrogation

20

General command

31

Transmission of disturbance data

40

Generic write command

42

Generic read command

Type id

Description

Process object type

1, 2

Double point information

Double binary input

3, 4, 9

Measured value

Analog input

10, 11, 23,
27, 28, 29,
30, 31

Generic functions, disturbance
data handling

Bit stream

background image

1MRS752012-MEN

COM 500

49

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

Binary inputs

Binary indications are always double binary information in IEC 870-5-103. Double
indications (ASDUs 1, 2) are received by double binary indication process objects.
Note that in MicroSCADA the double indication values 1 and 2 are reverse
compared to the ones in the IEC message, in order to make them equal to the double
binary values of other master protocols implemented in MicroSCADA.

Analog inputs and digital inputs

Measured values (ASDUs 3, 4 and 9) can be received by analog input process
objects. The value ranges of the ASDUs are as shown in Table 4.2.3-2.

Table 4.2.3-2

Value ranges of measured value and step position ASDUs

ASDUs 3 and 9 are for normal measurands. ASDU 4 is for fault location. Fault
location does not set status (OS) or overflow (OF) attributes in process objects.

If the value of the measure and the value sent from the IEC slave is larger than the
value range of the ASDUs 2 or 9, the value is limited to the range and the overflow
bit of the quality descriptor is set. This bit is sent to the OR attribute of the process
object. The value has also an invalid flag, which is shown as an invalid value in the
process object’s OS attribute.

Frames within ASDUs 3 or 9, where there are several information elements e.g.
measurements, only the first information element uses the base address. The rest of
the information elements are addressed as follows.

Measurement address = basic address+ (n-1) x 1000000(hex)

n = number of information elements (measurements) in frame.

ASDU 4 represents fault location information where short-circuit location is written
to the OV attribute. Relative time at the beginning of a short circuit is written to the
RA attribute and fault number to the process object’s RB attribute. This event has
also a normal time tag, which is written to the process object’s RT and RM
attributes.

!

In the polling schema of the IEC103 protocol, device responses always contains
data. The data consists usually of current analog input values. These continous
analog input process object updates generates load in the MicroSCADA basesystem
and some delta value should be used in the process objects.

Type id

Value type

Value range

Value in MicroSCADA

6, 32

Step position

–64... 63

Integer –128... 127

9, 10, 34

Normalised

-1... (1-2^-15)

Integer –32768... 32767

11, 12

Scaled

–32768... 32767

Integer –32768... 32767

13, 14, 36

Short floating point 32-bit float

Real

background image

50

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

Disturbance and generic data

It is possible to receive disturbance data and generic data to process the database.
However, it is left out of this document. In case you need more information related
to this subject, contact your local supplier.

4.2.4.

Data in control direction

Data that is sent from the IEC master to the IEC slave or slaves are called data in
control direction. This data includes the data command, application command and
system command messages. These messages are described in this section.

4.2.4.1.

Command handling in IEC 60870-5-103 protocol

Command confirmation

The IEC 60870-5-103 protocol includes the concept of command confirmations.
Basically a confirmation is a message sent by the slave indicating that a command
has been received, executed or rejected. Commands are confirmed in two steps as
follows:

• A command is

FRQILUPHG when it is received in a link layer. A confirmation can

be positive (command accepted) or negative (command rejected). The status
ICCC_NEGATIVE_CONFIRMATION indicates of the latter.

• A command is

DFNQRZOHGJHG when its execution is finished. An

acknowledgement can be positive (command successfully completed)
or negative (command failed).

The following exceptions apply:

• The slave device does not respond a clock synchronisation command (ASDU 6).

Termination messages can be received by analog input or IEC command termination
process objects with the UN attribute equal to the STA object number of the IEC
master station and the OA attribute equal to command address + offset. Offset is
2000000 hexadecimal = 33554432 decimal. The OV attribute of the process object
provides the following information presented in Table 4.2.4.1-1:

Table 4.2.4.1-1

Values of the process object receiving activation
confirmations and terminations

The length of the activation confirmation and termination timeouts is determined by
the RT and CT attributes of the IEC master station, respectively.

Values

Description

0

Positive acknowledgement

1

Link layer negative acknowledgement received

2

No link layer acknowledgement

3

No command acknowledgement received

4

Negative acknowledgement

background image

1MRS752012-MEN

COM 500

51

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

Command transactions

In the MicroSCADA implementation of the IEC 60870-5-103 master protocol only
one data object command transaction can be open at the same time. This means that
while an IEC master station waits for a termination to a data, application or system
command, a new command cannot be issued. The status

13867 ICCC_CONFIRMATION_OF_CMD_IS_NOT_READY

is returned in this situation.

4.2.4.2.

Data commands

Object commands

Object commands (e.g. switching device open/close commands) are sent to the IEC
slave by setting a binary output process object or by using the CO attribute of the
IEC station. The used ASDU is 20 (generic command). The unit number (UN
attribute) of the output process object must be the same as the STA object number
of the corresponding IEC master station. The address of the process object must
equal to the address of the command in the IEC slave. IEC object commands are
direct commands.

The value set to the process object is a list of attributes. The attributes included in
the list are shown in Table 4.2.4.2-1. Optional attributes are indicated with an
asterisk (*).

Table 4.2.4.2-1

Process object attributes included in an IEC object
command

([DPSOH

;binary command, protection on

#SET ’LN’:POV’IX’ = LIST(OV=1,CT=20,TY=265*20+16)

4.2.4.3.

General interrogation command

When the IEC slave station receives a general interrogation command (ASDU 7)
from the master, it must send all the selected input signals to the master without time
tag. The cause of transmission is set to 9. Interrogation commands can be sent by
using the GI or CO attributes of the IEC master station as shown in the examples
below.

;activate general interrogation

#SET STA’STA_NR’:SGI = 1

;activate general interrogation with scan number 0

Attr.

Values

Default

Description

TY

The TY attribute is calculated from the equation
256*ASDU number + information number. The ASDU
value for general binary commands is 20. The
information number depends on the command type
and it is calculated from the object address.

OV

Value of the command 0 = off, 1 = on

CT

Cause of Transmission. With the general commands
this attribute has always the value 20.

background image

52

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

#SET STA’STA_NR’:SCO = (7,65365,9,0)

For a general interrogation command the NET needs only the ASDU type and
possibly the scan number. Other values in the vector are not used.

4.2.4.4.

Clock synchronisation command

The clock synchronisation commands (ASDU 6) are used for synchronising the
IEC slave stations. This command can be sent by using the SY attribute of the IEC
master station as shown below:

;activate broadcast synch

#SET STA’STA_NR’:SSY = (8,1)

;activate station synch

#SET STA’STA_NR’:SSY = (8,0)

4.2.5.

Transparent data commands

It is possible to exchange transparent messages between a MicroSCADA IEC slave
and an IEC master. Transparent messages are used for the transmission of SPA-bus
messages or any ASCII format messages to a device understanding these messages.
Transparent SPA messages are sent as commands to the slave by using the CO
attribute of the IEC master station and received by a bit stream process objects.

Transparent messages use a non-IEC103 defined data unit with a special structure
and function type. SPA-bus messages are in the data unit of the message in the same
format as they are sent and received from the SPA-bus devices.

The example shown in Figure 4.2.5.-1 has a MicroSCADA base system as a master,
and one device as the IEC slave. The following steps are taken according to Figure
4.2.5.-1.

Step

:

The SPA command “RF:” is sent from the IEC master to the IEC
slave as an encapsulated SPA message (ASDU 255) to address
56565 by using the TD attribute as in the following:

#SET STA1:SCO(512) = (65535,(245+256*220),255,82,70,58)

Index 512 indicates that the private range response is valid. The
first vector value sets the value 255 to the type and VSQ fields.
These have to be always the same. The COT value can be
anything. The values 82, 70, 58 are the ASCII-letters “RF:“
changed to a decimal format.

Step

:

The SPA reply message is received by a bit stream process
object with the UN attribute equal to the STA object number of
the IEC slave station. Attached to this process object is an event
channel, which activates a command procedure. The SPA
message is parsed by the command procedure as in the
following:

@SPA_MSG = TYPE_CAST(%BS,"TEXT")

In this case, the message can also be interpreted by using the TYPE_CAST function
to convert the message into text.

background image

1MRS752012-MEN

COM 500

53

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

)LJ

)ORZRIWKHWUDQVSDUHQW63$PHVVDJHV

By using a mechanism like the one described above, it is possible to read and write
the parameters of the SPA units over an IEC 60870-5-103 line. The same kind of
mechanism can also be used for other purposes, for example, exchanging free-
format text messages between the master and the slave.

background image

54

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

Table 4.2.5-1

Example: IEC103 transparent message sent by MicroSCADA

Table 4.2.5-2

Example: Transparent reply message sent by IEC 103 device

The end character ‘lf’ in the SPA-bus reply is left out from the data unit.

4.3.

Status codes

The following status codes are defined for the IEC 60870-5-103 master protocol.
Some typical reasons for some of the status codes are also given.

Status codes are sent as system messages, which can be received by analog input
project objects with a unit number (UN) 0 and an object address (OA) as determined
by the MI attribute of the line or station.

START CHARACTER 68H

LENGTH 13H

LENGTH 13H

START CHARACTER 68H

CONTROL 43H

ADDRESS

STRUCTURE TYPE FFH FFH

TRANSMISSION CAUSE N/A

ADDRESS

FUNCTION TYPE F5H

INFORMATION NUMBER DCH

SPA message. An example:

Read message >21R1I1:XXcr

CHECKSUM

END CHARACTER 16H

START CHARACTER 68H

LENGTH 15H

LENGTH 15H

START CHARACTER 68H

CONTROL 08H

ADDRESS

STRUCTURE TYPE FFH FEH

TRANSMISSION CAUSE 20H

ADDRESS

FUNCTION TYPE FFH

INFORMATION NUMBER DCH

SPA-reply message.

An example: <21D:2.13:XXcr

CHECKSUM

END CHARACTER 16H

background image

1MRS752012-MEN

COM 500

55

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

Link layer status codes

17600

IGTP_REMOTE_LINK_CONTINUOUSLY_BUSY
The Data Flow Control (DFC) bit of the messages from the slave is set
for more than 15 seconds.

17601

IGTP_TIMEOUT_WHILE_TRANSMITTING
The CTS signal or the end of transmitted message is not received in
correct time. The DE attribute controls the CTS waiting time; the
transmission time of the message is automatically calculated.

17602

IGTP_TIMEOUT_WHILE_WAITING_RESPONSE
Timeout while waiting for an acknowledgement to a message.

17604

IGTP_LINK_NOT_READY
The application level sends a command before the communication
between the master and the slave is established.

17605

IGTP_REMOTE_LINK_BUSY

17606

IGTP_REMOTE_LINK_NOT_RESPONDING
The master does not receive a reply from the slave.

17607

IGTP_LINE_ACTIVATED
The station has been set in use by using the IU attribute.

17608

IGTP_LINE_PASSIVATED
The station has been set out of use by using the IU attribute.

17610

IGTP_RECEIVER_OUT_OF_BUFFERS
Internal software error.

17611

IGTP_LINE_PASSIVATED
The autodialling system controls the line. IEC communication is not
possible until the line is activated with a call.

17611

IGTP_LINE_ACTIVATED
The line is activated by the autodialling system, but the handshaking
sequence between the master and the slave is not ready yet.

17620

IGPC_ILLEGAL_ATTRIBUTE_VALUE
The value written to one of the line attributes is incorrect.

Application layer status codes

13851

ICCC_INVALID_ATTRIBUTE_VALUE
The value set to an attribute of an IEC station is incorrect, e.g. one of
the elements of the vector written to the SD attribute is out of range.

13852

ICCC_INVALID_INDEX_RANGE
The index range used when accessing an attribute of an IEC station is
incorrect.

13853

ICCC_INVALID_ATTRIBUTE
The STA object attribute used is not valid for the IEC 60870-5-103
master protocol.

13854

ICCC_ASDU_TABLE_NOT_CREATED
Internal software error.

background image

56

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

4. Technical description

Configuration Guide

13855

ICCC_UNKNOWN_ASDU_NAME
The name of the ASDU written to a STA object attribute is not
supported.

13857

ICCC_MESSAGE_BUFFER_FULL
Internal software error. The value of the ML attribute may be too small.

13858

ICCC_MESSAGE_FILLING_ERROR
Internal software error. The value of the ML attribute may be too small.

13859

ICCC_UNKNOWN_ASDU
The number of the ASDU written to a STA object attribute is not
supported.

13862

ICCC_SC_DATA_OVERFLOW
Internal software error.

13863

ICCC_DEVICE_SUSPENDED
The IEC station is in the suspended state. The reason for this could be
that the link is not properly established (e.g. incorrect cable wiring) or
the slave station does not respond.

13864

ICCC_MESSAGE_SENDING_ERROR
Internal software error. This may be the result of a problem in wiring
or hardware.

13865

ICCC_REMOTE_DEVICE_REPLIES_WITH_NACK
The slave did not accept the message but responded with a negative
acknowledgement instead. Not used in the unbalanced mode.

13866

ICCC_LINK_NOT_READY
A message is sent to a line with a non-established communication.

13868

ICCC_OUT_OF_BUFFERS
Internal software error. Operation could not be completed since the
buffer pool has ran out of buffers.

13870

ICCC_CONFIRMATION_TIMEOUT
An activation confirmation to a command was not received from the
IEC slave in the time defined by the RT attribute.

13871

ICCC_NEGATIVE_CONFIRMATION
The activation confirmation received from the IEC slave was negative,
i.e. the command failed.

13872

ICCC_DEVICE_STOPPED
The station has been set out of use by using the IU attribute.

13873

ICCC_NO_ADDRESS_IN_ACP
Internal software error.

13875

ICCC_UNEXPECTED_TYPE_IN_ACP
Internal software error.

13876

ICCC_UNSUPPORTED_COMMAND_TYPE
The value of the TY attribute written to an output process object is not
a type id of a supported ASDU.

13877

ICCC_OV_VALUE_NOT_FOUND
The OV attribute is missing from the list written to an output process
object.

background image

1MRS752012-MEN

COM 500

57

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

4. Technical description

4

13879

ICCC_QL_VALUE_NOT_FOUND
The QL attribute is missing from the list written to an output process
object.

13880

ICCC_TY_VALUE_NOT_FOUND
The TY attribute is missing from the list written to an output process
object.

13881

ICCC_DEVICE_STARTED
The station has been set out of use by using the IU attribute.

background image
background image

1MRS752012-MEN

COM 500

59

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

5. Interoperability list

5

5.

Interoperability list

for Microscada IEC 60870-5-103 Master

Not supported

Supported both by the MicroSCADA base system and LIB 5xx application
software.

Supported by the MicroSCADA base system, but may need additional
application engineering.

5.1.

Physical layer

Electrical interface

EIA RS-485

Number of loads.................... for one protection equipment

RS-232

NOTE - EIA RS-485 standard defines unit loads so that 32 of them can be
operated on one line. For detailed information refer to clause 3 of the EIA
RS-485 standard.

Optical interface

Glass fibre

Plastic fibre

F-SMA type connector

BFOC/2,5 type connector

Depends on transceiver

Transmission speed

9 600 bit/s

19 200 bit/s

5.2.

Link layer

There are no choices for the link layer.

5.3.

Application layer

Transmission mode for application data

Mode 1 (the least significant octet first), as defined in clause 4.10 of IEC 60870-5-4,
is used exclusively in this companion standard.

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

background image

60

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

5. Interoperability list

Configuration Guide

COMMON ADDRESS of ASDU

One COMMON ADDRESS OF ASDU (identical with station address)

More than one COMMON ADDRESS OF ASDU

5.3.1.

Selection of standard information numbers in monitor
direction

System functions in monitor direction

,1)6HPDQWLFV

<0>

End of general interrogation

<0> Time synchronisation

<2> Reset FCB

<3> Reset CU

<4> Start/restart

<5> Power on

Status indications in monitor direction

,1)6HPDQWLFV

<16> Auto-recloser active

<17> Teleprotection active

<18> Protection active

<19> LED reset

<20> Monitor direction blocked

<21> Test mode

<22> Local parameter setting

<23> Characteristic 1

<24> Characteristic 2

<25> Characteristic 3

<26> Characteristic 4

<27> Auxiliary input 1

<28> Auxiliary input 2

<29> Auxiliary input 3

<30> Auxiliary input 4

background image

1MRS752012-MEN

COM 500

61

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

5. Interoperability list

5

Supervision indications in monitor direction

,1)6HPDQWLFV

<32> Measurand supervision I

<33> Measurand supervision V

<35> Phase sequence supervision

<36> Trip circuit supervision

<37> I>> backup operation

<38> VT fuse failure

<39> Teleprotection disturbed

<46> Group warning

<47> Group alarm

Earth fault indications in monitor direction

,1)6HPDQWLFV

<48> Earth fault L

1

<49> Earth fault L

2

<50> Earth fault L

3

<51> Earth fault forward, i.e. line

<52> Earth fault reverse, i.e. busbar

Fault indications in monitor direction

,1)6HPDQWLFV

<64> Start /pick-up L

1

<65> Start /pick-up L

2

<66> Start /pick-up L

3

<67> Start /pick-up N

<68> General trip

<69> Trip L

1

<70> Trip L

2

<71> Trip L

3

<72> Trip I>> (backup operation)

<73> Fault location X in ohms

<74> Fault forward/line

<75> Fault reverse/busbar

<76> Teleprotection signal transmitted

background image

62

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

5. Interoperability list

Configuration Guide

<77> Teleprotection signal received

<78> Zone 1

<79> Zone 2

<80> Zone 3

<81> Zone 4

<82> Zone 5

<83> Zone 6

<84> General start/pick-up

<85> Breaker failure

<86> Trip measuring system L

1

<87> Trip measuring system L

2

<88> Trip measuring system L

3

<89> Trip measuring system E

<90> Trip I>

<91> Trip I>>

<92> Trip IN>

<93> Trip IN>>

Auto-reclosure indications in monitor direction

,1)6HPDQWLFV

<128> CB ’on’ by AR

<129> CB ’on’ by long-time AR

<130> AR blocked

Measurands in monitor direction

,1)6HPDQWLFV

<144> Measurand I

<145> Measurands I, V

<146> Measurands I, V, P, Q

<147> Measurands I

N

, V

EN

<148> Measurands I

L1,2,3

, V

L1,2,3

, P, Q, f

Generic functions in monitor direction

,1)6HPDQWLFV

<240> Read headings of all the defined groups

background image

1MRS752012-MEN

COM 500

63

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

5. Interoperability list

5

<241> Read values or attributes of all the entries of one group

<243> Read directory of a single entry

<244> Read value or attribute of a single entry

<245> End of general interrogation of generic data

<249> Write entry with confirmation

<250> Write entry with execution

<251> Write entry aborted

5.3.2.

Selection of standard information numbers in control
direction

System functions in control direction

,1)6HPDQWLFV

<0> Initiation of general interrogation

<0> Time synchronisation

General commands in control direction

,1)6HPDQWLFV

<16> Auto-recloser on/off

<17> Teleprotection on/off

<18> Protection on/off

<19> LED reset

<23> Activate characteristic 1

<24> Activate characteristic 2

<25> Activate characteristic 3

<26> Activate characteristic 4

Generic functions in control direction

,1)6HPDQWLFV

<240> Read headings of all the defined groups

<241> Read values or attributes of all the entries of one group

<243> Read directory of a single entry

<244> Read value or attribute of a single entry

<245> General interrogation of generic data

<248> Write entry

<249> Write entry with confirmation

background image

64

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

COM 500

5. Interoperability list

Configuration Guide

<250> Write entry with execution

<251> Write entry abort

5.3.3.

Basic application functions

Test mode

Blocking of monitor direction

Disturbance data

Generic services

Private data

5.3.4. Miscellaneous

Measurands are transmitted with ASDU 3, as well as with ASDU 9. As defined in
section 7.2.6.8 of the protocol specification, the maximum MVAL can either be 1,2
or 2,4 times the rated value. No different rating shall be used in ASDU 3 and ASDU
9, since there is only one choice for each measurand.

Remarks

The following things should be noted when using MicroSCADA with the IEC
60870-5-103 master protocol:

1. The SU (Summer Time) of synchronisation messages (Telegram Type 6) bit is

not used in MicroSCADA.

2. In the initialisation sequence MicroSCADA will send a general interrogation

command to the IEC slave right after a confirmation to a SEND RESET
message has been received. Sending of the general interrogation can be disabled
by setting the RM attribute of the IEC master station.

3. The time accuracy of IEC 60870-5-103 synchronisation depends on the CPU

load of the base system configuration and on the hardware used, and should be
measured in each system.

Measurand

Max. MVAL = rated value times

1,2

or

2,4

Current L

1

Current L

2

Current L

3

Voltage L

1-E

Voltage L

2-E

Voltage L

3-E

Active power P

Reactive power Q

Frequency f

Voltage L

1

- L

2

background image

COM 500

Index

Configuration Guide

Index

Page

$

AC

................................................................................................................................. 32

Activation Reply Timeout

............................................................................................. 31

Activation Termination Timeout

................................................................................... 31

Addressing

..................................................................................................................... 45

AL

.................................................................................................................................. 28

Allocating Application

.................................................................................................. 28

Allocation

...................................................................................................................... 28

Analog inputs

................................................................................................... 48

,

49

,

54

Application Layer Attributes

......................................................................................... 26

Application Service Data Units (ASDUs)

........................................................ 27

,

39

,

49

AS

............................................................................................................................28

,

32

ASDU number

............................................................................................................... 51

AT commands

................................................................................................... 31

,

33

,

34

Autocaller AT S Register

............................................................................................... 34

Autocaller Enabled

........................................................................................................ 32

Autocaller State

............................................................................................................. 32

%

Baud Rate

...................................................................................................................... 19

Binary inputs

................................................................................................................. 49

BR

.................................................................................................................................. 19

Buffer Pool Size

............................................................................................................ 19

&

CA

...........................................................................................................................29

,

40

Carrier Blocking

............................................................................................................ 25

Cause of transmission (COT)

........................................................................... 14

,

46

,

48

CB

.................................................................................................................................. 25

CL

............................................................................................................................28

,

32

CN

................................................................................................................................. 33

CO

.................................................................................................................... 46

,

48

,

51

Command

+DQGOLQJ

..................................................................................................................... 50

7UDQVDFWLRQV

............................................................................................................... 51

Command Address

........................................................................................................ 29

Command Out

............................................................................................................... 46

Configuration

................................................................................................................. 13

Connected Station

.......................................................................................................... 33

Connection

..................................................................................................................... 33

Connection Time

........................................................................................................... 32

Connection Time Limited

.............................................................................................. 32

CS

.................................................................................................................................. 33

CT

...............................................................................................................31

,

32

,

50

,

51

CTS Delay

..................................................................................................................... 22

CTS signal

...............................................................................................................23

,

38

'

Data in monitoring direction

......................................................................................... 48

DC

...........................................................................................................................25

,

30

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

background image

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-101 Master Protocol

COM 500

Index

Configuration Guide

DCD signal

.............................................................................................................. 34

,

38

DD

................................................................................................................................. 33

DE

........................................................................................................................... 22

,

55

DFC

......................................................................................................................... 20

,

55

Diagnostic Counters

................................................................................................ 25

,

30

Digital inputs

................................................................................................................. 49

Direction

........................................................................................................................ 27

Double binary inputs

..................................................................................................... 48

DR

................................................................................................................................. 27

DV

................................................................................................................................. 27

(

EN

................................................................................................................................. 24

Enhanced Protocol Architecture (EPA)

......................................................................... 39

Enquiry Limit

................................................................................................................ 24

)

Fatal error

...................................................................................................................... 11

Fault location information

............................................................................................. 49

Function type

.....................................................................................................40

,

45

,

52

*

General interrogation

.............................................................................................. 46

,

51

GI

............................................................................................................................ 46

,

51

+

Header Timeout

............................................................................................................. 23

HT

................................................................................................................................. 23

,

IEC 60870-5-101 master protocol

................................................................................... 9

IEC 60870-5-101 slave protocol

................................................................................... 13

IEC 60870-5-103 master protocol

........................................................................... 16

,

31

IL

................................................................................................................................... 28

In Use

...................................................................................................................... 18

,

26

Information Address Length

......................................................................................... 28

Information number

................................................................................... 40

,

41

,

45

,

51

IU

............................................................................................................... 18

,

26

,

55

,

56

/

Length of Cause of Transmission Information

............................................................. 28

Level of implementation

............................................................................................... 39

LI

................................................................................................................................... 26

Line Number

................................................................................................................. 26

Link address

.................................................................................................................. 45

Link Layer Attributes

.................................................................................................... 18

Link Type

...................................................................................................................... 25

LK

................................................................................................................................. 25

0

Maximum Message Length

........................................................................................... 29

MC

.......................................................................................................................... 33

,

34

Measurements

............................................................................................................... 49

background image

1MRS752012-MEN

COM 500

Index

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

Message Application

...............................................................................................25

,

29

Message Identification

............................................................................................24

,

28

MI

..................................................................................................................... 24

,

28

,

54

ML

...........................................................................................................................29

,

56

Modem Command

......................................................................................................... 33

Modem Signal

............................................................................................................... 24

MS

...........................................................................................................................25

,

29

Multi-drop network topology

........................................................................................ 17

1

Network Topologies

...................................................................................................... 17

No limitations

................................................................................................................ 16

2

OA

...........................................................................................................................50

,

54

Object commands

.......................................................................................................... 51

Object Status

.................................................................................................................. 31

OF

.................................................................................................................................. 49

OM

................................................................................................................................. 20

Open Systems Interconnection (OSI)

............................................................................ 39

OR

................................................................................................................................. 49

OS

............................................................................................................................31

,

49

OV

.................................................................................................................... 49

,

50

,

51

3

PA

............................................................................................................................27

,

45

Parity

............................................................................................................................. 20

PC

.................................................................................................................................. 34

PD

.................................................................................................................................. 21

PL

............................................................................................................................22

,

27

PO

.................................................................................................................................. 18

Point-to-point network topology

................................................................................... 17

Polling Address

............................................................................................................. 27

Polling Address Length

................................................................................................. 27

Polling Delay

................................................................................................................. 21

Polling Limit

.................................................................................................................. 22

Polling Period

................................................................................................................ 21

PP

................................................................................................................................... 21

Private range

............................................................................................................29

,

40

Process object types

....................................................................................................... 48

Protocol

......................................................................................................................... 18

Protocol converter

...................................................................................................13

,

44

PS

................................................................................................................................... 19

Pulse Dialing

................................................................................................................. 34

PY

.................................................................................................................................. 20

4

QL

.................................................................................................................................. 57

5

RA

................................................................................................................................. 49

Radio Connection Wait Time

........................................................................................ 34

Radio Disconnection Delay

........................................................................................... 33

background image

1MRS752012-MEN

Configuring MicroSCADA for IEC
60870-5-101 Master Protocol

COM 500

Index

Configuration Guide

RB

................................................................................................................................. 49

RC

................................................................................................................................. 34

RD

................................................................................................................................. 20

Read, conditional write

................................................................................................. 16

Read-only

...................................................................................................................... 16

Receive Interrupt Enable Delay

.................................................................................... 24

Receiver Data Bit Count

............................................................................................... 20

Remote Calls Enabled

................................................................................................... 34

Reply Polling

................................................................................................................. 22

Response Timeout

......................................................................................................... 23

RI

................................................................................................................................... 24

RID

................................................................................................................................ 47

RK

................................................................................................................................. 23

RM

....................................................................................................................30

,

49

,

64

RP

.................................................................................................................................. 22

RT

............................................................................................................... 31

,

49

,

50

,

56

RTS Keep up Padding Characters

................................................................................. 23

RTS signal

..................................................................................................................... 22

Running Mode

............................................................................................................... 30

RW

................................................................................................................................ 34

6

SA

............................................................................................................................ 27

,

45

SB

.................................................................................................................................. 21

SCM

.............................................................................................................................. 46

SD

............................................................................................................................ 19

,

55

SE

.................................................................................................................................. 29

Secondary polling Limit

................................................................................................ 22

SG

.................................................................................................................................. 24

Signal Address

.............................................................................................................. 45

SIN

................................................................................................................................ 46

SL

............................................................................................................................ 22

,

27

SR

.................................................................................................................................. 34

ST

.................................................................................................................................. 31

Station Address

....................................................................................................... 27

,

45

Station Address Length

................................................................................................. 27

Status codes

................................................................................................................... 12

$SSOLFDWLRQ/D\HU

...................................................................................................... 54

/LQN/D\HU

.................................................................................................................. 54

Stop Bits

........................................................................................................................ 21

Structured address

......................................................................................................... 45

SU

............................................................................................................................ 31

,

64

SY

............................................................................................................................ 46

,

52

Synchronise

................................................................................................................... 46

SYS 500

.......................................................................................................................... 9

SYS Waiting Time

........................................................................................................ 31

SYS_BASCON.COM

............................................................................................. 14

,

25

System

&RPPDQGV

........................................................................................................... 46

,

50

0HVVDJHV

................................................................................................. 24

,

28

,

29

,

54

2EMHFWV

....................................................................................................................... 16

System Device Name

.................................................................................................... 19

System Messages Enabled

............................................................................................ 29

background image

1MRS752012-MEN

COM 500

Index

Configuring MicroSCADA for IEC
60870-5-103 Master Protocol

Configuration Guide

7

TD

............................................................................................................................21

,

52

TI

................................................................................................................................... 23

Transmission Wait Delay

............................................................................................... 23

Transmitter Data Bit Count

........................................................................................... 21

Transparent SPA

............................................................................................... 37

,

47

,

52

TW

................................................................................................................................. 23

TY

............................................................................................................................51

,

56

8

UN

.............................................................................................................. 29

,

50

,

51

,

54

Unstructured address

..................................................................................................... 45

:

Wiring

............................................................................................................................ 38

Write-only

...................................................................................................................... 16

background image

Document Outline


Wyszukiwarka

Podobne podstrony:
Configuring MicroSCADA for IEC 60870 5 104 Master Protocol
Configuring MicroSCADA for IEC 60870 5 101 Master Protocol
Configuring MicroSCADA for IEC 60870 5 101 Slave Protocol
Configuring MicroSCADA for IEC 60870 5 104 Slave Protocol
Configuring MicroSCADA for DNP V3 00 Master Protocol
Configuring MicroSCADA for DNP V3 00 Slave Protocol
Configuring MicroSCADA for Modbus Master Protocol
Configuring MicroSCADA for Modbus Slave Protocol
Configuring MicroSCADA for OPC DA Client
23 299 318 Optimizing Microstructure for High Toughness Cold Work Steels
23 299 318 Optimizing Microstructure for High Toughness Cold Work Steels
End to end security implementation for mobile devices using TLS protocol
Confocal optics microscopy for biochemical and cellular high throughput screening by Lenka Zemanová,
37 509 524 Microstructure and Wear Resistance of HSS for Rolling Mill Rolls
Installing WSUS for Configuration Manager 2012 R2
steel?rgoes guidelines for master and co
Słownik, ACPI (Advanced Configuration and Power Interface): Standard zarządzania energią wypracowany
Słownik, ACPI (Advanced Configuration and Power Interface): Standard zarządzania energią wypracowany

więcej podobnych podstron