This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus, getting bits in a register
#4
My 16-bit register is a bitmask, e.g.:
Input register 3x0006 consists of:
Bit 0 = Dampers open
Bit 1 = Fire dampers open
Bit 2 = Fire dampers closed
Bit 3 = Status feedback pump
Etc.

I'm interested in getting out the status of a single bit within a register. Not the whole register acting as a bit, 0 or 1.
Is it possible?
Reply


Messages In This Thread
RE: Modbus, getting bits in a register - by espen.sorensen@jmhansen.no - 22.12.2016, 10:09

Forum Jump: