Академический Документы
Профессиональный Документы
Культура Документы
RC_5_1
Telecommunication
Use Guide
Contents
1. General
Abbreviations
2. Telecommuication Interface
TCI configuration
3. DNP3 protocol
Overview
Device profile
DNP3 application layer
DNP3 transport layer
DNP3 data link layer
Physical layer
10
10
12
38
40
47
3
4
5
4. Modbus Protocol
Overview
Application layer
Modbus data link layer
Physical layer
52
52
61
64
6
7
66
66
76
82
82
6. Hardware Specification
RTU connection
Phone modem
Radio-modem
GSM modem
RS485 converter
84
85
85
85
85
7. Application Guide
88
General
Abbreviations
ABR
ACK
ASDU
APCI
APDU
AR
BF
CA
Char
CO
CON
CRC
CTS
CU
DCD
DCF
DIR
DNP3
DRVM
DSR
DTR
EF
FCB
FIFO
FUN
HL
IED
IIN
INT
LS
MPM
OBJ
OC
PRM
Prot
PSM
PTT
Q
RAM
RC
RCM
RI
RTU
TCI
SBO
SEF
UINT
UD
UF
UR
UV
VAR
VU
Telecommunication
Interface
Telecommunication interface (TCI) provides control and indication via RTU connected to serial port 6 located in the
rear of RCM.
If TCI mode is set Disable no control and indication functions are supported via RTU connected to port 6 (refer to
Design description for details).
TCI is a user-configurable interface. Configuration includes selection of applicable protocol and RTU in accordance
with the following table.
TCI Configuration
2
Protocol setting can be set up by one of the following values: DNP3, Modbus or IEC104.
Depending on protocol selected, the RTU setting has different options, given in table below.
Protocol
RTU
Radio modem
Phone modem
GSM modem
RS485-RS232 converter
Direct connection
Radio modem
TCP/IP Network
TCP/IP Network
Modbus
IEC104
The scope of generated indication and control data depends on the configuration, i.e. only data related to selected
RTU and protocol are generated.
DNP3 Protocol
Overview
DNP3 is based on the standards of the International Electro technical Commission (IEC) Technical Committee 57,
Working Group 03 who have been working on an OSI 3 layer "Enhanced Performance Architecture" (EPA) protocol
standard for telecontrol applications. DNP3 has been selected as a Recommended Practice by the IEEE C.2 Task Force;
RTU to IED Communications Protocol. For further information refer to www.dnp.org.
Triangle MicroWorks, Inc. DNP3 Slave Source Code Library Version 3.00 is used for present DNP3 slave implementation,
which complies with DNP 3.0 Subset Definition Level 3, and contains some functionality beyond Subset Level 3.
Presentation of data in DNP3 is different from generally used one. So, it is strongly recommended for those not
familiar with this subject to go through the following section before switching to DNP3 description. Note that in the
description data formats and designations described below will be used without special references.
Device Profile
3
DNP V3.00
DEVICE PROFILE DOCUMENT
Vendor Name: Tavrida Electric
Device Name: Recloser Control (RC), using the Triangle MicroWorks, Inc. DNP3 Multi-Port Slave Source Code
Library, version 3.00.
Highest DNP Level Supported:
For Requests:
Level 3
For Responses: Level 3
Device Function:
Master
Slave
Notable objects, functions, and/or qualifiers supported in addition to the Highest DNP Levels Supported (the
complete list is described in the attached table):
For static (non-change-event) object requests, request qualifier codes 00 and 01 (start-stop), 07 and 08 (limited
quantity), and 17 and 28 (index) are supported in addition to request qualifier code 06 (no range or all points).
Static object requests received with qualifiers 00, 01, 06, 07, or 08, will be responded with qualifiers 00 or 01.
Static object requests received with qualifiers 17 or 28 will be responded with qualifiers 17 or 28. For change-event
object requests, qualifiers 17 or 28 are always responded.
16-bit and 32-bit Analog Change Events with Time are supported.
The read function code for Object 50 (Time and Date), variation 1, is supported.
Maximum Data Link Frame Size (octets):
Transmitted: Configurable from 64 up to 292
Received
292
None
None
None
None
Fixed at ____
Fixed at ____
Fixed at ____
Fixed at ____
Variable
Variable
Variable
Variable
Others:
Configurable
Transmission Delay:
Inter-character Timeout:
Tx Delay
Char Timeout
Fixed at
Select/Operate Arm Timeout:
Configurable
Need Time Delay:
Unsolicited response retry delay:
Unsolicited offline interval:
Configurable
Configurable
Configurable
Configurable
Never
Never
Never
Never
Always
Always
Always
Always
Sometimes
Sometimes
Sometimes
Sometimes
Configurable
Configurable
Configurable
Configurable
Count > 1
Pulse On
Pulse Off
Latch On
Latch Off
Never
Never
Never
Never
Never
Always
Always
Always
Always
Always
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Configurable
Configurable
Configurable
Configurable
Configurable
Queue
Clear Queue
Never
Never
Always
Always
Sometimes
Sometimes
Configurable
Configurable
Never
Only time-tagged
Only non-time-tagged
Configurable, Sequence of event conception
Never
Binary Input Change With Time
Binary Input Change With Relative Time
Configurable
Never
Configurable
Only certain objects
Sometimes (attach explanation)
ENABLE/DISABLE UNSOLICITED Function
codes supported
Never
When Device Restarts
When Status Flags Change
No Counters Reported
Configurable
Default Object: 20
Default Variation: Configurable
Point-by-point list attached
No Counters Reported
Configurable (attach explanation)
16 Bits
32 Bits
Other Value:
Point-by-point list attached
Protocol States
The following figure illustrates Application layer state flow diagram
3
Warm restart
Normal
Cold restart
Figure 1
Application layer state flow diagram
States description
State
Normal
Warm restart
Cold restart
12
Description
In this state the functions described in sections below are fully supported
In this state the functions described in sections below are supported
In addition the following actions are executed:
. Change event buffers are cleared
. Last reported binary counters are zeroed
. Last reported analogue inputs are zeroed
. Unsolicited response counter (refer to DNP3 application layer indication data) is zeroed
. Timeouts counter (refer to DNP3 application layer indication data) is zeroed
In this state the functions described in sections below are not supported
The following actions are executed:
. unsolicited response mode and DNP3 objects settings are cleared from RAM and
restored from flash memory
. 7-th internal indication bit in first octet is set to 1 (refer to Internal indications)
. if Unsolicited response mode is enable, NULL unsolicited response is sent (refer to
Unsolicited responses).
Transitions description
Transition
Condition
Execution of actions specified above for warm restart state (generally it takes from 10 to
100ms)
Reception of request for writing 0 into 8-th internal indication bit (#31)
Applicable range
Factory default
Confirmation mode
Confirmation timeout
0 to 3600s
15s
2048
Time synchronization
interval
0 to 64800 min
1440 min
5000ms
1000ms
Binary Inputs
The following binary inputs are supported: Closed, Dummy on, Remote on, Lockout, AR initiated, Protection active, RC door open, RCM fault, Malfunction, Warning, Prot on, AR on, EF on, SEF on, HL on,
ABR on, Group 1 on, Group 2 on, Group 3 on, Group 4 on, UD signal (1...12) on, IOI input (1...12) on.
Factory default
Enable/Disable
Index
0 to 999
Class
0/1/2/3
Setting
Mode
13
The binary input data field consists of one binary octet. Each bit has particular title as indicated in the table below
Bit #
Bit titl
Activation/deactivation conditions
ONLINE
Always set to 1
RESTART
Always set to 0
COMM_LOST
Always set to 0
REMOTE_FORCED
Always set to 0
LOCAL_FORCED
Always set to 0
CHATTER_FILTER
Always set to 0
RESERVED
Always set to 0
STATE
DNP3 title
Description
Size
1 bit
1 octet
Figure 2
Analyzed dynamics of the 7-th bit
14
Reference time
Class
Binary input
Absolute time
T1
1000 0001
t1
1000 0001
t2
0000 0001
t2
1000 0001
t1
0000 0001
t2
1000 0001
t3
1000 0001
t1
0000 0001
t2
1000 0001
t3
0000 0001
t4
T2
T3
T4
Stored values of binary inputs are downloaded from buffer following relevant solicited and unsolicited responses. In
case of solicited response only requested data is downloaded (refer to the description of solicited responses below).
In case of class I (I=1/2/3) unsolicited response all binary inputs mapped for class I are downloaded (refer also to
description of unsolicited responses below). This buffer is also cleared in Warm or Cold restart states (refer also to
Application layer states description).
Binary Outputs
The list of binary outputs is given in Table below.
Event signal generated at binary
output deactivation
Set Dummy on
Close
Set Prot on
Set AR on
Set EF on
Set HL on
Set ABR on
Set Group 1 on
NA
Set Group 2 on
NA
Set Group 3 on
NA
Set Group 4 on
NA
NA
NA
Erase logs
NA
NA
Erase UD counters
NA
Binary output
15
Applicable range
Mode
Enable/Disable
Index
0 to 999
Factory default
Enable for Dummy on, Closed, Prot on, AR on, EF on, SEF
on, HL on, Group 1 on, Group 2 on, Group 3 on, Group 4 on;
Disable for others
1 for Dummy on; 2 for Closed; 3 for Prot on; 4 for AR on; 5 for
EF on; 6 for SEF on; 7 for HL on; 8 for Group 1 on, 9 for Group 2
on, 10 for Group 3 on, 11 for Group 4 on; NA for others
The binary output data field consists of one binary octet. Each bit has particular title as indicated in the table below.
Bit titl
ONLINE
RESTART
Always set to 0
COMM_LOST
Always set to 0
REMOTE_FORCED
Always set to 0
LOCAL_FORCED
Always set to 0
CHATTER_FILTER
Always set to 0
RESERVED
Always set to 0
1)
Activation/deactivation conditions
Bit #
STATE
Refer also to description of the content of the data field for requests ##10-13
16
Variation #
DNP3 title
Description
Size
1 bit
1 octet
Binary Counters
The values of the following counters can be transmitted.
Data point
Designation
Range
Wa
0 to 9999999
Wb
0 to 9999999
Wc
0 to 9999999
W3ph
0 to 9999999
Ea
0 to 9999999
Eb
0 to 9999999
Ec
0 to 9999999
E3ph
0 to 9999999
BF trips
0 to 30000
OC trips
0 to 30000
EF trips
0 to 30000
SEF trips
0 to 30000
VU trips
0 to 30000
UV trips
0 to 30000
OV trips
0 to 30000
CU trips
0 to 30000
UF trips
0 to 30000
LS trips
0 to 30000
AR OC reclosures
0 to 30000
AR SEF reclosures
0 to 30000
AR UV reclosures
0 to 30000
AR OV reclosures
0 to 30000
AR UF reclosures
0 to 30000
ABR reclosures
0 to 30000
Total CO
0 to 30000
Mechanical wear
0 to 100
Contact wear
0 to 100
0 to 100
0 to 100
0 to 100
0 to 100
0 to 100
0 to 100
Transmitted frames
0 to 65535
Received frames
0 to 65535
CRC errors
0 to 65535
Timeouts
0 to 65535
Unsolicited responses
0 to 65535
0 to 500
0 to 500
0 to 500
17
Mode
Enable/Disable
Factory default
Enable for Three phase active energy, Three phase reactive energy,
OC trips, EF trips, SEF trips, AR OC reclosures, AR SEF
reclosures, AR UV reclosures, AR UV reclosures, Mechanical wear,
Contact wear; Disable for others
0 to 999
1 for Three phase active energy, 2 for Three phase reactive energy, 3
for OC trips, 4 for EF trips, 5 for SEF trips, 6 for AR OC reclosures,
7 for AR SEF reclosures, 8 for Mechanical wear, 9 for Contact wear;
NA for others
Deadband
107 for XXX energy points, 104 for XXX trips, XXX reclosures and
Total CO points, 100 for XXX filling and XXX wear points, 65535 for
Transmitted frames, Received frames, CRC errors, Timeouts and
Unsolicited responses
Class
0/1/2/3
Index
Applicable range
0 for all
Value
Generation rule
Applicable range
1 octet
NA
0 to 232-1
Each status bit has particular title as indicated in the table below
18
Activation/deactivation conditions
Bit #
Bit titl
ONLINE
Always set to 1
RESTART
Always set to 0
COMM_LOST
Always set to 0
REMOTE_FORCED
Always set to 0
LOCAL_FORCED
Always set to 0
ROLLOVER
DISCONTINUITY
RESERVED
DNP3 title
Description
Size
5 octets
3 octets
Figure 3
Analyzed dynamics of the counter value (Deadband
for this counter in the present example is set to 4)
Reference time
Last reported
value
Index
Status
Value
Absolute time
Class
T1
0000 0001
t1
T2
0000 0001
t1
0000 0001
t2
0000 0001
t1
0000 0001
t2
0000 0001
12
t3
0000 0001
t1
0000 0001
t2
0000 0001
12
t3
0000 0001
16
t4
T3
T4
12
16
Stored values of binary counters are downloaded from buffer following relevant solicited and unsolicited responses. In
case of solicited response only requested data is downloaded (refer to the description of solicited responses below).
In case of class I (I=1/2/3) unsolicited response all binary counters mapped for class I are downloaded (refer also to
description of unsolicited responses below). This buffer is also cleared in Warm or Cold restart states (refer also to
Application layer states description).
Last reported binary counters are zeroed in Warm or Cold restart states (refer also to Application layer states
description).
19
Analogue Inputs
The analogue inputs listed in table below are supported.
Data point
A-phase current
B-phase current
C-phase current
Residual current
Positive sequence current
Negative sequence current
Positive sequence voltage related to Source +
Positive sequence voltage related to Source Negative sequence voltage related to Source +
Negative sequence voltage related to Source Frequency measured from Source +
Frequency measured from Source A-phase power factor
B-phase power factor
C-phase power factor
Three-phase power factor
A-phase to earth voltage from Source +
A-phase to earth voltage from Source B-phase to earth voltage from Source +
B-phase to earth voltage from Source C-phase to earth voltage from Source +
C-phase to earth voltage from Source AB phase-to-phase voltage from Source +
AB phase-to-phase voltage from Source BC phase-to-phase voltage from Source +
BC phase-to-phase voltage from Source CA phase-to-phase voltage from Source +
CA phase-to-phase voltage from Source A-phase active power
B-phase active power
C-phase active power
Three phase active power
A-phase reactive power
B-phase reactive power
C-phase reactive power
Three phase reactive power
Residual battery capacity
MPM manufacturing number
PSM manufacturing number
DRVM manufacturing number
A-phase fault current
B-phase fault current
C-phase fault current
Residual fault current
Positive sequence fault current
Negative sequence fault current
Positive sequence fault voltage
Negative sequence fault voltage
Fault frequency
20
Designation
Range
Coefficient
Ia
Ib
Ic
In
I1
I2
U1 +
U1 U2 +
U2 F+
FPFa
PFb
PFc
PF3ph
Ua +
Ua Ub +
Ub Uc +
Uc Uab +
Uab Ubc +
Ubc Uca +
Uca Pa
Pb
Pc
P3ph
Qa
Qb
Qc
Q3phc
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
40.00 to 65.00
40.00 to 65.00
-1.00 to 1.00
-1.00 to 1.00
-1.00 to 1.00
-1.00 to 1.00
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
0.0 to 18.0
0 to 30000
0 to 30000
0 to 30000
0 to 30000
0 to 30000
0 to 30000
-65535 to 65535
-65535 to 65535
-65535 to 65535
-65535 to 65535
-65535 to 65535
-65535 to 65535
-65535 to 65535
-65535 to 65535
0 to 100
0 to 2147483648
0 to 2147483648
0 to 2147483648
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0 to 7000
0.0 to 18.0
0.0 to 18.0
0.0 to 65.00
1
1
1
1
1
1
10
10
10
10
100
100
100
100
100
100
10
10
10
10
10
10
10
10
10
10
10
10
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
10
10
100
Applicable range
Factory default
Enable/Disable
Index
0 to 999
Deadband
1 to 65535
Class
0/1/2/3
Mode
0 for all
Applicable range
1 octet
NA
4 octets
0 to 232-1
Field
Status
Analogue input value
Generation rule
Each status bit has particular title as indicated in the table below
Bit #
Bit titl
Activation/deactivation conditions
ONLINE
Always set to 1
RESTART
Always set to 0
COMM_LOST
Always set to 0
REMOTE_FORCED
Always set to 0
LOCAL_FORCED
Always set to 0
Activates in the following cases:
. prior to generation solicited response #15, #17 and #19 if
absolute value of analogue input exceeds 216-1
. prior to generation solicited response #9 and #11 if absolute
value of analogue input exceeds 216-1
OVER_RANGE
REFERENCE_ERR
Always set to 0
RESERVED
Always set to 0
21
Variation #
DNP3 title
Description
Size
5 octets
3 octets
Figure 4
Analyzed dynamics of the analogue input value
(Deadband for this analogue input is set to 50)
Last reported
value
Index
Status
Value
Absolute time
Class
T1
50
0000 0001
50
t1
T2
100
0000 0001
50
t1
0000 0001
100
t2
0000 0001
50
t1
0000 0001
100
t2
0000 0001
150
t3
0000 0001
50
t1
0000 0001
100
t2
0000 0001
150
t3
0000 0001
100
t4
T3
T4
22
Reference time
150
100
Stored values of analogue inputs are downloaded from buffer following relevant solicited and unsolicited responses.
In case of solicited response only requested data is downloaded (refer to the description of solicited responses
below). In case of class I (I=1/2/3) unsolicited response all analogue inputs mapped for class I are downloaded
(refer also to description of unsolicited responses below). This buffer is also cleared in Warm or Cold restart states
(refer also to Application layer states description).
Last reported analogue inputs are zeroed in Warm or Cold restart states (refer also to Application layer states
description).
Strings
Data point
Value
MPM software version
S02.06.0X:MPM/TEL-04E v XX.YY1)
1) - X and Y varies from 0 to 9
Strings settings
Setting
Applicable range
Factory default
Mode
Enable/Disable
Index
0 to 999
Default Variations
Applicable range
Factory
default
Kilovolts (kV)
Setting
Size
Index
2 octets
Binary input
1 octet
Absolute time
6 octets
Class
3 bits
23
Data related to each reading (binary input value and absolute time) are requested/responded in different formats
(variations).
The following table presents overview of the variations applicable within the scope of the present implementation
Variation #
DNP3 title
Description
Size
1 octet
7 octets
Field
Size
Index
2 octets
Status
1 octet
Value
4 octets
Absolute time
6 octets
Class
3 bits
Data related to each reading (value, status and absolute time) are requested /responded in different formats
(variations).
The following table presents overview of the variations applicable within the scope of the present implementation
Variation #
DNP3 title
5 octet
3 octets
11 octets
9 octets
1)
Description
24
Field
Size
Index
2 octets
Value
4 octet
Status
1 octets
Absolute time
6 octets
Class
3 bits
Size
Data related to each reading (value, status and absolute time) are requested /responded in different formats
(variations).
The following table presents overview of the variations applicable within the scope of the present implementation
Variation #
DNP3 title
5 octet
3 octets
11 octets
9 octets
1)
Description
Size
Internal Indications
First octet
1)
Bit
Activation/Deactivation conditions
IIN1.0
Activates after reception broadcast message, i.e. message with slave address fitting
the range 65533-65535 (refer also to data link settings)
Deactivates after reception another request or after unsolicited response
IIN1.1
Activates when binary input, binary counter or analogue input mapped for class 1 is
logged into change event buffer.
Deactivates when all binary inputs, binary counters or analogue inputs mapped for
class 1 are downloaded from change event buffers
IIN1.2
Activates when binary input, binary counter or analogue input mapped for class 2 is
logged into change event buffer.
Deactivates when all binary inputs, binary counters or analogue inputs mapped for
class 2 are downloaded from change event buffers
IIN1.3
Activates when binary input, binary counter or analogue input mapped for class 3 is
logged into change event buffer.
Deactivates when all binary inputs, binary counters or analogue inputs mapped for
class 3 are downloaded from change event buffers
IIN1.4
IIN1.5
IIN1.6
IIN1.7
25
Second octet
Bit
Activation/Deactivation conditions
IIN2.0
IIN2.1
IIN2.2
Activates after reception request with invalid qualifier, range or data fields
Deactivates after reception request with valid qualifier, range or data fields or after
generation unsolicited response
IIN2.3
IIN2.4
Not supported within the scope of the present implementation (always set to 0)
IIN2.5
Not supported within the scope of the present implementation (always set to 0)
IIN2.6
IIN2.7
Subfield
Application control
1 octet
Function code
1 octet
Object group
1 octet
Variation
1 octet
Qualifier
1 octet
Range
From 0 to 4 octets 1)
Data
Data
Object header
See above
See above
See above
Data
See above
See above
See above
Request header
Object header
Meaning
1) depending on the qualifier, refer also to the object header content description
2) refer also to the section describing content of the data field
26
Application control
The following table presents description of the particular bits of the application control
Description
Bit #
Bit title
FIR
FIN
Last fragment bit; set by master station to 1 for the last fragment in relevant
application request
CON
UNS
3 to 0
SEQ
Sequence; indicates fragment sequence number; master station increments this number
by 1 with any new fragment sent; after reaching 15 master station turns this number to
0 at sending next fragment
First fragment bit; set by master station to 1 for the first fragment in relevant
application request
FUN
OBJ
VAR
RANGE
Meaning
NA
NA
NA
NA
Confirmation message
13
NA
NA
NA
NA
14
NA
NA
NA
NA
0/1/2
0x00/0x01
nm 1)
0/1/2
0x06
NA
0/1/2
0x06
NA
0/1/2
0x07/0x08
n 2)
10
0/1/2
0x00/0x01
nm 1)
10
0/1/2
0x06
NA
10
12
0x17/0x28
11
12
0x17/0x28
12
12
0x17/0x28
13
12
0x17/0x28
14
20
0/1/2
0x00/0x01
nm 1)
15
20
0/1/2
0x06
NA
16
22
0/1/2/5/6
0x06
NA
17
22
0/1/2/5/6
0x07/0x08
n 2)
18
30
0/1/2
0x00/0x01
nm 1)
27
FUN
OBJ
VAR
RANGE
19
30
0/1/2
0x06
NA
20
32
0/1/2/3/4
0x06
NA
21
32
0/1/2/3/4
0x07/0x08
n 3)
22
50
0/1
0x07
23
50
0x07
24
60
0x06
NA
25
60
2/3/4
0x07/0x08
n 2)
26
20
60
2/3/4
0x06
NA
27
21
60
2/3/4
0x06
NA
60
1/2/3/4
0x06
NA
0x00/0x01
nm 1)
0x06
NA
20
0x00/0x01
nm 1)
20
0x06
NA
284)
22
nm
1)
30
0x00/0x01
30
0x06
NA
29
23
NA
NA
NA
NA
30
80
0x00/0x01
nm 4)
31
80
0x00/0x01
77
32
110
0x00/0x01
nm 1)
33
110
0x06
NA
1) Notation
Meaning
nm means sequence of two numerical values; for qualifier 0x00 each value is a single octet one, and is
ranged from 0 to 255; for qualifier 0x01 each value is a double octet one, and is ranged from 0 to 1000. These
values are also referred to as start-stop indexes
2) For qualifiers 0x07 and 0x17 n is a single octet value ranged from 0 to 255; for qualifiers 0x08 and 0x28 n is
a double octet value ranged from 0 to 1000
3) Refer to Application layer: Binary inputs/Binary counters/Analogue inputs settings
4) Notation nm means sequence of two numerical values; for qualifier 0x00 each value is a single octet one, and is
ranged from 0 to 15; for qualifier 0x01 each value is a double octet one, and is ranged from 0 to 15. These values
are also referred to as start-stop indexes
5) Strings 2 to 6 in this request are optional, though at least one must present
6) Refer to Internal indications
28
Size
Meaning
Range
Control code
1 octet
Count
1 octet
On time
4 octets
0 to 2 32-1
Off time
4 octets
0 to 2 32-1
Status
1 octet
1/2/3/4/64/128 3)
1
1)
29
Field
Subfield
Meaning
Application control
1 octet
Function code
1 octet
Internal indications
2 octets
Object group
1 octet
Variation
1 octet
Qualifier
1 octet
Range
From 0 to 8 octets 1)
Response header
Object header
1)
2)
Depends on the content In general case contains responded data and its
of the response 2)
indexes
Data
Data
Object header
See above
See above
See above
Data
See above
See above
See above
Bit #
Bit title
FIR
FIN
Set to 1 if particular fragment is the last one in relevant response. Always set to 1 for
single-fragment responses
CON
UNS
3 to 0
SEQ
This value increments by 1 at generation each solicited response. If this value reaches
15 it will be set to 0 for the next solicited response
Set to 1 if particular fragment is the first one in relevant response. Always set to 1 for
single-fragment responses
30
Request #
NA
NA
NA
NA
NA
NA
Always 1
Always 1
10
Always 1
11
Always 1
12
Always 1
13
NA
Always 1
14
15
16
17
18
19
20
21
Always 1
22
20
Always 1
23
20
Always 1
31
Request #
24
25
1)
Always 1
Always 1
Always 1
26
NA
NA
27
NA
NA
28
21
Always 1
29
22
Always 1
30
23
Always 1
31
NA
NA
32
24
33
24
This notation shall be read as follows: Response #1 if requested variation is 1 or if requested variation is 0 and
default variation is 1; Response #2 if requested variation is 2 or if requested variation is 0 and default variation is 2
32
Generation condition
Status code
Code title
SUCCESS
TIMEOUT
At reception request #11 preceded by request #10 received 5s before and earlier
NO_SELECT
FORMAT_ERROR
At reception requests ##10-13 with control codes other than Latch on/Latch
off/Pulse on/Pulse off/Close/Trip
NOT_SUPPORTED
At reception requests ##10-13 with control codes Close/Trip for another than
Dummy on and Closed binary input
ALREADY_ACTIVE
At reception requests ##10-13 with control code Latch on/Pulse on/Close (the
latter for binary inputs Dummy on and Closed only) for binary output which
state is 1
At reception requests ##10-13 with control code Latch off/Pulse off/Trip (the
latter for binary inputs Dummy on and Closed only) for binary output which
state is 0
LOCAL
At reception request #11 that has not been preceded by request #10
#
1
2
OBJ
VAR
RANGE
DATA
0x00/0x01
ij 1)
0x00/0x01
ij 1)
2)
0x17/0x28
0x17/0x28
n 2)
10
0x00/0x01
ij 1)
10
0x00/0x01
ij 1)
12
0x017/0x08
20
0x00/0x01
ij 1)
20
0x00/0x01
ij 1)
10
22
0x17/0x28
n 2)
2)
11
22
0x17/0x28
12
22
0x17/0x28
n 2)
13
22
0x17/0x28
n 2)
14
30
0x00/0x01
ij 1)
15
30
0x00/0x01
ij 1)
16
32
0x017/0x08
17
32
0x017/0x08
n 2)
18
32
0x017/0x08
n 2)
2)
19
32
0x017/0x08
20
51
NA
NA
NA
Absolute time
NA
NA
NA
NA
NA
22
52
0x07
18
23
80
0x00/0x01
ij 4)
24
110
29 3)
0x00/0x01
ij 1)
21
7)
1) Notation ij means sequence of two numerical values; for qualifier 0x00 each value is a single octet one, and is
ranged from 0 to 255; for qualifier 0x01 each value is a double octet one, and is ranged from 0 to 1000. These
values are also referred to as start-stop indexes
2) For qualifier 0x17 n and index in data field are single octet values ranged from 0 to 255; for qualifier 0x28 n
and index in data field are double octet values ranged from 0 to 1000
3) Responded string length (always 29 within the present implementation)
4) Notation ij means sequence of two numerical values; for qualifier 0x00 each value is a single octet one, and is
ranged from 0 to 15; for qualifier 0x01 each value is a double octet one, and is ranged from 0 to 15. These values
are also referred to as start-stop indexes
5) Refer to Application layer: Binary inputs/Binary outputs/Binary counters/Analogue inputs/ Strings settings
6) For details refer to Internal indications
7) Empty response including just response header field
33
1)
2)
3)
Data field
Size
Meaning
Range
Control code
1 octet
Count
1 octet
On time
4 octets
0 to 10 32-1
Off time
4 octets
0 to 10 32-1
Status
1 octet
1/2/3/4/64/128 2)
0 to 5, and 7 3)
Unsolicited Responses
Unsolicited responses may be of 1/2/3 class.
Class I (I=1/2/3) unsolicited response is initiated when Unsolicited response mode=Enable (refer to Unsolicited
response settings), i-th minus one bit of unsolicited response mask is 1, and when total number of binary signals,
binary counters and analogue events stored in relevant change event buffers and mapped for class I exceeds selected
threshold level (refer also to Unsolicited responses settings). After each unsolicited response RC waits for
confirmation request from master station during selected Confirmation timeout (refer to general settings). If
confirmation is not received within this time interval, RC resends unsolicited response after selected Retry delay
(refer to general settings). Number of unsolicited response retries is determined by likely general setting. If after all
responses confirmation still has not been received, RC resumes another batch of retries following selected Offline
interval (refer to general settings). This rules apply for the entire unsolicited response if its size does not exceed
Maximum fragment size (refer to relevant general setting) or if confirmation mode is set to Events only.
If unsolicited response size exceeds Maximum fragment size and confirmation mode is set to Events and
multi-fragments this rule applies for each fragment. The following picture presents an example of data flow for
unsolicited response consisting of two fragments with the Number of retries set to 2
Figure 5
Example of unsolicited response generation
34
UR stays for Unsolicited response, CON for Confirmation message (refer also to Application layer responses),
DT for Data transfer, Trd for Retry delay, Toff for Offline interval, Tcon for Confirmation timeout.
Unsolicited response represents a binary data file comprising in general case of the several fragments.
Each fragment contains in general case the following fields: response header, object header and data. Object
header-data fields are generally repeated several times in one response.
Table below represents general structure of unsolicited response having two object header-data fields (taken for
example)
Field
Subfield
Application
control
1 octet
Response header
Function code 1 octet
Meaning
Used for data flow control, in particular defines first/
last fragment in the response, whether confirmation is
requested, etc; refer to Application layer description
for details
Defines response as unsolicited (function code 130)
Internal
indications
2 octets
Object group
1 octet
Variation
1 octet
Qualifier
1 octet
Range
Data
Data
From 1 to 11 octets
depending on the
content of reported
data
Object header
See above
See above
See above
Data
See above
See above
See above
Count
Bit #
Bit title
FIR
FIN
Set to 1 if particular fragment is the last one in relevant response. Always set to 1 for
single-fragment responses
CON
UNS
3 to 0
SEQ
This value increments by 1 at generation each unsolicited response. If this value reaches
15 it will be set to 0 for the next unsolicited response
Set to 1 if particular fragment is the first one in relevant response. Always set to 1 for
single-fragment responses
35
1)
2)
3)
OBJ
VAR
NA 1) NA 1)
RANGE
NA 1)
NA 1)
DATA
NA
0x17/0x28
0x17/0x28
22
0x17/0x28
22
0x17/0x28
22
0x17/0x28
22
0x17/0x28
32
0x17/0x28
32
0x17/0x28
10
32
0x17/0x28
11
32
0x17/0x28
36
Setting
Applicable range
Factory default
Enable/Disable
Enable
1 to 500
1 to 500
1 to 500
Retry delay
1 to 86400s
60s
Number of retries
0 to 255
255
Offline interval
0 to 86400s
300s
Bit #
I-th bit of unsolicited response mask is activated following request 26 with VAR=I+1 (where I has range from 1
to 3)
I-th bit of unsolicited response mask is deactivated following request 27 with VAR=I+1 (where I has range from 1
to 3)
Generation rules
Timeouts
Unsolicited responses
Increments with appearance of every unsolicited response, drops to zero at generation event
signal Erase TCI counters
The number of binary inputs, binary counters and analogue inputs currently stored in
relevant change event buffers and mapped for class 1
The number of binary inputs, binary counters and analogue inputs currently stored in
relevant change event buffers and mapped for class 2
The number of binary inputs, binary counters and analogue inputs currently stored in
relevant change event buffers and mapped for class 3
Last unsolicited
response time
37
Subfield
Size
FIN
1bit
FIR
1bit
SEQ
6bits
NA
From 1 to 249 octets Data used for configuration application layer requests
Transport header
Data
38
Meaning
1)
Field
Transport header
Data
Subfield
Size
Meaning
FIN
1bit
FIR
1bit
SEQ
6bits
NA
39
Applicable range
Factory default
Master address
0 to 65534
Slave address
0 to 65534
Confirmation mode
Never/Sometimes/Always
Never
Confirmation timeout
0 to 60s
3s
Maximum retries
0 to 255
1)
64 to 292
2
1)
292
Enable/Disable
Disable
Self-addressing
Enable/Disable
Enable
When it is 292, includes data link header (10 octets) and 16 user data blocks; 15 of which contain 18 octets
(16 for user data and 2 for CRC) and the last one 12 octets (10 for user data and 2 for CRC)
40
Field
Subfield
START
2 octets
1 octet
CONTROL
1 octet
DESTINATION
2 octets
SOURCE
2 octets
CRC
2 octets
USER DATA
CRC
2 octets
USER DATA
From 0 to 16 octets
the last user data
block which is not
16-th;
From 0 to 10 octets
for 16-th user data
block
CRC
2 octets
LENGTH
Header Block
(Block 0)
Meaning
The following table describes detail structure of the CONTROL subfield relevant for master station requests.
Bits
Meaning
DIR
1 bit
PRM
1 bit
FCB
1 bit
DFC
1 bit
FUNCTION CODE
4 bits
41
The following table describes length, control and user data fields relevant for valid RC requests (other fields are the
same for all RC request; they are described in the general request structure presented above).
1)
Length
Control
User data
Meaning
6+N
0x43 or 0x53 1)
6+N
0x44 or 0x54 1)
DFC bit is activated/deactivated depending on data link layer ability to accept new requests containing user data;
refer also to Data link layer description for details
Relevant RC response
Positive acknowledgement
Positive acknowledgement
Positive acknowledgement
Not applicable
Link status
Invalid request
Negative acknowledgement
Note that master station requests are recognized as invalid in the following cases:
. Any CRC sum is corrupted (refer also to Data link layer master requests)
. Slave address received from master station (refer to data link layer master requests) does not comply with the
Slave address (refer to settings) with Self-addressing set to Disable (refer to settings)
. Slave address received from master station (refer to Data link layer master requests) complies neither with the
Slave address nor the broadcast address 0xFF 0xFC with Self-addressing set to Enable
. Master address received in master station request (refer to relevant section) does not comply with the Master
address (refer to settings) when Validate master address setting is set to Enable
. Request has been received during Confirmation timeout interval (refer to settings) after generation RCE request
with Confirmation mode setting being set to Always
. For Test link states and Deliver user data with confirmation requests has FCB bit different from what is expected
by DNP3 data link layer (data link layer expects this bit to be 1 in the request following Reset link states request;
and then being toggled after each RC Positive acknowledgment response)
42
Subfield
START
2 octets
LENGTH
1 octet
CONTROL
1 octet
DESTINATION
2 octets
SOURCE
2 octets
CRC
2 octets
Header Block
(Block 0)
Meaning
The following table describes detail structure of the CONTROL subfield relevant for master station responses.
Bits
DIR
1 bit
PRM
1 bit
FCB
1 bit
DFC
1 bit
FUNCTION CODE
4 bits
Meaning
The following table describes control subfields relevant for valid RC responses (other fields are the same for all RC
responses; they are described in the general response structure presented above).
Control
Meaning
0x00 or 0x10 1)
1)
0x01 or 0x11
1)
0x0B or 0x1B
1)
0x0F or 0x1F
1)
DFC bit is activated/deactivated depending on data link layer ability to accept new requests containing user data;
refer also to Data link layer description for details
43
Subfield
START
2 octets
1 octet
CONTROL
1 octet
DESTINATION
2 octets
SOURCE
2 octets
CRC
2 octets
16-bit CRC; includes START, LENGTH, CONTROL, DESTINATION and SOURCE subfields
USER DATA
CRC
2 octets
LENGTH
3
Header Block
(Block 0)
USER DATA
User Data Block 2
CRC
44
Meaning
From 0 to 16 octets
for the last user data
block which is not
16-th;
User data to be transferred to transport layer
From 0 to 10 octets
for 16-th user data
block
2 octets
The following table describes the structure of the CONTROL subfield relevant for master station requests.
Bits
Meaning
DIR
1 bit
PRM
1 bit
1 bit
1 bit
Frame count valid bit; master station raises this bit when
slave station (RC) must check FCB bit; this is relevant
only for Test link states and Deliver user data with
confirmation requests (refer to the list of valid requests
below)
4 bits
FCB
FCV
FUNCTION CODE
The following table describes length, control and user data fields relevant for valid master station requests (other
fields are the same for all master station requests; they are described in the general request structure presented above).
1)
2)
3)
4)
5)
Length
Control
User data
Meaning
0xC0
NA
0xF2 or 0xD2 2)
NA
6+N
0xF3 or 0xD3 2)
6+N
0xE4 or 0xC4 2)
0xE9 or 0xC9 2)
NA
0xEX or 0xCX 5)
NA
This request is used for synchronization data link; after its reception slave station expects next request with FCB
bit raised
Master station toggles FCB bit every time after reception Positive acknowledgement response. Therefore valid
request is determined by previous data exchange history: if previous request (preceding Positive acknowledgement
response) had FCB bit set to 1, valid request must have FCB bit set to 0; and vice versa
This request generally follows Reset link states requests; it is used to check that data link is synchronized, i.e.
slave receives FCB bit in accordance with its expectations
This is a dummy request used for receiving DFC bit only, i.e. getting information whether RC is ready to accept
next request containing user data
X=5,6,7,8,A,B,C,D,E,F
45
Field
Subfield
Meaning
START
2 octets
LENGTH
1 octet
1 octet
CONTROL
Header Block
(Block 0)
DESTINATION 2 octets
SOURCE
2 octets
CRC
2 octets
The following table describes detail structure of the CONTROL subfield relevant for master station responses.
Bits
Meaning
DIR
1 bit
PRM
1 bit
FCB
1 bit
DCF
1 bit
FUNCTION CODE
4 bits
The following table describes control subfields relevant for valid RC responses (other fields are the same for all RC
responses; they are described in the general response structure presented above).
Control
Meaning
0xA0 or 0x80 1)
0xA1 or 0x81
1)
46
1)
Master station toggles FCB bit every time after reception Positive acknowledgement response
Transmitted frames
Received frames
CRC errors
Generation rule
Each frame transmitted to physical layer increments this
counter by unit;
The value drops to 0 in two cases:
. at next increment after reaching 65535
. at activation Erase TCI counters control signal
Each frame received from physical layer increments this counter
by unit;
The value drops to 0 in two cases:
. at next increment after reaching 65535
. at activation Erase TCI counters control signal
Physical Layer
Physical layer provides interface between selected RTU and communication protocols via RS232 port. Functionality of
physical layer depends on the selected RTU.
Physical layer settings include settings of RS232 port and RTU settings. Refer to Section Application guide for
details of configuration of settings.
Direct connection and Converters do not have user configurable settings.
47
Port Settings
Port RS232 settings shall fit settings of the selected RTU RS232 port. For settings details refer to Hardware
specification section and TIA/EIA-232-F and ITU v.28 standard requirements.
Setting
48
Applicable range
Baud rate
300/600/1200/2400/4800/9600/
115200
19200/38400/57600/115200
1200
115200
Duplex mode
Half/Full
Full
Half
Half
Parity
None/ Even/Odd
None
None
None
Stop bits
1/2
DTR mode
Ignore/Control
Control
Ignore
Ignore
DTR on level
High/Low
High
High
High
RTS mode
Flow Control
Control PTT
Ignore
RTS on level
High/Low
High
High
High
DSR mode
Ignore
Ignore
CTS mode
Ignore
Ignore
DCD mode
Monitor High
Ignore
Inactivity time
0 to 600 s
15 s
15 s
500 ms
500 ms
500 ms
700 ms
700 ms
700 ms
50 ms
50 ms
Pre-transmission
time
0 to 5000 ms
10 ms
5 ms
Post-transmission
time
0 to 5000 ms
10 ms
5 ms
Enable/Disable
Enable
Enable
Enable
CA mode
Enable/Disable
NA
Enable
Enable
NA
2000 ms
2000 ms
CA max
random delay
NA
5000 ms
5000 ms
RTU Settings
Radio Modem Settings
Setting
Applicable Rang
Factory default
Preamble
Enable/Disable
Disable
Preamble char
Preamble last char
0x00 to 0xFF
1)
0x55
0x00 to 0xFF
1)
0xFF
Repeat count
0 to 25
1)
2)
Applicable Rang
Leased/Switched
0 to 255 s
String, starting with command prefix
32 chars max length
2),
Switched
NA
ATD
ATD
Dial numbers
NA
NA
Init string
ATZ
ATZ
Hang up command
ATH
ATH
None
None
Auto answer On
ATS0=2
ATS0=2
ATS0=2
ATS0=2
Connection timeout
0 to 255 s
60 s
60 s
Response time
0 to 255 s
3s
3s
Disable
Disable
Not Assigned
Not Assigned
Protection mode
Enable/Disable
Trusted numbers
Hexadecimal
For string format description refer to description of HY-YES compatible modems
49
Collisions
3
Call attempts
Call un-answered
Call busy
Incrementing condition
Erasure condition
Applicable RTU
All
All
Premature interruption of
established communication link
given outstanding response results
in timer increment by unit
RS232 standards are defined by EIA/TIA (Electronic Industries Alliance /Telecommunications Industry Association).
RS232 specifies both the physical and electrical characteristics of the interface. RS232 is practically identical to ITU
V.24 (signal description and names) and V.28 (electrical). RS232 is an Active LOW voltage driven interface and
operates at +12V to -12V where:
Signal = 0 (Low) > +3.0V
Signal = 1 (High) < -3.0V
For example, RC may command that DTR output be ignored and the hardware executes this command and puts - 12
volts on the DTR pin. A modem (or other device) that receives this DTR signal may behave in different ways. If a
modem has been configured a certain way, it will hang up the telephone line when DTR is ignored. Depending on
configuration the modem may ignore this signal or act in other way, when DTR is ignored (turned off).
The same is applicable for all 6 signal lines. RS232 Line signals are represented in Table bellow.
50
Signal
Designation
State
DCD
High /Low
DTR
High /Low
DSR
High /Low
RTS
Request To Send
High /Low
CTS
Clear To Send
High /Low
RI
Ring Indicator
High /Low
Modbus Protocol
51
Overview
MODBUS protocol is a messaging structure developed by Modicon in 1979, used for establishing master/client-server
communication between intelligent devices.
It is de-facto standard truly open and the most widely used network protocol in the industrial manufacturing
environment. Refer to www.modbus.org for details.
Only RTU serial transmission mode is supported in this implementation.
Downloading/uploading of settings and logs is not supported as Modbus has very limited support of file data transfer.
Application Layer
Settings
Application layer settings include the following groups of settings: coils, discrete inputs, holding registers and input
registers (see settings in corresponding paragraphs below).
Coils
The following coils are supported: Close, Set Dummy on, Set Prot on, Set AR on, Set EF on, Set SEF on,
Set HL on, Set ABR on, Set Group 1 on, Set Group 2 on, Set Group 3 on, Set Group 4 on, Erase protection
counters, Erase energy meters, Erase logs, Erase TCI counters, Set UD signal (1...12) on.
For each coil the following settings are applicable.
Setting
Applicable range
Factory default
Mode
Enable/Disable
Enable for Close, Set Dummy on, Set Prot on, Set AR on, Set EF
on, Set SEF on, Set HL on, Set ABR on, Set Group 1 on, Set Group
2 on, Set Group 3 on, Set Group 4 on; Disable for others
Enable/Disable
00001 to 00999
00001 for Close; 00003 for Set Dummy on; 00004 for Set Prot on;
00005 for Set AR on; 00006 for Set EF on; 00007 for Set SEF on;
00008 for Set HL on; 00009 for Set ABR on; 00010 for Set Group 1
on, 000011 for Set Group 2 on, 00012 for Set Group 3 on, 00013 for
Set Group 4 on; NA for others
Number
52
Discrete Inputs
The following discrete inputs are supported: Closed, Dummy on, Remote on, Lockout, AR initiated,
Protection active, RC door open, RCM fault, Malfunction, Warning, Prot on, AR on, EF on, SEF on,
HL on, ABR on, Group 1 on, Group 2 on, Group 3 on, Group 4 on, UD signal (1...12) on, IOI input
(1...12) on.
For each discrete input the following settings are applicable
Setting
Mode
Number
Applicable range
Factory default
Enable/Disable
10001 for Dummy on; 10002 for Closed; 10003 for Remote on; 10004
for Lockout; 10005 for AR initiated; 10006 for RC door open; 10007
for Malfunction; 10008 for Warning; 10009 for Prot on; 10010 for
AR on; 10011 for EF on; 10012 for SEF on; 10013 for HL on; 10014
for ABR on; 10015 for Group 1 on; 10016 for Group 2 on; 10017 for
Group 3 on; 10018 for Group 4 on; NA for others
10001 to 10999
10001 for Dummy on; 10002 for Closed; 10003 for Remote on;
10004 for Lockout; 10005 for AR initiated; 10006 for RC door open;
10007 for Malfunction; 10008 for Warning; 10009 for Prot on; 10010
for AR on; 10011 for EF on; 10012 for SEF on; 10013 for HL on;
10014 for ABR on; 10015 for Group 1 on; 10016 for Group 2 on;
10017 for Group 3 on; 10018 for Group 4 on; NA for others
Holding Registers
Represent 2 octet binary files
The following holding registers are supported within the scope of the present implementation:
. Absolute time high
. Absolute time medium
. Absolute time low
. Year
. Month
. Hours
. Minutes
. Seconds
. Milliseconds
For each holding register the following settings are applicable.
Setting
Applicable range
Factory default
Mode
Enable/Disable
Enable for Absolute time high, Absolute time medium, Absolute time
low, Year, Month, Day, Hours, Minutes, Seconds, Milliseconds
40001 to 40999
40001 for Absolute time high; 40002 for Absolute time medium; 40003
for Absolute time low; 40004 for Year, 40005 for Month, 40006 for
Day, 40007 for Hours, 40008 for Minutes, 40009 for Seconds,
40010 for Milliseconds, NA for others
Number
Value of an enabled J-th holding register is the data field value in the following cases:
. Reception request 8 with N+1JN+3 if holding registers Absolute time high/medium/low have numbers
40001+N/40002+N/40003+N respectively
. Reception request 8 with N+1JN+7 if holding registers Year/Month/Day/Hour/Minutes/Seconds/Milliseconds have
numbers 40001+N/40002+N/40003+N/40004+N/40005+N/40006+N/40007+N respectively
53
Input Registers
The following input registers are supported within the scope of the present implementation:
Input register
54
Relevant indication
data point
Notation
Transformation
coefficient
A-phase current
A-phase current
UINT16
B-phase current
B-phase current
UINT16
C-phase current
C-phase current
UINT16
Residual current
Residual current
UINT16
UINT16
UINT16
UINT16
10
UINT16
10
UINT16
10
UINT16
10
UINT16
100
UINT16
100
UINT16
100
UINT16
100
UINT16
100
UINT16
100
UINT16
10
UINT16
10
UINT16
10
UINT16
10
UINT16
10
UINT16
10
AB phase-to-phase voltage
from Source +
UINT16
10
AB phase-to-phase voltage
from Source -
UINT16
10
BC phase-to-phase voltage
from Source +
UINT16
10
BC phase-to-phase voltage
from Source -
UINT16
10
CA phase-to-phase voltage
from Source +
UINT16
10
CA phase-to-phase voltage
from Source -
UINT16
10
Notation
Transformation
coefficient
INT32
INT32
INT32
INT32
INT32
INT32
INT32
INT32
UINT16
INT32
INT32
DRVM manufacturing
number
INT32
UINT16
INT32
INT32
INT32
INT32
INT32
INT32
INT32
INT32
BF trips
BF trips
UINT16
OC trips
OC trips
UINT16
EF trips
EF trips
UINT16
SEF trips
SEF trips
UINT16
VU trips
VU trips
UINT16
UV trips
UV trips
UINT16
OV trips
OV trips
UINT16
Input register
A-phase active power high
A-phase active power low
B-phase active power high
B-phase active power low
C-phase active power high
C-phase active power low
Three phase active power high
Three phase active power low
A-phase reactive power high
A-phase reactive power low
B-phase reactive power high
B-phase reactive power low
C-phase reactive power high
C-phase reactive power low
Three phase reactive power high
Three phase reactive power low
Residual battery capacity
MPM manufacturing number high
MPM manufacturing number low
PSM manufacturing number high
PSM manufacturing number low
DRVM manufacturing number high
Relevant indication
data point
55
Input register
CU trips
UF trips
LS trips
AR OC reclosures
AR SEF reclosures
AR UV reclosures
AR OV reclosures
AR UF reclosures
ABR reclosures
Total CO
Mechanical wear
Contact wear
Load profile filling
Event log filling
Fault profile filling
Malfunction log filling
Change messages filling
Comms log filling
Transmitted frames (Modbus) high
Transmitted frames (Modbus) low
Received frames (Modbus) high
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
UINT16
Transformation
coefficient
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
UINT32
UINT32
UINT16
UINT16
UINT16
1
1
1
Notation
Values of input registers are generated on the basis of relevant indication data.
For indication data point using notation UINT16 (unsigned integer) relevant input register is generated with the aid
of the following procedure:
a) Indication data point is multiplied by relevant transformation coefficient
b) Resultant value is converted into 16-bit format
For indication data points using notation INT16 relevant input register generated with the aid of the following
procedure:
a) Absolute value of the indication data point is multiplied by relevant transformation coefficient
b) Resultant value is converted into 15-bit format
c) This value forms first 15-n bits of the input register
b) 16-th bit of this register is set to 0 if relevant indication data point is positive and 1 otherwise
For indication data point using notation UINT32 relevant input registers are generated with the aid of the following
procedure:
a) Indication data point is multiplied by relevant transformation coefficient
b) Resulting value is converted into 32-bit format
c) First 16 bits form input register ended with the word low
d) Bits from 17-th to 32-d form input register ended with the word high
For indication data point using notation INT32 relevant input registers are generated with the aid of the following
procedure:
a) Absolute value of the indication data point is multiplied by relevant transformation coefficient
b) Resulting value is converted into 31-bit format
c) First 16 bits form input register ended with the word low
d) Bits from 17-th to 31-st form first 15-n bits of the input register ended with the word high
e) 32-d bit of this register is set to 0 if relevant indication data point is positive and 1 otherwise
56
Mode
Number
Applicable range
Enable/Disable
30001 to 30999
Factory default
Enable for A-phase current, B-phase current, C-phase current,
Residual current, Positive sequence current, Negative sequence
current, Positive sequence voltage related to Source+ side, Positive
sequence voltage related to Source- side, Negative sequence voltage
related to Source+ side, Negative sequence voltage related to Sourceside, Frequency, indicated value of Source + side, Frequency, indicated
value of Source- side, A-phase power factor, B-phase power factor,
C-phase power factor, Three phase power factor, Three phase active
energy high, Three phase active energy low, Three phase reactive energy
high, Three phase reactive energy low, OC trips, EF trips, SEF trips,
AR reclosures, SEF reclosures, Mechanical wear, Contact wear,
Disable for others
30001 for A-phase current, 30002 for B-phase current, 30003 for
C-phase current, 30004 for Residual current, 30005 for Frequency
measure from Source +, 30006 for Frequency measured from source ,
30007 for Three phase power factor, 30008 for Three phase active
energy high, 30009 for Three phase active energy low, 30010 for Three
phase reactive energy high, 30011 for Three phase reactive energy low,
30012 for OC trips, 30013 for EF trips, 30014 for SEF trips, 30015 for
AR reclosures, 30016 for SEF reclosures, 30017 for Mechanical wear,
30018 for Contact wear, NA for others
Control Data
Event signals
Event signals are generated following relevant changes of coils as indicated in table below.
Event signal
Trip request from TCI
Close request from TCI
Set Dummy on from TCI
Set Dummy off from TCI
Set Prot on from TCI
Set Prot off from TCI
Set AR on from TCI
Set AR off from TCI
Set EF on from TCI
Set EF off from TCI
Set SEF on from TCI
Set SEF off from TCI
Set HL on from TCI
Set HL off from TCI
Set ABR on from TCI
Set ABR off from TCI
Set Group 1 on from TCI
Set Group 2 on from TCI
Set Group 3 on from TCI
Set Group 4 on from TCI
Erase protection counters from TCI
Erase energy meters from TCI
Condition of generation
Coil "Close" is deactivated
Coil "Close" is activated
Coil "Set Dummy on" is activated
Coil "Set Dummy on" is deactivated
Coil "Set Prot on" is activated
Coil "Set Prot on" is deactivated
Coil "Set AR on" is activated
Coil "Set AR on" is deactivated
Coil "Set EF on" is activated
Coil "Set EF on" is deactivated
Coil "Set SEF on" is activated
Coil "Set SEF on" is deactivated
Coil "Set HL on" is activated
Coil "Set HL on" is deactivated
Coil "Set ABR on" is activated
Coil "Set ABR on" is deactivated
Coil "Set Group 1" on is activated
Coil "Set Group 2" on is activated
Coil "Set Group 3" on is activated
Coil "Set Group 4" on is activated
Coil "Erase protection counters" is activated
Coil "Erase energy meters" is activated
57
Event signal
Condition of generation
Function code
1 octet
Data
58
Meaning
Defined function that has been performed
The following table represents all responses valid within the scope of the present implementation (where FUN stays
for function code)
FUN
Data
PQ 1)
PQ 2)
PQ 3)
PQ 4)
PQ 5)
4 octets
PQ 6)
4 octets
15
PQ 7)
4 octets
16
PQ 8)
4 octets
128, 135148,151-250
1 octet
10
129, 130
1 octet
11
129, 130
1 octet
12
131, 132
1 octet
13
131, 132
1 octet
14
133
1 octet
15
133
1 octet
16
133
1 octet
17
134
1 octet
18
134
1 octet
19
134
1 octet
20
149
1 octet
21
149
1 octet
22
149
1 octet
23
150
1 octet
24
150
1 octet
25
150
1 octet
Meaning
59
Application responses are generated following reception relevant application requests in accordance with the
following correlation table.
Application request
Relevant application
response
Valid request 1
Response 1
Valid request 2
Response 2
Valid request 3
Response 3
Valid request 4
Response 4
Valid request 5
Response 5
Valid request 6
Response 6
Valid request 7
Response 7
Valid request 8
Response 8
Exception response 9
Exception response 10
Requests 1 or 2 with the number of coils/discrete inputs not fitting range 1 to 1000
Exception response 11
Requests 3 and 4 referred to holding/input register numbers not fitting applicable range
Exception response 12
Requests 3 and 4 with the number of registers not fitting range from 1 to 125
Exception response 13
Exception response 14
Exception response 15
Request 5 when RC is set in local mode (does not apply to Trip request, i.e. setting 0 to
coil Close)
Exception response 16
Exception response 17
Exception response 18
Request 6
Exception response 19
Exception response 20
Request 7 with the number of coils not fitting range from 1 to 1000
Exception response 21
Exception response 22
Exception response 23
Requests 8 with the number of registers not fitting range from 1 to 123
Exception response 24
Request 8 when RC is set in local mode or referred to non-consistent range of registers10) Exception response 25
1) Where
P is a single octet value ranged from 1 to 125, and Q is a value having P octets
P is a single octet value ranged from 1 to 125, and Q is a value having P octets
3) Where P is even, single octet value ranged from 2 to 250, and Q is a value having P octets
4) Where P is even, single octet value ranged from 2 to 250, and Q is a value having P octets
5) Where P and Q are double octet values such as P does not exceed 999 and Q is either 0xFF00 or 0x0000
6) Where P and Q are double octet values such as P does not exceed 999
7) Where P and Q are double octet values such as P+Q does not exceed 1000
8) Where P and Q are double octet values such as P+Q does not exceed 1000
9) In this implementation existing holding registers cannot be written separately (refer also to section Holding
registers in Modbus application layer
10) For details refer to section Holding registers
2) Where
60
Responded value of P
Responded value of Q
2*M
2*M
6-8
Generation rule
Sending each exception response increments this counter by unit;
activation of Erase TCI counters event signal resets this counter to 0
Exception responses
Last exception response time
Range
Factory default
Slave address
Automatic timeout mode
Reception timeout
From 1 to 247
Enable/Disable
From 1 to 60000 ms
1
Enable
500ms
Function code
1 octet
Data
Meaning
Defined function to be performed
61
The following table represents all requests valid within the scope of the present implementation (where FUN stays for
function code)
FUN
Data
Meaning
NM 1)
4 octets
NM 2)
4 octets
NM 3)
4 octets
NM
4)
4 octets
NM 5)
4 octets
NM 6)
4 octets
NMLK 7)
From 6 to 130
octets
NMLK 8)
From 7 to 251
octets
Application request is generated following acceptance of the relevant Modbus master request, which is accepted
under the following conditions:
. Request contains address 0 or slave address 9)
. CRC has been received within selected reception timeout 10) after address acceptance if automatic timeout mode 11)
has been disabled
. CRC has been received during timeout of 4500/baud rate 12) if automatic timeout mode has been enabled
. CRC appeared to be correct
At this protocol unit data containing in master station request represents Modbus application request.
1) Where
N and M are double octet values such as N+M does not exceed 1000
N and M are double octet values such as N+M does not exceed 1000
3) Where N and M are double octet values such as N+M does not exceed 1000 and M does not exceed 125
4) Where N and M are double octet values such as N+M does not exceed 1000 and M does not exceed 125
5) Where N and M are double octet values such as N does not exceed 999 and M is either 0xFF00 or 0x0000
6) Where N and M are double octet values such as N does not exceed 999
7) Where N and M are double octet values such as N+M does not exceed 1000; L is a single octet value defining size
of K and equal to integral multiple of M or integral multiple of M plus 1 (depending on whether M is divisible by 8
or not), so it cannot exceed 125; K is a value having L octets and containing requested coils values
8) Where N and M are double octet values such as N+M does not exceed 1000 and M does not exceed 123; L is a
single octet value defining size of K, and equal to 2M, so it cannot exceed 246; K is a value having L octets and
containing requested registers values
9) Refer to relevant setting
10) Refer to relevant setting
11) Refer to relevant setting
12) Refer to relevant RS232 port setting for details
2) Where
62
Meaning
Slave address ranged from 0 to 247; at this
address 0 corresponds to broadcast message
1 octet
From 5 to 252 octets depending on
the content of the request 1)
2 octets
Modbus RC responses
These responses represent binary files comprising of slave address, protocol data unit and CRC fields as in indicated in
the table below
Field
Address
Protocol data unit
CRC
Meaning
Slave address ranged from 1 to 247
RC responses are generated following acceptance of relevant Modbus application responses. At this all data presented
in Modbus application response are used as Protocol data unit in Modbus RC data response. Data presented in
address field is Slave address (refer to section Settings). 16-bit CRC is calculated following standard rule.
1) Refer
2) Refer
63
Data point
Data type
Generation rule
Transmitted frames
Counter
Range 0 to
65535
Received frames
Counter
Receiving each Modbus master request increments this counter by unit; activation of Erase
TCI counters event signal resets this counter to
0
Range 0 to
65535
CRC errors
Counter
Discovering each CRC error increments this counter by unit; activation of Erase TCI counters
event signal resets this counter to 0
Range 0 to
65535
Timeouts
Counter
Range 0 to
65535
1 ms resolution
1 ms resolution
1 ms resolution
1 ms resolution
Physical Layer
Refer to information presented in paragraph 3. DNP3 Protocol, subclause Physical layer.
64
Note
65
Overview
IEC 60870-5-104 (IEC 104) protocol is an extension of IEC 101 protocol with the changes in transport, network, link
& physical layer services to suit the complete network access. The standard uses an open TCP/IP interface to network
to have connectivity to the LAN (Local Area Network) and routers with different facility (ISDN, X.25, Frame relay etc.)
can be used to connect to the WAN (Wide Area Network). Application layer of IEC 104 is preserved same as that of IEC
101 with some of the data types and facilities not used. There are two separate link layers defined in the standard,
which is suitable for data transfer over Ethernet & serial line (PPP - Point-to-Point Protocol). The control field data of
IEC104 contains various types of mechanisms for effective handling of network data synchronization.
Interoperability List
This companion standard presents sets of parameters and alternatives from which subsets must be selected to
implement particular telecontrol systems. Certain parameter values, such as the choice of structured or
unstructured fields of the information object address of ASDUs represent mutually exclusive alternatives. This
means that only one value of the defined parameters is admitted per system. Other parameters, such as the listed set
of different process information in command and in monitor direction allow the specification of the complete set or
subsets, as appropriate for given applications. This clause summarizes the parameters of the previous clauses to
facilitate a suitable selection for a specific application. If a system is composed of equipment stemming from different
manufacturers, it is necessary that all partners agree on the selected parameters. The interoperability list is defined as
in IEC 60870-5-101 and extended with parameters used in this standard. The text descriptions of parameters which are
not applicable to this companion standard are strike-through (corresponding check box is marked black).
NOTE: In addition, the full specification of a system may require individual selection of certain parameters for certain
parts of the system, such as the individual selection of scaling factors for individually addressable measured values.
The selected parameters are marked in the white boxes as follows:
Function or ASDU is not used
System or device
(system-specific parameter, indicate definition of a system or a device by marking one of the following with X)
System definition (Definition for Master and Slave)
Controlling station definition (Master)
Network configuration
(network-specific parameter, all configurations that are used are to be marked X )
Point-to-point
Multipoint-partyline
66
Multiple point-to-point
Multipoint-star
Physical layer
(network-specific parameter, all interfaces and data rates that are used are to be marked X)
Transmission speed (control direction)
Unbalanced interchange
Unbalanced interchange
Circuit V.24/V.28
Circuit V.24/V.28
Standard
Recommended if >1200 bit/s
Balanced interchange
Circuit X.24/X.27
100 bit/s
2 400 bit/s
2 400 bit/s
56 000 bit/s
200 bit/s
4 800 bit/s
4 800 bit/s
64 000 bit/s
300 bit/s
9 600 bit/s
9 600 bit/s
600 bit/s
19 200 bit/s
1 200 bit/s
38 400 bit/s
Balanced interchange
Circuit X.24/X.27
100 bit/s
2 400 bit/s
2 400 bit/s
56 000 bit/s
200 bit/s
4 800 bit/s
4 800 bit/s
64 000 bit/s
300 bit/s
9 600 bit/s
9 600 bit/s
600 bit/s
19 200 bit/s
1 200 bit/s
38 400 bit/s
Link layer
(network-specific parameter, all options that are used are to be marked X. Specify the maximum frame length. If a
non-standard assignment of class 2 messages is implemented for unbalanced transmission, indicate the Type ID and
COT of all messages assigned to class 2.)
Frame format FT 1.2, single character 1 and the fixed time out interval are used exclusively in this companion
standard.
Link transmission procedure
Balanced transmission
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 identification
Cause of transmission
Cause of transmission
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).
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
(system-specific parameter, all configurations that are used are to be marked X)
One octet
Two octets
Two octets
structured
X unstructured
X Three octets
Cause of transmission
(system-specific parameter, all configurations that are used are to be marked X)
One octet
Length of APDU
(system-specific parameter, specify the maximum length of the APDU per system) Length of the APDU must be
configurable with a maximum length of 253 (default). The maximum length may be reduced per system.
68
X <1> :=
Single-point information
M_SP_NA_1
<2> :=
M_SP_TA_1
X <3> :=
Double-point information
M_DP_NA_1
<4> :=
M_DP_TA_1
<5> :=
M_ST_NA_1
<6> :=
M_ST_TA_1
<7> :=
Bitstring of 32 bit
M_BO_NA_1
<8> :=
M_BO_TA_1
X <9> :=
M_ME_NA_1
<10> :=
M_ME_TA_1
X <11> :=
M_ME_NB_1
<12> :=
M_ME_TB_1
X <13> :=
M_ME_NC_1
<14> :=
M_ME_TC_1
X <15> :=
Integrated totals
M_IT_NA_1
<16> :=
M_IT_TA_1
X <17> :=
M_EP_TA_1
<18> :=
M_EP_TB_1
X <19> :=
M EP_TC_1
<20> :=
M_PS_NA_1
<21> :=
M_ME_ND_1
X <30> :=
M_SP_TB_1
X <31> :=
M_DP_TB_1
<32> :=
M_ST_TB_1
<33> :=
M_BO_TB_1
X <34> :=
M_ME_TD_1
X <35> :=
M_ME_TE_1
X <36> :=
Measured value, short floating point value with time tag CP56Time2a
M_ME_TF_1
X <37> :=
M_IT_TB_1
<38> :=
M_EP_TD_1
<39> :=
M_EP_TE_1
<40> :=
Packed output circuit information of protection equipment with time tag CP56Time2a M_EP_TF_1
X <45> :=
Single command
C_SC_NA_1
X <46> :=
Double command
C_DC_NA_1
<47> :=
C_RC_NA_1
X <48> :=
C_SE_NA_1
69
X <49> :=
C_SE_NB_1
X <50> :=
C_SE_NC_1
<51> :=
Bitstring of 32 bit
C_BO_NA_1
X <58> :=
C_SC_TA_1
X <59> :=
C_DC_TA_1
<60> :=
C_RC_TA_1
X <61> :=
C_SE_TA_1
X <62> :=
C_SE_TB_1
X <63> :=
Set point command, short floating point value with time tag CP56Time 2a
C_SE_TC_1
<64> :=
C_BO_TA_1
X <70> :=
End of initialization
M_EI_NA_1
X <100> :=
Interrogation command
C_IC_NA_1
X <101> :=
C_CI_NA_1
X <102> :=
Read command
C_RD_NA_1
X <103> :=
C_CS_NA_1
X <104> :=
Test command
C_TS_NA_1
X <105> :=
C_RP_NA_1
X <106> :=
C_CD_NA_1
X <107> :=
C_TS_TA_1
X <110> :=
P_ME_NA_1
X <111> :=
P_ME_NB_1
X <112> :=
P_ME_NC_1
X <113> :=
Parameter activation
P_AC_NA_1
File Transfer
(station-specific parameter, mark each Type ID X if it is only used in the standard direction, R if only
used in the reverse direction, and B if used in both directions)
70
<120> :=
File ready
F_FR_NA_1
<121> :=
Section ready
F_SR_NA_1
<122> :=
F_SC_NA_1
<123> :=
F_LS_NA_1
<124> :=
F_AF_NA_1
<125> :=
Segment
F_SG_NA_1
<126> :=
F_DR_TA_1
1
<1>
<2>
<3>
<4>
<5>
<6>
<7>
<8>
<9>
<10>
<11>
<12>
<13>
<14>
<15>
<16>
<17>
<18>
<19>
<20>
<21>
<30>
M_SP_NA_1
M_SP_TA_1
M_DP_NA_1
M_DP_TA_1
M_ST_NA_1
M_ST_TA_1
M_BO_NA_1
M_BO_TA_1
M_ME_NA_1
M_ME_TA_1
M_ME_NB_1
M_ME_TB_1
M_ME_NC_1
M_ME_TC_1
M_IT_NA_1
M_IT_TA_1
M_EP_TA_1
M_EP_TB_1
M_EP_TC_1
M_PS_NA_1
M_ME_ND_1
M_SP_TB_1
20 37
10 11 12 13 to to 44 45 46 47
36 41
X
X
file transfer
activation termination
deactivation confirmation
deactivation
activation confirmation
activation
request or requested
initialized
spontaneous
background scan
Type identification
periodic, cyclic
Cause of transmission
X
71
<31>
<32>
<33>
<34>
<35>
<36>
<37>
<38>
<39>
<40>
<45>
<46>
<47>
<48>
<49>
<50>
<51>
<70>
<100>
<101>
<102>
<103>
<104>
<105>
<106>
<107>
<110>
<111>
<112>
<113>
<120>
<121>
<122>
<123>
<124>
<125>
<126>
72
M_DP_TB_1
M_ST_TB_1
M_BO_TB_1
M_ME_TD_1
M_ME_TE_1
M_ME_TF_1
M_IT_TB_1
M_EP_TD_1
M_EP_TE_1
M_EP_TF_1
C_SC_NA_1
C_DC_NA_1
C_RC_NA_1
C_SE_NA_1
C_SE_NB_1
C_SE_NC_1
C_BO_NA_1
M_EI_NA_1*
C_IC_NA_1
C_CI_NA_1
C_RD_NA_1
C_CS_NA_1
C_TS_NA_1
C_RP_NA_1
C_CD_NA_1
C_TS_TA_1
P_ME_NA_1
P_ME_NB_1
P_ME_NC_1
P_AC_NA_1
F_FR_NA_1
F_SR_NA_1
F_SC_NA_1
F_LS_NA_1
F_AF_NA_1
F_SG_NA_1
F_DR_TA_1*
X
X
X
X
X
X
X
deactivation confirmation
deactivation
activation confirmation
activation
file transfer
request or requested
initialized
spontaneous
activation termination
background scan
Type identification
periodic, cyclic
Cause of transmission
20 37
10 11 12 13 to to 44 45 46 47
36 41
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Station initialization
(station-specific parameter, mark X if function is used)
X Remote initialization
Cyclic data transmission
(station-specific parameter, mark X if function is only used in the standard direction, R if only used in the reverse
direction, and B if used in both directions)
X Read procedure
Spontaneous transmission
(station-specific parameter, mark X if function is only used in the standard direction, R if only used in the reverse
direction, and B if used in both directions)
X Spontaneous transmission
Double transmission of information objects with cause of transmission spontaneous
(station-specific parameter, mark each information type X where both a Type ID without time and corresponding Type
ID with time are issued in response to a single spontaneous change of amonitored object)
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
(station-specific parameter, mark X if function is only used in the standard direction, R if only used in the reverse
direction, and B if used in both directions)
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 5
X group 11
X group 6
X group 12
X group 16
Clock synchronization
(station-specific parameter, mark X if function is only used in the standard direction, R if only used in
the reverse direction, and B if used in both directions)
X Clock synchronization
Command transmission
(object-specific parameter, mark X if function is only used in the standard direction, R if only used in
the reverse direction, and B if used in both directions)
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)
X Persistent output
X Supervision of maximum delay in command direction of commands and set point commands
Maximum allowable delay of commands and set point commands
Configurable
Transmission of integrated totals
(station- or object-specific parameter, mark X if function is only used in the standard direction, R if
only used in the reverse direction, and B if used in both directions)
X Counter read
X Counter reset
X Threshold value
Smoothing factor
Low limit for transmission of measured value
High limit for transmission of measured value
74
Parameter activation
(object-specific parameter, mark X if function is only used in the standard direction, R if only used in
the reverse direction, and B if used in both directions)
X Test procedure
File transfer
(station-specific parameter, mark X if function is used).
File transfer in control direction
Transparent file
Transmission of disturbance data of protection equipment
Transmission of sequences of events
Transmission of sequences of recorded analogue values
X Background scan
Acquisition of transmission delay
(station-specific parameter, mark X if function is only used in the standard direction, R if only used in
the reverse direction, and B if used in both directions)
Default value
T0
30 seconds
T1
15 seconds
T2
10 seconds
T3
20 seconds
Remarks
Range
Selected value
1-255
Configurable
1-255
Configurable
1-255
Configurable
1-255
Configurable
Range
Selected value
1 - 32767
Configurable
1 - 32767
Configurable
Default value
12 APDUs
8 APDUs
Remarks
Maximum difference receive sequence
number to send state variable
Latest acknowledge after receiving w I-format
APDUs
75
Portnumber
Parameter
Value
Remarks
Port number
2404
Configurable
X Ethernet 802.3
Serial X.21 interface
Other selection from RFC 2200:
Application Layer
Application layer settings
General settings
Name
Description
Default
50-1000
1000
50-1000
500
0-65534
On/Off
Off
10-253
253
On/Off
Off
0-65534
120
On/Off
Off
0-65534
60
Cyclic data transmission timeout Cyclic data transfer period (in seconds)
76
Range
SBO timeout
1-60
0-65534
1440
(=24 hours)
1-60
5 seconds
Timestamp of spontaneous
single points
On/Off
On
On/Off
On
On/Off
Off
Timestamp of spontaneous
double points
On/Off
On
Name
Description
Range
Default
On/Off
On
On/Off
Off
Normalized/
Scaled/Float
Float
Timestamp of spontaneous
measurement points
On/Off
On
Timestamp of measurement
points read reply
On/Off
Off
Timestamp of spontaneous
integrated totals
On/Off
On
Timestamp of interrogated
integrated totals
On/Off
Off
- Spontaneous buffer full becomes 1 if one of event-buffers is filled (ME/IT of SP/DP); it becomes 0 if both
buffers become 50% empty
Applicable range
Factory default
Enable/Disable
Address
1-100000
1001 for Closed; 1002 for Dummy on; 1003 for Remote on;
1004 for Lockout; 1005 for AR initiated; 1006 for Protection
active; 1007 for RC door open; 1008 for RCM fault; 1009 for
Malfunction; 1010 for Warning; 1011 for Prot on; 1012 for
AR on; 1013 for EF on; 1014 for SEF on; 1015 for HL on;
1016 for Group 1 on, 1017 for Group 2 on, 1018 for Group 3
on, 1019 for Group 4 on; NA for others
Group
1-16
Spontaneous
Enable/Disable
Mode
77
Applicable range
Factory default
Mode
Enable/Disable
Address
1-100000
2001 for Closed; 2002 for Dummy on; 2003 for Remote on;
2004 for Lockout; 2005 for AR initiated; 2006 for Protection
active; 2007 for RC door open; 2008 for RCM fault; 2009 for
Malfunction; NA for others
Group
1-16
Spontaneous
Enable/Disable
The following single bit binary command points are supported: Close, Set Dummy on, Set Prot on, Set AR on,
Set EF on, Set SEF on, Set HL on, Set ABR on, Set Group 1 on, Set Group 2 on, Set Group 3 on, Set
Group 4 on, Erase protection counters, Erase energy meters, Erase logs, Erase TCI counters, Set output
(1...12) on.
Settings of single bit binary command points
78
Setting
Applicable range
Factory default
Mode
Enable/Disable
Enable for Close, Set Dummy on, Set Prot on, Set AR on,
Set EF on, Set SEF on, Set HL on, Set ABR on, Set Group 1
on, Set Group 2 on, Set Group 3 on, Set Group 4 on; ;
Address
1-100000
10001 for Close, 10002 for Set Dummy on, 10003 for Set Prot
on, 10004 for Set AR on, 10005 for Set EF on, 10006 for Set
SEF on, 10007 for Set HL on, 10008 for Set ABR on, 10009
for Set Group 1 on, 10010 for Set Group 2 on, 10011 for Set
Group 3 on, 10012 for Set Group 4 on, 10013 for Erase
protection counters, 10014 for Erase energy meters, 10015 for
Erase logs, 10016 for Erase TCI counters; NA for others
Required Select
Enable/Disable
Mode
Applicable range
Factory default
Enable/Disable
Enable for Close, Set Dummy on, Set Prot on, Set AR on,
Set EF on, Set SEF on, Set HL on, Set ABR on, Set Group 1
on, Set Group 2 on, Set Group 3 on, Set Group 4 on; ;
Erase protection counters; Erase energy meters; Erase logs;
Erase TCI counters; Disable for others
1-100000
20001 for Close, 20002 for Set Dummy on, 20003 for Set Prot
on, 20004 for Set AR on, 20005 for Set EF on, 20006 for Set
SEF on, 20007 for Set HL on, 20008 for Set ABR on, 20009
for Set Group 1 on, 20010 for Set Group 2 on, 20011 for Set
Group 3 on, 20012 for Set Group 4 on, 20013 for Erase
protection counters, 20014 for Erase energy meters, 20015 for
Erase logs, 20016 for Erase TCI counters; NA for others
Address
Required Select
Enable/Disable
Measurement points
List of measurement points
Name of point
Deadband range
Factory defaults
Address
Deadband
Deadband address
A-phase current
0-7000
3001
100
30001
B-phase current
0-7000
3002
100
30002
C-phase current
0-7000
3003
100
30003
Residual current
0-7000
3004
100
3004
0-7000
3005
100
30005
0-7000
3006
100
30006
0.0-18.0
3007
30007
0.0-18.0
3008
30008
0.0-18.0
3009
30009
0.0-18.0
3010
30010
0.00-20.00
3012
30012
0.00-1.00
3013
30013
0.00-1.00
3014
30014
0.00-1.00
3015
30015
0.00-1.00
3016
30016
0.0-18.0
3017
30017
79
Name of point
Deadband range
Factory defaults
Address
Deadband
Deadband address
0.0-18.0
3018
30018
0.0-18.0
3019
30019
0.0-18.0
3020
30020
0.0-18.0
3021
30021
0.0-18.0
3022
30022
0.0-18.0
3023
30023
0.0-18.0
3024
30024
0.0-18.0
3025
30025
0.0-18.0
3026
30026
0.0-18.0
3027
30027
0.0-18.0
3028
30028
0-65535
3029
100
30029
0-65535
3030
100
30030
0-65535
3031
100
30031
0-65535
3032
100
30032
0-65535
3033
100
30033
0-65535
3034
100
30034
0-65535
3035
100
30035
0-65535
3036
100
30036
0-65535
3037
100
30037
0-65535
3038
32767
30038
0-65535
3039
32767
30039
0-65535
3040
32767
30040
0-7000
3041
100
30041
0-7000
3042
100
30042
0-7000
3043
100
30043
0-7000
3044
100
30044
0-7000
3045
100
30045
0-7000
3046
100
30046
0.0-18.0
3047
30047
0.0-18.0
3048
30048
Fault frequency
0.00-20.00
3049
30049
80
Setting
Applicable range
Factory default
Mode
Enable/Disable
Address
1-100000
Group
1-16
Spontaneous
Enable/Disable
Deadband
Deadband address
1-100000
Integrated totals
List of integrated totals
Name of point
Deadband range
Factory defaults
Address
Deadband
Deadband address
0-65535
4001
1000
0-65535
4002
1000
0-65535
4003
1000
0-65535
4004
1000
0-65535
4005
1000
0-65535
4006
1000
0-65535
4007
1000
0-65535
4008
1000
BF trips
0-30000
4009
OC trips
0-30000
4010
EF trips
0-30000
4011
SEF trips
0-30000
4012
VU trips
0-30000
4013
UV trips
0-30000
4014
OV trips
0-30000
4015
CU trips
0-30000
4016
UF trips
0-30000
4017
LS trips
0-30000
4018
AR OC reclosures
0-30000
4019
AR SEF reclosures
0-30000
4020
AR UV reclosures
0-30000
4021
AR OV reclosures
0-30000
4022
AR UF reclosures
0-30000
4023
ABR reclosures
0-30000
4024
Total CO
0-100
4025
Mechanical wear
0-100
4026
100
Contact wear
0-100
4027
100
0-100
4028
100
0-100
4029
100
0-100
4030
100
0-100
4031
100
0-100
4032
100
0-100
4033
100
Transmitted frames
0-65535
4034
Received frames
0-65535
4035
CRC errors
0-65535
4036
Timeouts
0-65535
4037
Spontaneous sent
0-65535
4038
0-2000
4039
81
Applicable range
Factory default
Enable for A-phase active energy, B-phase active energy,
C-phase active energy, Three phase active energy, A-phase
reactive energy , B-phase reactive energy , C-phase reactive
energy , Three-phase reactive energy, Malfunction log filling;
Disable for others
Mode
Enable/Disable
Address
1-100000
Group
1-4
Spontaneous
Enable/Disable
Deadband
Timeout
0-744 hours
Link Layer
Link layer settings
5
Name
Description
Range
Default
T0
1-255
30
T1
1-255
15
T2
1-255
10
T3
1-255
20
1-32767
12
1-32767
Range
Default
Format of
IP address*
192.168.0.1
Format of
IP address*
255.255.255.0
Physical Layer
Physical layer settings
Name
IP address
Netmask
Port
Allowed
master IP
address
1..5
Description
1-65535
2404
Format of
IP address*
(empty)
* - No limits. User shall be responsible for correct typing of IP address. Input field is the same as for existing TDI
Local interface IP address setting.
82
Hardware Specification
83
RTU Connection
RTU shall be connected to RS232 port 6.
Pin-outs of RTU RS232 connector X9 (male)
Contact
Designation
State
DCD
RX
Received Data
TX
Transmitted Data
DTR
GND
Signal Ground
DSR
RTS
Request To Send
CTS
Clear To Send
RI
Ring Indicator
Note: RS232 ports of RC/TEL are not isolated from communication line.
Pin-outs of the cables suitable for RTU connection (standard DTE-DCE cables) are shown in the tables below.
Signal description
Pin number
Pin Number
Signal description
DCD
DCD
RXD
RX
TXD
TX
DTR
20
DTR
GND
GND
DSR
DSR
RTS
RTS
CTS
CTS
RI
22
RI
84
Signal description
Pin number
Pin Number
Signal description
DCD
DCD
RXD
RX
TXD
TX
DTR
DTR
GND
GND
DSR
DSR
RTS
RTS
CTS
CTS
RI
RI
Phone Modem
Hayes-compatible phone modems are supported (see recommended modems in the table below).
Model
Designation
State
RS232
VT-MODEM-1
SIXNET (www.sixnetio.com)
RS232
Radio-Modem
All radio modems are fall upon the National Radio Regulatory of Frequency Management body and need to have
license to work in dedicated frequency band. Recommended radio-modems are presented in the table below.
Model
Supplier
Interdface
DR200/DR900
RS232
NX1530
GSM Modem
Hayes-compatible GSM modems are supported (see recommended modem in the table below).
Model
Supplier
Interdface
RS232
RS485 Converter
The converter shall provide at least 2000VAC optical isolation of data signals and ground. In addition the converter
shall provide isolated power supply for the RS-485 side. The recommended modem is given in the table below).
Model
485LDRC9
Supplier
B&B Electronics Manufacturing Company
(www. bb-elec.com)
Interdface
RS232
85
86
Application Guide
87
Ref. to OSM automatic circuit recloser for details of RTU installation and power supply connection.
Recommendations about TCI settings application are given in the table below.
Element
Protection Settings
Recommendations
TCI configuration
Radio modem/Phone
DCE and port modem/GSM modem/
Select RTU type used in TCI
type
RS485-RS232 converter/
Direct connection
Protocol
DNP3/Modbus
300/600/1200/2400/48
00/9600/19200/38400/
57600/115200
Duplex type
Half/Full
Defines whether receiving and transmission can occur at the same time
(full-duplex) or not (half-duplex). Half-duplex mode requires from DCE the
following capabilities:
. Enable transmitter only during transmission time;
. Disable receiver during transmission time. Full is applicable for the
majority of modems
Parity
None/Even/Odd
Stop bits
1/2
DTR mode
Ignore/Control
DTR on level
High/Low
DTR low
time, ms
50 to 5000ms
RTS mode
Ignore/Flow control/
Control PTT
RTS on level
High/Low
Ignore/Monitor High/
Monitor Low
Port
Baud rate
DSR mode
88
Element
Protection Settings
Recommendations
CTS mode
Ignore/Monitor High/
Monitor Low
DCD mode
Ignore/Monitor High/
Monitor Low
DCD fall
time, ms
0 to 25500 ms
Time interval between receiving DCD OFF and closing connection. The
parameter is typical of dialup connections.
0 to 600 s
0 to 5000 ms
Minimum time between receiving the last character from RTU and starting
of transmission the first character to RTU. This has particular use in
multi-drop (e.g., RS485) or Radio-modem communication environments
where a master shall be given time to disable its transmitting hardware
before it is ready to receive data from the slave device.
Inactivity
time, s
Transmission
delay, ms
Pre-transmission time,
0 to 5000 ms
ms
Post-transmission
time, ms
0 to 5000 ms
Time interval between sending the last character of data and setting RTS
OFF.
Enable/Disable
CA mode
Enable/Disable
CA min idle
time, ms
0 to 120000 ms
CA max
random time, 0 to 120000 ms
ms
RTU supply
check
Radio modem
Preamble
Enable/Disable
Preamble
char
0x00 to 0xFF
89
Element
Preamble
last char
Protection Settings
0x00 to 0xFF
Repeat count 0 to 25
Recommendations
Final ASCII character of the preamble. With preamble enabled and default
settings, data packet are preceded by preamble 0x55, 0x55, 0x55, 0xFF.
The last char is required to detect the end of preamble.
Number of times the Preamble char is repeated.
Type of line the modem is connected to. In Leased line mode RC does not
attempt to disconnect the modem after inactivity time is expired.
Autodial
interval, s
0 to 255 s
Time interval between the failure of the connection and next attempt of
establishing connection.
Set the appropriate value. Default value is 3 s. Optimal value depends on
many factors: how many devices try to connect to the master, how long
one call on the average is etc.
Dial prefix
Line mode
Dial number 1
Dial number 2 String, containing 5
dialing numbers, 32
Dial number 3
chars max length for
Dial number 4 each string
Dial number 5
Init string
Hang up
command
Off hook
command
Auto answer
On
Auto answer
Off
The command is used to disable modem auto answer mode, i.e. modem
will not receive incoming calls. The command is sent to modem every
time before Port is closed.
The string length is limited by modem properties.
During this time the dialup connection between modems shall be
established after dial string was sent to modem. If the time is expired
and the connection is not established, the autodial algorithm is applied.
This parameter is 60 s by default and it is enough for the majority of
modems. However, for long distances or slow equipment the connection
timeout can be set longer.
Connection
timeout
0 to 255 s
Response
time
0 to 255 s, 0 not
applicable
If the modem does not respond to control command, such as Init, Hang
up string etc, within Response time, RC sends the Init string to modem
after Autodial interval. Not applicable for dialing numbers.
Enable/Disable
Protection
mode
90
Element
Protection Settings
Recommendations
Trusted
number 1
Trusted
number 2
Trusted
number 3
Trusted
number 4
String, containing 5
dialing numbers, 32
chars max length for
each string
Dial numbers used for protected dial. Trusted phone number consists of
the chars 0-9.
Trusted
number 5
Modbus
Slave address 1 to 247
Automatic
timeout
mode
Enable/Disable
1 to 60000 ms
Receive message timeout starts when the address is received. If CRC has
not been received before timeout is expired, the request will be deleted
from the buffer. The setting is used when Automatic timeout mode is
disabled.
Reception
timeout
DNP3
Master
address
0 to 65534
Confirmation
mode
Never/Sometimes/
Always
0 to 60s
Number of
retries
0 to 255
The maximum number of times IED will re-transmit a link layer frame
for which a confirmation had been requested but not received within DL
Confirmation timeout. Note that this number is in addition to the initial
attempt to transmit the frame; i.e., if the value of this parameter is 2,
then an unsuccessful transmission will send a total of 3 identical frames.
Maximum
frame size
64 to 292
Enable/Disable
Self-addressing Enable/Disable
Confirmation
timeout
Validate
master
address
Confirmation
mode
Element
Protection Settings
Recommendations
Confirmation
timeout
0 to 3600s
Maximum
fragment
size
0 to 69120 min
0 to 65530 ms
Time synchronization
Cold restart
delay
7
Warm restart
delay
92
Unsolicited
response
mode
Enable/Disable
Class 1
buffer
threshold
Class 2
buffer
threshold
Class 3
buffer
threshold
1 to 500
Element
Retry delay
Number of
retries
Offline
interval
Protection Settings
Recommendations
1 to 86400s
0 to 255
0 to 86400s
Default variations
Binary
inputs
1/2
Variation with which Slave will respond to Poll Class 0 from Master. Set 1
if responding in compact format (just 7-th bit) is preferable, otherwise
set 2
Binary
inputs
1/2
change event
Binary
outputs
1/2
Binary
counters
1/2
Binary
counters
1/2/5/6
change event
Analogue
inputs
1/2
Analogue
inputs
1/2/3/4
change event
RC settings for IEC 104 protocol are usually determined by SCADA of a network which the particular recloser is joining.
93
Date:
94
Australia
China
Germany
India
South Africa
Switzerland
Tavrida Electric AG
Rheinweg 4
8200 Schaffhausen
Switzerland
Phone: + 41 (0) 52 630 26 00
Fax:
+ 41 (0) 52 630 26 09
E-Mail: info@tavrida.ch
Web:
www.tavrida.ch
This document is copyright and is intended for users and distributors of Tavrida Electric product. It contains information that is
the intellectual property of Tavrida Electric and the document, or any part thereof, should not be copied or reproduced in any
form without written permission from Tavrida Electric.
22441100000000000000
Doc_UG_4(EN_5), rev. A
Tavrida Electric applies a policy of ongoing development and reserves the right to change product without notice.
Tavrida Electric does not accept any responsibility for loss or damage incurred as a result of acting or refraining from action
based on information in this Installation and Operating Instructions.