EasyManua.ls Logo

Shark MP200 - B.4: Floating Point Values

Shark MP200
496 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Doc# E166703 B-2
B: Modbus Map Overview
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
Electro Industries/GaugeTech
The Leader In Power Monitoring and Smart Grid Solutions
SINT32/UINT32: 32-bit signed/unsigned integer spanning 2
registers - the lower-addressed register is the
high order half
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)
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

Table of Contents

Related product manuals