Sie sind auf Seite 1von 29

SCADAPack E Series

IEC 60870-5-101 Slave Technical


Reference
CONTROL
MICROSYSTEMS
SCADA products... for the distance
48 Steacie Drive Telephone: 613-591-1943
Kanata, Ontario Facsimile: 613-591-1022
K2K 2A9 Technical Support: 888-226-6876
Canada 888-2CONTROL
SCADAPack E Series IEC 60870-5-101 Slave Technical Reference
2006 Control Microsystems Inc.
All rights reserved.
Printed in Canada.

Trademarks
Control Microsystems, RealFLO, RealPACK, TelePACE, SCADALog,
SCADAPack, SCADAPack ES, SCADAPack ER, SCADAPack E Series,
SCADAServer, TeleBUS, TeleSAFE Micro 16, SolarPACK, SmartWIRE,
4202GFC, 4202GFC-DS and related product series are registered trademarks of
Control Microsystems Inc.
All other product names are copyright and registered trademarks or trade names
of their respective owners.


E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
1
TABLE OF CONTENTS
1 OVERVIEW.................................................................................................... 6
2 BASIC FEATURES........................................................................................ 7
2.1 System Capacity............................................................................................ 7
2.1.1 ASDUs without Time Tag.......................................................................... 7
2.1.2 ASDUs with Time Tags (events)............................................................... 7
3 CONFIGURATION......................................................................................... 8
3.1 Serial Port Configurations .............................................................................. 8
3.2 60870-5-101 System Configurations.............................................................. 9
3.2.1 Master Enabled....................................................................................... 10
3.2.2 Link and ASDU Address......................................................................... 10
3.2.3 COM Port................................................................................................ 10
3.2.4 Link Address Size................................................................................... 10
3.2.5 Link Mode............................................................................................... 10
3.2.6 Link Confirm Timeout.............................................................................. 11
3.2.7 Link Retries............................................................................................. 11
3.2.8 Clock Valid Period.................................................................................. 11
3.2.9 Cyclic Period........................................................................................... 11
3.2.10 Background Period................................................................................. 11
3.2.11 Short Pulse Duration............................................................................... 11
3.2.12 Long Pulse Duration............................................................................... 11
3.2.13 Time Format........................................................................................... 12
3.2.14 Select Required...................................................................................... 12
3.2.15 Select Timeout........................................................................................ 12
3.2.16 Event Enabled ASDU Types................................................................... 12
3.2.17 System Point Listing............................................................................... 12
3.3 Individual Point Configurations..................................................................... 14
3.3.1 Binary Points........................................................................................... 14
3.3.2 Analog Points.......................................................................................... 15
3.3.3 Counter Points........................................................................................ 16
3.4 Applying Configurations ............................................................................... 17
3.5 Configuration Errors..................................................................................... 18
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
2
4 ASDU TYPE RTU CONFIGURATION POINT MAPPING......................... 19
4.1 Binary Points................................................................................................ 19
4.1.1 Single Point ASDU Types....................................................................... 19
4.1.2 Double Point ASDU Types...................................................................... 20
4.2 Analog Points............................................................................................... 22
4.2.1 Normalized and Scaled ASDU Types..................................................... 22
4.2.2 Floating Point ASDU Types .................................................................... 22
4.2.3 Step Position ASDU (M_ST_NA_1)........................................................ 22
4.2.4 Quality Descriptor Support...................................................................... 22
4.3 Counter Points ............................................................................................. 23
4.3.1 ASDU Type ID 15: M_IT_NA_1 Integrated Totals ............................... 23
5 SYSTEM INFORMATION COMMANDS...................................................... 24
5.1 ASDU Type ID 100 : C_IC_NA_1 Interrogation Command....................... 24
5.2 ASDU Type ID 101 : C_CI_NA_1 Counter Interrogation Command......... 24
5.3 ASDU Type ID 103 : C_CS_NA_1 Clock Synchronization Command ...... 25
5.4 ASDU Type ID 104: C_TS_NA_1 Test Command.................................... 25
5.5 ASDU Type ID 105: C_RP_NA_1 Reset Process Command.................... 25
6 MULTIPLE MASTER SUPPORT................................................................. 26
7 COMMAND LINE DIAGNOSTICS............................................................... 27
7.1 Link Layer Diagnostics (including Bytes)...................................................... 27
7.2 Application Layer Diagnostics ...................................................................... 27
7.3 User Layer Diagnostics................................................................................ 27
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
3
Notes
Additional information and changes are periodically made and will be incorporated in new editions
of this publication. Control Microsystems may make amendments and improvements in the
product(s) and/or program(s) described in this publication at any time.
Requests for technical information on software, SCADAPack E Series RTU products and other
publications should be made to our agent (from whom you purchased our products/ publications) or
directly to:
Technical; Support
Technical support is available from 8:00 to 18:30 (North America Eastern Time Zone). 1-888-226-
6876 support@controlmicrosystems.com
Other products referred to in this document are registered trademarks of their respective companies,
and may carry copyright notices.
DISCLAIMER
CONTROL MICROSYSTEMS cannot warrant the performance or results you may obtain by using
the software or documentation. With respect to the use of this product, in no event shall CONTROL
MICROSYSTEMS be liable for any loss of profit or any other commercial damage, including but
not limited to special, incidental, consequential or other damages.
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
4
Document Revisions

