modbus
modbus copied to clipboard
Fault-tolerant implementation of modbus protocol in Go (golang)
The Energy meters made by www.janitza.de update their internal modbus registers every 0.2 seconds. When I poll these values each 0.2 seconds over TCP, I want to: - not loose...
Error: "System cannot find the file specified." opening port when port number is high ex: "COM15"
I have windows 10 and when I try to open serial port "COM15" I got: "System cannot find the file specified." the issue is solved if I manually changed it...
In one of my software, I need to use Read File Record command (function code 20). I checked your source code, this command seems to be no implemented.
the crash happens inside Send invoked [here](https://github.com/goburrow/modbus/blob/606c02f4eef527a1d4cf7d8733d5fd7ba34f91d8/rtuclient.go#L137) and is due to nul dereference of mb.port, which was nulled just as the goroutine was sleeping one line above. sometimes it's the...
Have you already thought about implementing a Modbus slave (TCP server)? This would be a prerequisite for the following special use-case: say a certain slave device (lets call it "remote")...
in some cases, device sent package by some garbage bytes be attached at the end
when i run the program its showing value error import minimalmodbus instrument = minimalmodbus.Instrument('COM3', 1) # port name, slave address (in decimal) instrument.serial.baudrate = 9600 instrument.serial.bytesize = 8 instrument.serial.parity =...
modbus RTU not work on macOS. It seem serial port config (termios) not correct, not config to raw mode.
Adding support for FC43/14 Read Device Identification
Intention of this PR is to remove the need for ducktyping like this: if handler, ok := q.handler.(*modbus.RTUClientHandler); ok { handler.SlaveId = deviceid } else if handler, ok := q.handler.(*modbus.TCPClientHandler);...