You are on page 1of 28

IEC60870-5-104 Master Interface

User Manual

www.kalkitech.com

Version 1.0.5, April 2017


Copyright Notice

© 2017 Kalki Communication Technologies Pvt. Ltd. All Rights reserved.


This user manual is a publication of Kalki Communication Technologies Pvt. Ltd. and it is intended for
its customers use only. Content of this manual is copyrighted and reproduction in whole or in part, for
use other than in support of Kalkitech equipment, is prohibited without the specific written permission of
Kalkitech.

Disclaimer
Information in this manual is subject to change without any notice.
Information provided in this manual is intended to be accurate and reliable. However,
Kalki Communication Technologies assumes no responsibility for its use. Kalki Communication Tech-
nologies Pvt. Ltd. makes no commitment to update or keep the current information in this manual.

Contact Information

Kalki Communication Technologies Private Limited


The Address, 4th Floor,
# 17/1, Outer Ring Road,
Opposite to Prestige Cessna Business Park
Kadubeesanahalli, Bangalore - 560103, INDIA

Telephone: +91- 8067021900


Email: sales@kalkitech.com

Technical Support Contact Information

Online Technical Enquiry Support: www.kalkitech.com/support

E-mail Support: support@kalkitech.com

IEC60870-5-104 Master Interface 2


Table of Contents
1. Introduction 5
1.1. Overview of the IEC 60870-5-104 Master Interface Module 5
1.2. Key Features 5
1.3. Environment 5
1.3.1. Software Requirements 5

2. Getting Started  6
2.1. Starting the Application 6
2.2. Application Setup and Configuration 6

3. IEC 60870-5-104 Master Protocol Stack 7


3.1. Overview of IEC-104 Master Protocol Stack 7
3.2. Create Configuration File 7
3.3. Download Configuration File 7
3.4. Restart IEC-104 Interface Module 7

4. IEC 60870-5-104 Master Configuration Details 8


4.1. Overview of IEC 60870-5-104 Master Configuration  8
4.2. IEC-104 Master Channel Parameter Details 8
4.2.1. Configuration Type 10
4.3. IEC 60870-5-104 Node/Station Parameter Details 10
4.4. IEC 60870-5-104 Profile Parameter Details 14
4.5. Auto Mapping 15

Appendix A – IEC 60870-5-104 Master Interface Interoperability 16


Appendix B – References 27

Glossary 28

IEC60870-5-104 Master Interface 3


List of Tables
Table 1: Hardware Requirements 5
Table 2: Software Requirements 5
Table 3: IEC 60870-5-104 Master Channel Parameters 10
Table 4: IEC 60870-5-104 Master Node/Station Parameters 13
Table 5: IEC 60870-5-104 Master profile Parameters 14
Table 6: IEC 60870-5-104 Master supporting ASDU Types 15
Table 7: List of Abbreviations 28

IEC60870-5-104 Master Interface 4


1. Introduction
1
This section covers the following topics:
• Overview of the application
• Key features
• Environment

1.1. Overview of the IEC 60870-5-104 Master Interface Module


The IEC-104 Master Interface module of SYNC will enable user to communicate with an external
IEC-104 Slave(s). The IEC-104 Master module in SYNC will collect data from the slave device(s)
and store data in SYNC database. User will find it handy in case of integrating many IEC-
104 slave devices, to a single or multiple master devices. The protocol conversion and data
concentration can be achieved using SYNC.

1.2. Key Features


• Reduce communication complexity in the SCADA or Master system.
• Easy to configure and install IEC-104 Master even in a complex communication network.

1.3. Environment
This section specifies the hardware and software requirements necessary to run the application.

Hardware Requirements

The hardware requirements are stated as follows:


Requirement Description
Configuration Tool's System Memory 512 MB or more
Configuration Tool's System CPU 1.5 GB or more
Configuration Tool's System Free disk space 96 DPI

Table 1: Hardware Requirements

1.3.1. Software Requirements


The software requirements are stated as follows:
Requirement Description
Operating System Windows-7, 8, 8.1, 10 32/64bits
.Net Framework .Net framework 3.5 or higher

Table 2: Software Requirements

IEC60870-5-104 Master Interface 5


2. Getting Started
2
This section provides information on the tasks that are performed initially to work with the
application. The following topics are covered:
• Starting the Application
• Application setup and configuration

2.1. Starting the Application


Powering of SYNC series of protocol converters loaded with IEC-104 Master Module will enable
IEC-104 Master interface to start.

2.2. Application Setup and Configuration


