Skip to content
Projects

Project catalog

All projects are public on GitHub and MIT-licensed unless a repository says otherwise. Entries marked Planned are on the roadmap and have no public repository yet.

Communication protocolsInformation modelsApplication and messaging profiles

Protocol libraries

Pure Go clients and servers for communication protocols. No cgo.

go-bacnet

BACnet/IP client and server: discovery, properties, COV and alarms, routed networks and foreign-device registration on the client; a device of your own with its objects, intrinsic reporting and an optional BBMD on the server.

go get github.com/otfabric/go-bacnet

go-canopen

CANopen (CiA 301) and CANopen FD on go-canbus: object dictionary, SDO and USDO, NMT, heartbeat, PDOs and MPDOs, SYNC, EMCY, TIME, LSS, a complete device and a CiA 302 network manager, EDS/DCF files, typed Go from an EDS and the CiA 402 drive profile. No cgo.

go get github.com/otfabric/go-canopen
  • CANopen
GitHub

go-dnp3

DNP3 (IEEE 1815) master and outstation: every procedure in both roles, file transfer, multi-drop, TLS, UDP and serial, Secure Authentication v5. No dependencies.

go get github.com/otfabric/go-dnp3

go-ethernetip

EtherNet/IP and CIP client, scanner and adapter: Class 1 and Class 3 connections, multicast, Rockwell Logix tags, EDS files and code generation, TLS. No dependencies.

go get github.com/otfabric/go-ethernetip

go-iec60870-5

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-5
  • IEC 101
  • IEC 102
  • IEC 103
  • IEC 104
GitHub

go-iec61850

IEC 61850 in one library: MMS client and SCL-driven server, GOOSE and Sampled Values publishers and subscribers, and SCL parsing, with logical nodes, reports, controls and control blocks as first-class Go types.

go get github.com/otfabric/go-iec61850

go-ieee20305

IEEE 2030.5 (Smart Energy Profile 2.0) client, device agent and server for every function set, editions 2018 and 2023, CSIP and CSIP-AUS, and CCM_8. No dependencies.

go get github.com/otfabric/go-ieee20305

go-knx

KNX over KNXnet/IP: frames, cEMI and 209 datapoint subtypes, discovery, tunnelling over UDP and TCP, routing, group communication, device management, busmonitor and a KNXnet/IP server with virtual devices, with KNX IP Secure, KNX Data Secure and ETS keyrings. Pure Go, no dependencies, no cgo.

go get github.com/otfabric/go-knx

go-mms

MMS (ISO 9506) client and server with the full ISO upper-layer stack, the transport underneath IEC 61850: typed errors, metrics, retries and graceful shutdown, fuzzed and interop tested.

go get github.com/otfabric/go-mms

go-mms-trace

Read pcap and pcapng captures of IEC 61850 traffic offline: MMS associations, every confirmed service with its status and latency, reports, GOOSE and Sampled Values streams, and what the capture lost. Library and mmstracectl.

go get github.com/otfabric/go-mms-trace

go-modbus

Modbus client and server for the functions of the specification: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling, retries and a PDU tap for recording.

go get github.com/otfabric/go-modbus
  • Modbus
GitHub

go-modbus-capture

MBCAP, the capture format for what Modbus devices answered and when, so a virtual device can serve it again. Go library and mbcapctl to inspect, verify, convert, filter, merge and repair captures.

go get github.com/otfabric/go-modbus-capture

go-modbus-trace

Read pcap and pcapng traces of Modbus/TCP offline: transactions, devices, poll patterns and address coverage. Library and mbtracectl, with timeline, sub-trace and MBCAP export.

go get github.com/otfabric/go-modbus-trace

go-ocpp

OCPP 1.6J, 2.0.1 and 2.1 for charging stations and CSMSs: every action typed and validated against the OCA schemas, security profiles 1 to 3, one dependency.

go get github.com/otfabric/go-ocpp

go-opcua

OPC UA client and server over TCP, WebSockets and HTTPS, in UA Binary and UA JSON: RSA and ECC security, subscriptions, alarms and conditions, data and event history, GDS certificate management and PubSub.

go get github.com/otfabric/go-opcua

go-openadr

OpenADR 3.1 VEN and Business Logic clients that also speak 3.0.1, and an embeddable VTN, with webhook, MQTT and WebSocket notifications. No dependencies.

go get github.com/otfabric/go-openadr

go-profinet

PROFINET IO-Controller and IO-Device: DCP, LLDP, records, I&M, diagnosis, alarms, cyclic RT data, shared device, MRP rings and GSDML. Raw Ethernet on Linux, macOS and Windows. No dependencies.

go get github.com/otfabric/go-profinet

go-s7comm

Siemens S7 client: read and write DBs, inputs, outputs and markers, discovery and SZL diagnostics.

go get github.com/otfabric/go-s7comm

Information-model libraries

Standard device and data models, and their mapping onto a protocol: discovery, decoding, validation and serving.

go-iec61850-model

The IEC 61850 information model without a transport: an edition-aware catalog of logical nodes, data objects, CDCs and data attributes from every official NSD release, with reference validation, type resolution and semantic mapping.

go get github.com/otfabric/go-iec61850-model
  • IEC 61850 model
GitHub

go-sunspec

SunSpec over Modbus, both sides: discovers and decodes 112 built-in models into typed, scaled values, and serves simulated or real SunSpec devices.

go get github.com/otfabric/go-sunspec
  • SunSpec
GitHub

Application-profile libraries

How a protocol is used for one interoperable application: topic namespaces, payloads and session state.

go-sparkplugb

Sparkplug B 3.0.0 over MQTT for Go: edge node, primary host application and application roles, with birth and death certificates, primary host awareness, server walking, aliases, sequence checks and the full typed metric codec.

go get github.com/otfabric/go-sparkplugb

CLI tools

Command-line tools to discover, read, write and diagnose devices.

bacnetctl

Discover BACnet devices, list point lists, read, write at priority, monitor COV and inspect alarms, or serve a simulated device from a JSON file to test clients against.

canbusctl

Monitor, record, convert and replay CAN, CAN FD and CAN XL traffic, decode and encode with DBC, KCD or ARXML, run ISO-TP, simulate a database and test under faults. Passive by default; transmitting on a real bus needs --yes.

canopenctl

Monitor and decode CANopen traffic, read and write object dictionaries over SDO or USDO, manage nodes with NMT, assign node-IDs with LSS, boot a network as a CiA 302 manager, configure PDOs and MPDOs, work with EDS, DCF and concise DCF files, drive CiA 402 axes and simulate devices. Read-only by default; changes on a real bus need --yes.

  • CANopen
GitHub

dnp3ctl

Poll, monitor and operate DNP3 outstations, synchronize their clocks, transfer files, find them on a subnet, or simulate one from a YAML model.

ethernetipctl

Discover and identify EtherNet/IP devices, read and write attributes, stream I/O, diagnose, read and write Logix tags, check EDS files, or simulate an adapter.

iec101ctl

Interrogate, 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.

iec102ctl

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.

iec103ctl

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.

iec104ctl

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.

iec61850ctl

IEC 61850 from the terminal: browse IEDs, read and write, operate controls and subscribe to reports over MMS, and sniff, subscribe to and publish GOOSE and Sampled Values on the station bus.

ieee20305ctl

Act as an IEEE 2030.5 device, run a device agent, serve a seeded test server and operate it while it runs, and check certificates, with CSIP-AUS and CCM_8.

knxctl

Discover and diagnose KNXnet/IP interfaces, monitor group telegrams, read and switch group objects, watch routing and busmonitor traffic, read interface properties, use KNX Secure with ETS keyrings, encode and decode datapoint types and frames, and run a simulated KNXnet/IP server. Passive by default.

modbus-simulator

Deterministic, stateful Modbus TCP and TLS device simulator driven by JSON fixtures, with fault injection, request traces and CI assertions.

modbusctl

Identify, fingerprint, scan, poll, decode and write Modbus devices over TCP, serial and TLS. Record them to MBCAP capture files and replay those as a simulated device.

  • Modbus
GitHub

nsdctl

The CLI included with go-iec61850-model: look up what an IEC 61850 logical node holds, explain a reference, and inspect, validate, compare and generate from NSD packages.

