modbus icon indicating copy to clipboard operation
modbus copied to clipboard

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

Results 58 modbus issues
Sort by recently updated
recently updated
newest added

With recent advancements in go, most notable `dep` and as of golang 1.11 go modules, it would be nice to tag a version. What do you think about tagging a...

This PR removes the dependency on the `log` library and allows other logging implementations like e.g. sirupsen/logrus. See https://github.com/sirupsen/logrus/issues/828 for a detailed discussion.

I'm new in GoLang. I clone this project, how can I run a simple modbus/TCP holding register with these code files?

For a use case I have I may need to talk to multiple slaves across a single RTU serial connection. It seems that the way to cater for this case...

enhancement

I am getting serial timeout issues in Windows 7. I created a new Device Id command, code here: https://github.com/imr/modbus/commit/c476ad332569f0835d276c7f7e9e62f32ffe4ae1 since the equipment I am interfacing with does not use typical...

https://github.com/goburrow/modbus/blob/0d0a427beb37599ff34f8d74617af5ac403e9700/rtuclient.go#L146 Hi, are we testing this condition in 144 line? `if n < bytesToRead {` Thank your for your job.

Having the second input to Client.WriteSingleCoil be a boolean instead of a uint16 that requires either 0xFF00 or 0x0000 seems more intuitive. What would you think of this change?

question

Changed base Client interface to pass slaveId as an argument to all the methods, to allow communication with multiple slaves on a bus in on session. Mainly this is required...

Added support for ENC mode (encapsulated RTU over TCP). See `-m enc` argument of `modpoll` or `diagslave` tools.