The configuration for IEC-104 Master Interface is provided by EasyConnect configuration
Utility. All the parameters relevant to the communication link, IEC-104 protocol, and IEC-104
Master database in SYNC can be entered into the configuration file using EasyConnect. The
configuration section is explained in Chapter 4. The configuration file must be downloaded to the
SYNC series of converters for a IEC-104 Master module in SYNC, when the SYNC contains the
license and firmware supporting IEC-104 Master module.

IEC60870-5-104 Master Interface 6


3. IEC 60870-5-104 Master Protocol Stack
3
This section on IEC-104 Master Interface module covers the following topics:
• Overview of the IEC-104 Master Protocol Stack
• Create configuration file
• Download configuration file
• Restart IEC-104 Master interface module

3.1. Overview of IEC-104 Master Protocol Stack


This module in the SYNC series of protocol converters enables the SYNC to send and accept
frames confirming to IEC-104 protocol standard managed by IEC-TC-57 and respond to the
accepted frames. This module implements the different layers of the protocol with specified
features mentioned in the IEC-104 Master Interface Interoperability section. The IEC-104
protocol can be associated to any of the TCP/IP server port. The SYNC models must be loaded
with the license and firmware supporting IEC-104 Master interfacing, and the configuration file
containing all the specific information for the communication. The interoperability of IEC-104
Master in SYNC is described in Appendix A.

3.2. Create Configuration File


The configuration of any protocol interface module in SYNC can be done with EasyConnect
configuration Utility. The entire configuration for a Master protocol will be divided into mainly
three sections namely; Channel, Node, and Profile. The parameters in different sections of
configuration are explained in Chapter 4. The configuration steps involve addition of IEC-104
master channel, node and profile. The same can be mapped to any slave protocols. The details
of configuration are given in SYNC User Manual or EasyConnect help.

3.3. Download Configuration File


The configuration file must be downloaded into the SYNC to use the parameters as entered
through EasyConnect. The details are provided in the SYNC User Manual.

3.4. Restart IEC-104 Interface Module


The IEC-104 interface must be restarted to get the effect of the configuration file downloaded.
The details for this activity is mentioned in SYNC User Manual.

IEC60870-5-104 Master Interface 7


4. IEC 60870-5-104 Master Configuration Details
4
This section on IEC-104 configuration details covers the following topics:
• Overview of the IEC-104 Master Configuration details
• IEC-104 Master Channel parameter details
• IEC-104 Master Node/Station parameter details
• IEC-104 Master Profile parameter details
• Automapping

4.1. Overview of IEC 60870-5-104 Master Configuration


The IEC-104 configuration through EasyConnect can be divided into three sections namely,
Channel, Node or Station and Profile.

4.2. IEC-104 Master Channel Parameter Details


The channel of a protocol consists of the parameters required to establish the link with its peer
device. The detailed description, optional values and default values are given in the following
tables. The Channel parameters are mentioned in Table 3.

Range/Optional
Parameter name Default value Description
values
Configuration Type TCP(1), TCP_ TCP(1) Refer section 4.2.1
MULTIDROP(3)
Channel Type TCP TCP Type of communication Channel.
IP Address of remote Standard IP Address 0.0.0.0 Specifies the IP address of the remote
device, that must be connected to IEC-
104 Master. The default value 0.0.0.0 is
the loop back IP address.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
Port Number Valid TCP Port 20000 Specifies the TCP port on which IEC-
range 104 will listen for connection from
remote device.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
Select Timeout (1 – 1 – 10000 msec 5 Specifies the Timeout used for select
10000 msec) system call before receive from and
send to the TCP socket. This field is
used in some specific cases. Usually
user can leave it and can put the
default value.
Note: This parameter will be disabled If
Configuration Type TCP is selected.
First Char Wait (0 – 0 – 65535 0 msec How long to wait before transmitting a
65535 msec) milliseconds character, after a character is received
Note: This parameter will be disabled if
Configuration Type TCP is selected.

IEC60870-5-104 Master Interface 8


Range/Optional
Parameter name Default value Description
values
Incremental Timeout 0 – 4294967295 30000 msec Maximum time before a response is
(0 – 4294967295 milliseconds obtained from remote device, after an
msec ) outstanding request is made.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
T1 Time (0 – 0 – 4294967295 15000msec Indicates the Confirm timeout of send
4294967295 msec) milliseconds or test APDUs.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
T2 Time (0 – 0 – 4294967295 10000msec Indicates the Timeout for
4294967295 msec) milliseconds acknowledgment in case of no data
messages (The maximum amount of
time after receiving the last I-FORMAT
APDU before transmitting an
S-FORMAT APDU.).
Note: This parameter will be disabled if
Configuration Type TCP is selected.
T3 Time (0 – 0 – 4294967295 20000msec Indicates the Timeout for sending test
4294967295 msec) milliseconds frames in case of a long idle state.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
W 1-32 8 This implies the maximum number of I
Format data APDUs to receive before
sending an S-FORMAT confirm APDU
Note: This parameter will be disabled if
Configuration Type TCP is selected.
K 1-32 12 Indicates the maximum number of I
Format data APDUs to send before
receiving confirmation. The transmitter
stops sending the transmission at k
unacknowledged I-FORMAT APDUs
Recommendation: W should not
exceed two-thirds of K.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
Offline Poll Period (1 1 – 4294967 sec 10 Specifies how often a channel that
-4294967 sec) is offline will attempt to re-establish
communication.
Note: This parameter will be disabled if
Configuration Type TCP is selected.
Enable Encryption False, True False Option to enable or disable encryption.
When True is selected, a pop-up
window appears for encryption
settings. (Note : For details refer SYNC
field level software User Manual).
Selecting False will reset all encryption
parameters for this channel.
Note: This parameter will be disabled
if Configuration Type TCP is selected.
Encryption support depends on specific
SYNC device model.

IEC60870-5-104 Master Interface 9


Range/Optional
Parameter name Default value Description
values
Channel failure All node failure, All node failure The channel is considered as
condition Single node failure, active or inactive depending on this
Ignore the failure configuration. If HSB is configured in
the gateway, it will use this channel
status for making the switch over
decision
All node failure: channel is made
inactive if all the nodes in the channel
fails.
Single node failure: channel is made
inactive if any of the the nodes in the
channel fails.
Ignore: channel is made inactive if
all the nodes in the channel fails. But
HSB will not use this channel status for
making the switch over decision.

Table 3: IEC 60870-5-104 Master Channel Parameters

4.2.1. Configuration Type


User can Configure multiple IEC-104 TCP channels either by adding multiple channels in the
configuration file or by adding a single channel and adding multiple nodes under this channel.
When TCP (default value) is selected as Configuration Type, channel specific parameters like IP,
Port Number will be disabled in the channel and the same can be configured in nodes configured
under this channel. In this, separate TCP connections will be made for each node. But when
TCP_MULTIDROP is selected, the same TCP connection will be shared for all nodes under the
channel. So user can configure the channel specific details in the channel section.

4.3. IEC 60870-5-104 Node/Station Parameter Details


Range/ Optional
Parameter name Default value Description
values
IP Address of Standard IP 0.0.0.0 Specifies the IP address of the remote
remote Address device, that must be connected to IEC-104
Master. The default value 0.0.0.0 is the loop
back IP address.
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
Port Number Valid TCP Port 20000 Specifies the TCP port on which IEC-104 will
range listen for connection from remote device.
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
Select Timeout (1 1 – 10000 msec 5 Specifies the Timeout used for select system
– 10000 msec) call before receive from and send to the TCP
socket. This field has use in some specific
cases. Usually user can leave it and can put
the default value.
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.

IEC60870-5-104 Master Interface 10


Range/ Optional
Parameter name Default value Description
values
First Char Wait (0 0 – 65535 0 msec How long to wait before transmitting a
– 65535 msec) milliseconds character, after a character is received
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
Incremental 0 – 4294967295 30000 msec Maximum time before a response is obtained
Timeout (0 – milliseconds from remote device, after an outstanding
4294967295 request is made.
msec ) Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
T1 Time (0 – 0 – 4294967295 15000msec Indicates the Confirm timeout of send or test
4294967295 milliseconds APDUs.
msec) Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
T2 Time (0 – 0 – 4294967295 10000msec Indicates the Timeout for acknowledgment
4294967295 milliseconds in case of no data messages (The maximum
msec) amount of time after receiving the last
I-FORMAT APDU before transmitting an
S-FORMAT APDU.).
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
T3 Time (0 – 0 – 4294967295 20000msec Indicates the Timeout for sending test frames
4294967295 milliseconds in case of a long idle state.
msec) Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
W 0 -65535 8 This implies the maximum number of I
Format data APDUs to receive before
sending an S-FORMAT confirm APDU
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
K 0 -65535 12 Indicates the maximum number of I Format
data APDUs to send before receiving
confirmation. The transmitter
stops sending the transmission at k
unacknowledged I-FORMAT APDUs
Recommendation: W should not exceed two-
thirds of K.
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.
Offline Poll 1 – 4294967 sec 10 Specifies how often a channel that is offline
Period (1 will attempt to re-establish communication.
-4294967 sec) Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel.

