Jump to content

RUT200 IEC 60870-5

From Teltonika Networks Wiki
Main Page > RUT Routers > RUT200 > RUT200 Manual > RUT200 WebUI > RUT200 Services section > RUT200 IEC 60870-5

The information in this page is updated in accordance with firmware version RUT2M_R_00.07.24.

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: none Address used to identify the source of the request within the IEC 60870-5 system.
Timeout integer [1..60]; default: 30 Time in seconds that the client waits for a response to an interrogation request.

Connection settings


Field Value Description
Connection type IEC 104 (TCP) ; 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.
Advanced connection settings
Cause of Transmission size integer [1,2]; default: none Size in octets of Cause of Transmission field, indicates why data was sent.
Common Address size integer [1,2]; default: none Size in octets of the Common Address field, identifies the station/RTU.
Information Object Address size integer [1,2,3]; default: none Size in octets of the Information Object Address field, defines the address space for data points.
Maximum ASDU size integer [1..249]; default: 1 Maximum size in bytes of Application Service Data Unit, larger values allow more data per message.
Value 'k' integer [1..32767]; default: none Maximum difference receive sequence number to send state variable.
Value 'w' integer [1..32767]; default: none Latest ACK after receiving w I format APDUs (Recommendation: 'w' should not exceed two-thirds of 'k').
Timeout 't0' integer [1..255]; default: none Time-out of connection establishment.
Timeout 't1' integer [1..255]; default: none Time-out of send or test APDUs.
Timeout 't2' integer [1..255]; default: none Time-out for acknowledges in case of no data messages t2 < t1.
Timeout 't3' integer [1..172800]; default: none Time-out for sending test frames in case of a long idle state.


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.
Test -(interactive button) Reads data from the IEC 60870-5 server.
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
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.
Data type string Type of data.
Keep check box Unselected objects will be removed after save.


*Response from the test button:

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)1M_IT_NA_1NoNoneHigh uint32 from uint64 uptime
Uptime (low 32bits)2M_IT_NA_1NoNoneLow uint32 from uint64 uptime
Unix timestamp (high 32bits)3M_IT_NA_1NoNoneHigh uint32 from uint64 unix timestamp
Unix timestamp (low 32bits)4M_IT_NA_1NoNoneLow uint32 from uint64 unix timestamp
Serial number (high 32bits)5M_IT_NA_1NoNoneHigh uint32 from uint64 serial number
Serial number (low 32bits)6M_IT_NA_1NoNoneLow uint32 from uint64 serial number
Selected modem index7M_ME_NB_1YesMobile supportSelect modem when multiple modems are available
Selected SIM number8M_ME_NB_1YesMobile supportSelect SIM slot when multiple SIMs are available
Signal strength9M_ME_NC_1NoMobile supportRSSI from modem
Temperature10M_ME_NC_1NoMobile supportTemperature in °C from modem
SIM statistics, this day, RX (high 32bits)11M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this day, RX (low 32bits)12M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, this day, TX (high 32bits)13M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this day, TX (low 32bits)14M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 24h, RX (high 32bits)15M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 24h, RX (low 32bits)16M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 24h, TX (high 32bits)17M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 24h, TX (low 32bits)18M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, this week, RX (high 32bits)19M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this week, RX (low 32bits)20M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, this week, TX (high 32bits)21M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this week, TX (low 32bits)22M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 7 days, RX (high 32bits)23M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 7 days, RX (low 32bits)24M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 7 days, TX (high 32bits)25M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 7 days, TX (low 32bits)26M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, this month, RX (high 32bits)27M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this month, RX (low 32bits)28M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, this month, TX (high 32bits)29M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, this month, TX (low 32bits)30M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 30 days, RX (high 32bits)31M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 30 days, RX (low 32bits)32M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
SIM statistics, last 30 days, TX (high 32bits)33M_IT_NA_1NoMobile supportHigh uint32 from uint64 SIM data usage
SIM statistics, last 30 days, TX (low 32bits)34M_IT_NA_1NoMobile supportLow uint32 from uint64 SIM data usage
IMSI (high 32bits)35M_IT_NA_1NoMobile supportHigh uint32 from uint64 IMSI
IMSI (low 32bits)36M_IT_NA_1NoMobile supportLow uint32 from uint64 IMSI
GPS UTC timestamp (high 32bits)37M_IT_NA_1NoGPS supportHigh uint32 from uint64 UTC timestamp
GPS UTC timestamp (low 32bits)38M_IT_NA_1NoGPS supportLow uint32 from uint64 UTC timestamp
GPS position, longitude39M_ME_NC_1NoGPS supportLongitude (~5–6 decimal precision)
GPS position, latitude40M_ME_NC_1NoGPS supportLatitude (~5–6 decimal precision)
GPS position, altitude41M_ME_NC_1NoGPS supportAltitude
GPS position, angle42M_ME_NC_1NoGPS supportAngle
GPS position, speed43M_ME_NC_1NoGPS supportSpeed
GPS position, accuracy (HDOP)44M_ME_NC_1NoGPS supportGPS accuracy
GPS position, satellites45M_ME_NB_1NoGPS supportGPS satellites
I/O pin 146M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 247M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 348M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 449M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 550M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 651M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 752M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable I/O pin
I/O pin 853M_SP_NA_1 / M_ME_NC_1Depends on pin typeI/O supportConfigurable 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.
Time tag type CP24 | None; default: None 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 | 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 | 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) ; 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.
Advanced connection settings
Cause of Transmission size integer [1,2]; default: none Size in octets of Cause of Transmission field, indicates why data was sent.
Common Address size integer [1,2]; default: none Size in octets of the Common Address field, identifies the station/RTU.
Information Object Address size integer [1,2,3]; default: none Size in octets of the Information Object Address field, defines the address space for data points.
Maximum ASDU size integer [1..249]; default: 1 Maximum size in bytes of Application Service Data Unit, larger values allow more data per message.
Value 'k' integer [1..32767]; default: none Maximum difference receive sequence number to send state variable.
Value 'w' integer [1..32767]; default: none Latest ACK after receiving w I format APDUs (Recommendation: 'w' should not exceed two-thirds of 'k').
Timeout 't0' integer [1..255]; default: none Time-out of connection establishment.
Timeout 't1' integer [1..255]; default: none Time-out of send or test APDUs.
Timeout 't2' integer [1..255]; default: none Time-out for acknowledges in case of no data messages t2 < t1.
Timeout 't3' integer [1..172800]; default: none Time-out for sending test frames in case of a long idle state.

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.