​How to read Modbus Status bits

Published date:
27 December 2017

Issue:

How to read Modbus Status bits

Product line:
All products

Environment:
All products

Cause:
How to read Status bits

Resolution:

Using a Modbus tool like Generic Modbus Tester you receive the values in the two examples below. The Generic Modbus tester does not provide binary values so the examples below shows the conversion. If the application used provides binary then keep that part.

Below is a couple of examples from a Galaxy VX:

Example 1: Register 400002 (16385)

16385 in BIN 100 000 0000 0001

This example has 14 bits and to get to 16 bits two zeros were added to the left (red text)

10 0000 0000 0001 is 0010 0000 0000 0001

Below is the mapping of the bits to the Modbus registers to the Galaxy VX. You start the with zero on the right and end with 15 on the left.

Example 2: Register 400010 (512)

512 in BIN 10 0000 0000

This example has 10 bits so six bits needs to be added to the left (red text)

10 0000 0000 is 000 0010 0000 0000

Below is the mapping of the bits to the Modbus registers to the Galaxy VX. You start the with zero on the right and end with 15 on the left.

Was this helpful?

Yes

No

100 % found this helpful

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.

Thank you for registering for email from APC by Schneider Electric. We are excited that you have joined the group. You will receive your first welcome message soon. It will describe the email program and what to expect in the upcoming weeks. Enjoy!

We use cookies to provide you with a better onsite experience. By continuing to browse the site you are agreeing to our use of cookies in accordance with our Cookie Policy.