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

Not able to use register offset higher than 1000 with tcp modbus #115

Closed
tornadoman625 opened this issue Mar 15, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@tornadoman625
Copy link

When I attempt to set a register to anything higher than an offset of 1000, I get the following error:
image

@tornadoman625 tornadoman625 changed the title Not able to use register offset higher than 12 Not able to use register offset higher than 1000 Mar 15, 2021
@tornadoman625 tornadoman625 changed the title Not able to use register offset higher than 1000 Not able to use register offset higher than 1000 with tcp modbus Mar 15, 2021
@unocelli unocelli added the bug Something isn't working label Mar 15, 2021
@unocelli
Copy link
Member

unocelli commented Mar 15, 2021

Hi, thanks...I have to fix it.
I pushed a fix to catch the error and if you don't use fragmented flag it should work anyway.

@tornadoman625
Copy link
Author

That fixed it, thanks for all the hard work you've put into this project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants