EasyManua.ls Logo

turck BL20 Series - Page 498

turck BL20 Series
537 pages
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...
Appendix
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | more@turck.com | www.turck.com
496
Example of the conversion of negative numerical value
The following parameterization is used in the example:
”Pt100, -200…150°C”
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:
temperature value = 0.01 °C × decimal value = 0.01 °C (-19644) = -196.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…-0,1°C
is displayed as follows:
F830
hex…
FFFF
hex
(decimal: -2000…-1)
The value range:
0 °C…850°C
is displayed as follows:
0000
hex
2134
hex
(decimal: 0…8500)

Table of Contents

Related product manuals