User Manual

Communication
109357_en_00 PHOENIX CONTACT 175 / 196
23 mantissa bits precision of 6 decimal places
Decimal value range: ±1.175·10-38 to 3.40282·10+
38
Register in float
32-bit value from the registers: 0X41340000 = 01000001 00110100 00000000 00000000b
Bit31 = 0: SB, sign bit. This number is positive.
Bit30 - Bit23: E, exponent. In this case: 130.
Bit22 - Bit0: M, mantissa. Here it is 3,407,872.
Z = 11.25
Float in register
Floating-point number X = 11.25
SB, sign bit. This number is positive => Bit31 = 0 / 0X00 / 0b
In this case 130 => Bit30 - Bit23 = 130 / 0X82 / 10000010b
mantissa. Here it is 3,407,872 => Bit22 - Bit0 = 3407872 / 0x340000 / 0110100 00000000
00000000b
32-bit value for the register: 0X41340000 = 01000001 00110100 00000000 00000000b
SInt16
Signed integer:
2 byte, 16 bit
Value range: -2
15
… 2
15
-1
-32,768 … 32,767
UInt16
Unsigned integer:
2 byte, 16 bit
Value range: 0 … 2
16
-1
0 … 65,535
UInt32
Unsigned integer:
4 byte, 32 bit
Value range: 0 … 2
32
-1
0 … 4294967295
SInt32
Signed integer:
4 byte, 32 bit
Value range: -2
31
… 2
31
-1
-2147483648 … 2147483647