Omron CP1E Series User Manual page 208

Cp1e cpu unit hardware
Table of Contents

Advertisement

9 Using Expansion Units and Expansion I/O Units
A200.11 (First Scan Flag)
P_On (Always ON Flag)
P_EQ
W0.00
2.13
2.15 (leftmost digits)
W0.02
2.15 (leftmost digits)
2.15 (rightmost digits)
W0.03
W102.7 (non-negative data)
W102.7 (negative data)
9-48
MOV
#0000
D102
MOV
#0100
D103
CMP
2
#7FFE
W0.00
(open-circuit detected)
W0.01
SET W0.02
MOV
2
W100
(3)
MOVD
002
#0020
W101
(4)
MOVD
2000
#0300
W101
(5)
MOVD
2000
#0011
W102
REST W0.02
SET W0.03
BCDL
W101
D100
CLC
−C
D102
W101
H0
−C
D103
W102
H1
BCDL
H0
D100
MOVD
#0008
#0300
D101
REST W0.03
(1)
Sets D103 and D102 to #0100 and
#0000, respectively.
Detects completion of input 0 initialization.
ON when input 0 has been initialized.
Open-circuit alarm output
(2)
Leftmost digits moved to W100.
Leftmost and rightmost digits rearranged
and moved to W102 and W101.
Data rearrangement completed.
(6)
If the temperature data is non-negative, the
binary data in W102 and W101 is converted to
BCD and placed in D101 and D100.
(7)
If the temperature data is negative, the 2's
complement data in W102 and W101 is
converted to binary data representing the
absolute value of the temperature input and
placed in H1 and H0.
(8)
The binary data in H1 and H0 is
converted to BCD and placed in D101
and D100.
(9)
"1" is written to the bit in D101 indicating
negative data.
CP1E CPU Unit Hardware User's Manual(W479)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents