4-4
ENGLISH
Read registers
MODBUS protocol manual
EXAMPLE OF CONVERSION OF VALUE SHOWN WITH FLOATING POINT
Value read with floating point:
45AACC00(
16
)
Value converted in binary format:
sign
exponent fraction
010001011 01010101100110000000000 (
2
)
sign = 0
exponent = 10001011(
2
) = 139(
10
)
fraction = 01010101100110000000000(
2
) / 8388608 (
10
) =
= 2804736 (
10
) / 8388608 (
10
) = 0.334350585 (
10
)
N.n = (-1)
S
2
e’-127
(1+f ) =
= (-1)
0
2
139-127
(1.334350585) =
= (+1) (4096) (1.334350585) =
= 5465.5