IEC60870-5-104 Master Interface 11


Range/ Optional
Parameter name Default value Description
values
Enable False, True False Option to enable or disable encryption.
Encryption When True is selected, a pop-up window
appears for encryption settings. (Note :
For details refer SYNC field level software
User Manual). Selecting False will reset all
encryption parameters for this node.
Note: This parameter will be disabled if
Configuration Type TCP_MULTIDROP is
selected in channel. Encryption support
depends on specific SYNC device model.
Station Address 0 -65535 1 Indicates the common Address of ASDU
Originator 0 – 255 4 Originator address of this device, if not used
Address set to zero.
COT Size 1–2 2 Specifies Size of Cause of Transmission in
octets
Enable Clock True/False True To enable or disable clock synchronization.
sync
Clock Sync Type EOI , Interval , EOI Specifies when to synchronize. If 'Interval' is
Session Online checked, the IEC-104 Master will issue time
synchronization command at startup and
then periodically in 'Clock Synchronization
Interval' period. 'EOI' will do the same on
receiving ASDU EOI and if ‘Session Online’
is checked the time synchronization will be
issued when the session become online.
Multiple choice can be ticked.
Clock 0 – 71582 minutes 10 min Specifies the Interval for time
SyncInterval (0 – synchronization.
71582 min) Note: Valid only when the “Interval” is ticked
in Clock sync Type.
Enable General True/False True To enable or disable general Interrogation.
Interrogation
General EOI , Interval , EOI If interval option is checked, it will request at
Interrogation Session Online configured intervals, if EOI option is checked,
Type send request on receiving ASDU EOI and
if Session online option is checked send
request when the session becomes online.
Note: Multiple choice can be ticked.
General 0 – 71582 minutes 5 min Specify Interval in which a General
Interrogation Interrogation command is sent.
Interval (0 – Note: Valid only if Interval is checked in
71582 min) General Interrogation mode.
Scan Group-1 0 – 71582 minutes 5 min Specify scanning Interval for groups
Interval (0 – configured in Scan Group-1
71582 min)
Configure Scan 1 – 16 1 Specify groups defined under ‘Scan Group-1
Groups -1 Interval’
Scan Group-2 0 – 71582 minutes 10 min Specify scanning Interval for groups
Interval (0 – configured in Scan Group-2
71582 min)

IEC60870-5-104 Master Interface 12


Range/ Optional
Parameter name Default value Description
values
Configure Scan 1 – 16 1 Specify groups defined under ‘Scan Group-2
Groups -2 Interval’
Scan Group-3 0 – 71582 minutes 10 min Specify scanning Interval for groups
Interval (0 – configured in Scan Group-2
71582 min)
Configure Scan 1 – 16 1 Specify groups defined under ‘Scan Group-3
Groups -3 Interval’
Enable Counter True/False TRUE To enable or disable Counter interrogation.
Interrogation
Counter EOI, Interval , EOI Specify when to request for Counter
Interrogation Session Online Interrogation. If Interval is selected it will
Type request at configured intervals, if selected
EOI, send request on receiving ASDU EOI
and if selected ‘Session Online’ send request
when the session become online.
Note: Multiple options can be checked.
Counter 0 – 71582 minutes 10 min Specify Interval in which a Counter
Interrogation interrogation command is sent.
Interval (0 – Note: It is enabled only when Interval is
71582 min) checked in counter interrogation type.
Counter Group 0 – 71582 minutes 15 min Specify Interval in which a Counter group
Interrogation interrogation command is sent.
Scan group
Interval (0 –
71582 min)
Configure Scan 1 – 16 1 Specify groups defined for counter group
Groups for interrogation.
Counter Group
Interrogation
Enable True / False False Specifies whether to generate event on
Diagnostic Point Diagnostic point on getting offline/online.
Event
Event on Quality Generate Internal External Specifies whether to generate event when
Change Event/External triggered only status (quality) flag of points are modified.
triggered only
CSE Active True / False True Specifies whether to expect ACT TERM
Termination from slave upon completion of Set Point
commands.
CMD Active True / False True Specifies whether to expect ACT TERM from
Termination slave upon completion of commands other
than Set Point commands.

Table 4: IEC 60870-5-104 Master Node/Station Parameters

IEC60870-5-104 Master Interface 13


