AAC20 - Inaccurate floating-point values
Issue
After changing an integer high-value variable to float, the float value is not equal to the initial integer value.
Solution
The issue can be solved in two ways:
Method 1
The example integer value is 72046070:
first, the variable has to be split into 2 16-bit registers, using, for example, a built-in calculator:
then, enter the decimal values from the calculator to the added components (Modbus points):
read added Modbus points in the higher-level system, for example, Niagara, as a LongType data type:
Method 2
Use the IntSplit component (available from 6.4 firmware version):