Protocol documentation
Each protocol has four guides. The overview explains how the protocol works on the wire and which OT Fabric projects implement it. The Go library guide covers installing, connecting, reading, writing and error handling. The CLI guide walks through the command-line tool, for every protocol that has one. Testing and interop shows how each implementation is checked against independent reference stacks.
For a shorter introduction to a protocol, start with its page in the protocol overview. Information models such as SunSpec Modbus and the IEC 61850 information model are carried over these protocols and have their own guides. Application profiles such as Sparkplug B, which defines how MQTT is used for industrial messaging, have theirs too.
ModbusTCP, RTU, ASCII, TLS and UDP. go-modbus, modbusctl, modbus-simulator.
OPC UASecure, object-oriented data access for industrial automation. go-opcua, opcuactl.
BACnet/IPBuilding automation over UDP. go-bacnet, bacnetctl.
IEC 60870-5-101Serial telecontrol between control centres and RTUs. go-iec60870-5, iec101ctl.
IEC 60870-5-102Integrated totals from electricity meters, with the Spanish REE profile. go-iec60870-5, iec102ctl.
IEC 60870-5-103The informative interface of protection relays. go-iec60870-5, iec103ctl.
IEC 60870-5-104Telecontrol for power grids over TCP. go-iec60870-5, iec104ctl.
IEC 61850Substation automation over MMS, GOOSE and Sampled Values. go-iec61850, go-mms, iec61850ctl.
Siemens S7S7comm over ISO-on-TCP for S7 PLCs. go-s7comm, s7commctl.
OpenADRDemand response and dynamic tariffs over a REST API. go-openadr, openadrctl.
OCPPEV charging stations and their management system over WebSocket. go-ocpp, ocppctl.
DNP3SCADA between masters and outstations in utilities, over TCP, UDP, TLS and serial. go-dnp3, dnp3ctl.
IEEE 2030.5Utilities and aggregators to inverters, batteries and chargers over HTTPS with mutual TLS, with CSIP and CSIP-AUS. go-ieee20305, ieee20305ctl.
EtherNet/IPCIP over TCP and UDP between PLCs, I/O adapters and drives: explicit messages, cyclic I/O and Logix tags. go-ethernetip, ethernetipctl.
PROFINETPROFINET IO between IO-Controllers and IO-Devices: DCP naming and addressing, records, cyclic IO, alarms, GSDML and MRP rings. go-profinet, profinetctl.
CAN busThe two-wire bus of vehicles, machines, batteries and chargers, and the transport under CANopen: classical CAN, CAN FD and CAN XL, ISO-TP, traces and DBC databases. go-canbus, canbusctl.
CANopenThe application protocol on CAN in machines and drives: object dictionary, SDO, PDO, NMT, LSS, the CiA 302 boot-up, EDS files and CiA 402. go-canopen, canopenctl.
KNXHome and building control over KNXnet/IP: group addresses and datapoint types, discovery, tunnelling, routing, a KNXnet/IP server, KNX IP Secure and Data Secure. go-knx, knxctl.