Omron CP1E-N@@D@-@ Computer Hardware User Manual


 
2-49
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequence Control Instructions
2
MILH/MILR/MILC
Hint
The cycle time is not shortened when a section of the program is interlocked by MILH(517) or
MILR(518) because the interlocked instructions are executed internally.
When nesting interlocks, assign interlock numbers so that the nested program section does not
exceed the outer program section.
Other instructions can be input between
the MILC(519) instructions, as shown in
the following diagram.
If there is an ILC(003) instruction between
an MILH(517) and MILC(519) pair, the pro-
gram section between MILH(517) and
ILC(003) will be interlocked.
a
b
MILH
0
MILC
0
MILC
1
A1
MILH
1
A2
A3
The nested program section
must not go beyond the outer
program section.
Execution
condition
Program section
a b A1 A2 A3
OFF ON Interlocked Interlocked Interlocked
OFF
ON OFF Not interlocked Interlocked Interlocked
ON Not interlocked Not interlocked Not interlocked
a
b
MILH
0
100.00
MILC
1
MILC
0
A1
MILH
1
100.01
A2
A3
Other instructions can be inserted
between two MILC(519) instructions. In
this case, sections A1 and A3 operate
together. (They are interlocked when “a”
is OFF, regardless of the ON/OFF status
of “b”.)
a
MILH
0
MILC
0
A1
ILC
A2
The MILC(519) instruction is ignored.
When input condition “a” is OFF, only
program section A1 is interlocked.
If there is an ILC(003) instruction,
the interlock is cleared at that point.