4.4. IEC 60870-5-104 Profile Parameter Details
Parameter name Range/ Optional values Default value Description
ASDU Type Single Indication NA Possible ASDU types for the points
Double Indication in the master database.
Step Position Information
Measured Value [N]
Measured Value [S]
Measured Value [F]
Integrated Totals
Bitstring of 32 bits
Single Commands
Double Commands
Regulating Step
Command
Set Point Command [N]
Set Point Command [S]
Set Point Command [F]
Set Point Command [B]
Information 1 - 16777215 NA The associated address of the first
Object Address element of the sequence.
Number of Points 1 - 65535 NA Specifies the number of points
starting from IOA
Dead Band (0 – 0 – 2147483648 0 If the Change in data value from the
2147483648) previous updated value is higher
than ‘dead band’, the analog data
points will get updated in the SYNC
database. If event reporting is
supported by the slave row mapped
to this master row the data will be
reported as event. Dead Band, set
to ‘0’ will work as if the ‘Dead Band’
is disabled.
Is Select True/ False False This parameter if ‘True’ will cause
Required a command to execute only if a
valid select is obtained on the slave
protocol point mapped to this IEC-
104 point.
Note: Valid only if ASDU Type is a
Command.
Comments Specifies the description about the
points

Table 5: IEC 60870-5-104 Master profile Parameters

ASDU Type Supporting Types


M_SP_NA_1
Single Indication
M_SP_TB_1
M_DP_NA_1
Double Indication
M_DP_TB_1
M_ST_NA_1
Step position Information
M_ST_TB_1
M_ME_NA_1
Measured Value (N)
M_ME_TA_1

IEC60870-5-104 Master Interface 14


ASDU Type Supporting Types
M_ME NB_1
Measured Value (S)
M_ME_TE_1
M_ME_NC_1
Measured Value (F)
M_ME_TF_1
M_IT_NA_1
Integrated Totals
M_IT_TB_1
M_BO_NA_1
Bitstring of 32 bit
M_BO_TA_1
Single command C_SC_NA_1
Double Command C_DC_NA_1
Regulating Step Commands C_RC_NA_1
Set Point Command (N) C_SE_NA_1
Set Point Command (S) C_SE_NB_1
Set Point Command (F) C_SE_NC_1
Set Point Command (B) C_BO_NA_1

Table 6: IEC 60870-5-104 Master supporting ASDU Types

4.5. Auto Mapping


IEC 104 Master supports the auto mapping of profile rows. User can either auto map the entire
row configured in the master profile or some selected rows. Auto mapping of profile rows of IEC
104 protocol can be done with EasyConnect configuration utility. More details on auto mapping
are available in the SYNC User Manual.

IEC 104 Master profile points of same ‘ASDU Type’ are grouped in Auto Map window.

IEC60870-5-104 Master Interface 15


Appendix A – IEC 60870-5-104 Master Interface
A
Interoperability
This section provides complete information on the communication that can be done via the
SYNC IEC-104 Master Interface. The interoperability list is similar to IEC 60870-5-101 and
extended with parameters used in this standard. The text descriptions of parameters that are
not applicable to this companion standard, have been strike-through (where the corresponding
check box is marked black).

The selected parameters are marked in the check boxes as follows:


Function or ASDU is not used
 Function or ASDU is used as standardized (default)
R Function or ASDU is used in reverse mode
B Function or ASDU is used in standard and reverse mode

System or device
System definition
 Controlling station definition (Master)
Controlled station definition (Slave)

Network configuration
Point-to-point Multipoint
Multiple point-to-point Multipoint-star

Physical layer
Transmission speed (control direction)
Unbalanced interchange Unbalanced interchange Balanced
Circuit V.24/V.28 Circuit V.24/V.28 interchange
Standard Recommended if >1 200bit/s Circuit X.24/X.27

100 bit/s 2400 bit/s 2400 bit/s 56000 bit/s


200 bit/s 4800 bit/s 4800 bit/s 64000 bit/s
300 bit/ 9600 bit/s 9600 bit/s
600 bit/s 19200 bit/s
1200 bit/s 38400 bit/s

IEC60870-5-104 Master Interface 16


Transmission speed (monitor direction)
Unbalanced interchange Unbalanced interchange Balanced
Circuit V.24/V.28 Circuit V.24/V.28 interchange
Standard Recommended if >1 200bit/s Circuit x.24/x.27

100 bit/s 2400 bit/s 2400 bit/s 56000 bit/s


200 bit/s 4800 bit/s 4800 bit/s 64000 bit/s
300 bit/ 9600 bit/s 9600 bit/s
600 bit/s 19200 bit/s
1200 bit/s 38400 bit/s

3 Link layer

Link transmission procedure Address field of the link

