# goburrow/modbus

Fault-tolerant implementation of modbus protocol in Go (golang)

Repository: https://github.com/goburrow/modbus
Canonical: https://ross.abutalabs.com/products/modbus
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2024-06-23T03:26:28+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4337, "days_push": 801, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1039, forks 393 (observed 2026-08-28T04:03:19.963881+00:00)

## What it is
A fault-tolerant, fail-fast Go library implementing the Modbus protocol over TCP and serial (RTU/ASCII) transports. It provides a client API for reading and writing coils, discrete inputs, and registers with configurable handlers.

## Use cases
- communicate with PLCs over Modbus TCP from Go
- read holding registers from a serial RTU device
- poll sensors connected via Modbus RTU on /dev/ttyUSB
- write coils and registers to industrial equipment
- integrate Modbus slave devices into a Go application

## When to choose
- you need a lightweight, pure-Go Modbus client with no cgo dependencies
- you need both TCP and serial RTU/ASCII support
- you want fine-grained control over timeouts, slave IDs, and connection sessions

## When to avoid
- you need a Modbus server/slave implementation, not just a client
- you need Modbus over TLS or other non-standard transports
- your project is not in Go

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, networking, developer-tools
- domain: iot, embedded-systems, developer-tools
- platform: go, cross-platform
- tags: modbus, industrial-automation, rtu, modbus-tcp, serial-communication, plc, automation, linux

## Member repositories
- goburrow/modbus (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.963881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:36.818866+00:00, confidence not recorded.
  - readme: https://github.com/goburrow/modbus (fetched 2026-08-28T04:03:19.963881+00:00, sha b4f9177e43c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
