D300529 0115 - BL67 I/O modules
15-11
Analog value representation (analog input modules)
The temperature is thus calculated with the factor 0.01 (see below).
The example explains the general procedure to convert a hexadecimal or binary number coded as
two’s complement to a decimal number.
The hexadecimal value should be "B344".
1 The binary value is
B344 ↔ 1011.0011.0100.0100
2 Invert the binary number:
1011.0011.0100.0100 → 0100.1100.1011.1011
3 Add a "1"to the inverted binary number:
0100.1100.1011.1011
0000.0000.0000.0001
0100.1100.1011.1100
4 Convert the binary number into a decimal number:
0100110010111100 ↔ 19644
5 The temperature value is calculated as follows:
temperate value = 0,01 °C × decimal value = 0,01 °C × (-19644) = -19,44 °C
The temperature values can now be calculated according to the parameterization.
For the parameterization
"Pt100, -200 … 850 °C"
"Ni100, -60 … 250 °C"
"Pt200, -200 … 850 °C"
"Pt500, -200 … 850 °C"
"Pt1000, -200 … 850 °C"
"Ni1000, -60 … 250 °C"
use the equation:
temperature value = 0,1°C × decimal value
The value range:
-200 °C to -0,1°C
is displayed as follows:
F830
hex
to FFFF
hex
(decimal: -2000 to -1)