ocppctl

Probe a CSMS, send any OCPP message, simulate hundreds of charging stations, run scenarios in CI, or serve a test CSMS for station development.

opcuactl

Discover, browse, read, write, call methods, monitor, handle alarms, manage certificates, read and edit history, work with OPC UA PubSub, and run a test server.

openadrctl

Act as a VEN or as Business Logic against any OpenADR 3 VTN, publish prices and limits, listen for notifications by webhook, MQTT or WebSocket, or serve a test VTN from a seed file.

profinetctl

Discover PROFINET devices, set station names and IP addresses, read I&M, records and diagnosis, map the cabling, check GSDML files, and connect as IO-Controller to watch cyclic IO and alarms.

s7commctl

Siemens S7 command-line client for ISO-on-TCP (port 102).

sparkplugbctl

Watch and decode Sparkplug B traffic on a broker, publish typed metrics, encode and decode payloads, or simulate an edge node, a primary host application or an application.

sunspecctl

Detect, list, read and poll SunSpec inverters, meters and batteries, and serve a simulated device from a JSON file or a capture of a real one.

  • SunSpec
GitHub

Building blocks

Transport layers shared by the protocol libraries.

go-canbus

The CAN transport for Go: classical CAN, CAN FD and CAN XL frames on Linux SocketCAN, serial-line (slcan) adapters on every OS and a virtual bus, with ISO-TP, capture and replay in seven trace formats, and DBC, KCD and ARXML databases with a signal codec and a Go code generator. go-canopen runs on it. No cgo.

go get github.com/otfabric/go-canbus

go-cotp

COTP TP0 transport service over RFC 1006, plus a full X.224 TPDU codec.

go get github.com/otfabric/go-cotp

go-serial

Cross-platform serial ports for RS-232 and RS-485, with a Modbus RTU preset.

go get github.com/otfabric/go-serial

go-tpkt

TPKT framing for RFC 1006 and RFC 2126 transport profiles.

go get github.com/otfabric/go-tpkt

Discovery

Find out what is actually running on a network, and what changed on it.

go-otfp

Find out which OT protocol an endpoint speaks, and read the device's identity, with safe connection-level probes. 18 protocols, graded confidence, zero runtime dependencies.

go get github.com/otfabric/go-otfp

LAN Tracker

A history of what is connected to your OT networks: which MAC held which IP and when, names, DHCP leases, TCP reachability and duplicate addresses. Passive by default.

otprobe

The command-line tool included with go-otfp: point it at an endpoint or a host and it tells you which OT protocol answers, with what confidence, and which device is behind it.

Interop suites

Dockerized reference stacks that test implementations against each other.

bacnet-interop

BACnet/IP reference devices: BACnet Stack, BACpypes3, legacy BACpypes, BACnet4J, System.IO.BACnet, Worldiety, cB-Sigma, ulbios and bacnet-js, with cB-Sigma's simulator for faults. Six of them also run as clients to test a BACnet server, and go-bacnet is published as an image for others to test against.

canbus-interop

Seven independent CAN references in containers behind one contract: can-utils with the kernel's ISO-TP, python-can, socketcan-rs, Scapy, python-can-isotp, cantools and canmatrix, on Linux virtual CAN.

canopen-interop

Three independent CANopen stacks in containers behind one contract, as devices and masters: CANopenNode, Lely CANopen and python canopen, with EDS checkers, LSS, MPDOs and the CiA 302 boot-up, on Linux virtual CAN.

dnp3-interop

DNP3 reference stacks: opendnp3, DSC go-dnp3, dnp3py, cB-Sigma dnp3 and nfm-dnp3 as masters and outstations, over TCP, TLS, UDP and serial, with file transfer and Secure Authentication.

ethernetip-interop

Thirteen EtherNet/IP reference stacks in eight languages, from OpENer and libplctag to pycomm3, gologix, eip-rs, EEIP.NET and cB-Sigma enip, as targets and originators, with Class 1 I/O, Class 3 and Logix fixtures.

iec60870-5-interop