Revision Date Modification Author
1.10 3 February 2006 Initial Release of E Series IEC 60870-
5-101 Slave Technical Reference
KN

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
5
1 Overview
This document describes the functionality of the IEC 60870-5-101 Slave driver in the SCADAPack
E Series RTU
1
.
This document should be read in conjunction with the v7 IEC 60870-5-101 Slave Interoperability
document which describes the level of support provided by the E Series RTU, and the IEC 60870-5-
101 Companion standard which describes the transmission protocol for Telecontrol equipment and
systems.
The IEC 60870-5-101 Slave driver in the RTU was implemented in accordance with the IEC 60870-
5-101 Companion standard, as well as the standards defined in IEC 60870-5-1 to IEC 60870-5-5.
IMPORTANT: IEC 60870-5-101 Slave functionality is only activated on the E Series RTUs
when appropriately licensed. Requests for licensing can be directed to ...
technicalsupport@controlmicrosystems.com



1
Also referred to simply as the RTU throughout this document
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
6
2 Basic Features
2.1 System Capacity
2.1.1 ASDUs without Time Tag
Each configuration point in the RTU may be configured as an IEC 60870-5-101 Slave point. As
there is no fixed limit to the number of configuration points that may exist in the RTU, the real upper
bound is determined by available configuration memory and operational issues, i.e. the baud rate of
the connection and the correct background and cyclic periods for proper operation, which therefore
determines the amount of data that may be transported using the available bandwidth.
2.1.2 ASDUs with Time Tags (events)
There is an event list created for each relevant ASDU type. The following is a list of ASDU types for
which events may be generated
M_SP_NA_1 (Single Point Information)
M_DP_NA_1 (Double Point Information)
M_ST_NA_1 (Step Position Information)
M_ME_NA_1 (Measured Value, Normalized)
M_ME_NB_1 (Measured Value, Scaled)
M_ME_NC_1 (Measured Value, Short Float)
M_ME_ND_1 (Measured Value, Normalized (no qual.)).
The RTU allows for a maximum of 500 events for each supported ASDU type. If excess events are
generated, the oldest events in that particular list are overwritten.

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
7
3 Configuration
The primary interface for configuring the E Series RTUIEC 60870-5-101 Slave is the E Series
Configurator software. The 60870-5-101 Page in the E Series Configurator will only be displayed if
60870-5-101 Slave has been selected in the RTU Features Dialog, which can be displayed by
selecting menu entry, View RTU Features... .


Figure 3-1 E Series Configurator -RTU Features Dialog
3.1 Serial Port Configurations
The E Series RTU 60870-5-101 Slave functionality is only supported on RTU serial ports. In order
to define a specific serial port as an IEC 60870-5-101 Slave port, the Port Function must be set to
60870-5-101 S. The RTU must then be restarted before the 60870-5-101 driver is started.



Figure 3-2 E Series Configurator Ports Page
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
8

Note that the Port Mode must be to RS-232 and the Port Data Mode must use even parity (as
specified in the IEC 60870-5-101 Companion standard). Figure 3-2 shows an example configuration
from the Ports Page in the E Series Configurator. Consult the E Series Configuration Technical
Reference Manual for a detailed list of the serial port system points.
3.2 60870-5-101 System Configurations
The IEC 60870-5-101 system configurations for the RTU allow a given Master session to be
individually configured. Figure 3-3 shows a screen shot of the 60870-5-101 page in the E Series
Configurator which shows that these configurations are duplicated for each supported Master
session. The Event Enabled ASDU type configurations apply to all Master sessions. Note that the
RTUs 60870-5-101 Slave driver must be restarted for any changed system configurations to take
effect. The 101 driver may be restarted by clicking on the Restart 101 button in the E Series
Configurator. These system configurations are mapped to RTU system points. Consult the E Series
Configuration Technical Reference Manual for a detailed list of these system points.


Figure 3-3 RTUConfig - 60870-5-101 Page
Note that the 60870-5-101 page in the E Series Configurator allows for configuration of up to 2
Master sessions in the RTU. The following sections describe each field shown in Figure 3-3. The
system points that correspond to these configuration fields are detailed in the E Series Configuration
Technical Reference Manual.
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
9
3.2.1 Master Enabled
The Master Enabled checkbox determines whether the respective slave session (for the specified
Master address) is enabled in the RTU. The default configurations are listed as follows
Master 1 Enabled = ON
Master 2 Enabled = OFF.
If a given Master session is NOT enabled, the RTU will NOT respond to any messages received on
the specified COM port for that Master session.
3.2.2 Link and ASDU Address
The IEC 60870-5-101 protocol allows for the Link and the ASDU (Common) addresses to be
different. The RTU implementation of the IEC 60870-5-101 protocol requires that they both be the
same. Therefore the single Link and ASDU Address configuration field is used to assign both the
Link and ASDU (Common) addresses for the relevant Master session. The valid range of values for
this configuration field is dependent on the Link Address Size field (see section 3.2.4-Link Address
Size), i.e. 0 255 for 1 octet Link Address size and 0 65535 for 2 octet Link Address size.
3.2.3 COM Port
This field specifies the serial COM port on the RTU for the relevant Master session. Note that for
this configuration to be valid, the specified COM port must also be configured with a PORT
FUNCTION of 60870-5-101 S. If both Master sessions are enabled, they can only share a COM
Port if they are both running in Unbalanced Mode (see section 3.2.5-Link Mode). The default
configurations for the COM Port field are listed as follows
Com Port (Master 1) = PORT 0
Com Port (Master 2) = PORT 1.
3.2.4 Link Address Size
This configuration determines the size of the Link Address field specified in all Link transactions for
the relevant Master session. The Link Address may be set to one of the following options
None (invalid in Unbalanced mode)
1 Octet
2 Octets (default).
Note the Common (or ASDU) Address Size can NOT be configured. It has a fixed length of 2 octets
(bytes).
3.2.5 Link Mode
This configuration field determines the Link Mode for the respective Master session. The Link
Mode may be set to one of the following Options
Unbalanced (default)
Balanced.
When operating in Unbalanced mode, communications are initiated by the Master whereby the
Master typically makes frequent requests for data (Class 1 or Class 2 polls). When operating in
Balanced Mode, the Master does NOT initiate communications, and data is reported by the RTU as
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
10
required by its configurations. In this mode, the RTU initiates communications typically with a
Request Link Status message.
Irrespective of the Link Mode, the RTU (IEC 60870-5-101 Slave) presents data in responses
according to its configurations whereby background data is reported every Background Period
(see section 3.2.10-Background Period) and cyclic data is reported every Cyclic Period (see
section 3.2.9-Cyclic Period). Event data is reported spontaneously as required.
3.2.6 Link Confirm Timeout
The Link Confirm Timeout configuration field is specified in seconds, and is only relevant when in
Balanced mode. This field specifies the time (in seconds) that the RTUs 60870-5-101 Slave driver
will wait for a response to a Link message before issuing a retry. The default value for this field is 2
seconds.
3.2.7 Link Retries
The Link Retries configuration field is only relevant when in Balanced mode. This field specifies
the number of link retries for a given message before failing that particular message. The default
value for this field is 3.
3.2.8 Clock Valid Period
This field determines the period of time for which timestamps are considered valid after receiving a
clock synchronization command. Note that when the RTUs 60870-5-101 driver starts, all
timestamps are issued are identified as invalid until a clock synchronization command has been
received for that specific master session. The default value for this field is 24 hours.
3.2.9 Cyclic Period
The Cyclic Period configuration field is specified in seconds and determines the rate at which
Cyclic data is returned by the RTUs 60870-5-101 driver. Cyclic data is identified as those analog
RTU configuration points which have a valid non-zero Information Object Address, and whose
IEC870 Cyclic attribute is set to TRUE (see section 3.3.2-Analog Points). This default value for this
field is 60 seconds.
3.2.10 Background Period
The Background Period configuration field is specified in seconds and determines the rate at which
Background data is returned by the RTUs 60870-5-101 driver. Background data is identified as all
RTU configuration points which have a valid non-zero Information Object Address (IOA) and a
valid ASDU Type. This default value for this field is 3600 seconds.
3.2.11 Short Pulse Duration
The Short Pulse Duration configuration field is specified in milliseconds and determines the actual
PULSE ON duration utilized when a valid binary control is received by the RTU, whereby the
qualifier of command for the relevant control object specifies Short Pulse Duration. This default
value for this field is 100 milliseconds.
3.2.12 Long Pulse Duration
The Long Pulse Duration configuration field is specified in milliseconds and determines the actual
PULSE ON duration utilized when a valid binary control is received by the RTU, whereby the
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
11
qualifier of command for the relevant control object specifies Long Pulse Duration. This default
value for this field is 1000 milliseconds (1 second).
3.2.13 Time Format
The Time Format configuration field determines which timestamp format is included with
generated event data. The Time Format may be set to one of the following options
56 bit (default)
24 bit.
The 56 bit Time Format is an absolute time format, whereas the 24 bit Time Format is an
incremental time format that only specifies minutes and milliseconds.
3.2.14 Select Required
The Select Required configuration field specifies whether or not a Select message is required before
an Execute message in order to invoke the specified control. Note that if Select Required is set to
TRUE, then a Select message must first be issued, and then followed by an Execute message. The
Execute message must be received within the Select Timeout (see section 3.2.15-Select Timeout)
period for the control to be invoked. If Select Required is set to FALSE, then an Execute message
only is required for the control to be invoked.
3.2.15 Select Timeout
The Select Timeout configuration field is specified in seconds. The Execute command must be
received within this period after the Select command is received. If an Execute command (matching
a recently received Select command) is not received within this period then the control operation is
aborted. This default value for this field is 5 seconds.
3.2.16 Event Enabled ASDU Types
These configurations determine whether 60870-5-101 events will be generated for RTU
configuration points that have been assigned the respective ASDU types.
3.2.17 System Point Listing
This section details the analog and binary system points for the IEC 60870-5-101 configurations.
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
12

