453
Temperature Sensor Units Section 7-5
Operation
Two-decimal-place
Mode
If pin 2 on the DIP switch is turned ON, values are stored to two decimal
places. In this case, temperature data is stored as 6-digit signed hexadecimal
(binary) data with 4 digits in the integer portion and 2 digits after the decimal
point. The actual data stored in memory is 100 times the actual value, i.e., the
decimal point is not indicated. Methods for handling this data are described in
this section.
Note When set to store values to two decimal places, temperature data as far as
two digits after the decimal point is converted to 6-digit binary data, but the
actual resolution is not 0.01°C (°F). For this reason, there may be skipping
and inaccuracies in the first digit after the decimal point (0.1). Treat any reso-
lution above that specified for the normal data format as reference data.
Temperature Data Partitioning and Structure
Temperature Data (Actual Temperature x 100 Binary)
CIO 2
D1
1: Negative, 0: Non-negative
16
3
16
2
16
1
16
0
0 0 0 1/0 1/0
D0
CY
(when using SCL2 instruction)
Binary to BCD conversion
10
3
10
2
10
1
10
0
0: If data non-negative, "0000" stored in D1.
1: If data negative, "0001" stored in D1.
Leftmost 3 Digits and Flags
015 347811121314
Rightmost 3 Digits and Flags
0 4 378
Not used.
Always 0
Temperature data
Temperature data
@ @ @ @ @ @
Leftmost/
Rightmost Flag
Temperature
Unit Flag
Open-circuit
Flag
0: Leftmost
1: Rightmost
0: °C
1: °F
0: Normal
1: Error
×16
5
×16
3
×16
4
×16
2
×16
0
×16
1
15 11121314
Leftmost/
Rightmost Flag
0: Leftmost
1: Rightmost
Temperature
Unit Flag
0: °C
1: °F
Open-circuit
Flag
0: Normal
1: Error
Not used.
Always 0
Leftmost/Rightmost Flag: Indicates whether the leftmost or rightmost 3 digits are provided.
Temperature Unit Flag: Indicates whether the temperature is in °C or °F.
Open-circuit Flag: Turns ON (1) when an open-circuit is detected. The temperature
data will be 7FF FFF if this flag is ON.