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


 
2-41
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Sequence Control Instructions
2
IL/ILC
Hint
Precautions
The cycle time is not shortened when a section of the program is interlocked because the interlocked
instructions are executed internally.
In general, IL(002) and ILC(003) are used in pairs, although it is possible to use more than one
IL(002) with a single ILC(003) as shown in the following diagram. If IL(002) and ILC(003) are not
paired, an error message will appear when the program check is performed but the program will be
executed properly.
IL(002) and ILC(003) cannot be nested, as in the following diagram. (Use MILH(517)/MILR(518) and
MILC(519) when it is necessary to nest interlocks.)
If there are bits which you want to remain
ON in an interlocked program section, set
these bits to ON with SET just before
IL(002).
It is often more efficient to switch a program
section with IL(002) and ILC(003). When
several processes are controlled with the
same execution condition, it takes fewer
program steps to put these processes
between IL(002) and ILC(003).
IL
IL
A
A
a
b
IL
IL
A
ILC
B
Execution
condition
Program section
a b A B
OFF ON Interlocked Interlocked
OFF OFF Interlocked Interlocked
ON OFF Not interlocked Interlocked
ON ON Not interlocked Not interlocked
IL
A
B
B
IL
ILC
ILC