Table 3-1 Analog System Points (60870-5-101)
Point Number Analog System Point Name
Start End
Point Type
Master 1 : Enabled 57000 16-bit Integer
Master 1 : Link and ASDU Address 57001 16-bit Integer
Master 1 : Com Port 57002 16-bit Integer
Master 1 : Link Confirm Timeout (s) 57003 16-bit Integer
Master 1 : Link Address Size 57004 16-bit Integer
Master 1 : Link Mode

* 57005 16-bit Integer
Master 1 : Link Retries 57006 16-bit Integer
Unused 57007 16-bit Integer
Master 1 : Clock Valid Period (hours) 57008 16-bit Integer
Master 1 : Cyclic Period (s) 57009 16-bit Integer
Master 1 : Select Timeout (s) 57010 16-bit Integer
Master 1 : Background Period (s) 57011 16-bit Integer
Master 1 : Short Pulse Duration (ms) 57012 16-bit Integer
Master 1 : Long Pulse Duration (ms) 57013 16-bit Integer
Master 1 : Time Format ** 57014 16-bit Integer
Master 1 : Select Required 57015 16-bit Integer
Unused 57016 57029 16-bit Integer
Master 2 : Enabled 57030 16-bit Integer
Master 2 : Link and ASDU Address 57031 16-bit Integer
Master 2 : Com Port 57032 16-bit Integer
Master 2 : Link Confirm Timeout (s) 57033 16-bit Integer
Master 2 : Link Address Size 57034 16-bit Integer
Master 2 : Link Mode * 57035 16-bit Integer
Master 2 : Link Retries 57036 16-bit Integer
Unused 57037 16-bit Integer
Master 2 : Clock Valid Period (hours) 57038 16-bit Integer
Master 2 : Cyclic Period (s) 57039 16-bit Integer
Master 2 : Select Timeout (s) 57040 16-bit Integer
Master 2 : Background Period (s) 57041 16-bit Integer
Master 2 : Short Pulse Duration (ms) 57042 16-bit Integer
Master 2 : Long Pulse Duration (ms) 57043 16-bit Integer
Master 2 : Time Format ** 57044 16-bit Integer
Master 2 : Select Required 57045 16-bit Integer
Unused 57046 57299 16-bit Integer

*
0 = Balanced
1 = Unbalanced

**
0 = 24 Bit Time
1 = 56 Bit Time





E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
13
Table 3-2 Binary System Points (60870-5-101)
Point Number Binary System Point Name
Start End
Point Type
M_SP_NA_1 (SPI) Event Enabled 50700 Read / Write
M_DP_NA_1 (DPI) Event Enabled 50701 Read / Write
M_ST_NA_1 (Step Position) Event Enabled 50702 Read / Write
M_ME_NA_1 (Measured Value, Normalised) Event Enabled 50703 Read / Write
M_ME_NB_1 (Measured Value, Scaled) Event Enabled 50704 Read / Write
M_ME_NC_1 (Measured Value, Short Float) Event Enabled 50705 Read / Write
M_ME_ND_1 (Measured Value, Normalised no qual.) Event Enabled 50706 Read / Write
Not used 50707 50719 Read / Write

3.3 Individual Point Configurations
The section describes the individual point configurations that can be used to identify RTU points
as IEC 60870-5-101 Slave points. This section makes reference to the E Series Configurator
interface. Consult the E Series Configuration File Format Manual for detailed description of the
relevant configuration file mnemonics.
3.3.1 Binary Points
The valid configuration attributes for a binary point are listed as follows
Information Object Address (IOA). This attribute must be a unique non-zero value in the range
of 1 65535.
ASDU Type. Valid ASDU types for binary points are listed as follows
Type ID 1: M_SP_NA_1 Single Point Information
Type ID 3: M_DP_NA_1 Double Point Information
Type ID 45 : C_SC_NA_1 Single Command
Type ID 46 : C_DC_DA_1 Double Command
Type ID 47 : C_RC_NA_1 Regulating Step Command.


E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
14

