Professional Documents
Culture Documents
MICROSOL XELL - IEC60870-5-104 SLAVE Config. Guide For Workbench
MICROSOL XELL - IEC60870-5-104 SLAVE Config. Guide For Workbench
VERSION: 1.01
IEC60870-5-104 Slave Protocol
Configuration Guide Version 1.01
Revision History
Page 2 of 27
Table Of Contents
1. INTRODUCTION ...........................................................................................................................4
2.1 Introduction...........................................................................................................................................5
2.2 Application Layer .................................................................................................................................5
2.2.1 ASDU’s defined for IEC68070-5-104. ...................................................................................5
2.3 General features....................................................................................................................................6
Page 3 of 27
1. Introduction
1.1 Purpose and Scope of this Document
This document will enable the user to configure the XCell IEC60870-5-104 Slave interface in
conjunction with the Microsol Workbench Configuration Tool to transmit the required user
data, to a protocol compliant Master Control Station.
This guide will enable the user to map specific XCell data points or events to IEC60870-5-104
Information Object Addresses (IOA’s). The features and commands available in the current
Microsol implementation of the IEC60870-5-104 SLAVE protocol are outlined in both the
Microsol IEC60870-5-104 Interoperability Checklist and the Microsol IEC60870-5-104 SLAVE
Functional Description. .
1.2 References
[3] Document Title IEC60870-5-4 Definition and Coding of Application Information Elements
Revision: 1993-08
Author: International Electrotechnical Commission
Source: Bureau Central de la Commission Electrotechnique
3. Rue de Varemé
Geneva
Switzerland
Page 4 of 27
2.1 Introduction
The IEC60870-5-104 provides a network access protocol for the IEC60870-5-101 application
layer. It is an open and standard protocol defined for telecontrol applications and provides
the security and functionality required for such remote monitoring and control. It is based on
a subset of ISO 7498 (generally referred to as the “ISO Seven Layer Reference Model”) with
layers 5 and 6 (Session and Presentation layers) excluded. The TCP/IP protocol suite takes
care of the lower layers with IEC68070-5-104 specifically addressing the transport interface at
the Application layer and the Application layer.
Page 5 of 27
• Event Buffering
• Time Synchronization
• Parameter Downloading
Page 6 of 27
Page 7 of 27
Page 8 of 27
IECGEN Table In
Project Grid View
(above)
Page 9 of 27
* Note: These fields resolve percentage input to 0.01%, therefore 1% requires a field entry of 100
Page 10 of 27
3.2.2.1.1 TAG
The TAG field identifies the instance of the IEC60870-5-104 protocol. This unique tag must be
referenced in the IEC-FILE node if using SOE or configuration file transfer. Otherwise the tag
is not referenced.
Page 11 of 27
value is 1000, which translates to 10% threshold value; therefore the maximum value
permissible is 10000 or 100%.
3.2.2.2.2 t1 Timeout
The t1 Timeout value is the time after which the Slave device disconnects if it has not received
a response to a message sent to the Master device.
3.2.2.2.3 t2 Timeout
The t2 Timeout value is an idle timeout. It is the time the Slave device will wait between
message transmissions, if this time elapses and nothing has arrived (or been sent) the Slave
device will send a TESTFR message.
Page 12 of 27
Page 13 of 27
Figure 3 - IEC60870-5-104 Slave Unit With IEC 104 Slave Gen and IEC104 Slave Map Tables
Page 14 of 27
Page 15 of 27
3.2.4.5 Timestamped
Each individual data point can be configured for transmission with or without an
accompanying timestamp.
3.2.4.6 Insignificant
A change in a data value may be selected to either generate an IEC event or not. This may be
configured through the Insignificant field. When Insignificant is selected as ‘Yes’, any data
point changes will not cause an event to be generated. However, the changed value is stored
and is accessible through the IEC General Interrogation.
3.2.4.7 GI Group
This field allows a user to select which general interrogation group the point is to be returned
in. If the user selects ‘no’ then the point will not be returned in a GI, if the point is selected as
‘global’ then it will be returned in a global general interrogation. There are also 16 groups that
points can be configured in, points configured in these groups will be returned in a ‘global’
interrogation or in a specific interrogation of their group.
Page 16 of 27
Page 17 of 27
4. Downloading Configurations
When the protocol configuration is complete it must then be downloaded into the XCell
IEC60870-5-104 Slave unit. The procedure for downloading configuration data into a unit is
described in the Microsol Workbench Users Guide. The Protocol tables should be
downloaded to the IEC60870-5-104 Slave unit individually and in a specific order to ensure
correct operation; this order is defined by the following sequence.
1. IECMAP
The unit may contain other table relating to I/O units installed in the cell. These may be
should be downloaded prior to the IEC tables.
Page 18 of 27
GPS Unit Current Value Analogue Analogue Digital Packed Command t1 Timeout t3 Timeout k (max transmit) w (max receive)
Number Analogues Threshold Deadband Messages Delay
Page 19 of 27
Description Field Reference Tag Map IOA Data Type Timestamped Insignificant GI Group Cyclic
Range Address Transmission
Period (ms)
Feeder 1 Status1 1-bit Data SDI_1_01 1 100 Single Point (Input) Yes No Global 0
Phase R Voltage2 16-bit Vr 1 200 Measured Value (Norm) No No Global 0
Data
PROCAI Minimum PRAI_1_4 4 1000 Measured Value (Periodic)3 Yes No No 0
Accumulator 32-bit ACCUM_5_48 1 5048 Counter/Accumulator Yes No No 0
Data
Page 20 of 27
A04 – 011 Incorrect firmware installed on the XCell Ensure correct versions of IEC60870-5-104 and
processor module board. Incorrect version of BASE are installed. Ensure correct version of
Microsol Workbench. Microsol Workbench.
A04 – 020 Incorrect firmware installed on the XCell Ensure correct versions of IEC60870-5-104 and
processor module board. BASE are installed.
A04 – 030 Incorrect firmware installed on the XCell Ensure correct versions of IEC60870-5-104 Slave
processor module board. and BASE firmware are installed.
A04 – 040 Hardware failure or insufficient memory. Ensure that all RAM chips correctly inserted.
Check that the memory expansion card is
correctly installed. Ensure that a correct version of
IEC60870-5-104 and BASE firmware is installed.
A04 – 041 Unrecognised message type received from the Ensure correct versions of IEC60870-5-104 and
Master Station. BASE firmware are installed in the XCell
processor module. Check the IEC60870-5-104
message type byte in the frame sent by IEC60870-
5-104.
A04 – 042 Internal software failure; error on writing to a Ensure correct versions of IEC60870-5-104 and
time buffer. General hardware failure. BASE firmware are installed on the XCell
processor module board. Ensure a memory
expansion board is installed on the XCell
processor unit board.
A04 – 043 Error on reading from the internal time buffer, Ensure that correct versions of IEC60870-5-104
or general hardware failure. and BASE firmware are installed on the XCell
processor module card. Ensure that the memory
expansion card is installed.
A04 - 044 Error while processing internal IEC60870-5-104 Ensure correct versions of IEC60870-5-104 and
protocol messages. Possible configuration BASE firmware are installed on the XCell
problem with the downloaded MAP table. processor module board. Ensure a memory
expansion card is installed. Ensure that a correct
configuration is downloaded from MICROSOL
WORKBENCH.
A04 - 045 Error while accessing XCell database. Possible Ensure correct versions of IEC60870-5-104 and
configuration problem with the downloaded BASE firmware are installed. Ensure memory
MAP table. expansion card is installed. Ensure correct
configuration is downloaded from MICROSOL
WORKBENCH.
A04 - 046 Internal software problem. One of the This is a valid operational situation. Ensure that
following buffers has overflowed; Event buffer the host does not issue multiple simultaneous
or Command Response buffer. commands. Ensure a memory expansion card is
installed.
Page 21 of 27
A04 – 048 Attempt to perform a Single command failed. Ensure a valid protocol configuration was
downloaded to the XCell. Verify the host
database.
A04 – 049 The requested operation is neither a SELECT, Ensure a correct version of IEC60870-5-104
EXECUTE or BREAK. firmware is installed. Check the single command
sent from the master station.
A04 – 050 Attempt to perform a Single command failed. Ensure a valid protocol configuration was
downloaded to the cell. Verify that the cell
containing the outputs has been correctly
configured. Ensure a correct version of IEC60870-
5-104 firmware is installed. Check the single
command sent from the master station.
A04 – 051 The requested operation is neither a SELECT, Ensure a valid MICROSOL WORKBENCH
EXECUTE or BREAK. protocol configuration was downloaded to the
XCell processor unit. Verify that the XCell
containing the outputs has been configured
correctly. Ensure a correct version of IEC60870-5-
104 firmware is installed. Check the double
command sent from the master station.
A04 – 052 Attempt to perform a Double command failed. Ensure a valid MICROSOL WORKBENCH
protocol configuration was downloaded to the
XCell processor unit. Verify that the XCell
containing the outputs has been configured
correctly. Ensure a correct version of IEC60870-5-
104 firmware is installed. Check the double
command sent from the master station.
A04 – 053 Attempt to perform a regulating step Ensure a valid MICROSOL WORKBENCH
command failed. protocol configuration was downloaded to the
XCell processor unit. Verify that the XCell
containing the outputs has been configured
correctly. Ensure a correct version of IEC60870-5-
104 firmware is installed. Check the regulating
step command sent from the master station.
A04 – 054 Attempt to perform a regulating step Ensure a valid MICROSOL WORKBENCH
command failed. protocol configuration was downloaded to the
XCell processor unit. Verify that the XCell
containing the outputs has been configured
correctly. Ensure a correct version of IEC60870-5-
104 firmware is installed. Check the regulating
step command sent from the master station.
A04 – 055 Attempt to perform a Set Point command Ensure a valid MICROSOL WORKBENCH
failed. protocol configuration was downloaded to the
XCell processor unit. Verify that the XCell
containing the outputs has been configured
correctly. Ensure a correct version of IEC60870-5-
104 firmware is installed. Check the Set Point
command sent from the master station.
Page 22 of 27
A04 – 057 Problem encountered when processing Ensure a valid protocol configuration was
Counter Request. Either the COT or the VSQ downloaded to the cell. Check the interrogation
in the received frame is incorrect (i.e. not in command issued by the master station.
accordance with the IEC60870-5-104
specifications).
A04 – 058 Error encountered when processing the QOI Ensure a valid protocol configuration was
parameter in a received message. downloaded to the cell. Check the interrogation
command issued by the master station.
A04 – 059 Error encountered when processing the Ensure a valid protocol configuration was
Parameter Loading command. downloaded to the cell. Check the measured
value issued by the master station.
A04 – 060 Error encountered when accessing database. Ensure a valid protocol configuration was
downloaded to the cell. Ensure a correct version
of IEC60870-5-104 is installed in the XCell unit.
A04 – 061 Error encountered when processing time Ensure a valid protocol configuration was
functions within the IEC60870-5-104 protocol. downloaded to the cell. Ensure correct version of
IEC60870-5-104 protocol firmware is installed in
the XCell unit.
A04 – 062 Change message received is not a FULL- Ensure a valid protocol configuration was
UPDATE or a Normal Change message. downloaded to the XCell. Ensure correct version
of IEC60870-5-104 protocol firmware is installed
in the XCell unit.
A04 – 063 Unable to determine the Online / Offline status Ensure a correct version of IEC60870-5-104
of another unit. firmware is installed. Ensure that a memory
expansion card is installed.
A04 – 064 Error encountered when processing protocol Ensure a valid protocol configuration was
database, following a cell failure on the local downloaded to the cell. Ensure correct version of
network. IEC60870-5-104 cannot pack unit IEC60870-5-104 protocol firmware. Check the unit
status events. operational status. Check network.
A04 – 065 Error encountered when constructing a 7-byte Ensure a correct version of IEC60870-5-104
time-stamp. firmware is installed. Ensure that a memory
expansion card is installed.
A04 – 066 Error encountered processing SELECT Ensure a valid protocol configuration was
operation for a Set Point command. downloaded to the cell. Ensure correct version of
IEC60870-5-104 protocol firmware is installed in
the XCell processor unit.
A04 – 067 Error encountered processing EXECUTE Ensure a valid protocol configuration was
operation for a Set Point command. possible downloaded to the cell. Ensure correct version of
error in the MICROSOL WORKBENCH IEC60870-5-104 protocol firmware is installed in
configuration. the XCell processor unit.
A04 – 068 Error encountered processing BREAK Ensure a valid protocol configuration was
operation for a Set Point command. downloaded to the cell. Ensure correct version of
IEC60870-5-104 protocol firmware.
Page 23 of 27
A04 – 070 An XCell unit containing a Digital Output card Ensure the target XCell unit is on-line.
has gone off-line.
A04 – 071 Error encountered processing BREAK Ensure a valid protocol configuration was
operation for a Single command. downloaded to the cell. Ensure correct version of
IEC60870-5-104 protocol firmware.
A04 – 072 Error encountered processing SELECT Ensure a valid protocol configuration was
operation for a Double command. downloaded to the cell. Ensure a correct version
of IEC60870-5-104 protocol firmware is installed
in the XCell.
A04 – 073 Error encountered processing EXECUTE Ensure a valid protocol configuration was
operation for a Double command. downloaded to the cell. Ensure a correct version
of IEC60870-5-104 protocol firmware is installed
in the XCell processor unit.
A04 – 074 Error encountered processing BREAK Ensure a valid protocol configuration was
operation for a Double command. downloaded to the cell. Ensure a correct version
of IEC60870-5-104 protocol firmware is installed
in the XCell.
A04 – 075 Error encountered when processing Counter Ensure a valid protocol configuration was
Interrogation command. downloaded to the cell. Ensure a correct version
of IEC60870-5-104 protocol firmware is installed
in the XCell processor module.
A04 – 076 Bad internal data type. Contact your system supplier or equipment
vendor.
A04 – 077 The XCell unit is reporting an internal data Note the operational conditions under which the
type error. message was displayed and contact your system
supplier or equipment vendor.
A04 – 080 Error encountered when formatting messages Ensure correct version of IEC60870-5-104 protocol
for transmission to host. firmware. Check for Hardware failure. Ensure the
memory expansion card is correctly installed.
A04 – 084 Invalid regulation step command. Check input message parameters.
A04 – 100 Error encountered when attempting to allocate Ensure correct version of IEC60870-5-104 protocol
memory. firmware. Check for Hardware failure. Ensure
memory expansion card is correctly installed.
A04 – 101 Error encountered when attempting to free Ensure that correct version of IEC60870-5-104
memory. protocol firmware is installed. Check for
hardware failure. Ensure the memory expansion
card is correctly installed.
A04 – 102 The XCell processor module is reporting a Check that the IEC60870-5-104 Map table in the
Point Type problem during a general MICROSOL WORKBENCH configuration has
integration. been completed properly.
Page 24 of 27
A04 – 104 A bad event buffer was encountered in the Note the operational conditions under which the
IEC60870-5-104 firmware. message was displayed and contact your system
supplier or equipment vendor.
A04 – 110 The IEC60870-5-104 clock has drifted since the Check IECGEN table in the MICROSOL
last time synchronisation. Host did not send WORKBENCH configuration for expected time
Time Sync message within expected time period. Send a time synchronisation command to
period. the unit.
A04 – 199 Error encountered when continuous In order for more commands to be accepted by
commands sent to the RTU and no responses the RTU polling of the RTU needs to occur
have been transmitted. The command continuously. This polling will retrieve previous
response buffer has overfilled. command responses and keep the buffer from
getting filled.
A04 – 200 High-priority output message buffer overflow. RTU polling should occur more frequently to
Usually occurs when multiple digital output retrieve previous command responses and keep
drives are sent but the RTU is not polled for the buffer from getting filled.
responses.
A04 – 227 Error encountered when returning time buffer. Note the operational conditions under which the
message was displayed and contact your system
supplier or equipment vendor.
L04 – 063 Bad message format. Format of received U- Ensure host is generating these unnumbered
format field incorrect. control messages correctly.
L04 – 064 Bad message information. Incorrect Ensure host is generating these unnumbered
information in 1st or 2nd byte of I-format field control messages correctly
L04 – 066 Bad message information. Incorrect Ensure host is generating these unnumbered
information in 3rd byte of I-format message control messages correctly
L04 – 067 Received confirmation of a STARTDT request Verify master correctly configured
which was not issued
L04 – 068 Received confirmation of a STOPDT request Verify master correctly configured
which was not issued
L04 – 069 Receiving I-format fields while system not Master must establish comms by using the
initialised. STARTDT control function before commencing
data transfer.
L04 – 070 One or more I-format fields have been missed Ensure network available and operational
L04 – 072 Internal firmware error Note the operational conditions under which the
message was displayed and contact the system
supplier or equipment vendor
L04 – 074 I-format field indicates more information has Ensure network is correctly operating and that
been received than transmitted master is not resending messages
L04 – 084 Timer t1 timed out causing the link to be If this is occurring regularly check the setting of t1
broken. and t3 parameters on the master and slave devices
and adjust as necessary.
Page 25 of 27
L04 – 086 Error cancelling timer Note the operational conditions under which the
message was displayed and contact the system
supplier or equipment vendor
L04 – 092 Unable to send data This may be due to the socket having been closed
by the master.
L04 – 093 Transmission of data incomplete This may be due to the socket having being closed
by the master during transmission
Page 26 of 27
© Microsol Ltd. 2004. The information in this document is subject to change without prior notice.
Microsol does not assume responsibility for any errors in fact or design in this publication. The
publication is provided for general information only and shall not form part of any contract.
File: IEC60870-5-104 SLAVE CONFIGURATION GUIDE (Microsol Workbench).doc
Page 27 of 27