433
Temperature Sensor Units
Section 7-5
Programming with SCL2(
−
) Instruction
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.
2
#7FFF
1000.00
CMP(020)
1000.00
2
#7FFE
Always ON
P_On
CMP(020)
P_EQ
01000
P_CY
P_EQ
#0000
D1
MOV(021)
2
D10
SCL2(486)
D0
P_CY
#0001
D1
MOV(021)
ON when initialization complete.
Execution
condition
Detects an open-circuit alarm.
ON when an open-circuit alarm has
been detected.
Parameter settings for data conversion:
When the converted value is non-
negative, stores #0000 in D00001.
When the converted value is
negative, stores #0001 in D00001.
Detects completion of input 0
initialization.
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.
Summary of Contents for CP1H-CPU - 05-2006
Page 2: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised May 2006...
Page 3: ...iv...
Page 11: ...xii TABLE OF CONTENTS...
Page 15: ...xvi...
Page 19: ...xx...
Page 31: ...xxxii Conformance to EC Directives 6...
Page 71: ...40 Function Blocks Section 1 5...
Page 133: ...102 Computing the Cycle Time Section 2 7...
Page 169: ...138 CPM1A Expansion I O Unit Wiring Section 3 6...
Page 411: ...380 Clock Section 6 8...
Page 519: ...488 Replacing User serviceable Parts Section 10 2...
Page 527: ...496 Standard Models Appendix A...
Page 535: ...504 Dimensions Diagrams Appendix B...
Page 628: ...597 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 629: ...598 Connections to Serial Communications Option Boards Appendix F...
Page 659: ...628 PLC Setup Appendix G...
Page 665: ...634 Index work words 159 write protection 370...
Page 667: ...636 Revision History...