Figure 3-4 Binary Point Configurations
Note that when a binary point is configured as a double point ASDU type, i.e. Type ID 3 or Type ID
46, two RTU configuration points are referenced with contiguous DNP point numbers. The
configuration point with the lower index DNP point number must be configured with the valid IOA
and the correct ASDU type. The other point (i.e. the next DNP point number) does NOT require any
60870-5-101 configurations, and must NOT have an assigned IOA, otherwise a configuration error is
flagged using the system error code point (see section 3.5 Applying Configurations). Section 4.1.2-
Double Point ASDU Types includes examples of double point configurations.
3.3.2 Analog Points
The valid configuration attributes for an analog point are listed as follows
Information Object Address (IOA). This attribute must be a unique non-zero value in the range
of 1 65535.
ASDU Type. Valid ASDU types for analog points are listed as follows
Type ID 5: M_ST_NA_1 Step Position Information
Type ID 9: M_ME_NA_1 Measured Value, normalized value
Type ID 11: M_ME_NB_1 Measured Value, scaled value
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
15
Type ID 13: M_ME_NC_1 Measured Value, short floating point value
Type ID 21: M_ME_ND_1 Measured Value, normalized value without quality descriptor
Type ID 48: C_SE_NA_1 Set point command, normalized value
Type ID 49: C_SE_NB_1 Set point command, scaled value
Type ID 50: C_SE_NC_1 Set point command, short floating point value.


Figure 3-5 Analog Point Configuration
3.3.3 Counter Points
The valid configuration attributes for a counter point are listed as follows
Information Object Address (IOA). This attribute must be a unique non-zero value in the range
of 1 65535.
ASDU Type = ID 15 : M_IT_NA_1 Integrated Totals. Note that this is the only ASDU type
allowed for RTU counter points..

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
16

Figure 3-6 Counter Point Configurations
3.4 Applying Configurations
All required configurations may be included in a single configuration file. These configurations may
be generated OFFLINE, and then applied to the RTU as required using the Write RTU
Configuration facility in the E Series Configurator. The RTU configuration procedures are detailed
in the E Series Configuration Technical Reference Manual.
The serial port configurations required to activate the IEC 60870-5-101 Slave driver are detailed in
section 3.1-Serial Port Configurations. The RTU must be restarted after applying changed serial
port configurations for them to take effect.
The IEC 60870-5-101 System configurations detailed in 3.2-60870-5-101 System Configurations
require a restart of the RTUs 60870-5-101 driver for these configurations to take effect. This driver
restart may be issued by clicking on the Restart 101 button, which can be located on the 60870-5-
101 page in the E Series Configurator. Consult the E Series Operation Reference Manual for other
methods to restart the 101 driver in the RTU.
The individual point configurations detailed in section 3.3-Individual Point Configurations also
require a restart of the RTUs 60870-5-101 driver for these changed configurations to take effect. If
these individual point configurations have been applied using the Write Record Exchange Process, a
30 second timer is started. If any subsequent Write Record Exchanges with modified 60870-5-101
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
17
configurations, are received by the RTU within that 30 seconds, this timer is restarted. Once the
timer expires, the 60870-5-101 driver is restarted.
3.5 Configuration Errors
Any 60870-5-101 configuration errors are detected whenever the 60870-5-101 driver is restarted. On
detection of a configuration error, the error code system point (analog 50020) is written with the
value 3004. Consult the E Series Operation Reference Manual for detailed descriptions of all RTU
error codes.
The following conditions may cause a 60870-5-101 configuration error
memory allocation failure on driver start-up
60870-5-101 system configurations invalid
invalid double point configuration, e.g. second point doesnt exist OR seconds point has a non-
zero Information Object Address (IOA)
duplicate Information Object Address (IOA) detected
invalid ASDU type for specified point type.

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
18
4 ASDU Type RTU Configuration Point Mapping

The section describes how the different ASDUs correspond to RTU configuration points for both
input types and controls, including double point configurations, analog point scaling, and quality
descriptor support.
4.1 Binary Points
4.1.1 Single Point ASDU Types
Note that single point types ASDUs include Information Objects that reference a single Information
Object Address (IOA) which maps to a single binary configuration point.
4.1.1.1 ASDU Type ID 1: M_SP_NA_1 Single Point Information
For ASDU Type ID 1 (Single Point Information), the value reported in the SPI of the Information
Object is derived from the Current State of the binary point. The IV bit of the quality descriptor
(SIQ) is mapped to the Point Is Failed property of the binary configuration point. Note that the NT,
SB, and BL bits in the quality descriptor (SIQ) are not referenced.
4.1.1.2 ASDU Type ID 45: C_SC_DA_1 Single Command
The following table determines how a binary output point is controlled for Single Command type
ASDU.
Table 4-1 ASDU Type ID 45 : Control State Table
ASDU 45
Single Command
State (SCS)
SCS
Description
Qualifier of
Command
(QU)
QU Description
RTU Binary Output
0
No additional definition Latched OFF
1
Short pulse duration Pulsed ON (Short)
2
Long pulse duration Pulsed ON (Long)
0 OFF
3
Persistent Output Latched OFF
0
No additional definition Latched ON
1
Short pulse duration Pulsed ON (Short)
2
Long pulse duration Pulsed ON (Long)
1 ON
3
Persistent Output Latched ON


