modbus
modbus copied to clipboard
Fault-tolerant implementation of modbus protocol in Go (golang)
client.ReadHoldingRegisters(0x0400, 1) works client.WriteSingleRegister(0x400, 0xff) failed with timeout Though same config works with Python and NodeJS code. I debugged the go code into this lib, and seems the message is...
coil, err := client.ReadInputRegisters(0, 1) if err != nil { log.Println("modbus WriteSingleCoil error:",err.Error()) return }
using a TCP connection. Without this, a slow response can cause transaction ID mismatches for the life of this TCP connection (it never recovers). This occurs when a remote device...
I have a problem with build my tool on golang version 1.16.3. It says that it can't find package github.com/goburrow/serial even I've downloaded via command "go get github.com/goburrow/serial". When I...
Hi I've successfully used the library to interact with one RS485 device, however working with multiple devices seems less than ideal. Currently SlaveId is a property of the handler which...
i just create simple mobdus tcp-client(modbus master). Everythings works perfectly. But, some of condition, my program panic triggeren and closed. this is my piece of code: ``` data, err :=...
i dont know how to set a rts handle when i using rs485 device
I hacked away the other night to see if I could read up some useful device information from my Nibe S325 heat pump but was unlucky and it returned 'illegal...
I use TCP handler. Some devices I connect are old and they disconnect after few seconds. keep alive would some the issue.