Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 224

Table of Contents

Advertisement

3. Instructions
Differences between MILH(517) and MILR(518)
Differentiated instructions (DIFU, DIFD, or instructions with a @ or % prefix) operate differently in
interlocks created with MILH(517) and MILR(518).
When a program section is interlocked with MILR(518), a differentiated instruction will not be executed
when the interlock is cleared even if the differentiation condition was activated during the interlock
(comparing the status of the execution condition when the interlock started to its status when the
interlock was cleared).
When a program section is interlocked with MILH(517), a differentiated instruction will be executed
when the interlock is cleared if the differentiation condition was activated during the interlock
(comparing the status of the execution condition when the interlock started to its status when the
interlock was cleared).
Instruction
MILH(517)
MULTI-INTERLOCK DIFFER-
ENTIATION HOLD
MILR(518)
MULTI-INTERLOCK DIFFER-
ENTIATION RELEASE
Operation of Differentiated Instructions in an MILH(517) Interlock
If there is a differentiated instruction (DIFU, DIFD, or instruction with a @ or % prefix) between
MILH(517) and the corresponding MILC(519), that instruction will be executed after the interlock is
cleared if the differentiation condition of the instruction was established.
In the same way, a differentiated instruction will be executed if its execution condition is established at
the same time that the interlock is started or cleared.
Many other conditions in the program may cause the differentiation condition to be reset even if it was
established during the interlock. In this case, the differentiation instruction will not be executed when the
interlock is cleared.
Example
When a DIFFERENTIATE UP (DIFU(013)) instruction is being used and the input condition is OFF
when the interlock starts and ON when the interlock is cleared, DIFU(013) will be executed when the
interlock is cleared. (Differentiated instructions operate the same in the MILH(517) interlock as they
would in an IL(002) interlock.)
0.00
MILH
0
1. When CIO 0.00 is OFF (interlock starts), the DIFU's CIO 0.01 input condition is OFF.
2. The DIFU's CIO 0.01 input condition goes from OFF to ON while CIO 0.00 is OFF (DIFU interlocked),
3. When CIO 0.00 goes from OFF to ON (interlock cleared), DIFU is executed if CIO 0.01 is still ON.
0.01
DIFU
10.00
MILC
0
188
Operation of Differentiated Instructions
A differentiated instruction (DIFU, DIFD, or instruction with a @ or % prefix) will
be executed after the interlock is cleared if the differentiation condition of the
instruction was established while the instruction was interlocked. (The status of
the execution condition when the interlock started is compared to its status when
the interlock was cleared.)
A differentiated instruction (DIFU, DIFD, or instruction with a @ or % prefix) will
not be executed after the interlock is cleared even if the differentiation condition
of the instruction was established while the instruction was interlocked.
Timing chart
Not interlocked
ON
0.00
OFF
Status (OFF) at
start of interlock
ON
0.01
OFF
ON
10.00
OFF
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Interlocked
Not interlocked
ON
Differentiation condition established
Status (ON) when
OFF
interlock is cleared
MILH(517) interlock
DIFU(013) is executed.
1 cycle

Advertisement

Table of Contents
loading

Table of Contents