SYS600 - IEC 60870-5-103 Master Protocol PDF
SYS600 - IEC 60870-5-103 Master Protocol PDF
SYS600 - IEC 60870-5-103 Master Protocol PDF
4
IEC 60870-5-103 Master Protocol
Trace back information:
Workspace Main version a50
Checked in 2015-06-08
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Contents
1 Copyrights ............................................................................................. 5
2 Introduction ........................................................................................... 7
2.1 This manual .................................................................................. 7
2.2 Use of symbols ............................................................................. 7
2.3 Document conventions ................................................................. 8
2.4 Related documents ....................................................................... 9
2.5 Document revisions ...................................................................... 9
4 Instructions ........................................................................................... 13
4.1 Communication ............................................................................. 13
4.2 Installation ..................................................................................... 13
4.3 Configuration ................................................................................ 13
4.3.1 Base system configuration .............................................. 13
4.3.2 Communication system configuration ............................. 14
4.3.2.1 IEC 60870-5-103 line layer ........................... 16
4.3.2.2 IEC 60870-5-103 station object .................... 32
4.3.2.3 Autodialing attributes ..................................... 39
4.4 After configuration ......................................................................... 43
4.5 How to test the configuration ........................................................ 44
4.6 Serial cable wiring diagram ........................................................... 44
4.7 Communication adjustment guidelines ......................................... 45
3
SYS600 9.4 MicroSCADA Pro 1MRS758094
4
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
1 Copyrights
The information in this document is subject to change without notice and should not be
construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for any
errors that may appear in this document.
In no event shall ABB Oy be liable for direct, indirect, special, incidental or consequential
damages of any nature or kind arising from the use of this document, nor shall ABB Oy
be liable for incidental or consequential damages arising from the use of any software
or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written
permission from ABB Oy, and the contents thereof must not be imparted to a third party
nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
Copyright © 2015 ABB Oy. All rights reserved.
Trademarks
ABB is a registered trademark of ABB Group. All other brand or product names
mentioned in this document may be trademarks or registered trademarks of their respective
holders.
Guarantee
Please inquire about the terms of guarantee from your nearest ABB representative.
Third Party Copyright Notices
List of Third Party Copyright notices are documented in "3rd party licenses.txt" and
included in SYS600 and DMS600 installation packages.
5
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
2 Introduction
Figure 2.1: The IEC master sees the Substation Control System (SCS) as an IEC slave
7
SYS600 9.4 MicroSCADA Pro 1MRS758094
Although warning hazards are related to personal injury, and caution hazards are
associated with equipment or property damage, it should be understood that operation
of damaged equipment could, under certain operational conditions, result in degraded
process performance leading to personal injury or death. Therefore, comply fully with
all warnings and caution notices.
8
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
9
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
3 Safety information
This section has information on the prevention of hazards and taking backups from the
system.
System backup
Usually a system back up is taken after the application is made. It should be taken again
when changes are made to the SYS600 system. This is required when the driver
configuration or the network setup is changed.
Application backup
An application backup is also taken at the same time with the system backup, after the
application is made. It should be taken again when changes are made to the application,
for example, if pictures or databases are edited or new pictures are added.
Handling
In case of a fatal error:
1. Write down the possible SYS600 error messages.
2. Shut down the SYS600 main program. If this cannot be done in the SYS600 Control
Panel, try to end the task in Windows Task Manager.
11
SYS600 9.4 MicroSCADA Pro 1MRS758094
3. The data kept in the main memory at the moment of a fatal error is placed in the
drwtsn32.log file with Windows 2003 Server, Windows XP and earlier. By default
it is placed under %SYSTEMDRIVE%\Documents And Settings\All
Users\Application Data\Microsoft\Dr Watson. Log and dump file paths can be
checked with the drwtsn32 application. (Start -> run -> drwtsn32.exe). Analyze and
copy the data in these files.
Starting with Windows Server 2008 and Windows 7 the crash handling has changed.
The location of the dump files can be read from the registry under the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error
Reporting\LocalDumps. The DumpFolder value tells the location of the dump files.
Collect the data from this location.
4. Restart the system.
Report the program break-down together with the possible SYS600 error messages and
the information from the drwtsn32.log file to the SYS600 supplier.
Status codes
Error messages in SCIL are called status codes. A list of status codes and short
explanations for them can be found in SYS600 Status Codes.
12
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
4 Instructions
4.1 Communication
In SYS600 the IEC 60870-5-103 Master protocol is implemented only in the PC-NET
software. PC-NET unit communicates over an INTEGRATED link and via the serial or
LAN ports of the base system computer.
Setting the attributes of SYS600 system objects can modify the communication
parameters.
The base system sees each IEC device as a station (STA object) that 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 SYS600 and the IEC 60870-5-103 protocol.
The protocol can be used with virtual serial ports by using a special setting of the line
attributes. See NET line attribute CM for more information.
4.2 Installation
The SYS600 installation is required.
4.3 Configuration
Configuration can be made either by using the System Configuration Tool or by using
SCIL statements. For more information on the System Configuration Tool, see SYS600
System Configuration manual, chapter "PC-NET start-up with System Configuration
Tool" and "System Configuration Tool". The usage of the System Configuration Tool
is recommended, but if there is a need to create the communication configuration using
SCIL, it is instructed in the following chapters. In this case, the configuration can be
divided into two parts:
The configuration can be divided into two parts:
• Base system configuration
• Communication system configuration
The attribute descriptions presented in chapter 'Communication system configuration'
are the same for configurations created with System Configuration Tool or with SCIL.
It is assumed here that the base system configuration for objects other than the
communication has been made according to the instructions in the System Configuration
manual.
13
SYS600 9.4 MicroSCADA Pro 1MRS758094
where 'Sta_Nb' is the number of the station object in the base system. %Sta is a list
object which should contain at least the following settings: TT = "EXTERNAL",
ST = station type, ND = node number defined in step 1 and TN = translated object
number (usually the same as 'Sta_Nb'. See SYS600 System Objects manual for more
information on the base system object attributes for STA object).
4. Edit the PC_NET.CF1 according to the description in chapter "Start-up definition
file PC_NET.CF1" in the SYS600 System Configuration manual
5. Create a command procedure which creates the lines and stations to the NET object
(= pc_net instance) using the S-attributes.
See Section 4.3.2 Communication system configuration for more information on
the attribute setting. A sample creation script is presented at the end of this manual.
6. Create a command procedure which creates the link of type 'INTEGRATED' to the
base system. This procedure should contain the line:
#set LIN'i_Integrated_Link_Number':BLT = "INTEGRATED"
Each NET instance contains a set of system objects which specify the existence and the
usage of the communication lines and the station objects connected to those lines. These
14
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
objects can be created, modified and deleted by SCIL, and setting the attributes defines
the functionality of these objects.
Access to the attributes can be one of the following:
• Read-only: The attribute can only be read. There are still a few exceptions in which
the values can be reset.
• Write-only: The attribute can only be written (set).
• Read, conditional write: The attribute can be both read and written, but the object
must be set out of use (IU = 0) before writing.
• No limitations: The attribute can be both read and written without limitations.
The configuration of the communication system in SYS600 can be divided into two
layers: line layer and station layer. Both of these layers have a specific functionality and
a set of attributes of their own.
The purpose of the communication system configuration is to:
• Create all the system objects needed to establish communication between the master
and the slave. Related attributes for creation are PO (Line) and DV (Station).
• Adjust the values of the system object attributes to match the physical communication
channel and the properties of the remote partner/partners. The menu selection
'Configuration->Preview->PC_NET' in the System Configuration Tool may provide
an example of the SCIL based configuration script of any setup.
Network topologies
The implementation of the IEC 60870-5-103 Master protocol in SYS600 supports direct
and serial bus topologies. The direct topology (point-to-point) can be a direct physical
cable from point-to-point, a two-node radio, or modem network. The serial bus topology
(multi-drop) is commonly made up of many modems with their outputs/inputs tied
together, or connected using a star-coupler. The IEC 60870-5-103 protocol supports one
master on a line. Figure 4.1 illustrates the network topologies.
15
SYS600 9.4 MicroSCADA Pro 1MRS758094
The line process of a NET unit performs the functions of the line layer. The purpose of
the line layer is to send and receive messages to/from external devices using the IEC
60870-5-103 protocol.
According to the IEC 60870 standards, the line layer performs the following functions:
• Provides access to the transmission medium.
• Serializes and deserializes frames.
• Adds and removes frame delimiters, if this is not performed by data circuit
terminating equipment.
• Detects frame synchronization errors.
• Detects frame size errors.
• Monitors signal distortion, if this is not performed by data circuit terminating
equipment.
• Recognizes frames addressed to a designated station.
• Prevents the station transmitting without 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.
16
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
PO Protocol
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 attrib-
utes are deleted.
Data type: Integer
Value: 0...35
Value with IEC 60870-5-103 Master protocol: 33
Index range: 1...12 (NET line numbering)
Access: Read, conditional write
17
SYS600 9.4 MicroSCADA Pro 1MRS758094
BR Baud Rate
Transmission rate used on the line.
Data type: Integer
Value: 1...19200 (384 = 38400 bauds, 576 = 57600 bauds)
Unit: Bits / s
Index range: 1...12 (NET line numbering)
Default value: 9600
Access: Read, conditional write
PY Parity
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...12 (NET line numbering)
Default value: 2
Access: Read, conditional write
18
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
SB Stop Bits
Specifies the number of stop bits attached to each transmitted character.
Data type: Integer
Value: 1 or 2
Unit: Stop bits
Index range: 1...12 (NET line numbering)
Default value: 1
Access: Read, conditional write
PD Polling Delay
Delay between polling messages. The purpose of this attribute depends on the commu-
nication 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...12 (NET line numbering)
Default value: 50
19
SYS600 9.4 MicroSCADA Pro 1MRS758094
PD Polling Delay
Access: Read, conditional write
PP Polling Period
The polling frequency of suspended stations. This attribute specifies how often the
suspended stations of the line are polled with the link initialization message. PP value
is the value of transmitted messages before a new link initialization message is sent.
Each suspended station has a counter of its own, which means that the sending may
take place more often, if there are more than one suspended station. If all the stations
are suspended, the value of PP is meaningless. Value PP=1 may be used, but is not re-
commended.
Data type: Integer
Value: 1..255
Index range: 1...12 (NET line numbering)
Default: 10
Access: Read, conditional write
PL Polling Limit
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...12 (NET line numbering)
Default value: 10
Access: Read, conditional write
20
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
RP Reply Polling
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...12 (NET line numbering)
Default value: 1
Access: Read, conditional write
21
SYS600 9.4 MicroSCADA Pro 1MRS758094
DE CTS Delay
The maximum waiting time of the rising edge of the CTS signal after the activation of
the RTS signal. Timeout causes a CTS error and the transmission does not start. A line
disconnection often leads to a CTS error.
Data type: Integer
Value: 0...65535
Unit: Milliseconds
Index range: 1...12 (NET line numbering)
Default value: 50
Access: Read, conditional write
22
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
HT Header Timeout
Specifies the maximum waiting time in milliseconds within which the first byte of a
line 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 per-
formed the number of times specified by the Enquiry limit. If a response is still not
obtained, the station is suspended.
Data type: Integer
Value: 0...65535
Unit: Milliseconds
Index range: 1...12 (NET line numbering)
Default value: 2000
Access: Read, conditional write
TI Response Timeout
The time in seconds that the IEC link waits for the end of the line layer response.
Data type: Integer
Value: 0...255
Unit: Seconds
Index range: 1...12 (NET line numbering)
Default value: 2
Access: No limitations
23
SYS600 9.4 MicroSCADA Pro 1MRS758094
24
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
25
SYS600 9.4 MicroSCADA Pro 1MRS758094
EN Enquiry Limit
Specifies the maximum number of times that a message is retransmitted after a timeout.
Data type: Integer
Value: 1...255
Index range: 1...12 (NET line numbering)
Default value: 3
Access: Read, conditional write
26
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
SG Modem Signal
An attribute for direct supervision and control of the state of the modem signal. This
attribute applies to all protocols. It is used for diagnostics and testing.
If the incoming signal DCD or CTS is wanted to have a simulated high value all the
time, value = 1 can be written to these signals. This feature may be necessary for easier
cabling or with virtual serial ports. If value = 0 is written to these signals, the actual
state of signal is used. The default mode of operation is the actual state. See also attribute
CM Com Port Mode.
Data type: Integer
Value: 0 = Passive signal
1 = active signal
Incoming: DCD and CTS signals
Outgoing: DTR signal
Index range: 100 * line no + signal no. Signal no. 5 = CTS, 8 = DCD, 20 = DTR
Access: Read-only, write possible to signals 5 = CTS and 8 = DCD
Examples:
#SET NET1:SSG208 = 1 ; line 2 of NET1 should behave as DCD is 'high' all the
time
#SET NET1:SSG205 = 1 ; line 2 of NET1 should behave as CTS is 'high' all the
time
#SET NET1:SSG208 = 0 ; line 2 of NET1 should use the actual state of the DCD
#SET NET1:SSG205 = 0 ; line 2 of NET1 should use the actual state of the CTS
27
SYS600 9.4 MicroSCADA Pro 1MRS758094
28
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
MI Message Identification
Object address of system messages.
Data type: Integer
Value: 1...32760
Index range: 1...12 (NET line numbering)
Default value: 6000 + (100 * NET number) + line number
Access: Read, conditional write
MS Message Application
The number of the application that is the receiver of the system messages generated by
the line.
Data type: Integer
Value: 1...250
29
SYS600 9.4 MicroSCADA Pro 1MRS758094
MS Message Application
Default value: 1
Index range: 1...12 (NET line numbering)
Access: Read, conditional write
LK Link Type
The type of data link connection used on the line. This attribute controls the behavior
of the RTS-control line.
The states of the CTS and DCD signals of the serial port can have simulated values.
The usage of this feature may be necessary, if the line uses a virtual serial port or the
hardware connected to the serial port requires a special cable. See the description of
the line attribute CM for more information.
Data type: Integer
Value: 4: Radio link
Index range: 1...12 (NET line numbering)
Default value: 4
Access: Read, conditional write
With values 0..10, the behavior is similar to 4: Radio Link in which RTS/CTS controlling
is used and the messages are received in the unbalanced fashion. LK values 12 and 13
should not be used by the IEC60870-5-103 protocol.
30
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
CB Carrier Blocking
This attribute determines whether the incoming Carrier Detect (DCD) signal of the
serial port must be set in order for the IEC line to receive messages. If Carrier Detect
is expected (CB=1), the incoming bytes of the messages are discarded while the DCD
signal is not set. Historically, the Carrier Detect was used with modems (e.g. V.23) in
order to indicate the direction of the data flow and filter out corrupted characters when
the data flow direction changes. A hardware solution is to connect the DCD pin to the
DTR pin in the RS-232 cable. In this case the messages are always received when the
line is in use (IU=1). In versions 9.3FP2 and newer, the line attribute CM, bit 2 can be
used to achieve the same effect. The usage of the line attribute CM is recommended,
since it is supported by all serial protocols.
Data type: Integer
Value: 0 = Carrier blocking not used, messages are received regardless of
the DCD state
1 = Carrier blocking used, DCD must be signaled in order to receive
messages
Default value: 0
Index range: 1...12 (NET line numbering)
Access: Read, conditional write
DC Diagnostic Counters
The line protocols gather statistical information about the events on the lines by incre-
menting 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
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
31
SYS600 9.4 MicroSCADA Pro 1MRS758094
DC Diagnostic Counters
Index range: See above
Access: Read-only, the values can be reset
OM Operating Mode
This attribute consists of a set of flags which control the behavior 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 a 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 that responds. Only the station from which the
first data is received is set to OK status and in case of communication
failure, only this station is set to the suspended state. This configur-
ation is especially useful in a multistation configuration with dial-
up, in which the remote station makes the call and there is only one
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).
Bit 3...15: Not used, do not set.
Data type: Integer
Value: 0...65535
Value range: 1...12 (NET line numbering)
Default value: 0
Access: Read, conditional write
The main purpose of the station layer is the protocol conversion between the IEC
60870-5-103 and the internal protocol of SYS600. The station objects also take 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 and others are used
for device communication. The configuration attributes are presented in this chapter and
the communication attributes are presented in the next one.
32
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Station attributes
The following attributes can be used for configuring the IEC 60870-5-103 Master stations
in SYS600.
IU In Use
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
LI Line Number
The number of the NET line the station is connected to.
Data type: Integer
Value: 1...12 (NET line numbering)
Access: Read, conditional write
PA Polling Address
The link address of the IEC 60870-5-103 station.
Data type: Integer
Value: 0...254
Default value: 1
Access: Read, conditional write
SA Station Address
The station address of the IEC 60870-5-103 station, the common address of ASDU in
an IEC message.
Data type: Integer
Value: 0...255
33
SYS600 9.4 MicroSCADA Pro 1MRS758094
SA Station Address
Default value: 1
Access: Read, conditional write
DR Direction
States if the IEC Master station acts as the station A (primary station) or as the station
B (secondary station).
Data type: Integer
Value: 0 or 1
Default value: 1 (primary station)
Access: Read, conditional write
34
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
AL Allocation
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 spontaneous messages
from the station are sent to this application.
Data type: Integer
Value: 0 or 1
Access: No limitations
AS Allocating Application
Specifies the allocating application of the station (see the AL attribute). The allocating
application gets all 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...250,
0 = no application
Access: Read-only , conditional write
MI Message Identification
Object address of system messages.
Data type: Integer
Value: 1...32760
Default value: 29000 + station number
Access: Read, conditional write
MS Message Application
The number of the application, that is the receiver of the system messages generated
by the station.
Data type: Integer
Value: 1...250
Default value: 1
35
SYS600 9.4 MicroSCADA Pro 1MRS758094
MS Message Application
Access: Read, conditional write
CA Command Address
The object address of the bit stream process object in the SYS600 process database,
where unidentified messages are sent.
Data type: Integer
Value: 1...65535
Default value: 32000
Access: No limitations
The unit number (UN attribute) of the bit stream process object
must be the same as the STA object number.
36
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
RM Running Mode
Consists of a set of flags that control the behavior and functionality of the IEC Master
station. Each flag is one bit of this attribute. The bits are as follows:
Bit 0: The method for adding year and date for timestamped event data.
When this bit is 0, the master gets the year and date from the slave as
a clock synchronization (ASDU 6,COT8). When this bit is 1, the
master does not expect a clock synchronization (ASDU 6,COT8) from
the slave. The master adds the year and date from its internal clock
to the events. Hours, minutes and seconds should be provided in time-
tagged events by the slave.
Bit 5: Sending of the general interrogation command when the master gets
the zero (OK) status. When this bit is 0, a general interrogation com-
mand is always sent when the object status of the IEC master station
gets the value zero, e.g. when it is set in use or after a suspension.
When this bit is 1, a general interrogation is not sent automatically at
zero status.
Bit 6: Parallel commands. When this bit is 1, sending parallel commands is
possible. The control is returned immediately back to SCIL and the
return status of a command must be checked from the command ter-
mination process object. When this bit is 0, sending another command
is not possible before the previous command has been completed or
a confirmation timeout has occurred. This is the default way of oper-
ation.
DC Diagnostic Counters
The values of the diagnostic counters which the NET unit keeps for the station. The
counters have the following meaning:
37
SYS600 9.4 MicroSCADA Pro 1MRS758094
DC Diagnostic Counters
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...15
Access: No limitations
OS Object Status
The current status of the IEC station object. When value 1 is written to this attribute,
the station object retransmits its current status code
Data type: Integer
Value: when Read, 0 = OK_STATUS or
non-zero value = communication is not normal at the moment
Access: No limitations (write is possible only with value 1)
38
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
SO Synchronization Offset
This attribute is used to define a station specific time compensation to the synchroniz-
ation message initiated with SY attribute. If the used hardware delays the transmission
of the message to the IEC slave stations, a value close to this delay should be assigned
to this attribute. Some tuning work or a good knowledge of the used hardware is needed
when this attribute is used.
Data type: Integer
Value: -32768..32767
Access: No restrictions
Default: 0
Unit: 10'th of milliseconds
Example:
If the average transmission delay to the station STA1 is known to be 60 milliseconds,
the station object should be configured with the following SCIL command:
#SET STA1:SSO=600
The attribute can be modified while the system is running. It is possible for the SCIL
application to retune, if the feedback of the synchronization accuracy is available.
Negative values cause the RTU time to be behind the actual time. Also, a value that is
too big compared to the actual transmission delay, causes the RTU time to be ahead of
the actual time.
SYS600 provides support for the Autocaller functionality of the IEC 60870-5-103 Master
protocol. Autocaller is a modem with functions for automatic dial-up. The dial-up can
be initiated by the IEC master or the IEC slave.
39
SYS600 9.4 MicroSCADA Pro 1MRS758094
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. Refer to the documentation of the modem
in use for further details.
The following Autocaller attributes are valid for the IEC 60870-5-103 Master lines:
AC Autocaller Enabled
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
AS Autocaller State
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 dialing
3 = INITIAL, Autocaller is uninitialized
4 = CONFIGURE, the IU attribute of the line is set to 0
Default value: 0
Access: Read-only
40
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
CT Connection Time
The maximum time that a connection is allowed to last (in seconds). This attribute is
significant only if time limiting is activated (CL = 1).
Data type: Integer
Value: 0...600
Unit: Seconds
Default value: 120
Access: No limitations
CN Connection
The CN attribute is used for dialing devices from the NET and for breaking telephone
connections.
A call to a station or workplace is initiated by writing the phone number to the CN at-
tribute. The NET unit then commands the autodialing modem to dial the number. The
success of the dialing is reported as a system message. Writing an empty string to CN
breaks the connection. When dialing a station, the link address of the station should be
given at the end of the phone number string, preceded by the letter S. This option is
normally used to increase the communication performance on multidrop lines. The
station number is only significant 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
Example:
#SET NET1:SCN5 = "123456789S11"
CS Connected Station
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
41
SYS600 9.4 MicroSCADA Pro 1MRS758094
CS Connected Station
Access: Read-only
MC Modem Command
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
Access: No limitations
Example:
#SET NET1:SMC3 = ("AS0?")'
PU Pulse Dialing
This attribute determines the dialing principle used.
Data type: Integer
Value: 0 = tone dialing
1 = pulse dialing
Default value: 0
Access: No limitations
42
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
SR Autocaller AT S Register
The S registers used by the Autocallers follow the AT (Hayes) de facto standard.
All the Autocallers that use the AT command set have a number of S registers. The
number of registers used and the meaning of the individual registers varies slightly
from one Autocaller model to another. The contents of the S registers are therefore not
described in this document. Refer to the modem manuals.
Using the SR attribute, the S register 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.
Data type: Integer
Value: See the modem manuals
Indexing: Seconds
Access: 100 * line number + register number
Example:
The S register number 6 of line 2 in NET1 is set = 4:
#SET NET1:SSR206 = 4
43
SYS600 9.4 MicroSCADA Pro 1MRS758094
command there should be an output process object. The bit stream process object that
receives unrecognized IEC messages from the slave should also be created.
Besides the configuration of the base system and the communication system, the IEC
slave also needs to configured.
44
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Basic checks
In case of a communication does not start properly, following checks are worth to do
before any further investigation:
• Check that the serial port defined with line attribute SD matches with the computes
serial port. Check also that no error is reported to the notify window when the system
or PC_NET is started.
• Check that the stations addresses match in master and slave.
• Check that the baud rates and other Data Transmission Attributes (in MicroSCADA
System Configuration Tool) match in master and slave.
• Check that the master and slave stations Polling Addresses (PA) match
Message sending
If the remote end does not receive the messages sent from the line in question, following
hints may help:
45
SYS600 9.4 MicroSCADA Pro 1MRS758094
• Check if CTS errors exist. The DE attribute sets how long time the CTS signal is
waited after the RTS signal has been raised. If the rising edge of the CTS does not
occur at all (line disconnected) or if the DE attribute value is too small, timeout
occurs and the line enters to a CTS error state. The status point of the line is updated
correspondingly
• Check the FIFO buffers of the used serial port. If RTS signal is used to control the
data carrier, communication may function better if the FIFO buffers are disabled
(or set to 1).
• Check the RTS Keepup Delay (RY) attribute value. If the RTS signal is used to
control the data carrier and it is reset too early, the end of the message might be left
out when the message is sent. With RY attribute the closing of the RTS signal can
be delayed. On the other hand, if the RY delay is too long, the remote device may
start transmission when the data carrier is not available. This causes an error.
• Check the COM Port Mode (CM) attribute. With the bit 3 setting the length of the
message is used to calculate the RTS keep up time. See attribute documentation for
more information.
Message reception
If the remote end send message but those are not received correctly by the line in question,
following hints may help:
• Carrier Block (CB) attribute might be blocking the incoming messages. If the CB
attribute is 0, carrier blocking is not used and messages are received regardless of
the DCD state. If the CB attribute is 1, carrier blocking is used and the DCD must
be signaled while characters belonging to the message is received.
• Check the TW attribute value. The TW attribute delays the sending of the message
after the RTS and CTS signals are raised. If the beginning of a message is missing
when it is received (recorded) in the other end, increasing the TW attribute value
might help.
• Check the RI attribute values. The RI attribute delays the enabling of the message
reception. If RI is too big, the first bytes of the message to be received are not
accepted and the whole message is lost. If RI is short and the modem hardware
generates corrupted characters when the direction of the data carriers changes,
slightly bigger RI may cause less timeouts.
• Check that the Header Timeout (HT) and Response Timeout (TI) attributes lengths
are long enough for the communication. The TI time could be too short in cases
when the response is long and the baud rate small.
• If the messages are sent and received correctly but are not processed, check CRC
or other errors from the Diagnostic Counters in System Configuration Tools
online-mode.
• The usage of the protocol analyzer and the bit 1 or line attribute AU (Analyzer
usage) will help in the tuning of the attributes DE, HT, TI, RI and RY. If bit 2 of
the attribute AU is set, internal information related to completion of the write
operation to the serial driver is display in the analyzer output.
46
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Data updating
If the remote end sends messages and it seems like those are received correctly by the
line in question but the process objects are not updating, following hints may help:
• Check that the attached process objects addresses are correct.
• Check that the STA object is allocated to the MicroSCADA application in which
the process objects are located. Related STA object attributes are AL (Allocation)
and AS (Allocating application).
• If the base system attribute TN (Translated Number) or ND (Node number) for the
STA object has been modified by the SCIL application, check that those refer to
correct STA object in correct PC_NET node.
47
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
5 Technical description
49
SYS600 9.4 MicroSCADA Pro 1MRS758094
Type id Description
23 List of recorded disturbance
26 Ready for transmission of disturbance data
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 synchronization
7 General interrogation
47 Generic data
48 General command
49 Generic command
50 Acknowledgement for disturbance data transmission
Private range ASDUs 32-255 can be received to a bitstream process object whose address
is defined with the CA station attribute.
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 5.2: Standard function types
Function Parameter in Controlling Direction
type
128 Distance protection
160 Overcurrent protection
176 Transformer differential protection
192 Line differential protection
254 Generic function type
255 Global function type
It is also possible to use function types from a private range. The use of such functions
is left open in this document.
The information number of the protection equipment is defined by the second object of
the information object. It is defined in the following tables.
50
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
51
SYS600 9.4 MicroSCADA Pro 1MRS758094
52
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
53
SYS600 9.4 MicroSCADA Pro 1MRS758094
For further details, see the IEC 60870-5-103 interoperability list for SYS600 at the end
of this document.
5.3 Communication
This section gives a more detailed description of the implementation of the IEC
60870-5-103 Master protocol in SYS600, describing also the attributes that can be used
for device communication. Examples of how to exchange data between the master and
the slave are also given in this section along with information of the IEC 60870-5-103
Master 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 transfers. The outstations are secondary
stations (slaves) that can transmit only when they are polled.
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 SYS600 is used in communication between the SYS600 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 into two
classes: class 1 and class 2. By default, the master polls class 2 and the slave replies
when it has data for request in class 1.
5.3.2 Addressing
54
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
• Signal address: An information 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.
SYS600 supports only unstructured addresses. However, this does not prevent
communication with the IEC 60870 slaves 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 + lower byte (Function Type).
In SYS600 both the input and output process objects share the same address range, which
means that there cannot be two process objects with overlapping addresses. If the same
address is needed for an input and output object, it can be achieved by using offsets that
are outside the information address range 0..65535. The recommended offset is 20000
(hex) = 131072 (decimal).
Example:
Overlapping information object address 2000 (decimal)
Offset = 131072 (decimal) = 20000 (hex)
Address for indication = 2000 (decimal)
Address for command = 2000 + 131072 = 133072 (decimal)
The NET unit interprets both addresses as 2000, since bits above the information object
identifier range are left out
GI General Interrogation
Setting this attribute sends a general interrogation command (ASDU 7) to the IEC
60870-5-103 slave station. By setting 1 to the GI attribute a general interrogation mes-
sage is generated. By using the vector value, the user can definethe 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: Integer or vector
Value: Vector (ENA,[SCM]) or integer 1
Access: No limitations
Description of the vector parameters:
55
SYS600 9.4 MicroSCADA Pro 1MRS758094
GI General Interrogation
ENA: Activate (value 1) or deactivate (value 0) interrogation
SCM: Scan number
SY Synchronize
The SY attribute is used to make an accurate time synchronization of the IEC 60870
stations. No time arguments are needed since the time sent in the synchronization
message is taken from the internal clock of SYS600. Stations can be synchronized one
by one or by using a broadcast synchronization message, which synchronizes all the
stations configured on a IEC 60870-5-103 line.
Data type: Vector
Value: Vector (COT, [BRO])
Access: Write only
Description of the vector parameters:
COT: Cause of transmission of the synchronization messages. Valid values:
8 = time synchronization
BRO: Broadcast determines whether the synchronization message is a
broadcast message (value 1) or not (value 0). If omitted, value 0 is
assumed.
CO Command Out
The CO attribute can be used for generating command messages, i.e. requests, to IEC
60870 slave stations. All kinds of commands can be generated data commands, applic-
ation commands and system commands. Parameters in the command direction are also
sent by using the CO attribute.
The data content of the command is given as transparent data octet by octet. Note that
the user is responsible for the validity of the data content. For more information, refer
to the IEC 60870-5-103 standards listed in Section 2.1 This manual.
Data type: Vector
Value: Vector (TYPE, ADDR,COT,DATA)
Value range: 0...65535
Access: Write-only
56
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
CO Command Out
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 5.6: RID Parameter
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
57
SYS600 9.4 MicroSCADA Pro 1MRS758094
DATA: The set of information objects of the command as integers. Each in-
teger corresponds to one octet in the IEC message.
Some examples of the use of the CO attribute are presented below. See also the examples
of the data, application and system commands later in this document.
Data in the monitoring direction, i.e. from the slave to the master, is received by IEC
type process objects. Data in the monitoring direction includes, for example double
indications and measured values. The relation between the IEC 60870-5-103 ASDUs
and SYS600 process object types is presented in tables below.
Table 5.9: Relations between the SYS600 process object types and IEC 60870-5-103
ASDUs
Type id Description Process Object
Type
1,2 Double point information Double binary input
3, 4, 9, 205 Measured value Analog input
10, 11, 23, 27, 28, 29, 30, 31 Generic functions, disturbance Bit stream
data handling
Binary inputs
Binary indications are always double binary information in IEC 60870-5-103. Double
indications (ASDUs 1, 2) are received by double binary indication process objects. Note
that in SYS600 the double indication values 1 and 2 are reverse compared to the ones
58
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
in the IEC message, in order to make them equal to the double binary values of other
master protocols implemented in SYS600.
ASDUs 3 and 9 are for normal measurands. ASDU 4 is for fault location and ASDU205
is for pulsed energy values. Fault location and energy values do not set status (OS) or
overflow (OF) attributes in process objects.
If the value of the measure and the value sent from the IEC 60870-5-103 slave is larger
than the value range of the ASDUs 3 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 also has 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 = n'th information element (measurement) in frame.
The maximum value of the information elements supported by the implementation is 32
per frame, that is n = max. 32.
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 RB attribute of the process object. This event has also
a normal time tag, which is written to the RT and the RM attributes of the process object.
59
SYS600 9.4 MicroSCADA Pro 1MRS758094
Data that is sent from the IEC master to the IEC slave or slaves is called data in control
direction. This data includes the data command, application command and system
command messages. These messages are described in this section.
Command confirmation
The IEC 60870-5-103 protocol includes the concept of command confirmations. 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 confirmed when it is received. An activation confirmation can be
positive (command accepted) or negative (command rejected). The status
ICCC_NEGATIVE_CONFIRMATION indicates of the latter.
• A command is acknowledged 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 synchronization 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
60870-5-103 master station and the OA attribute equal to command address + offset.
Offset is 1000000 hexadecimal = 16777216 decimal. The OV attribute of the process
object provides the following information presented in Table 5.11:
Table 5.11: Values of the process object receiving activation confirmations and
terminations
Values Description
0 Positive acknowledgement
1 Link layer negative acknowledgement received
2 No link layer acknowledgement
3 No command acknowledgement received
4 Negative acknowledgement
The lengths of the activation confirmation and termination timeouts are determined by
the RT and CT attributes of the IEC 60870-5-103 master station, respectively.
60
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Command transactions
In the SYS600 implementation of the IEC 60870-5-103 master protocol, one 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
Object commands
Object commands (e.g. switching device open/close commands) are sent to the IEC
60870-5-103 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 60870-5-103 master station. The address of the process object must
equal the address of the command in the IEC 60870-5-103 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 5.12.
Table 5.12: Process object attributes included in an IEC object command
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 ob-
ject address.
OV Value of the command 0 = off, 1 = on
CT Cause of Transmission. With the general com-
mands this attribute has always the value 20.
Example:
;binary command, protection on
#SET 'LN':POV'IX' = LIST(OV=1,CT=20,TY=256*20+16)
When the IEC 60870-5-103 slave station receives a general interrogation command
(ASDU 7) from the master, it must send all the selected input signals to the master without
a time tag. The cause of transmission is set to 9. Interrogation commands can be sent by
61
SYS600 9.4 MicroSCADA Pro 1MRS758094
using the GI or CO attributes of the IEC 60870-5-103 master station as shown in the
examples below.
;activate general interrogation
#SET STA'STA_NR':SGI = 1
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.
The clock synchronization commands (ASDU 6) are used to synchronize the IEC
60870-5-103 slave stations. This command is sent by using the SY attribute of the IEC
60870-5-103 master station as shown below:
;activate broadcast synch
#SET STA’STA_NR’:SSY = (8,1)
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 must
always be the same. The COT value can be anything. The values 82,
70, 58 are the ASCII-letters "RF:" changed to a decimal format.
62
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Step 2 : 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
60870-5-103 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 using the TYPE_CAST function to
convert the message to text.
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 slave.
Table 5.13: Example: IEC_103 transparent message sent by SYS600
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
63
SYS600 9.4 MicroSCADA Pro 1MRS758094
The end character "lf" in the SPA-bus reply is left out of the data unit.
Supported both by the SYS600 base system and LIB 5xx application software.
Supported by the SYS600 base system, but may need additional application engineering.
64
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Electrical interface
EIA RS-485
RS-232
Optical interface
Glass fiber
Plastic fiber
Depends on transceiver
Transmission speed
9 600 bit/s
19 200 bit/s
65
SYS600 9.4 MicroSCADA Pro 1MRS758094
<3> Reset CU
<4> Start/restart
<5> Power on
<23> Characteristic 1
<24> Characteristic 2
<25> Characteristic 3
<26> Characteristic 4
66
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
<51> Wp Forward
<52> Wq Forward
<53> Wp Reverse
<54> Wq Reverse
67
SYS600 9.4 MicroSCADA Pro 1MRS758094
<69> Trip L1
<70> Trip L2
<71> Trip L3
<78> Zone 1
<79> Zone 2
<80> Zone 3
<81> Zone 4
<82> Zone 5
<83> Zone 6
68
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
<128> CB 'on' by AR
<130> AR blocked
<144> Measurand I
<145> Measurands I, V
<146> Measurands I, V, P, Q
69
SYS600 9.4 MicroSCADA Pro 1MRS758094
Test mode
Disturbance data
Generic services
Private data
70
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
5.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.
Measurand Max. MVAL = rated value times
1,2 or 2,4
Current L1
Current L2
Current L3
Voltage L1-E
Voltage L2-E
Voltage L3-E
Active power P
Reactive power Q
Frequency f
Voltage L1 - L2
Remarks
The following things should be noted when using SYS600 with the IEC 60870-5-103
master protocol:
1. The SU (Summer Time) of synchronization messages (Telegram Type 6) bit is not
used in SYS600.
2. In the initialization sequence, SYS600 sends a general interrogation command to
the IEC 60870-5-103 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 60870-5-103 master station.
3. The accuracy of the IEC 60870-5-103 time synchronization depends on the CPU
load of the system and on the hardware used, and should be measured in each system.
71
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
Index
CS ......................................................................... 42
A CT ............................................................. 39, 41, 61
AC ......................................................................... 40 CTS ................................................................ 22, 27
Activation Reply Timeout ...................................... 39 CTS Delay ............................................................ 22
Activation Termination Timeout ............................ 39 CTS signal ...................................................... 21, 44
Addressing ............................................................ 54
AL ......................................................................... 35 D
Allocating Application ........................................... 35
Allocation .............................................................. 35 Data commands ............................................. 56, 60
Analog inputs ........................................................ 58 Data in monitoring direction .................................. 58
Application commands ................................... 56, 60 DC .................................................................. 32, 38
Application Service Data Units (ASDUs) ... 33–34, 49 DCD ...................................................................... 27
AS ................................................................... 35, 40 DCD signal ............................................... 31, 43–44
AT command ............................................ 40, 42–43 DD ........................................................................ 42
Autocaller AT S Register ...................................... 43 DE ......................................................................... 22
Autocaller Enabled ............................................... 40 Diagnostic Counters ....................................... 32, 38
Autocaller State .................................................... 40 Direction ............................................................... 34
Double binary inputs ............................................. 58
Double indications ................................................ 58
B DR ........................................................................ 34
Baud Rate ............................................................. 18 DV ......................................................................... 33
Binary inputs ......................................................... 58
BR ......................................................................... 18 E
Buffer Pool Size .................................................... 18
EN ......................................................................... 26
Enhanced Protocol Architecture (EPA) ................ 49
C Enquiry Limit ......................................................... 26
CA ................................................................... 36, 50
Carrier Blocking .................................................... 31 F
Cause of Transmission (COT) ........................ 34, 56
CB ......................................................................... 31 Function type ........................................................ 50
CL ................................................................... 35, 41
CM ........................................................................ 29 G
CN ........................................................................ 41
CO .................................................................. 57–58 General Interrogation ........................................... 56
Command GI .......................................................................... 56
Handling ........................................................... 60
Transactions ..................................................... 61
Command Address ............................................... 36
H
Command Out ...................................................... 57 Header Timeout .................................................... 23
Command transactions ........................................ 61 HT ......................................................................... 23
Common address of ASDU .................................. 54
COM Port Mode .................................................... 29
Configuration ........................................................ 13
I
Connected Station ................................................ 42 IEC 60870-5-101 master protocol .......................... 7
Connection ........................................................... 41 IEC 60870-5-101 slave protocol ........................... 13
Connection Time .................................................. 41 IL ........................................................................... 34
Connection Time Limited ...................................... 41 Information Address Length ................................. 34
73
SYS600 9.4 MicroSCADA Pro 1MRS758094
74
1MRS758094 MicroSCADA Pro SYS600 9.4
Issued: 3.6.2015 IEC 60870-5-103 Master Protocol
Version: B/3.6.2015
Configuration Manual
75
Contact us
www.abb.com/substationautomation