Simple server for translating Modbus RTU (over serial line) to Modbus TCP and vice versa.
PassionateAngler/mrtu2mtcp
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Simple server for translating Modbus RTU (over serial line) to Modbus TCP and vice versa. Requirements: libmodbus ver. 2.9.3, tested 3.0.1 Compilation: gcc -Wall -I/usr/include/modbus -o mrtu2mtcp mrtu2mtcp.c -lmodbus -lrt Usage: $ ./mrtu2mtcp -h Usage: ./mrtu2mtcp [options] Possible options: -s rtu_slave_address (default 1) -S usb_device (default /dev/ttyUSB0) -b baudrate (default 9600) -y parity posible values: N,E,O (default E) -n number_of_transport_bits (default 8) -B number_of_stop_bits (default 1) -A ip_address to bind (default 127.0.0.1) -p port to bind (default 1502) -v be verbose if present -l log_file (NOT IMPLEMENTED) -d demonize if present (NOT IMPLEMENTED) Example: mrtu2mtcp -S /dev/ttyR1 -A 0.0.0.0 -p 502 -v Have fun!
About
Simple server for translating Modbus RTU (over serial line) to Modbus TCP and vice versa.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published