Issue
When creating a Modbus device template in XBuilder Device Editor which Modbus register data type should be used?
Product Line
Satchwell MicroNet, TAC INET, TAC Vista
Environment
- Xenta Servers
- Xenta 511, 527, 701, 711, 721, 731, 913
- XBuilder
- Modbus Register
- Bitmask
Cause
Lack of consistency between Modbus slave manufacturers there is a large number of data formats that can be selected. Each register format interprets the value differently based on byte order or purpose of the specific bits.
Resolution
- Consult Modbus slave product documentation
- Use trial and error to find the correct register format.
- Perform communication logging to capture the raw data and compare with a known value to determine the format.
As a tool to assist with these steps please consult the Definition of Modbus Registers.