Reading a specific bit range of a Modbus data point - Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.1.1

Applies to
Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-02-09
Content type
Guides > Plugin and extension guides
Language
English
Product
Industrial IoT
Version
5.0

You can read a single bit or bit range of a data point, for example to extract a field from a multi-property data point.

What you should know

  • You can only read specific bit ranges for data points from input registers and holding registers. Coils and discrete inputs have only one bit.
  • Modbus registers store the most significant bit at the lowest storage address (big-endian). The Industrial IoT plugin interprets Modbus registers correctly. However, in the user interface, bit 0 represents the least significant bit and bit 15 represents the most significant bit.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. Select a Modbus device or entity from the entity browser and click the Properties tab.
  3. In the Data point section, select and input or holding register, and click Edit the data point ().
  4. Select Bit range and enter the positions of the first and last bit that constitute the value you want to read.
  5. Click Save > Apply.