mbpoll
mbpoll copied to clipboard
Read bits on a given register
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