Omron CP1L CPU UNIT - 06-2007 Operation Manual page 482

Cp1l cpu unit
Table of Contents

Advertisement

Temperature Sensor Units
Two-decimal-place
Mode
Note
Programming with SCL2( − ) Instruction
Always ON
P_On
Execution
1000.00
condition
P_EQ
P_EQ
P_CY
Operation
CIO 2
16
3
16
2
16
1
16
0
D1
0
0
0
1/0
1: Negative, 0: Non-negative
0: If data non-negative, "0000" stored in D1.
1: If data negative, "0001" stored in D1.
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.
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.
CMP(020)
2
#7FFE
1000.00
CMP(020)
2
#7FFF
01000
SCL2(486)
2
D10
D0
MOV(021)
#0000
D1
P_CY
MOV(021)
#0001
D1
Binary to BCD conversion
D0
10
3
10
2
10
1
Section 7-5
Detects completion of input 0
initialization.
ON when initialization complete.
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.
CY
(when using SCL2 instruction)
10
0
1/0
449

Advertisement

Table of Contents
loading

Table of Contents