Balanced transmission not present (balanced


transmission only)
Unbalanced transmission One octet
Frame length Two octets
Maximum length L (number of octets) Structured
Unstructured

When using an unbalanced link layer, the following ASDU types are returned in class 2 messages
(low priority) with the indicated causes of transmission:
The standard assignment of ASDUs to class 2 messages is used as follows:

Type identificationCause of transmission


Type identification Cause of transmission
9, 11, 13, 21 <1>

A special assignment of ASDUs to class 2 messages is used as follows:

Note: (In response to a class 2 poll, a controlled station may respond with class 1 data
when there is no class 2 data available).

Type identification Cause of transmission

IEC60870-5-104 Master Interface 17


Application layer
Transmission mode for application data

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

Common address of ASDU

One octet x Two octets

Information object address

One octet x Structured

Two octets Unstructured

x Three octets

Cause of transmission

Two octets (with originator address)


x One octet x
Originator address is set to zero if not used

IEC60870-5-104 Master Interface 18


Length of APDU

The maximum length of the APDU is 253 (default)


Selection of standard ASDUs

Process information in monitor direction


x <1> :=Single-point information M_SP_NA_1
x <2> :=Single-point information with time tag M_SP_TA_1
x <3> :=Double-point information M_DP_NA_1
x <4> :=Double-point information with time tag M_DP_TA_1
x <5> :=Step position information M_ST_NA_1
x <6> :=Step position information with time tag M_ST_TA_1
x <7> : Bitstring of 32 bit M_BO_NA_1
x <8> :=Bitstring of 32 bit with time tag M_BO_TA_1
x <9> :=Measured value, normalized value M_ME_NA_1
x <10> :=Measured value, normalized value with time tag M_ME_TA_1
x <11> :=Measured value, scaled value M_ME_NB_1
x <12> :=Measured value, scaled value with time tag M_ME_TB_1
x <13> :=Measured value, short floating point value M_ME_NC_1
x <14> :=Measured value, short floating point value with time tag M_ME_TC_1
x <15> :=Integrated totals M_IT_NA_1
x <16> :=Integrated totals with time tag M_IT_TA_1
<17> :=Event of protection equipment with time tag M_EP_TA_1
<18> :=Packed start events of protection equipment with time tag M_EP_TB_1
<19> :=Packed output circuit information of protection equipment with time tag M_EP_TC_1
<20> :=Packed single-point information with status change detection M_SP_NA_1
<21> :=Measured value, normalized value without quality descriptor M_ME_ND_1
x <30> :=Single-point information with time tag CP56Time2a M_SP_TB_1
x <31> :=Double-point information with time tag CP56Time2a M_DP_TB_1
x <32> :=Step position information with time tag CP56Time2a M_ST_TB_1
x <33> :=Bitstring of 32 bit with time tag CP56Time2a M_BO_TB_1
x <34> :=Measured value, normalized value with time tag CP56Time2a M_ME_TD_1
x <35> :=Measured value, scaled value with time tag CP56Time2a M_ME_TE_1
x <36> :=Measured value, short floating point value with time tag CP56Time2a M_ME_TF_1
x <37> :=Integrated totals with time tag CP56Time2a M_IT_TB_1
<38> :=Event of protection equipment with time tag CP56Time2a M_EP_TD_1
<39> :=Packed start events of protection equipment with time tag CP56Time2a M_EP_TE_1
<40> :=Packed output circuit information of protection equipment with time tag M_EP_TF_1
CP56Time2a

IEC60870-5-104 Master Interface 19


Process information in control direction
x <45> :=Single command C_SC_NA_1
x <46> :=Double command C_DC_NA_1
x <47> :=Regulating step command C_RC_NA_1
x <48> :=Set Point command, normalized value C_SE_NA_1
x <49> :=Set Point command, scaled value C_SE_NB_1
x <50> :=Set Point command, short floating point value C_SE_NC_1
x <51> :=Bitstring of 32 bit C_BO_NA_1
<58> :=Single command with time tag CP56Time 2a C_SC_TA_1
<59> :=Double command with time tag CP56Time 2a C_DC_TA_1
<60> :=Regulating step command with time tag CP56Time 2a C_RC_TA_1
<61> :=Set Point command, normalized value with time tag CP56Time 2a C_SE_TA_1
<62> :=Set Point command, scaled value with time tag CP56Time 2a C_SE_TB_1
<63> :=Set Point command, short floating point value with time tag CP56Time C_SE_TC_1
<64> :=Bitstring of 32 bit with time tag CP56Time 2a C_BO_TA_1

System information in monitor direction

