Sample program, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual
Page 88
2 Instructions
2-52
CP1E CPU Unit Instructions Reference Manual(W483)
Sample program
When W0.00 and W0.01 are both ON, the instructions between MILH(517) with interlock number 0 and
MILC(519) with interlock number 0 are executed normally.
When W0.00 is OFF, the instructions between MILH(517) with interlock number 0 and MILC(519) with
interlock number 0 are interlocked.
When W0.00 is ON and W0.01 are OFF, the instructions between MILH(517) with interlock number 1
and MILC(519) with interlock number 1 are interlocked. The other instructions are executed normally.
i
W0.00
0.01
0.02
2.00
H0
OFF
OFF
W0.00 OFF
MILH
0
100.00
W0.01
MILH
1
100.01
CNT
1
#0010
SET
0.03
MILC
1
MILC
0
W0.00 and W0.01
both ON
W0.00 ON and W0.01
OFF
Executed
normally.
Executed
normally.
Outputs
interlocked.
Outputs
interlocked.
Held
Held
Executed
normally.