go-modbus
Modbus client and server: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling and retries.
go get github.com/otfabric/go-modbusSunSpec over Modbus: discovers 112 built-in models and decodes typed, scaled values. Includes the sunspecctl CLI.
go get github.com/otfabric/go-sunspecThe README on GitHub has the full feature list, examples and changelog.
Modbus client and server: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling and retries.
go get github.com/otfabric/go-modbusDeterministic, stateful Modbus TCP device simulator driven by JSON fixtures, for integration tests.
Identify, fingerprint, scan, poll, decode and write Modbus devices. Record to MCAP and replay as a simulator.
Cross-platform serial ports for RS-232 and RS-485, with a Modbus RTU preset.
go get github.com/otfabric/go-serialModbus TCP reference stacks: libmodbus, PyModbus, digitalpetri, NModbus and tokio-modbus.