LEFM 200 Modbus User Manual IB0147 Rev. 8
December 2010 Page 41 Section 5
10000111 = exponent portion
Exponent = dec (10000111) –127 = 135 – 127 = 8
5. Mantissa:
0011000 11110011 10100010
The mantissa is deconstructed by summing up the binary to decimal conversions of the right
most 7 bits of the high-mid byte scaled by 2^7, the low-mid byte scaled by 2^15, and the low
byte scaled by 2^23:
Mantissa = decimal (0011000) / 2^7 + decimal (11110011) / 2^15 + decimal (10100010) / 2^23
Mantissa = 1.875000E-01 + 7.415771E-03 + 1.931190E-05
Mantissa = 1.949351E-01
6. The floating point number can then be constructed by the following:
FLOAT = (-1)
sign bit
(1 + Mantissa) 2
Exponent
FLOAT = (-1)
0
(1 + 1.949351E-01) 2
8
FLOAT = 1 (1.194935) 2
8
FLOAT = 305.9034