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.
Содержание Sysmac CP1H
Страница 2: ......
Страница 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Страница 4: ...iv...
Страница 10: ...x...
Страница 18: ...xviii...
Страница 22: ...xxii...
Страница 34: ...xxxiv Conformance to EC Directives 6...
Страница 76: ...42 Function Blocks Section 1 5...
Страница 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Страница 372: ...338 Analog I O XA CPU Units Section 5 5...
Страница 578: ...544 Trouble Shooting Section 8 7...
Страница 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Страница 668: ...634 Standard Models Appendix A...
Страница 669: ...635 Appendix B Dimensions Diagrams X XA and Y CPU Units 90 100 110 140 150 8 85 Four 4 5 dia holes...
Страница 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Страница 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Страница 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Страница 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Страница 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Страница 808: ...774 Revision History...
Страница 809: ......