goburrow/modbus

Error : modbus: response unit id '1' does not match request '3'

marthalas opened this issue · 1 comments

Hi,
I am new to modbus. When i keep slave id 1 and readCoil on modbus device , everything works perfect but changing the slave id to other then 1 causing below error
Error : modbus: response unit id '1' does not match request '3'
Where as WriteCoil works with no issues either it is slave id 1 or any.

I have only 1 device attached modbus gateway. I am using TCP NewTCPClientHandler.

Any suggestions ?

Thanks,

Have same and track it down and it looks that device send response with different ID like request. I'm not sure but I think it's device fault not this library.