E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
19
4.1.2 Double Point ASDU Types
Note that when a binary point is configured as a double point ASDU type, i.e. Type ID 3 or Type ID
46, two RTU configuration points are referenced with contiguous DNP point numbers. The
configuration point with the lower index DNP point number must be configured with the valid IOA
and the correct ASDU type. The other point (i.e. the next DNP point number) does NOT require any
60870-5-101 configurations, and must NOT have an assigned IOA, otherwise a configuration error is
flagged using the system error code point (see section 3.5- Configuration Errors).
4.1.2.1 ASDU Type ID 3: M_DP_NA_1 Double Point Information
Consider the following configurations as an example
Derived Binary 41000 (i.e. DNP Index 41000)
ASDU Type = 3 (Double Point Information)
IOA = 22000
Derived Binary 41001 (i.e. DNP Index 41001)
ASDU Type = 1 (Single Point Information)
IOA = 0.
Note that the configurations for Derived Binary 41001 are default values. Note also that the second
point configuration in a double point pair, is modified by the RTU on start-up whereby the ASDU
type is changed from the default value (1) to be 3, i.e. Double Point Information.
The following state table determines how the data is returned for IOA 22000 as a Double Point
Information type ASDU.
Table 4-2 ASDU Type ID 3 : State Table
Derived Binary 41000
(Current State)
Derived Binary 41001
(Current State)
DPI (Double Point
Information)
Double Point Information Description
0 0 0
indeterminate or intermediate state
1 0 1
determined state OFF
0 1 2
determined state ON
1 1 3
indeterminate state

The IV bit of the quality descriptor (SIQ) is mapped to the logical OR of the Point Is Failed property
of the two binary configuration points. Note that the NT, SB, and BL bits in the quality descriptor
(SIQ) are not referenced.
4.1.2.2 ASDU Type ID 46: C_DC_DA_1 Double Command
Consider the following configurations as an example
Physical Binary Output 8 (i.e. DNP Index 8)
ASDU Type = 46 (Double Command)
IOA = 10600
Physical Binary Output 9 (i.e. DNP Index 9)
ASDU Type = X (any value)
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
20
IOA = 0
Note that the configurations for Physical Binary Output 9 are default values, i.e. the second point in a
double command pair does NOT have to be configured as a double command ASDU type. The
following state table determines how the output points are controlled for IOA 10600 as a Double
Command type ASDU.
Table 4-3 ASDU Type ID 46 : Control State Table (using example config)
ASDU 46 RTU Binary Outputs
Double Command
State (DCS)
DCS
Description
Qualifier of
Command
(QU)
QU Description Binary Output 8
(State)
Binary Output 9
(State)
0
Not permitted X (any value) - No action No action
0
No additional definition Latched ON Latched OFF
1
Short pulse duration Pulsed ON (Short) No action
2
Long pulse duration Pulsed ON (Long) No action
1 OFF
3
Persistent Output Latched ON Latched OFF
0
No additional definition Latched OFF Latched ON
1
Short pulse duration No action Pulsed ON (Short)
2
Long pulse duration No action Pulsed ON (Long)
2 ON
3
Persistent Output Latched OFF Latched ON
3
Not permitted X (any value) - No action No action

4.1.2.3 ASDU Type ID 47: C_RC_NA_1 Regulating Step Command
Consider the following configurations as an example
Physical Binary Output 15 (i.e. DNP Index 15)
ASDU Type = 47 (Regulating Step Command)
IOA = 10700
Physical Binary Output 16 (i.e. DNP Index 16)
ASDU Type = X (any value)
IOA = 0
Note that the configurations for Physical Binary Output 16 are default values, i.e. the second point in
a regulating step (double command) pair does NOT have to be configured as a Regulating Step
command ASDU type. The following state table determines how the output points are controlled for
IOA 10700 as a Regulating Step type ASDU.
Table 4-4 ASDU Type ID 47 : Control State Table (using example config)
ASDU 47 RTU Binary Outputs
Regulating Step
Command State
(RCS)
RCS
Description
Qualifier of
Command
(QU)
QU Description Binary Output 15
(State)
Binary Output 16
(State)
0
Not permitted X (any value) - No action No action
0
No additional definition Latched ON Latched OFF
1
Short pulse duration Pulsed ON (Short) No action
2
Long pulse duration Pulsed ON (Long) No action
1
next Step
LOWER
3
Persistent Output Latched ON Latched OFF
2
next Step
0
No additional definition Latched OFF Latched ON
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
21
1
Short pulse duration No action Pulsed ON (Short)
2
Long pulse duration No action Pulsed ON (Long)
LOWER
3
Persistent Output Latched OFF Latched ON
3
Not permitted X (any value) - No action No action

