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) orMILR(518) because the interlocked instructions are executed internally.When nesting interlocks, assign interlock numbers so that the nested program section does notexceed the outer program section.Other instructions can be input betweenthe MILC(519) instructions, as shown inthe following diagram.If there is an ILC(003) instruction betweenan MILH(517) and MILC(519) pair, the pro-gram section between MILH(517) andILC(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.