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

Read bits on a given register #93

Open
erji44 opened this issue Dec 13, 2024 · 0 comments
Open

Read bits on a given register #93

erji44 opened this issue Dec 13, 2024 · 0 comments

Comments

@erji44
Copy link

erji44 commented Dec 13, 2024

Hello,

Have to read the bit 0-7 on a 16-bit register. over serial port modbus RTU.
Tried every possible combination of commands but could not achieve this.
I can read the register 16 itself which returns a 0 value but reading the bits 0-7 I could not find a way to do it.
Every bit holds a 0 or 1 value depending on state of the inputs on register 16.
Any ideas what the correct command is?
Does mbpoll have such capability?

Thank you

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

1 participant