Академический Документы
Профессиональный Документы
Культура Документы
first bit 0
invert 1 SIGN
FLOAT 3.1415927E+00
Courtesy of
www.simplymodbus.ca
Rev04 - Dec18, 2015
... > check Analysis Toolpack
Least significant
INSTRUCTIONS
< Enter these 2 words as decimal numbers
< or enter these 2 words in hex
low byte
219 < or enter these 4 bytes as decimal numbers
DB < or enter these 4 bytes in hex
11011011 < or enter these 4 bytes as 8 bit binary strings
1 SIGN
1st bit 0
6 EXPONENT
add 127 133
next 8 bits 10000101
1110110
32 bits binary 01000010 11110110 11100110
4 bytes hex 42 F6 E6
decimal 66 246 230
byte1 byte2 byte3
high byte
2 words hex 42F6 E666
decimal 17142 58982
high word low word
most significant
Courtesy of
www.simplymodbus.ca
Rev04 - Dec18, 2015
if no exponent bits
mantissa
40 00 00 hex
multiply
01100110
66
102
byte4
low byte
Least significant
if no exponent bits
for numbers near zero
1.9289063
0.92890625 1
0.42890625 1
0.17890625 1
0.05390625 1
0.05390625 0
0.02265625 1
0.00703125 1
0.00703125 0
0.003125 1
0.001171875 1
0.0001953125 1
0.0001953125 0
0.0001953125 0
7.32421875E-05 1
0.000012207 1
0.000012207 0
0.000012207 0
4.57763672E-06 1
7.62939453E-07 1
7.62939453E-07 0
7.62939453E-07 0
2.86102295E-07 1
4.76837159E-08 1
0
round up the previous bit if this bit is 1