Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marthalas opened this issue Sep 20, 2019 · 1 comment
Open

Comments

@marthalas
Copy link

marthalas commented Sep 20, 2019

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,

@nandra
Copy link

nandra commented Jun 4, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants