modbus icon indicating copy to clipboard operation
modbus copied to clipboard

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

Open marthalas opened this issue 4 years ago • 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,

marthalas avatar Sep 20 '19 19:09 marthalas

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.

nandra avatar Jun 04 '20 08:06 nandra