Doc# E145701 B - 2
B: Shark® 100 Meter Modbus Map
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
FLOAT: 32-bit IEEE floating point number spanning 2
registers. The lower-addressed register is the
high order half (i.e., contains the exponent).
B.4: Floating Point Values
Floating Point Values are represented in the following format:
The formula to interpret a Floating Point Value is:
-1
sign
x 2
exponent-127
x 1.mantissa = 0x0C4E11DB9
-1
sign
x 2
137-127
x 1· 1000010001110110111001
-1 x 2
10
x 1.75871956
-1800.929
Formula Explanation:
C4E11DB9 (hex) 11000100 11100001 00011101 10111001
(binary)
The sign of the mantissa (and therefore the number) is 1, which represents a nega-
tive value.
The Exponent is 10001001 (binary) or 137 decimal.
Register 0 1
Byte 0 1 0 1
Bit 7 6543210765432107654321076543210
Meaning s eeeeeeeemmmmmmmmmmmmmmmmmmmmmmm
sign exponent mantissa
Register 0x0C4E1 0x01DB9
Byte 0x0C4 0x0E1 0x01D 0x0B9v
Bit 7 6543210765432107654321076543210
1 1000100111000010001110110111001
Meaning s eeeeeeeemmmmmmm
m mmmmmmmmmmmmmmm
sign exponent mantissa
1 0x089 + 137 0b011000010001110110111001