REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Bytes to bit

    REXYGEN Studio
    1
    2
    24
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MikeyH
      last edited by

      Hi All,

      I have a Modbus register that is 2bytes, this contains component status information. How do I break it down into bits to make it usable.

      Here is the bit break down.

      078eb096-8335-4776-a0df-ca8a2b8b1b47-image.png

      For example I have a value from the register of 23, but I'm not sure how to translate it into the bit table above.

      Cheers,
      Mike

      M 1 Reply Last reply Reply Quote 0
      • M
        MikeyH @MikeyH
        last edited by

        sorry, I've just worked it out using the Bitwise demultiplexer

        f8e2817e-be2b-4795-8b4f-ac8a5581218b-image.png

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

        There is also an outdated REXYGEN community forum.

        Powered by NodeBB.