modbus_server

command module
v0.0.0-...-49e2860 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 10 Imported by: 0

README

Modbus Server

This is a simple Modbus server implementation in Go. It listens for Modbus TCP connections and handles incoming requests from clients.

Features

Logging using logrus Command-line options for listening address and port using spf13/pflag Built with the torosalmonpink/mbserver library for handling Modbus communication

Usage

To build and run the server, clone the repository and run the following commands:

git clone https://github.com/torosalmonpink/modbus_server
cd modbus_server
go build ./modbus_server

By default, the server listens on address 0.0.0.0 and port 502. To change these settings, use the --address (or -a) and --port (or -p) command-line options:

./modbus_server --address 192.168.1.100 --port 1502

License

This project is licensed under the MIT License - see the LICENSE file for details.

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