x <70> :=End of initialization M_EI_NA_1

System information in control direction


x <100> :=Interrogation command C_IC_NA_1
x <101> :=Counter interrogation command C_CI_NA_1
<102> :=Read command C_RD_NA_1
x <103> :=Clock synchronization command C_CS_NA_1
<104> :=Test command C_TS_NA_1
<105> :=Reset process command C_RP_NA_1
<106> :=Delay acquisition command C_CD_NA_1
<107> :=Test command with time tag CP56time2a C_TS_TA_1

Parameter in control direction


<110> :=Parameter of measured value, normalized value P_ME_NA_1
<111> :=Parameter of measured value, scaled value P_ME_NB_1
<112> :=Parameter of measured value, short floating point value P_ME_NC_1
<113> :=Parameter activation P_AC_NA_1

IEC60870-5-104 Master Interface 20


File Transfer
<120> :=File ready F_FR_NA_1
<121> :=Section ready F_SR_NA_1
<122> :=Call directory, select file, call file, call section F_SC_NA_1
<123> :=Last section, last segment F_LS_NA_1
<124> :=Ack file, ack section F_AF_NA_1
<125> :=Segment F_SG_NA_1
<126> :-Directory {blank or x, only available in monitor (standard) direction} F_DR_TA_1

Type identifier and cause of transmission assignments

Shaded boxes are not required


Black boxes are not permitted in this companion standard
Blank: functions or not used

Mark Type Identification/Cause of transmission combinations:


‘X’ if only used in the standard direction
‘R’ if only used in the reverse direction
‘B’ if used in both directions

IEC60870-5-104 Master Interface 21


Type identification Cause of transmission
periodic, back- spontane- initialized request or activation activation deactiva- deactiva- activation return info return info file transfer inter- request by unknown unknown unknown unknown
cyclic ground ous requested confirma- tion tion confir- termina- caused by caused rogated group <n> type identi- cause of common informa-
scan tion mation tion a remote by a local by group counter fication transmis- address of tion object
cmd cmd <number> request sion ASDU address

1 2 3 4 5 6 7 8 9 10 11 12 13 20 to 36 37 to 41 44 45 46 47

<1> M_SP_NA_1 X X X

<2> M_SP_TA

<3> M_DP_NA_1 X X

<4> M_DP_TA_1

<5> M_ST_NA_1 X X X

<6> M_ST_TA_1

<7> M_BO_NA_1 X X X

<8> M_BO_TA_1

<9> M_ME_NA_1 X X X X

<10> M_ME_TA_1

<11> M_ME_NB_1 X X X X

<12> M_ME_TB_1

<13> M_ME_NC_1 X X X X

<14> M_ME_TC_1

<15> M_IT_NA_1 X X X

<16> M_IT_TA_1

<17> M_EP_TA_1

<18> M_EP_TB_1

<19> M_EP_TC_1

<20> M_PS_NA_1

<21> M_ME_ND_1

<30> M_SP_TB_1 X X X X

<31> M_DP_TB_1 X X X X

<32> M_ST_TB_1 X X X X

<33> M_BO_TB_1 X X

<34> M_ME_TD_1 X X

<35> M_ME_TE_1 X X

<36> M_ME_TF_1 X X X

<37> M_IT_TB_1 X

<38> M_EP_TD_1

<39> M_EP_TE_1

<40> M_EP_TF_1

<45> C_SC_NA_1 X X X X X X X X X

<46> C_DC_NA_1 X X X X X X X X X

<47> C_RC_NA_1 X X X X X X X X X

<48> C_SE_NA_1 X X X X X X X X X

<49> C_SE_NB_1 X X X X X X X X X

<50> C_SE_NC_1 X X X X X X X X X

<51> C_BO_NA_1 X X X X X X X

<58> C_SC_TA_1

<59> C_DC_TA_1

<60> C_RC_TA_1

<61> C_SE_TA_1

<62> C_SE_TB_1

IEC60870-5-104 Master Interface 22


Type identification Cause of transmission
periodic, back- spontane- initialized request or activation activation deactiva- deactiva- activation return info return info file transfer inter- request by unknown unknown unknown unknown
cyclic ground ous requested confirma- tion tion confir- termina- caused by caused rogated group <n> type identi- cause of common informa-
scan tion mation tion a remote by a local by group counter fication transmis- address of tion object
cmd cmd <number> request sion ASDU address

1 2 3 4 5 6 7 8 9 10 11 12 13 20 to 36 37 to 41 44 45 46 47
<63> C_SE_TC_1

<64> C_BO_TA_1

