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
0
15
3
4
7
8
11
12
13
14
Rightmost 3 Digits and Flags
0
4 3
7
8
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
11
12
13
14
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.
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......