TC230_expert_IEC60870-5-103
-
Upload
manish-randhawa -
Category
Documents
-
view
215 -
download
0
Transcript of TC230_expert_IEC60870-5-103
-
7/21/2019 TC230_expert_IEC60870-5-103
1/22
Voltage RegulatorTAPCON 230 expert
Supplement
2195770/03 EN . Protocol Specification IEC 60870-5-103
-
7/21/2019 TC230_expert_IEC60870-5-103
2/22
All rights reserved by Maschinenfabrik Reinhausen
Dissemination and reproduction of this document and use and disclosure of its content are strictly prohibitedunless expressly permitted.
Infringements will result in liability for compensation. All rights reserved in the event of the granting of patents,utility models or designs.
The product may have been altered since this document was published.
We reserve the right to change the technical data, design and scope of supply.
Generally the information provided and agreements made when processing the individual quotations and ordersare binding.
The original operating instructions were written in German.
-
7/21/2019 TC230_expert_IEC60870-5-103
3/22
Table of contents
Maschinenfabrik Reinhausen 2014 32195770/03 EN TAPCON 230 expert
Table of contents
1 Introduction ......................................................................................................................... 4
1.1 Subject to change without notice......................................................................................................... 4
1.2 Completeness...................................................................................................................................... 4
1.3 Supporting documents......................................................................................................................... 4
1.4 Safekeeping......................................................................................................................................... 4
2 Physical interfaces.............................................................................................................. 5
3 Setting device parameters ................................................................................................. 7
4 Protocol specification......................................................................................................... 9
4.1 Message structure............................................................................................................................... 9
4.2 Sequences........................................................................................................................................... 9
4.2.1 Time synchronization ............................................................................................................................................ 9
4.2.2 General query...................................................................................................................................................... 10
4.2.3 General command............................................................................................................................................... 11
4.2.4 Generic data general query................................................................................................................................. 11
4.2.5 Generic command (write entry with execution) ................................................................................................... 12
4.3 Monitoring message for the tap position............................................................................................ 13
5 Data points......................................................................................................................... 15
5.1 Control direction (commands) ........................................................................................................... 15
5.2 Monitoring direction (messages) ....................................................................................................... 16
Glossary............................................................................................................................. 20
-
7/21/2019 TC230_expert_IEC60870-5-103
4/22
1 Introduction
Maschinenfabrik Reinhausen 20144 2195770/03 ENTAPCON 230 expert
Introduction
The technical file contains detailed descriptions for implementing the IEC60870-5-103 interface protocol.
This technical file is intended solely for specially trained and authorized per-sonnel.
Subject to change without notice
The information contained in this technical file comprises the technical speci-fications approved at the time of printing. Significant modifications will be in-cluded in a new edition of the technical file.
The document number and version number of this technical file are shown in
the footer.
Completeness
This technical file is incomplete without the supporting documentation.
Supporting documents
The following documents apply to this technical file:
Operating instructions for TAPCON 230 expert
Quick reference guide to TAPCON 230 expert
Safekeeping
This technical file and all supporting documents must be kept ready at handand accessible for future use at all times.
1
1.1
1.2
1.3
1.4
-
7/21/2019 TC230_expert_IEC60870-5-103
5/22
2 Physical interfaces
Maschinenfabrik Reinhausen 2014 52195770/03 EN TAPCON 230 expert
Physical interfaces
The device has been developed in accordance with applicable EMC stan-dards. In regards to complying with EMC standards, please refer to the cor-responding chapter on the topic of "Electromagnetic Compatibility" in the de-vice's operating instructions.
You can find additional information on wiring and routing instructions for thefiber-optic cable in the operating instructions for this device.
The following physical interfaces are available on the device for data trans-mission using the control system protocol:
RS232 9-pin SUB-D connectorPin 2: TxD
Pin 3: RxD
Pin 5: GND
RS485 3-pin bush from Phoenix MSTB 2.5/3-GF-5
Pin 1: GND (100 ground resistance)
Pin 2: B (inverted)
Pin 3: A (non-inverted)
Polarity:
A > B by 200 mV corresponds to 1
B < A around 200 mV corresponds to 0
An inactive communication cable corresponds to 1.
The start bit has the designation 0.
Recommended terminating resistor 120 .
Fiber-opticcable (FO)
F-ST (850 nm or 660 nm)
F-SMA (850 nm or 660 nm)
Table 1: Interfaces available
Transmission on physical level:
Asynchronous with 8 data bits, even parity, 1 stop bit (8E1)
2
-
7/21/2019 TC230_expert_IEC60870-5-103
6/22
2 Physical interfaces
Maschinenfabrik Reinhausen 20146 2195770/03 ENTAPCON 230 expert
Figure 1: Voltage regulator connections
1 RS485 4 RJ45 (Ethernet)
2 RS232 5 CAN bus
3 Fiber-optic cable
-
7/21/2019 TC230_expert_IEC60870-5-103
7/22
3 Setting device parameters
Maschinenfabrik Reinhausen 2014 72195770/03 EN TAPCON 230 expert
Setting device parameters
In order to use the control system protocol, you need to set the device pa-rameters.
Please refer to the device's operating instructions for more information re-garding setting the device parameters.
You must set the following parameters:
Parameter RS232 RS485 OF
Communication protocol IEC 60870-5-103
MODBUS format Not required
Communication port RS232 RS485 OF
Baud rate communication 9.6; 19.2; 38.4 or 57.6 kilobaud
Network address Not required
TCP port Not required
OF light on/off Not required Not required ON: Light ON at 1
OFF: Light OFF at 1
Local SCADA address 0 to 254 (255 = broadcast message)
SCADA master address Not required
Unsolicited messages Not required
Repeatedly unsolicited
messages
Not required
Appl. confirm. time exceed-ed
Not required
RS485 transmit delay time Not required 0254 ms* Not required
Table 2: Device parameters
*) e.g. 2 ms, to compensate for the response time of an external RS485/RS232 transformer when changing between transmitting and receiving oper-ation.
Parameter RS232 RS485 OF RJ45
CI protocol DNP3
CI port RS232 RS485 OF RJ45
CI baudrate 9.6; 19.2; 38.4 or 57.6 kilobaud Not required
IP address Not required 0.0.0.0
TCP port Not required 1234
OF inversion Not required ON: Light ON at 1
OFF: Light OFF at1
Not required
CI address (SCADA) 1...9,999
Master address (SCADA) 0...9,999
3
-
7/21/2019 TC230_expert_IEC60870-5-103
8/22
3 Setting device parameters
Maschinenfabrik Reinhausen 20148 2195770/03 ENTAPCON 230 expert
Parameter RS232 RS485 OF RJ45
Unsolicited messages On/Off Repeatedly unsolicitedmessages
1...100 (0 = infinite)
Appl. confirm. time exceed-ed
1...60 s
RS485 transmit delay time Not required 0254 ms* Not required Not required
Table 3: Device parameters
*) e.g. 2 ms, to compensate for the reaction time of an external RS485/RS232 transformer when changing between transmitting and receiving oper-ation.
-
7/21/2019 TC230_expert_IEC60870-5-103
9/22
4 Protocol specification
Maschinenfabrik Reinhausen 2014 92195770/03 EN TAPCON 230 expert
Protocol specification
The IEC60870-5-103 interface protocol was originally developed for commu-nicating between protective devices. The pre-defined function types and theassociated information numbers are not suitable for the information that thevoltage regulator has to transmit.
A function type from the "private sphere" of the protocol is therefore used forall "non-generic data points".
The information numbers for all general commands and messages with thefunction type from the "private sphere" are specific.
Analog values are transferred in the control direction (command) and moni-toring direction (message) using a generic message type. All measured val-ues are assigned to class 2 and all parameters to class 1.
In addition to the 9.6 and 19.2 kilobaud rates required by the standard, 38.4and 57.6 kilobaud can also be selected on the voltage regulator.
Message structure
The function types, type codes and data types listed in the data tables areexplained in the following section.
The following function types are used:
110 = function type from the private sphere (can be defined specifically)
254 = generic function type
255 = global function type
The following type codes are used:
1 = message with time stamp
6 = time synchronization
7 = general query
10 = generic data
20 = general command
21 = generic command
The following data types are used:
7 = short real
Sequences
Sample sequences of the protocol are described in the following section.
Time synchronization
Sample command for time synchronization:
68 f f 68 28 1 6 81 8 1 ff 0 77 9 2f 88 90 9 9 91 16
4
4.1
Function type
Type code
Data type
4.2
4.2.1
-
7/21/2019 TC230_expert_IEC60870-5-103
10/22
4 Protocol specification
Maschinenfabrik Reinhausen 201410 2195770/03 ENTAPCON 230 expert
Code (hexadeci-mal)
Meaning
68 f f 68 28 1 Start of message
6 Type code = 6 (decimal) = time synchronization
81 -
8 Reason for transmission = 8 (decimal) = time syn-chronization
1 -
ff Function type (or address of 1st octet's informationobject) = 255 (decimal) = global function type
0 Info number (or address of 2nd octet's informationobject) = 0 = time synchronization
77 -
9 2f 88 90 9 9 Time structure CP56Time2a
91 16 End of message
Table 4: Sample command for time synchronization
After time synchronization, the voltage regulator returns the time synchroni-zation feedback as positive confirmation. The reason for transmission is setto 8.
This time specification is used, among other things, for the display inTAPCONtrol visualization software.
The time stamp in the regulator's telegrams is produced by the communica-
tion card and is only set when the message is sent.
General query
Sample general query (GQ):
68 9 9 68 43 1 7 81 9 1 ff 0 0 d5 16
Code (hexadeci-mal)
Meaning
68 9 9 68 43 1 Start of message
7 Type code = 7 (decimal) general query
81 -
9 Reason for transmission 0 = not used
1 -
ff Function type (or address of 1st octet's informationobject) = 255 (decimal) = global function type
0 Info number (or address of 2nd octet's informationobject) = general query initiation
0 -
d5 16 End of message
Table 5: Sample general query
4.2.2
-
7/21/2019 TC230_expert_IEC60870-5-103
11/22
4 Protocol specification
Maschinenfabrik Reinhausen 2014 112195770/03 EN TAPCON 230 expert
After the last data message from the general query cycle, the "GQ complete"message is issued with type code 8 and reason for transmission 10.
General command
Sample general command:
68 a a 68 43 1 14 81 14 1 6e 10 1 0 6d 16
Code (hexadeci-mal)
Meaning
68 a a 68 43 1 Start of message
14 Type code = 20 (decimal) = general command
81 -
14
Reason for transmission = 20 (decimal) = generalcommand
1 -
6e Function type (or address of 1st octet's informationobject) = 110 (decimal) = private sphere
10 Info number (or address of 2nd octet's informationobject) = 16 (decimal) = Auto/Manual
1 Value = OFF
0 -
6d 16 End of message
Table 6: Sample general command
After receiving a valid command, the voltage regulator sends the commandmessage back as positive confirmation. The reason for transmission is set to20.
If the command cannot be executed, the reason for transmission is 21.
Generic data general query
Sample generic data general query:
68 a a 68 43 1 15 81 9 1 fe f5 0 0 d7 16
Code (hexadeci-
mal)
Meaning
68 a a 68 43 1 Start of message
15 Type code = 21 (decimal) = general query
81 -
9 Reason for transmission = 9 (decimal) = not used
1 -
fe Function type (or address of 1st octet's informationobject) = 254 (decimal) = generic function type
4.2.3
4.2.4
-
7/21/2019 TC230_expert_IEC60870-5-103
12/22
4 Protocol specification
Maschinenfabrik Reinhausen 201412 2195770/03 ENTAPCON 230 expert
Code (hexadeci-mal)
Meaning
f5 Info number (or address of 2nd octet's informationobject) = 245 (decimal) = general query generic da-ta
0 -
0 -
d7 16 End of message
Table 7: Sample generic data general query
After the last data transfer for the "General query", a message entitled "GQcomplete" is transferred with type code 10, info number 245 and reason fortransmission 10.
Generic command (write entry with execution)
Sample generic data general query:
68 14 14 68 43 1 a 81 28 1 fe fa 0 1 37 1 1 7 4 1 0 0 ca
42 42 16
Code(hexadeci-mal)
Meaning
68 14 14 68 43
1
Start of message
a Type code = 10 (decimal) = generic data
81 -28 Reason for transmission = 40 (decimal) = generic
write command
1 -
fe Function type (or address of 1st octet's informationobject) = 254 (decimal) = generic function type
fa Info number (or address of information object 2ndoctet) = 250 (decimal) = write entry
0 -
1 -
37 1 GIN LSB = 55 (decimal), GIN MSB = 1; 55 = de-
sired voltage value 11 -
7 Data type = 7 = short real
4 -
0 0 ca 42 4 bytes of data
42 16 End of message
Table 8: Sample generic command (write entry with execution)
After receiving a valid command, the voltage regulator sends the commandmessage back as positive confirmation. The reason for transmission is set to40.
4.2.5
-
7/21/2019 TC230_expert_IEC60870-5-103
13/22
4 Protocol specification
Maschinenfabrik Reinhausen 2014 132195770/03 EN TAPCON 230 expert
If the command cannot be executed, the reason for transmission is 41.
The generic command "Write entry with confirmation" (info number 249) isnot implemented.
Monitoring message for the tap position
The tap position is reported in 3 messages simultaneously:
Type code 10
Type code 4
Type code 204
The messages are structured as follows:
Message type 10Variable structure code 0x81
Reason for transmission 1 or 9
Shared address of ASDU Address set
Function type 254
Information number 244
RII 1
NGD 1
GINLSB 54
GINMSB 2
KOD 1Data type 7 (short real)
Number of data bytes 4
Quantity 1
Data (4 bytes, short real)
Table 9: Structure of a message with type code 10
Message type 4
Variable structure code 0x81
Reason for transmission 1 or 9
Shared address of ASDU Address set
Function type 110Information number 118
Data (4 bytes, short real) Tap position
Relative time ms (2 bytes) Not used, always 0
Error number (2 bytes) Not used, always 0
Time (2 bytes) Time
Table 10: Structure of telegram with type code 4
Message type 204
Variable structure code 0x81
4.3
-
7/21/2019 TC230_expert_IEC60870-5-103
14/22
4 Protocol specification
Maschinenfabrik Reinhausen 201414 2195770/03 ENTAPCON 230 expert
Reason for transmission 1 or 9
Shared address of ASDU Address set
Function type 110
Information number 54
Data (4 bytes, short real) Tap position
Time (4 bytes)
SIN (1 byte)
Table 11: Structure of telegram with type code 204
The examples were taken from various log files where the message trafficbetween a computer and the voltage regulator was recorded. The address ofthe voltage regulator was set to 1.
Some of the tap positions in the sample telegrams selected are different inorder to show examples with different values. The same tap position is nor-mally reported in all three telegrams.
Telegram Comments
68 9 9 68 43 1 7 81 9 1 ff 0 0 d5 16 General query command from the computer
68 a a 68 43 1 15 81 1 fe f5 0 0 d7 16 General query command for generic data fromthe computer
68 14 14 68 28 1 4 81 9 1 6e 76 0 0 20 41
0 0 0 0 f3 9b 82 0 d 16
Telegram with type 4, sent during the generalquery
68 14 14 68 28 1 a 81 9 1 fe f4 0 81 36 2
1 7 4 1 0 0 20 41 d7 16
Telegram with type 10, sent during the generalquery
Tap position 10 is reported in bytes 0 0 20 4168 11 11 68 28 1 cc 81 9 1 6e 36 0 0 0 0
c7 65 80 0 0 d0 16
Telegram with type 204, sent during the gener-al query
Tap position 0 is reported in bytes 0 0 0 0
68 14 14 68 28 1 4 81 1 1 6e 76 0 0 80 3f
0 0 0 0 fd a4 27 8b a6 16
Telegram with type 4, sent due to a change intap position
Tap position 1 is reported in bytes 0 0 80 3f
68 14 14 68 28 1 a 81 1 1 fe f4 0 1 36 2
1 7 4 1 0 0 80 3f ad 16
Telegram with type 10, sent due to a change intap position
Tap position 1 is reported in bytes 0 0 80 3f
68 11 11 68 8 1 cc 81 1 1 6e 36 0 0 0 40
18 d5 27 8b 0 db 16
Telegram with type 204, sent due to a change
in tap position
Tap position 2 is reported in bytes 0 0 0 40
Table 12: Examples of messages for monitoring telegrams of the tap position
Examples of messages fortap position telegrams
-
7/21/2019 TC230_expert_IEC60870-5-103
15/22
5 Data points
Maschinenfabrik Reinhausen 2014 152195770/03 EN TAPCON 230 expert
Data points
The data points of the protocol are described in the following section.
Control direction (commands)
Remote mode needs to be set so that commands from the control systemare carried out at the TAPCON 230.
The following data points have the properties stated below:
Type code = 10
Function type = 254
Data type = 7
GINLSB
GINMSB
Class Description
55 1 1 Desired voltage value 1***
56 1 1 Desired voltage value 2***
57 1 1 Desired voltage value 3***
Table 13: Data points in control direction
***) Deviations may arise between the set value and the value transmittedvia the interface if the value set cannot be depicted accurately as a "short re-
al" value. (e.g. 100.555 via interface => 100.5 in the display)The following data points have the properties stated below:
Type code = 20
Byte 2 information number = 110
Class = 1
Infonumberbyte 1
Description
16 Auto/manual (On = auto mode; Off = manual mode)
17 Raise (On = raise; Off = lower; only in manual mode)
18 Lower (On = lower, Off = no function; only during manualmode)
19 Desired voltage value 1 (On = active)
20 Desired voltage value 2 (On = active; it must not be possiblefor desired value 2 to be activated by a GPI)
21 Desired voltage value 3 (On = active; it must not be possiblefor desired value 3 to be activated by a GPI)
5
5.1
-
7/21/2019 TC230_expert_IEC60870-5-103
16/22
5 Data points
Maschinenfabrik Reinhausen 201416 2195770/03 ENTAPCON 230 expert
Infonumber
byte 1
Description
35 Parallel operation (On = active)
Please note that in order to activate parallel operation, ALLconditions for parallel operation must be satisfied, e.g. thevoltage regulator group assignment must also be set and theCAN address must not be 0!
36 Master parallel operation method (On = master, Off = no func-tion)
Info: "On" has no function if the parallel operation method canbe selected using a General Purpose Input (GPI)!
37 Follower parallel operation method (On = follower, Off = no
function)Info: "On" has no function if the parallel operation method canbe selected using a General Purpose Input (GPI)!
38 Circulating reactive current parallel operation method (On =circulating reactive current, Off = no function)
Info: "On" has no function if the parallel operation method canbe selected using a General Purpose Input (GPI)!
48 Auto synchronization parallel operation method (On = autosynchronization, Off = no function)
Info: "On" has no function if the parallel operation method canbe selected using a General Purpose Input (GPI)!
57 Group 1 parallel operation (On = voltage regulator is assignedgroup 1)
Assignment to groups 1 and 2 can be undertaken at the sametime.
Info: Assignment via control system not possible if group 1can be activated via a General Purpose Input (GPI)!
58 Group 2 parallel operation (On = voltage regulator is assignedgroup 2)
Assignment to groups 1 and 2 can be undertaken at the sametime.
Info: Assignment via control system not possible if group 2
can be activated via a General Purpose Input (GPI)!Table 14: Data points in control direction
Monitoring direction (messages)
The following data points have the properties stated below:
Type code = 10
Function type = 254
Data type = 7
5.2
-
7/21/2019 TC230_expert_IEC60870-5-103
17/22
5 Data points
Maschinenfabrik Reinhausen 2014 172195770/03 EN TAPCON 230 expert
GINLSB
GINMSB
Class Description
54 1 1 Tap position
55 1 1 Desired voltage value 1
56 1 1 Desired voltage value 2
57 1 1 Desired voltage value 3
58 1 1 Operations counter
144 2 2 Actual voltage (in V)
145 2 2 Control deviation (in %)
146 2 2 Active current (in %)
147 2 2 Reactive current (in %)
148 2 2 Apparent current (in %)
149 2 2 Frequency
Table 15: Data points in monitoring direction
The following data points have the properties stated below:
Type code = 1
Byte 2 information number = 110
Class = 1
Infonumberbyte 1
Description
16 Auto/manual (On = auto mode; Off = manual mode)19 Desired voltage value 1 On
20 Desired voltage value 2 On
21 Desired voltage value 3 On
33 General Purpose Output 1 *
34 General Purpose Output 2*
35 Parallel operation On
Please note that only the parameter set here is fed back andnot the current status.
Parallel operation is only active when all conditions for paral-lel operation are met. Simply setting the "Parallel operation
activation" parameter to On is not enough.36 Master parallel operation method On (feedback on parallel
operation method set)
37 Follower parallel operation method On (feedback on paralleloperation method set)
38 Circulating reactive current parallel operation method On(feedback on parallel operation method set)
39 General Purpose Output 4 *
40 Parallel operation error
42 Local/Remote (On = Remote; Off = Local)
-
7/21/2019 TC230_expert_IEC60870-5-103
18/22
5 Data points
Maschinenfabrik Reinhausen 201418 2195770/03 ENTAPCON 230 expert
Infonumber
byte 1
Description
43 General Purpose Output 3 *
44 Overvoltage U>
45 Undervoltage U
47 Undercurrent I