Voltage regulator TAPCON® 260
Supplement 2531975/00 Protocol description for IEC 60870-5-103
© All rights reserved by Maschinenfabrik Reinhausen
Copying and distribution of this document and utilization and communication of its contents are strictly prohibited unless expressly authorized.
Offenders will be held liable for the payment of damages. All rights reserved in the event of the grant of a patent, utility model or ornamental design registration.
The product may have been modified after this document went to press.
We expressly reserve the right to make changes to the technical data, the design or the scope of delivery.
Generally, the information provided and the arrangements agreed during processing of the relevant quotations and orders are binding.
The original operating instructions were drawn up in German.
Table of Contents
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 3
Table of Contents
1 General notes ............................................................................... 5
1.1 About this document ................................................................................. 5
1.2 Information about the standard ................................................................. 5
1.3 Abbreviations used ................................................................................... 6
2 Voltage regulator connections .................................................... 7
3 Settings on the voltage regulator ............................................... 9
3.1 Communication interface RS232 .............................................................. 9
3.2 Communication interface RS485 ............................................................ 10
3.3 Fiber-optic cable (optional) ..................................................................... 10
4 Data points .................................................................................. 11
4.1 Message structure .................................................................................. 11
4.1.1 Function types ..................................................................................................... 11
4.1.2 Type codes ......................................................................................................... 11
4.1.3 Data types ........................................................................................................... 11
4.2 Monitoring direction ................................................................................. 12
4.2.1 General commands in monitoring direction ........................................................ 12
4.2.2 Signals at the digital input terminals ................................................................... 14
4.2.3 Generic data in monitoring direction ................................................................... 15
4.3 Control direction ...................................................................................... 15
4.3.1 System functions ................................................................................................. 15
4.3.2 General data in control direction ......................................................................... 16
4.3.3 Generic data in control direction ......................................................................... 17
Table of Contents
4 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
5 Sequences .................................................................................. 19
5.1 Time synchronization .............................................................................. 19
5.2 General query ......................................................................................... 20
5.3 General command .................................................................................. 21
5.4 General query, generic data ................................................................... 22
5.5 Generic command (write entry with version) .......................................... 23
6 Tap position telegram ................................................................ 25
6.1 Structure of telegram .............................................................................. 25
6.2 Examples of messages for tap position telegrams ................................. 27
6.3 Setting time and date settings ................................................................ 28
1 General notes
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 5
1 General notes
1.1 About this document
This document describes implementation of the interface protocol IEC60870-5-103 for the TAPCON® 260.
Read this description along with the technical file for the TAPCON® 260.
1.2 Information about the standard
The interface protocol IEC60870-5-103 was originally developed for commu-nication between protective devices. The pre-defined function types and as-sociated information numbers are not suitable for the information that the voltage regulator has to transfer.
A function type from the "private sphere" of the protocol is therefore used for all "non-generic data points".
The information numbers for all general commands and messages with the function 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, baud rates of 38.4 and 57.6 kilobauds can also be selected on the voltage regula-tor.
1 General notes
6 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
1.3 Abbreviations used
Abbreviation Definition
ASDU Application Service Data Unit
BCD Binary Coded Decimal
CIC Communication Interface Card
GQ General query
GPI General Purpose Input
GPO General Purpose Output
Fiber-optic cable
Fiber-optic cable
MR Maschinenfabrik Reinhausen
RTC Real Time Clock
TAPCON®trol PC software for displaying regulator data
Table 1 Abbreviations
2 Voltage regulator connections
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 7
2 Voltage regulator connections
The physical interfaces RS232, RS485 and optional fiber-optic cables are provided on the voltage regulator for data transfer via the IEC60870-5-103 protocol.
Figure 1 CIC card
1 RS232 (9 pin female SUB-D connector)
2 RS485
3 Ethernet RJ45 (optional)
4 FH-ST or F-SMA fiber-optic cable in 850 nm or 660 nm (optional)
5 Reset key
6 TxD LED for transmit signal
7 RxD LED for receive signal
8 Clk LED for operating mode (flashes for 2 seconds)
9 Clip for connecting cable shield with functional ground
2 Voltage regulator connections
8 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
RS232
9 pin female SUB-D connector Pin 2: TxD Pin 3: RxD Pin 5: GND
RS485
3 pin connector from Phoenix (MC1.5/3 GF 3.5) Pin 1: GND (100 Ω ground resistance) Pin 2: B (inverted) Pin 3: A (not inverted) Polarity: A > B by 200 mV corresponds to 1. A < B by 200 mV corresponds to 0. An interrupted communication line corresponds to 1. The start bit has the designation 0. Recommended terminating resistor 120 Ω.
Fiber-optic cable (optional)
FH-ST (850 nm or 660 nm) F-SMA (850 nm or 660 nm)
Table 2 Interfaces available
Transfer on physical plane: Asynchronous with 8 data bits, even parity, 1 stop bit (8E1)
3 Settings on the voltage regulator
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 9
3 Settings on the voltage regulator
The following chapters describe how to set the parameters for communication at the relevant interface on the TAPCON® 260.
> Configuration > Next* > Comm. interface
Depending on the product version and software, you will need to press "Next" a varying number of times to reach the "Comm. interface" menu.
You will find more information on how to set the parameters in the technical file for TAPCON® 260.
3.1 Communication interface RS232
Communication interface RS232
Baud rate communication 9.6/19.2/38.4/57.6 kBaud
Fiber-optic cable light ON/OFF
not used
Local SCADA address 1...255 (0 = broadcast message)
Send delay time
0...254 ms (e.g 2 ms, in order to compen-sate for the response time of an external converter RS485/RS232 when switching between transmit and receive operation)
Table 3 Interface settings RS232
3 Settings on the voltage regulator
10 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
3.2 Communication interface RS485
Communication interface RS485
Baud rate communication 9.6/19.2/38.4/57.6 kBaud
Fiber-optic cable light ON/OFF
not used
Local SCADA address 1...255 (0 = Broadcast-Meldung)
Send delay time
0...254 ms (e.g 2 ms, in order to compen-sate for the response time of an external converter RS485/RS232 when switching between transmit and receive operation)
Table 4 Interface settings RS485
3.3 Fiber-optic cable (optional)
Communication interface FOC
Baud rate communication 9.6/19.2/38.4/57.6 kBaud
Fiber-optic cable light ON/OFF
ON (1 corresponds to light On) or OFF (1 corresponds to light Off)
Local SCADA address 1...255 (0 = Broadcast-Meldung)
Send delay time not used
Table 5 Interface settings FOC
In addition to the 9.6 and 19.2 kilobaud rates required by the standard, baud rates of 38.4 and 57.6 kilobauds can also be selected on the voltage regula-tor.
4 Data points
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 11
4 Data points
4.1 Message structure
The function types, type codes and data types which are listed in the data tables are explained below.
4.1.1 Function types
110 = function type from the private sphere (can be defined specifically) 254 = generic function type 255 = global function type
4.1.2 Type codes
1 = message with time stamp 6 = time synchronization 7 = general query 10 = generic data 20 = general command 21 = generic command
4.1.3 Data types
7 = short real
4 Data points
12 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
4.2 Monitoring direction
All spontaneous messages (in the event of changes) are transmitted with a time stamp. The time stamp always relates to when the message is sent. A message caused by a general query is sent without a time stamp.
4.2.1 General commands in monitoring direction
Type code
Info no. Byte 2
Info no. Byte 1
Class Description
1 110 16 1 Auto/manual (On = auto mode; Off = manual mode)
1 110 19 1 Desired voltage value 1 On
1 110 20 1 Desired voltage value 2 On
1 110 21 1 Desired voltage value 3 On
1 110 27 1 SI command 1 active*
1 110 28 1 SI command 2 active*
1 110 29 1 SI command 3 active*
1 110 31 1 Motor-drive unit running
Messages which can be parameterized: The TAP-CON® 260 has 4 messages which can be paramete-rized. These can be put on an input or relay. The messages are ON when there is a signal at the para-meterized input or the parameterized relay is acti-vated.
1 110 33 1 Message no. 1
1 110 34 1 Message no. 2
1 110 43 1 Message no. 3
1 110 39 1 Message no. 4
1 110 35 1 Parallel operation On Parallel operation is only active when all conditions for parallel operation are met.
1 110 36 1 Master parallel operation method On (feedback)
1 110 37 1 Follower parallel operation method On (feedback)
1 110 38 1 Circulating reactive current parallel operation method On (feedback)
1 110 40 1 Failure Par.Contr.
1 110 49 1 Voltage regulator error ON when recording a parameterization error.
4 Data points
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 13
Type code
Info no. Byte 2
Info no. Byte 1
Class Description
4 110 118 1
Tap position This is an alternative way of recording the tap position. The value is the same as under GIN LSB 54 and GIN MSB 2.
204 110 54 1
Tap position This is another way for the control system to record the tap position. The value is the same as for the other tap position telegrams.
1 110 51 1 Function monitoring (a control deviation has existed for 15 minutes)
1 110 42 1 Local/Remote (On = Remote; Off = Local)
1 110 44 1 Overvoltage V>
1 110 45 1 Undervoltage V<
1 110 46 1 Overcurrent I>
Table 6 Data points in monitoring direction
4 Data points
14 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
4.2.2 Signals at the digital input terminals
Most signals can be transferred to the SCADA system via the digital input terminals.
When triggered, the interface addresses to the corresponding inputs behave as follows:
Type code
Info no. Byte 2
Info no. Byte 1
Class
Description
Card type Specification for hardware version I
Specification for hardware version III
1 110 65 1 IO X1/z20 X1/33
1 110 66 1 IO X1/d20 X1/31
1 110 67 1 UC1 X1/d30 X1/33
1 110 68 1 UC1 X1/b30 X1/32
1 110 69 1 UC1 X1/d28 X1/31
1 110 70 1 UC1 X1/b28 X1/30
1 110 71 1 UC1 X1/d26 X1/17
1 110 72 1 UC1 X1/b26 X1/16
1 110 73 1 UC1 X1/d24 X1/15
1 110 74 1 UC1 X1/b24 X1/14
1 110 75 1 UC1 X1/d22 X1/11
1 110 76 1 UC1 X1/b22 X1/12
1 110 77 1 UC2 X2/d30 X2/33
1 110 78 1 UC2 X2/b30 X2/32
1 110 79 1 UC2 X2/d28 X2/31
1 110 80 1 UC2 X2/b28 X2/30
1 110 81 1 UC2 X2/d26 X2/17
1 110 82 1 UC2 X2/b26 X2/16
1 110 83 1 UC2 X2/d24 X2/15
1 110 84 1 UC2 X2/b24 X2/14
1 110 85 1 UC2 X2/d22 X2/11
1 110 86 1 UC2 X2/b22 X2/12
Table 7 Signals at the digital input terminals
4 Data points
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 15
4.2.3 Generic data in monitoring direction
Type code
Func-tion type
GIN LSB
GIN MSB
Data type
Class Description
10 254 54 2 7 1 Tap position
Set values Since the set values are transferred as the "Short real" data type, deviations may arise be-tween the set value and the value transferred via the interface if the set value cannot be depicted accurately as a "Short real" value.
10 254 55 1 7 1 Desired voltage value 1
10 254 144 2 7 2 Actual voltage
10 254 145 2 7 2 Deviation
10 254 146 2 7 2 Active current
10 254 147 2 7 2 Reactive current
10 254 148 2 7 2 Apparent current
Table 8 Generic data in monitoring direction
4.3 Control direction
The remote mode must be set for commands from the control system on TAPCON® 260 to be executed on the Monitoring system.
4.3.1 System functions
Type code Description
7 Start of general query
6 Time synchronization
21 Start of general query for generic data
Table 9 System functions
A message to indicate the end of the general query follows the last info mes-sage for the GQ cycle.
4 Data points
16 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
4.3.2 General data in control direction
Type code
Info no. Byte 2
Info no. Byte 1
Class Description
20 110 16 1 Auto/manual (On = auto mode; Off = manual mode)
20 110 17 1 Raise (On = raise; Off = lower; only in manual mode)
20 110 18 1 Lower (On = lower, Off = no function; only during ma-nual mode)
20 110 19 1 Raise/lower desired voltage value This function is optional. Parameterization is underta-ken by MR.
The desired voltage value function 1/2/3 is possible under the following conditions: - no inputs parameterized for selecting desired voltage values 2 and 3 - raise/lower desired voltage value function not parameterized Parameterization is undertaken by MR.
20 110 19 1 Desired voltage value 1
20 110 20 1 Desired voltage value 2
20 110 21 1 Desired voltage value 3
Each SI command sets a flag in the TAPCON® 260. The status of the flags can be used like an input for the I/O or UC modules to activate or deactivate a TAPCON® 260 function. Example: If the "Parallel group input" parameter is set to "SI:cmd1" for two TAPCON® 260, parallel control for these TAPCON® 260 can be activated or deactivated by setting the "SI command 1" on/off command for both TAPCON® 260.
20 110 27 1 SI command 1
20 110 28 1 SI command 2
20 110 29 1 SI command 3
20 110 35 1 Parallel operation (On = activate circulating reactive current parallel operation, Off = deactivate parallel op-eration)
20 110 36 1 Master parallel operation method (On = activate mas-ter parallel operation mode, Off = activate "Automatic synchronization" parallel operation mode)
20 110 37 1 Follower parallel operation method (On = activate fol-lower parallel operation mode)
Table 10 General data in control direction
4 Data points
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 17
The voltage regulator returns the command received with reason for trans-mission 20 if the message has been accepted.
The voltage regulator can only process generic commands with one data set per message.
4.3.3 Generic data in control direction
Type code
Func-tion type
GIN LSB
GIN MSB
Data type
Class Description
10 254 55 1 7 1 Desired voltage value
Table 11 Generic data in control direction
5 Sequences
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 19
5 Sequences
5.1 Time synchronization
Sample command for time synchronisation: 68 f f 68 28 1 6 81 8 1 ff 0 77 9 2f 88 90 9 9 91 16
Code (hexadecimal)
Definition
68 f f 68 28 1 Start message
6 Type code = 6 (decimal) = time synchronization
8 Reason for transmission = 8 (decimal) = time syn-chronization
ff Function type (or address of information object 1st octet) = 255 (decimal) = global function type
0 Info number (or address of information object 2nd oc-tet) = 0 = time synchronization
9 2f 88 90 9 9 Time structure CP56Time2a
91 16 End message
Table 12 Sample command for time synchronization
After time synchronization, the voltage regulator returns the time synchroniza-tion feedback as positive confirmation. The reason for transmission is set to 8.
This time specification is only used for display purposes in the TAPCON®trol visualization software, the regulator works internally with a continuous RTC.
The time stamp in the regulator's telegrams is produced by the communica-tion card and is only set when the telegram is sent.
5 Sequences
20 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
5.2 General query
Sample command for general query (GQ): 68 9 9 68 43 1 7 81 9 1 ff 0 0 d5 16
Code (hexadecimal)
Definition
68 9 9 68 43 1 Start message
7 Type code = 7 (decimal) General query
9 Reason for transmission 0 = not used
ff Function type (or address of information object 1st octet) = 255 (decimal) = global function type
0 Info number (or address of information object 2nd oc-tet) = General query initiation
d5 16 End message
Table 13 Sample command for general query (GQ)
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.
5 Sequences
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 21
5.3 General command
Sample command for general query: 68 a a 68 43 1 14 81 14 1 6e 10 1 0 6d 16
Code (hexadecimal)
Definition
68 a a 68 43 1 Start message
14 Type code = 20 (decimal) = general command
14 Reason for transmission = 20 (decimal) = general command
6e Function type (or address of information object 1st octet) = 110 (decimal) = Private sphere
10 Info number (or address of information object 2nd oc-tet) = 16 (decimal) = Auto/Manual
1 Value = OFF
6d 16 End message
Table 14 Example of general command
Once it has received a valid command, the voltage regulator returns the command message as positive confirmation. The reason for transmission is set to 20.
If the command cannot be performed, the transfer cause is 21.
5 Sequences
22 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
5.4 General query, generic data
Sample command for general query, generic data: 68 a a 68 43 1 15 81 9 1 fe f5 0 0 d7 16
Code (hexadecimal)
Definition
68 a a 68 43 1 Start message
15 Type code = 21 (decimal) = General query
9 Reason for transmission = 9 (decimal) = not used
fe Function type (or address of information object 1st octet) = 254 (decimal) = generic function type
f5 Info number (or address of information object 2nd oc-tet) = 245 (decimal) = General query generic data
d7 16 End message
Table 15 Example General query, generic data
After the last data transfer for the "General query", a message entitled "GQ complete" is transferred with type code 10, info number 245 and reason for transmission 10.
5 Sequences
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 23
5.5 Generic command (write entry with version)
Beispiel Generalabfrage generische Daten: 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 (hexadecimal)
Definition
68 14 14 68 43 1 Start message
a Type code = 10 (decimal) = generic data
28 Reason for transmission = 40 (decimal) = generic write command
fe Function type (or address of information object 1st octet) = 254 (decimal) = generic function type
fa Info number (or address of information object 2nd oc-tet) = 250 (decimal) = Write entry
37 1 GIN LSB = 55 (decimal), GIN MSB = 1; 55 = Desired voltage value 1
7 Data type = 7 = Short real
0 0 ca 42 4 bytes of data
42 16 End message
Table 16 Example of generic command (write entry with version)
Once it has received a valid command, the voltage regulator returns the command message as positive confirmation. The reason for transmission is set to 40.
If the command cannot be performed, the reason for transmission is 41.
The generic command "Write entry with confirmation" (info number 249) is not implemented.
6 Tap position telegram
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 25
6 Tap position telegram
6.1 Structure of telegram
The structure of the individual telegrams is described in the tables below.
Message type 10
Variable 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
GIN LSB For tap position 54
GIN MSB For tap position message 2
KOD 1
Data type 7 (short real)
Number of data bytes 4
Quantity 1
Data (4 bytes, short real)
Table 17 Structure of type 10 telegram
6 Tap position telegram
26 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
Message type 4
Variable structure code 0x81
Reason for transmission 1 or 9
Shared address of ASDU Address set
Function type 110
Information number For tap position 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)
Table 18 Structure of type 4 telegram
Message type 204
Variable structure code 0x81
Reason for transmission 1 or 9
Shared address of ASDU Address set
Function type 110
Information number For tap position 54
Data (4 bytes, short real) Tap position Time (4 bytes) SIN (1 byte)
Table 19 Structure of type 204 telegram
6 Tap position telegram
© Maschinenfabrik Reinhausen 2011 2531975/00 EN TAPCON® 260 27
6.2 Examples of messages for tap position telegrams
The examples were taken from various log files which recorded the telegram traffic between a PC and the voltage regulator. The voltage regulator address was set to 1.
Some of the tap positions in the sample telegrams selected are different in order 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 PC
68 a a 68 43 1 15 81 1 fe f5 0 0 d7 16 General query command for generic data from PC
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
Type 4 telegram, sent during general query
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
Type 10 telegram, sent during general query Tap position 0 is reported in bytes 0 20 41 10
68 11 11 68 28 1 cc 81 9 1 6e 36 0 0 0 0 c7 65 80 0 0 d0 16
Type 204 telegram, sent during general 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
Type 4 telegram, end due to a change in tap 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
Type 10 telegram, sent due to a change in tap 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
Type 204 telegram, sent due to a change in tap position Tap position 2 is reported in bytes 0 0 0 40
Table 20 Examples of messages for tap position message telegram
6 Tap position telegram
28 TAPCON® 260 2531975/00 EN © Maschinenfabrik Reinhausen 2011
6.3 Setting time and date settings
The TAPCON® 260 has a counter module which counts the number of seconds after the supply voltage fails. Its supply is buffered by a large capa-citor such that it continues to count for at least a few days even if the TAP-CON® 260 is switched off.
The time and date are set using an offset value which is converted into the time and date displayed in the measured value plotter screen along with the current counter reading.
The interface software sends the time and date from the IEC103 time syn-chronization telegram to the actual CPU with the regulator firmware. The reg-ulator firmware uses this information to calculate the new offset value to display for time and date in the measured value plotter screen.
The counter in the TAPCON® 260 counts whole seconds. Because the fig-ures are rounded up or down, the time displayed in the measured value plot-ter screen may deviate from the time in the time synchronization telegram.
The TAPCON® 260's time and date will only be set from the control system's time synchronization telegram if both the interface software and firmware in the regulator support this.
The telegrams' time stamp at the interface is not affected by the setting for the time displayed by the TAPCON® 260. This time stamp is produced locally on the CIC card itself.
2531975/00 EN 04/11
Maschinenfabrik Reinhausen GmbH
Falkensteinstrasse 8
93059 Regensburg
Phone:
Fax:
Email:
+49 941 4090 0
+49 941 4090 7001
www.reinhausen.com