Registry / networking / grid-x-modbus

grid-x-modbus

JSON →
library0.0.0-20230713135356-d9fefd3ae5a5gogounverified

A Go client library for MODBUS TCP and RTU/ASCII communication, supporting both client and server implementations.

go get github.com/grid-x/modbus
INSTALL
IMPORT
SIG · GRID-X-MODBUS
G
grid-x-modbus
networkinggov0.0.0-20230713135356-d9fefd3ae5a5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

modbus
github.com/grid-x/modbus

Connects to a MODBUS TCP device and reads holding registers.

package main import ( "github.com/grid-x/modbus" ) func main() { handler := modbus.NewTCPClientHandler("localhost:502") client := modbus.NewClient(handler) results, _ := client.ReadHoldingRegisters(1, 0, 10) _ = results }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230713135356-d9fefd3ae5a5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
grid-x-modbus — go get grid-x-modbus · libregistry