modbus-cli

command module
v0.0.0-...-3edd152 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2022 License: GPL-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

modbus-cli

This is a basic tool to query modbus elements.

Modbus is a protocol designed for communicating between electronic devices designed in the 1970s that continues to be used today despite modern alternatives existing.

Modbus can be found in a wide variety of devices, my particular use case is around solar power systems which often have an undocumented modbus interface designed to be used with the manufacturer's add-on devices, which are universally awful.

This tool allows you to query individual addresses or an address block at a time, and output the results in a few formats. You could use this within a script to collect many data points, or use it to probe a modbus device to discover its usable endpoints.

You can now write a value to a single address as well.

Installation

If you have a Go compiler installed, simply go get github.com/squash/modbus-cli This will download, complile, and install to your GOROOT/bin directory.

Using modbus-cli

Run modbus-cli with -h for a list of options.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址