4.2 Analog Points
Analog configuration points may be identified as either scaled, normalized or floating points in IEC
60870-5-101 slave responses. The following sections describe how the RTU points current value is
represented in these ASDU types.
4.2.1 Normalized and Scaled ASDU Types
The Normalized and Scaled ASDU types include a 16-bit value in the Information Object. The literal
interpretation of this value varies according to that specified in the IEC 60870-5-101 standard, i.e.
F16 and I16 standard information elements as defined in IEC 60870-5-4.
The Current Integer Value of the analog configuration point is mapped to this 16-bit value as shown
as in the following table. Note that the Raw Min and Raw Max attributes are standard scaling
parameters for RTU configuration points that default to values of 0 and 10000 respectively.
Table 4-5 Analog Point Scaling - Normalized and Scaled ASDU Types
Current Integer Value Normalized Value (F16) Scaled Value (I16)
Raw Min (default =0) -1 -2
15
Raw Max (default =10000) 1-2
-15
2
15
1

Given the scaling and default values shown in Table 4-5, a current integer value of 5000 would map
to a normalized and scaled value of 0 in the respective 101 Information Object.
Note that if the Current Integer Value is outside of the reportable 16-bit range, the included value is
clamped appropriately and the OVERFLOW bit in the quality descriptor is set.
4.2.2 Floating Point ASDU Types
The Floating Point ASDU types reference a short float value in the Information Object
whereby the Current Engineering Value (float value) of the analog configuration point is
mapped to the R32.23 information elements as defined in IEC 60870-5-4.
4.2.3 Step Position ASDU (M_ST_NA_1)
The Current Integer Value of the analog configuration point is directly mapped to the 7-bit Value
included on the Information Object. If the Current Integer Value is outside of the valid Value range,
i.e. -64 to 63, the OVERFLOW bit in the quality descriptor (QDS) is set. The Transient bit in the
VTI field is not referenced.
4.2.4 Quality Descriptor Support
For all of the supported analog type ASDUs, there is limited support for quality descriptor fields.
The IV bit of the quality descriptor (QDS) is mapped to the Point Is Failed property of the
analog configuration point.
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
22
The OV bit is set if the current value of the point is beyond the reportable range according to the
specific ASDU type.
The NT, SB, and BL bits in the quality descriptor (QDS) are not referenced.
4.3 Counter Points
The counter points may only be configured as ASDU type 15, i.e. M_IT_NA_1 (Integrated Totals).
The counter values reported in this ASDU type are always frozen values. All counter (integrated
total) values are retrieved from the RTU using Counter Interrogation Commands. For more details
regarding counter support in the RTUs 60870-5-101 Slave driver, refer to section 5.2-ASDU Type
ID 101 : C_CI_NA_1 Counter Interrogation Command.
4.3.1 ASDU Type ID 15: M_IT_NA_1 Integrated Totals
The information object in the Integrated Totals ASDU includes a signed 32-bit value, which is
identified as a Binary Counter Reading (BCR). The Current Integer Value of the counter point
(unsigned 32-bit) is copied into the cached frozen value for the particular Information Object
Address (IOA) when a Counter Freeze request is made via a Counter Interrogation Command. For
every COUNTER FEEZE command received from the relevant Master, the sequence number (SQ)
for that IOA is incremented.
The invalid (IV) bit included in the information object is mapped to the Point Is Failed property of
the counter configuration point.
The Counter Adjusted (CA) bit included in the information object is set if the counter value has been
reset due to a COUNTER FREEZE request, and is only asserted for the first READ after the
COUNTER FREEZE. The CA bit is also set on RTU start-up if the Counter Reset attribute of the
counter configuration point was set to TRUE (see the E Series RTU Configuration Technical
Reference Manual for more details regarding counter point attributes).
The Carry (CY) bit is not referenced by the RTUs 60870-5-101 Slave driver.
E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
23
5 System Information Commands
This section details the additional system commands supported by the RTUs IEC 60870-5-101
Slave driver. The corresponding ASDU types are listed as follows
Type ID 100: C_IC_NA_1 Interrogation Command
Type ID 101: C_CI_NA_1 Counter Interrogation Command
Type ID 103: C_CS_NA_1 Clock Synchronization Command
Type ID 104: C_TS_NA_1 Test Command
Type ID 105: C_RP_NA_1 Reset Process Command
5.1 ASDU Type ID 100 : C_IC_NA_1 Interrogation Command
The RTUs IEC 60870-5-101 Slave driver will present Background and Cyclic data as determined by
the system configuration parameters Background Period and Cyclic Period. Note that this data may
also be reported in response to an Interrogation Command (ASDU Type 100). Note that the only
qualifier supported for the Interrogation Command is the Station Interrogation (20).
The Interrogation Command may be issued by the Master in order to synchronize information
between the controlling station (Master) and the controlled station (RTU), or to update the
controlling station database after an initialization procedure has taken place in the RTU.
5.2 ASDU Type ID 101 : C_CI_NA_1 Counter Interrogation Command
The RTUs IEC 60870-5-101 Slave driver supports Counter Interrogations only in Mode C (Freeze
and transmit by counter interrogation commands). The integrated totals (counter points) in the RTU
can only be frozen, reset, or read using the Counter Interrogation Command. Note that the only
qualifier supported for the Counter Interrogation Command is the General Request Counter (5)
which references ALL counters in the RTU.
All counter values retrieved from the RTU are frozen values. If the Counter Interrogation Command
specifies a FREEZE in the qualifier, the sequence number reported for subsequent READ is
incremented. If the Counter Interrogation Command specifies a FREEZE WITH RESET in the
qualifier, the Current Integer Value of the counter configuration point is set to 0, and the Counter
Adjusted (CA) bit included in the information object is set for the first READ after the FREEZE
WITH RESET.


