The IEC 60870-5 telecontrol family in one module: IEC 101 on serial lines, IEC 102 for meter readings, IEC 103 for protection relays and IEC 104 over TCP/IP, each as controlling and controlled station, on shared FT 1.2, link-layer and time-tag packages. IEC 104 keeps TLS, IEC 62351-5, file transfer and redundancy groups. Pure Go, standard library only.
go get github.com/otfabric/go-iec60870-5Interrogate, monitor and command IEC 101 stations on a serial port or behind a terminal server, unbalanced or balanced, with any field sizes; measure the line delay, scan a line for stations, or simulate an RTU. Part of iec60870ctl.
Read electricity meters and data concentrators over IEC 102: product information, the clock, integrated totals by period window, events, and the requests of the Spanish REE profile, or simulate a meter for a metering front end. Part of iec60870ctl.
Poll IEC 103 protection relays: general interrogation, general commands, clock, identification, settings through the generic services, recorded faults with their disturbance data as JSON or CSV, monitoring and line scans, or simulate a relay. Part of iec60870ctl.
Interrogate, monitor and command IEC 104 stations over TLS or IEC 62351-5, transfer files, discover stations, or simulate an RTU from YAML. Part of iec60870ctl.