455
Temperature Sensor Units Section 7-5
Example 3
Temperature: −200.12°F
×100: −20012
Temperature Data: FFB1D4 (hexadecimal for −20012)
Example 4
Temperature: Open circuit (°F)
Temperature Data: 7FFFFFFF
Note (1) Leftmost digits are stored in the lower memory addresses. Treat the data
in the lower memory address as the leftmost digits when programming.
(2) Be sure that the data is read at least once every 125 ms to allow for the
CPU Unit’s cycle time and communications time. Correct data may not be
obtained if the read cycle is greater than 125 ms.
Programming Example The following programming example shows how to use 2-decimal-place Mode
for the following PC configuration.
Leftmost 3 Digits and Flags
Flags
Bits
Data
15
0
14
1
13
0
12
0
11 to 08
F
107 to 04
F
03 to 00
B
4 F F B
Flags
Rightmost 3 Digits and Flags
Flags
Bits
Data
15
1
14
1
13
0
12
0
11 to 08
1
07 to 04
D
03 to 00
4
C 1 D 4
Flags
Normal
°F
Leftmost
Normal
°F
Ri
htmost
×16
5
×16
4
×16
3
×16
2
×16
1
×16
0
Temperature
data
Temperature
data
Leftmost 3 Digits and Flags
Flags
Bits
Data
15
0
14
1
13
1
12
0
11 to 08
7
07 to 04
F
03 to 00
F
6 7 F F
Flags
Rightmost 3 Digits and Flags
Flags
Bits
Data
15
1
14
1
13
1
12
0
11 to 08
F
07 to 04
F
03 to 00
F
E F F F
Flags
Error
°F
Leftmost
Error
°F
Ri
htmost
×16
5
×16
4
×16
3
×16
2
×16
1
×16
0
Temperature
data
Temperature
data
CPU Unit
Inputs
CIO 0
CIO 1
Outputs
CIO 100
CIO 101
Inputs
CIO 2
CIO 3
Outputs
None
CP1W-TS001
Temperature Sensor Unit
Temperature unit setting:
0 (°C)
Two-decimal-place Mode:
1 (2 digits after decimal point stored)