V2.01
25361_EDEBD
A0281-2320-1_EN
55
Example 2:
-12.55155 decimal = 0xC148D325 hex
Address
+0
+1
+2
+3
Format
SEEEEEEE
EMMMMMMM MMMMMMMM MMMMMMMM
Binary
1 1 0 0 0 0 0 1
0 1 0 0 1 0 0 0
1 1 0 1 0 0 1 1
0 0 1 0 0 1 0 1
Hex
C1
48
D3
25
Example 3:
45.354 decimal = 0x42356A7F hex
Address
+0
+1
+2
+3
Format
SEEEEEEE
EMMMMMMM MMMMMMMM MMMMMMMM
Binary
0 1 0 0 0 0 1 0
0 0 1 1 0 1 0 1
0 1 1 0 1 0 1 0
0 1 1 1 1 1 1 1
Hex
42
35
6A
7F
Exponent: 10000100 bin = 132 dec.
Exp.= 132-127=5
Mantissa: S=0
Sign=positive
01101010110101001111111 bin
Decimal point added to the first position of the mantissa
01101010110101001111111
Leading 1 in front of the decimal point
1. 01101010110101001111111
Taking the exponent into account (=5)
101101. 010110101001111111
to the left of the decimal point:
101101 bin = 25+ 23+ 22+20 =
45 dec.
To the right of the decimal point:
010110101001111111 bin =
2-2 + 2-4 + 2-5 + 2-7 + 2-9 + 2-12 + 2-13 + 2-14 + 2-15 + 2-16 + 2-17 +
2-18 = 0.3540001 dec
Final result: +45.03540001 dec.
Data point description for the Modbus protocol
Содержание F144-MS-1V1C6-6RO-6DO-3
Страница 67: ...Notes V2 01 25361_EDEBDA0281 2320 1_EN 67 ...