E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
24
5.3 ASDU Type ID 103 : C_CS_NA_1 Clock Synchronization Command
The Clock Synchronization Command specifies a CP56Time2a object in the Information
Object which will used to set the RTUs real time clock. If the RTU is configured to use
NTP time synchronization, the Clock Synchronization Command will NOT set the RTUs
real time clock but will still respond with a positive activation response to the Clock
Synchronization Command.

IMPORTANT

Note that there are other methods of time synchronization in the RTU. If NTP Time
Synchronization is NOT being used, ensure that ONLY ONE of the slave protocols is
being used for time synchronization, as both the 60870-5-101 Slave and the DNP3 Slave
driver in the RTU will accept and process time synchronization messages.

5.4 ASDU Type ID 104: C_TS_NA_1 Test Command
The Test Command is supported by the RTUs 60870-5-101 Slave driver such that specified fixed bit
pattern is included in the response to the Test Command.
5.5 ASDU Type ID 105: C_RP_NA_1 Reset Process Command
The Reset Process Command will be processed by the RTU and a positive activation response will
be issued. Currently there is no support for restarting any of the RTUs internal processes. Support
for the Reset Process Command will be extended in future firmware releases.

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
25
6 Multiple Master Support
The RTUs IEC 60870-5-101 Slave driver will support communications with up to 2 Masters. The
default configuration enables only a single Master session. The 60870-5-101 system configurations
are duplicated for each enabled Master session (see section 3.2-60870-5-101 System
Configurations), allowing each Master session to be independently configured.
Each Master session has its own event list such that a given 60870-5-101 event will NOT be
removed from the RTUs 60870-5-101 event list until it has been retrieved by all enabled Master
sessions.
The Integrated Totals sequence numbers (described in section 4.3.1- ASDU Type ID 15:
M_IT_NA_1 Integrated Totals) are maintained for each enabled Master session, i.e. a
FREEZE Counter Interrogation Command received from Master 1 will only increment the
sequence number returned to the next READ request from Master 1, and the sequence
number for Master 2 will remain unmodified.


E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
26
7 Command Line Diagnostics
The RTU provides a diagnostic display which can be used to verify IEC 60870-5-101
communications between the RTU (as a Slave) and the connected Master. These 60870-5-101
diagnostics can be obtained using one of the following methods
direct serial connection to a CMDLINE port
TELNET connection
FILEDIAG (logged diagnostics to RTU File System).
Refer to the E Series Operation Reference Manual for more details on these methods of accessing
RTU diagnostics.
The S101DIAG command is used to filter IEC 60870-5-101 diagnostics displays when in Diagnostic
Session display mode (type DIAG at the command line to enter diagnostic mode).
The format of the S101DIAG command is:
S101DIAG mode filter [filter ....]
Where: mode = ENABLE DISABLE
filter = * APPL BYTES LINK TIMESTAMP USER

Note that enabling IEC 60870-5-101 diagnostics can have some impact on system performance. It is
suggested that these diagnostics be disabled when not in use.
The command filters can be individually enabled or disabled (all are retained in NV memory).
* All filters enabled / disabled
APPL 60870-5-101 Application Layer information
BYTES 60870-5-101 Link Layer packet bytes (requires LINK filter)
TIMESTAMP Time of 60870-5-101 message diagnostic
USER v7 user application response information
The following sections are examples of filtered diagnostic information where the RTU Link and
ASDU (common) address is 21. These examples are time-stamped (i.e. TIMESTAMP filter has been
enabled). Note that outbound link messages are indicated as <. . . , whereas inbound messages are
indicated as . . . >.
7.1 Link Layer Diagnostics (including Bytes)
...> PORT0 Primary Frame - Request User Data Class 2
DIR(0) PRM(1) FCV(1) FCB(0) ADDR(21)
10 5b 15 00 70 16

<... PORT0 Secondary Frame - Respond Data Not Available
DIR(0) PRM(0) DFC(0) ACD(0) ADDR(21)
10 09 15 00 1e 16
7.2 Application Layer Diagnostics

~~~> Mast er 1 Addr ( 21) Sect or ( 21) Appl i cat i on Header , Cl ock synchr oni zat i on command
Quant i t y( 1) SQ( 0) COT( 6, act i vat i on)

<~~~ Mast er 1 Addr ( 21) Sect or ( 21) Appl i cat i on Header , Cl ock synchr oni zat i on command
Quant i t y( 1) SQ( 0) COT( 7, posi t i ve act i vat i on conf i r mat i on)
7.3 User Layer Diagnostics

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
27
<=== Master 1 Insert request in queue: Background Response

E Series IEC 60870-5-101 Slave Technical Reference
May 29, 2006
28