<70> M_EI_NA_1*)

<100> C_IC_NA_1 X X X X X X X X X

<101> C_CI_NA_1 X X X X X X

<102> C_RD_NA_1

<103> C_CS_NA_1 X X X X X X

<104> C_TS_NA_1

<105> C_RP_NA_1

<106> C_CD_NA_1

<107> C_TS_TA_1

<110> P_ME_NA_1

<111> P_ME_NB_1

<112> P_ME_NC_1

<113> P_AC_NA_1

<120> F_FR_NA_1

<121> F_SR_NA_1

<122> F_SC_NA_1

<123> F_LS_NA_1

<124> F_AF_NA_1

<125> F_SG_NA_1

<126> F_DR_TA_1*)
Basic application functions

Station initialization

x Remote Initialization

Cyclic data transmission

x Cyclic data transmission

Read procedure

Read procedure

Spontaneous transmission

x Spontaneous transmission

Double transmission of information objects with cause of transmission spontaneous

The following type identifications may be transmitted in succession caused by a single status
change of an information object. The particular information object addresses for which double
transmission is enabled are defined in a project-specific list.

Single-point information M_SP_NA_1, M_SP_TA_1, M_SP_TB_1 and M_PS_NA_1

Double-point information M_DP_NA_1, M_DP_TA_1 and M_DP_TB_1

Step position information M_ST_NA_1, M_ST_TA_1 and M_ST_TB_1

Bitstring of 32 bit M_BO_NA_1, M_BO_TA_1 and M_BO_TB_1 (if defined for a specific project)

Measured value, normalized value M_ME_NA_1, M_ME_TA_1, M_ME_ND_1 and M_ME TD_1

Measured value, scaled value M_ME_NB_1, M_ME_TB_1 and M_ME_TE_1

Measured value, short floating point number M_ME_NC_1, M_ME_TC_1 and M_ME_TF_1

Station interrogation

x global

x group 1 x group 7 x group 13

x group 2 x group 8 x group 14

x group 3 x group 9 x group 15

x group 4 x group 10 x group 16

x group 5 x group 11

x group 6 x group 12

Clock synchronization

x Clock synchronization

IEC60870-5-104 Master Interface 24


Command transmission

x Direct command transmission

x Direct set point command transmission

x Select and execute command

x Select and execute set point command

x C_SE ACTTERM used

x No additional definition

Short pulse duration (duration determined by a system parameter in the outstation)

Long pulse duration (duration determined by a system parameter in the outstation)

Persistent output

Transmission of integrated totals

Mode A: Local freeze with spontaneous transmission

Mode B: Local freeze with counter interrogation

Mode C: Freeze and transmit by counter-interrogation commands

Mode D: Freeze by counter-interrogation command, frozen values reported spontaneously

Counter read

Counter freeze without reset

Counter freeze with reset

Counter reset

x Request counter

x Request counter group 1

x Request counter group 2

x Request counter group 3

x Request counter group 4

Parameter loading

Threshold value

Smoothing factor

Low limit for transmission of measured values

Parameter activation

Act/Deact of persistent cyclic or periodic transmission of the addressed object

IEC60870-5-104 Master Interface 25


Test procedure

Test procedure

File transfer
File transfer in monitor direction

Transparent file

Transmission of disturbance data of protection equipment

Transmission of sequences of events

Transmission of sequences of recorded analog values

File transfer in control direction

Transparent file

Background scan

Background scan

Acquisition of transmission delay

Acquisition of transmission

Definition of time outs


Parameter Default value Remarks Selected value
t1 15s Time-out of send or test APDUs Configurable
t2 10s Time-out for acknowledges in case of no data Configurable
messages t2 < t1
t3 20s Time-out for sending test frames in case of a Configurable
long idle state

Parameter Default value Remarks Selected value


Maximum difference receive sequence number
k 12 APDUs Configurable
to send state variable
Latest acknowledge after receiving w I-format
w 8 APDUs Configurable
APDUs

IEC60870-5-104 Master Interface 26


Appendix B – References
B
• IEC 60870 -5-104 - Standard
• SYNC User Manual

Note: KSGL series have been replaced by their functionally equivalent SYNC series.
For details, refer KSGL/SYNC User Manual.

IEC60870-5-104 Master Interface 27


Glossary
The following table shows the acronyms/abbreviations used in this document:
Acronyms/Abbreviations Description
IED Intelligent Electronic Device
TCP Transmission Control Protocol
HSB Hot Standby Protocol

Table 7: List of Abbreviations

IEC60870-5-104 Master Interface 28

You might also like