Appendix B _________________________________________________________ Modbus Reference
VAISALA _______________________________________________________________________ 105
NOTE
-bit floating point value should be read and written in a
Modbus transaction (for example, function codes 05, 06
, and 22 do
not have an effect on floating point values).
16-Bit Integer Format
16-bit integer values are scaled to include the necessary decimals (see
corresponding register table for the scaling factor) and represented as
described in the following table.
Table 41 16-bit signed integer format details
Value in range -32766…-1 (2’s complement)
Value is 32767 or larger (positive infinity)
Value is not available (quiet NaN)
Value is -32767 or smaller (negative infinity)
Trying to write special values 0x7FFF, 0x8000, or 0x8001 in a 16-bit
integer register is ignored to avoid unintended result.
NOTE
Some values may exceed the signed
16-bit range even in normal
operation. Please access such values using the floating point registers
instead.
Measurement Data (Read-Only)
Table 42 HMW90 Modbus Measurement Data Registers
Available measurements depend on the instrument configuration. Values
may be unavailable also in case of device failure. Read status registers or
exception status outputs to check for failures.