Independent IEC 60870-5 implementations in containers behind one contract, per companion standard: IEC 101 (lib60870-C, cB-Sigma, digitalpetri), IEC 102 (gisce/iec870ree, REE profile), IEC 103 (vitusdong, ARIEC103, Open103, go-iecp5 cs103) and IEC 104 (lib60870-C, OpenMUC j60870, wendy512, cB-Sigma, part5). OT Fabric's own go-iec60870-5 stack is published behind the same contract, one image per standard, for testing your stack against.

  • IEC 101
  • IEC 102
  • IEC 103
  • IEC 104
GitHub

iec61850-interop

IEC 61850 reference stacks as containers: libiec61850, IEC61850bean, dscsystems/go-iec61850, iec61850-rust and cB-Sigma, for MMS, IED services, GOOSE and Sampled Values. Formerly mms-interop.

ieee20305-interop

IEEE 2030.5 reference stacks: ANU Envoy, GridAPPS-D, DER Security py20305 and the EPRI client, with mutual TLS and baseline, CSIP and CSIP-AUS fixtures.

knx-interop

Five independent KNX implementations in containers behind one contract: Calimero server and tools, knxd, xknx, KNXUltimate and cB-Sigma knx with its simulator, and a raw probe for negative tests, across tunnelling, routing, datapoint types, TCP, device management and KNX Secure.

modbus-interop

Modbus reference stacks: libmodbus, PyModbus, digitalpetri, NModbus, tokio-modbus, j2mod, jsmodbus, modbus-esp8266 and modbus4j, over TCP, UDP and RTU over TCP.

ocpp-interop

Eight OCPP reference stacks for 1.6J, 2.0.1 and 2.1: The Mobility House ocpp, ChargeTimeEU Java-OCA-OCPP, ocpp-go, EVerest libocpp, CitrineOS, cB-Sigma, ocpp-kit and seanlee0923/ocpp, with SEND, CALLRESULTERROR and a Local Controller.

opcua-interop

OPC UA reference clients and servers: open62541, Eclipse Milo, async-opcua, UA-.NETStandard (with its GDS), node-opcua and opcua-asyncio.

openadr-interop

OpenADR 3 reference stacks: the OpenLEADR VTN (3.1.0 and 3.0.1), the ElaadNL client and cB-Sigma openadr in both roles, plus a specification-driven conformance suite.

profinet-interop

Independent PROFINET references in containers: rt-labs p-net and pnio-rs as IO-Devices, profinet-py as IO-Controller, pnio-dcp, two MRP ring nodes, Net-SNMP, and Wireshark and scapy as decoders.

snap7-interop

Fixture-driven Snap7 servers (native and pure Python) for testing S7 clients.

sparkplugb-interop

Six Sparkplug B reference stacks in six languages, Eclipse Tahu (Java and JavaScript), pysparkplug, SparkplugNet, srad and sparkplughost, as edge nodes and host applications on Mosquitto, HiveMQ CE, EMQX and NanoMQ.

sunspec-interop

SunSpec reference stacks in containers behind one contract: the SunSpec Alliance's pysunspec2 and cB-Sigma's sunspec and sunspec-sim, as devices and clients, with fixtures from the common models to the IEEE 1547 DER curves.

UI apps

Graphical applications built on the libraries.

IEC 61850 Explorer

Connect to an IEC 61850 IED, open its SCL file or a packet capture of the station bus, and see the model, the values with quality and time, and what happened on the wire. Read-only by default; controls and writes only in a granted, audited Commission mode.

  • IEC 61850
GitHub

Modbus Trace Explorer

Open a packet trace of Modbus/TCP traffic and see it in Modbus terms: every request with its response, per device, per poll and per register. Then export the real traffic to replay as a simulated device.

SunSpec Explorer

Connect to a SunSpec inverter, meter or battery and see every model it exposes fully decoded. Read once or poll, record and export, without ever writing to the device.

  • SunSpec
GitHub

MCP servers

Let AI agents work with industrial devices through the Model Context Protocol.

OT MCP servers

Planned

A structured, safe way for AI agents to discover, read and work with industrial devices.

Gateways and connectors

Move OT data into IT, cloud and analytics systems.

IT2OT gateways and connectors

Planned

Move OT data safely into the IT, cloud and analytics systems that need it.