Wiki mirrorView source
The information in this page is updated in accordance with firmware version RUTX_R_00.07.22.1.
Summary
IEC 60870-5 is an international standard that defines communication protocols for telecontrol systems used in electrical power systems and other industrial automation environments. It focuses on reliable, real-time exchange of data between control centers and remote terminal units (RTUs), protection devices, and other field equipment.
Supported Information Object Types table (IOT/TI)
| Type | Dex | Hex | Description |
|---|---|---|---|
| ASDU_TYPEUNDEF | 0 | 0x00 | Not used |
| M_SP_NA_1 | 1 | 0x01 | Single-point information |
| M_SP_TA_1 | 2 | 0x02 | Single-point information with time tag |
| M_DP_NA_1 | 3 | 0x03 | Double-point information |
| M_DP_TA_1 | 4 | 0x04 | Double-point information with time tag |
| M_ST_NA_1 | 5 | 0x05 | Step position information |
| M_ST_TA_1 | 6 | 0x06 | Step position information with time tag |
| M_BO_NA_1 | 7 | 0x07 | Bitstring of 32 bit |
| M_BO_TA_1 | 8 | 0x08 | Bitstring of 32 bit with time tag |
| M_ME_NA_1 | 9 | 0x09 | Measured value, normalised value |
| M_ME_TA_1 | 10 | 0x0A | Measured value, normalized value with time tag |
| M_ME_NB_1 | 11 | 0x0B | Measured value, scaled value |
| M_ME_TB_1 | 12 | 0x0C | Measured value, scaled value wit time tag |
| M_ME_NC_1 | 13 | 0x0D | Measured value, short floating point number |
| M_ME_TC_1 | 14 | 0x0E | Measured value, short floating point number with time tag |
| M_IT_NA_1 | 15 | 0x0F | Integrated totals |
| M_IT_TA_1 | 16 | 0x10 | Integrated totals with time tag |
| M_EP_TA_1 | 17 | 0x11 | Event of protection equipment with time tag |
| M_EP_TB_1 | 18 | 0x12 | Packed start events of protection equipment with time tag |
| M_EP_TC_1 | 19 | 0x13 | Packed output circuit information of protection equipment with time tag |
| M_PS_NA_1 | 20 | 0x14 | Packed single point information with status change detection |
| M_ME_ND_1 | 21 | 0x15 | Measured value, normalized value without quality descriptor |
| M_SP_TB_1 | 30 | 0x1E | Single-point information with time tag CP56Time2a |
| M_DP_TB_1 | 31 | 0x1F | Double-point information with time tag CP56Time2a |
| M_ST_TB_1 | 32 | 0x20 | Step position information with time tag CP56Time2a |
| M_BO_TB_1 | 33 | 0x21 | Bitstring of 32 bit with time tag CP56Time2a |
| M_ME_TD_1 | 34 | 0x22 | Measured value, normalised value with time tag CP56Time2a |
| M_ME_TE_1 | 35 | 0x23 | Measured value, scaled value with time tag CP56Time2a |
| M_ME_TF_1 | 36 | 0x24 | Measured value, short floating point number with time tag CP56Time2a |
| M_IT_TB_1 | 37 | 0x25 | Integrated totals with time tag CP56Time2a |
| M_EP_TD_1 | 38 | 0x26 | Event of protection equipment with time tag CP56Time2a |
| M_EP_TE_1 | 39 | 0x27 | Packed start events of protection equipment with time tag CP56Time2a |
| M_EP_TF_1 | 40 | 0x28 | Packed output circuit information of protection equipment with time tag CP56Time2a |
IEC 60870-5 Client
An IEC 60870-5 Client is a communication component in a SCADA or automation system that initiates and manages data exchange with remote devices using the IEC 60870-5 telecontrol protocol IEC 60870-5-104 (TCP/IP). Note: IEC 60870-5-101 (serial) is not currently supported.
IEC 60870-5 Client general
This section displays IEC 60870-5 Client status information and allows to enable/disable the service.
| Field | Value | Description |
|---|---|---|
| Enabled | off | on; default: on | Enable/disable IEC 60870-5 client service. |
| Status | Status of service, whether it is currently running. If it is active, it will also show how long it has been running. |
IEC 60870-5 Clients
By default, the client list is empty. To add a new client, click the 'Add' button.
After clicking 'Add' you will be redirected to the newly added client's configuration page.
General settings
| Field | Value | Description |
|---|---|---|
| Enabled | off | on; default: on | Check to enable this configuration. |
| Name | string; default: Client 1 | Name of the client. Used for easier device management purposes only. |
| Period | integer [1..86400]; default: 60 | Interval in seconds for sending requests to server. |
| Originator address | integer [0..100]; default: 1 | Address used to identify the source of the request within the IEC 60870-5 system. |
| Timeout | integer [1..60]; default: 5 | Time in seconds that the client waits for a response to an interrogation request. |
| Test* | -(interactive button) | Reads data from the IEC 60870-5 server. |
*Response from the test button:
Connection settings
| Field | Value | Description |
|---|---|---|
| Connection type | IEC 104 (TCP) | EC 101 (Serial)*; default: IEC 104 (TCP) | Client connection type. |
| IP Address | ipv4; default: none | IPv4 address of server. |
| Port | integer [1..65535]; default: 2404 | Specify port number the server is listening on.. |
| Link layer address | integer [1..65534]; default: 1 | Unique address identifying a station on the communication link. |
| Device configuration | list; default: none | Which serial port configuration will be used for serial communication. |
| Server address | integer [1..65535]; default: 1 | Server address of remote station. |
Serial Device*
To add a new serial device, press the 'Add' button.
| Field | Value | Description |
|---|---|---|
| Name | string; default: none | Name of the serial configuration. Used for easier configurations management purpose only. |
| Link layer mode | Unbalanced | Balanced; default: Unbalanced | Whether communication is balanced (both can initiate) or unbalanced (only one initiates). |
| Device | ; default: | Selects which serial port to use for communication. |
| Baud rate (USB) | integer [300..4000000]; default:9600 | Data rate for serial data transmission (in bits per second (bps)). |
| Data bits | 5 | 6 | 7 |8; default: 8 | Number of data bits for each character. |
| Stop bits | 1| 2; default: 1 | Stop bits sent at the end of every character allow the receiving signal hardware to detect the end of a character and to resynchronise with the character stream. Electronic devices usually use one stop bit. Two stop bits are required if slow electromechanical devices are used. |
| Parity | Even | Odd| Mark | Space | None; default: None | In serial transmission, parity is a method of detecting errors. An extra data bit is sent with each data character, arranged so that the number of 1 bits in each character, including the parity bit, is always odd or always even. If a byte is received with the wrong number of 1s, then it must have been corrupted. However, an even number of errors can pass the parity check.
|
| Flow control | None | RTS/CTS | Xon/Xoff; default: None | In many circumstances a transmitter might be able to send data faster than the receiver is able to process it. To cope with this, serial lines often incorporate a "handshaking" method, usually distinguished between hardware and software handshaking.
|
Information objects
| Field | Value | Description |
|---|---|---|
| Information object selection | All | Custom; default: All | Should all information objects that are visible be saved. |
| Common address | integer [1..65534]; default: none | List of common addresses from which information objects will be read. |
| Scanning common address | integer [1..65534]; default: 1 | Address from which information objects will be scanned. |
| Scan | -(interactive button) | Starts scanning with selected common address. |
After selecting the "Custom" information object option and scanning the selected server, a new section appears "Selected information objects" with filled-in data from the server. Here you can manually add or rename object addresses from the scanned list or manually.
| Field | Value | Description |
|---|---|---|
| Enabled | check box | Data will be pulled only from selected objects. |
| Name | string; default: none | Add name for object. |
| Object address | integer [0..16777215] | Address of object. |
| Common address | integer [1..65534] | Information object common address. |
IEC 60870-5 Server
An IEC 60870-5 Server is a communication component implemented in field devices—such as RTUs, substations, protection relays, and data concentrators—that responds to requests from an IEC 60870-5 Client and provides real-time data, events, and control interfaces.
It implements the server-side (outstation) role defined by the IEC 60870-5 telecontrol standards, including IEC 60870-5-101 for serial communication and IEC 60870-5-104 for TCP/IP networks.
IEC 60870-5 Server information objects
If the device doesn't have the needed capabilities for a specic information object, then that object won't
exist.
If an error occurs while reading an information object:
- For a M_IT_NA_1, then the value will be 0 and the invalid ag will be set
- All other types, then the value will be 0 and the invalid and substituted quality bit will be set
| Information object name | Address | Type | Writable | Needed capabilities | Description |
|---|---|---|---|---|---|
| Uptime (high 32bits) | 1 | M_IT_NA_1 | No | None | High uint32 from uint64 uptime |
| Uptime (low 32bits) | 2 | M_IT_NA_1 | No | None | Low uint32 from uint64 uptime |
| Unix timestamp (high 32bits) | 3 | M_IT_NA_1 | No | None | High uint32 from uint64 unix timestamp |
| Unix timestamp (low 32bits) | 4 | M_IT_NA_1 | No | None | Low uint32 from uint64 unix timestamp |
| Serial number (high 32bits) | 5 | M_IT_NA_1 | No | None | High uint32 from uint64 serial number |
| Serial number (low 32bits) | 6 | M_IT_NA_1 | No | None | Low uint32 from uint64 serial number |
| Selected modem index | 7 | M_ME_NB_1 | Yes | Mobile support | Select modem when multiple modems are available |
| Selected SIM number | 8 | M_ME_NB_1 | Yes | Mobile support | Select SIM slot when multiple SIMs are available |
| Signal strength | 9 | M_ME_NC_1 | No | Mobile support | RSSI from modem |
| Temperature | 10 | M_ME_NC_1 | No | Mobile support | Temperature in °C from modem |
| SIM statistics, this day, RX (high 32bits) | 11 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this day, RX (low 32bits) | 12 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, this day, TX (high 32bits) | 13 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this day, TX (low 32bits) | 14 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 24h, RX (high 32bits) | 15 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 24h, RX (low 32bits) | 16 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 24h, TX (high 32bits) | 17 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 24h, TX (low 32bits) | 18 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, this week, RX (high 32bits) | 19 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this week, RX (low 32bits) | 20 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, this week, TX (high 32bits) | 21 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this week, TX (low 32bits) | 22 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 7 days, RX (high 32bits) | 23 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 7 days, RX (low 32bits) | 24 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 7 days, TX (high 32bits) | 25 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 7 days, TX (low 32bits) | 26 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, this month, RX (high 32bits) | 27 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this month, RX (low 32bits) | 28 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, this month, TX (high 32bits) | 29 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, this month, TX (low 32bits) | 30 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 30 days, RX (high 32bits) | 31 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 30 days, RX (low 32bits) | 32 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| SIM statistics, last 30 days, TX (high 32bits) | 33 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 SIM data usage |
| SIM statistics, last 30 days, TX (low 32bits) | 34 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 SIM data usage |
| IMSI (high 32bits) | 35 | M_IT_NA_1 | No | Mobile support | High uint32 from uint64 IMSI |
| IMSI (low 32bits) | 36 | M_IT_NA_1 | No | Mobile support | Low uint32 from uint64 IMSI |
| GPS UTC timestamp (high 32bits) | 37 | M_IT_NA_1 | No | GPS support | High uint32 from uint64 UTC timestamp |
| GPS UTC timestamp (low 32bits) | 38 | M_IT_NA_1 | No | GPS support | Low uint32 from uint64 UTC timestamp |
| GPS position, longitude | 39 | M_ME_NC_1 | No | GPS support | Longitude (~5–6 decimal precision) |
| GPS position, latitude | 40 | M_ME_NC_1 | No | GPS support | Latitude (~5–6 decimal precision) |
| GPS position, altitude | 41 | M_ME_NC_1 | No | GPS support | Altitude |
| GPS position, angle | 42 | M_ME_NC_1 | No | GPS support | Angle |
| GPS position, speed | 43 | M_ME_NC_1 | No | GPS support | Speed |
| GPS position, accuracy (HDOP) | 44 | M_ME_NC_1 | No | GPS support | GPS accuracy |
| GPS position, satellites | 45 | M_ME_NB_1 | No | GPS support | GPS satellites |
| I/O pin 1 | 46 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 2 | 47 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 3 | 48 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 4 | 49 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 5 | 50 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 6 | 51 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 7 | 52 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
| I/O pin 8 | 53 | M_SP_NA_1 / M_ME_NC_1 | Depends on pin type | I/O support | Configurable I/O pin |
IEC 60870-5 Server general
This section displays IEC 60870-5 Server status information and allows to enable/disable the service.
| Field | Value | Description |
|---|---|---|
| Enabled | off | on; default: on | Enable/disable IEC 60870-5 server service. |
| Status | Status of service, whether it is currently running. If it is active, it will also show how long it has been running. |
IEC 60870-5 Servers
By default, the server list is empty. To add a new server, click the 'Add' button.
After clicking 'Add' you will be redirected to the newly added server's configuration page.
General settings
| Field | Value | Description |
|---|---|---|
| Enabled | off | on; default: on | Check to enable this configuration. |
| Name | string; default: Server 1 | Name of the server. Used for easier device management purposes only. |
| Common address | integer [1..65534]; default: 1 | Common address of the ASDU. It is also sometimes referred to as the application layer address. |
| Enable spontaneous transmission | off | on; default: off | Enable the transmission of spontaneous events. Will notify clients when an object changes. |
| Spontaneous information objects | List: Uptime | Unix timestamp | Serial number | Selected modem index | Selected SIM number | Signal strength | Temperature | SIM statistics for this day | SIM statistics for last 24 hours | SIM statistics for this week | SIM statistics for last 7 days | SIM statistics for this month | SIM statistics for last 30 days | IMSI | GPS UTC timestamp | GPS longitude | GPS latitude | GPS altitude | GPS angle | GPS speed | GPS accuracy | GPS satellites | I/O pins (supported pins by device, can be found here default: All | List of information object for which spontaneous messages will be sent. |
| Enable cyclic transmission | off | on; default: off | Enable the transmission of cyclic messages. Will send the current values of changes on configured period. |
| Cyclic transmission period | interger; default: 20000 | Duration in milliseconds for how often cyclic messages should be sent. |
| Cyclic information objects | List: Uptime | Unix timestamp | Serial number | Selected modem index | Selected SIM number | Signal strength | Temperature | SIM statistics for this day | SIM statistics for last 24 hours | SIM statistics for this week | SIM statistics for last 7 days | SIM statistics for this month | SIM statistics for last 30 days | IMSI | GPS UTC timestamp | GPS longitude | GPS latitude | GPS altitude | GPS angle | GPS speed | GPS accuracy | GPS satellites | I/O pins (supported pins by device, can be found here); default: All | List of information object for which cyclic messages will be sent. |
| Configure I/O pins | off | on; default: off | Manually specify which I/O will be available as information objects. |
| I/O pins | List: I/O pins (supported pins by device, can be found here); default: first pin | Input/Output pins |
Connection settings
| Field | Value | Description |
|---|---|---|
| Connection type | IEC 104 (TCP) | IEC 101 (Serial); default: IEC 104 (TCP) | Server connection type. |
| Port | integer [1..65535]; default: 2404 | Specify port number the server is listening on.. |
| Allow remote access | off | on; default: off | Allow access through WAN. |
| Link layer mode | Unbalanced | Balanced; default: Unbalanced | Whether communication is balanced (both can initiate) or unbalanced (only one initiates). |
| Link layer address | integer [1..65534]; default: 1 | Unique address identifying a station on the communication link. |
| Size of link layer address | integer; default: none | Size of link layer address field in bytes.. |
| Serial device | ; default: | Selects which serial port to use for communication. |
| Baud rate (USB) | integer [300..4000000]; default:9600 | Data rate for serial data transmission (in bits per second (bps)). |
| Data bits | 5 | 6 | 7 |8; default: 8 | Number of data bits for each character. |
| Stop bits | 1| 2; default: 1 | Stop bits sent at the end of every character allow the receiving signal hardware to detect the end of a character and to resynchronise with the character stream. Electronic devices usually use one stop bit. Two stop bits are required if slow electromechanical devices are used. |
| Parity | Even | Odd| Mark | Space | None; default: None | In serial transmission, parity is a method of detecting errors. An extra data bit is sent with each data character, arranged so that the number of 1 bits in each character, including the parity bit, is always odd or always even. If a byte is received with the wrong number of 1s, then it must have been corrupted. However, an even number of errors can pass the parity check.
|
| Flow control | None | RTS/CTS | Xon/Xoff; default: None | In many circumstances a transmitter might be able to send data faster than the receiver is able to process it. To cope with this, serial lines often incorporate a "handshaking" method, usually distinguished between hardware and software handshaking.
|
Information objects
Information objects transmit data from one or more data sources (can be a Modbus client, DNP3 client, M-BUS...) and write it to IEC 60870-5 Information objects.
To add new data source, press `Add` button:
Information object configuration:
| Field | Value | Description |
|---|---|---|
| Enable | off | on; default: off | Turns Object configuration on or off. |
| Information object name | string; default: none | Name of configuration. |
| Information object source | list; default: none | Client service which will be sending requests. |
| Information object value | list and permissions type; default: none | Request value and its permissions (Read-Only, Write-Only or Read-Write). |
| Information object range | integer [1..65535]; default: none | Specify the start index and count for the range. |
| Information object type | Binary | String | Bool | INT8 | UINT8 | INT16 | UINT16 | INT32 | UINT32 | INT64 | UINT64 | FLOAT32 | FLOAT64; default: Binary | Value data type. |
| Information object size | integer [1..255]; default: none | Size of the value in bytes. |
| Information object address range | integer [1000..16777215]; default: Binary | IEC 60870-5 Information Object Address range. |
| Type ID | 1 - Single-point information | 7 - Bitstring of 32 bit | 11 - Measured value, scaled value | 13 - Measured value, short floating point number | 15 - Integrated totals (32-bit counter); default: 1 - Single-point information | IEC 60870-5 Type Identification. |