EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3. Instructions
194
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Program operation can be switched more efficiently by using interlocks with MILH(517) or MILR(518).
Instead of switching processing with compound conditions, insert an MILH(517) or MILR(518)
instruction before each process and an MILC(519) instruction after each process.
Unlike the IL(002) interlocks, MILH(517) and MILR(518) interlocks can be nested, so the operation of
similar programs will be different if MILH(517) or MILR(518) is used instead of ILC(002).
Program with MILH(517)/MILC(519) Interlocks
Program with IL(002)/ILC(003) Interlocks
If there are bits which you want to remain ON in a program section interlocked by MILH(517) or
MILR(518), set these bits to ON with SET just before the MILH(517) or MILR(518) instruction.
a
b
a
MILH
0
MILC
1
MILC
0
A1
A1
b
MILH
1
A2
A2
a
b
MILH
0
100.00
MILC
1
MILC
0
A1
MILH
1
100.01
A2
A3
Execution
condition
Program section
a b A1 A2 A3
OFF ON Interlocked Interlocked Not interlocked
OFF
ON OFF Not interlocked Interlocked Not interlocked
ON ON Not interlocked Not interlocked Not interlocked
a
b
IL
ILC
ILC
A1
IL
A2
A3
This program section is not
controlled by the interlock.
This ILC(003)
instruction is ignored
so ...
Execution
condition
Program section
a b A1 A2 A3
OFF ON Interlocked Interlocked Not interlocked
(Not controlled
by the
IL(002)/ILC(003)
interlock.)
OFF
ON OFF Not interlocked Interlocked
ON ON Not interlocked Not interlocked

Table of Contents

Related product manuals