Omron CJ2 - 02-2010 User Manual page 483

Cj2 cpu unit software
Table of Contents

Advertisement

Instruction
Mnemonic
INTERLOCK
IL
002
INTERLOCK
ILC
003
CLEAR
MULTI-INTER-
MILH
517
LOCK DIFFER-
ENTIATION
HOLD
MULTI-INTER-
MILR
518
LOCK DIFFER-
ENTIATION
RELEASE
MULTI-INTER-
MILC
519
LOCK CLEAR
JUMP
JMP
004
CJ2 CPU Unit Software User's Manual
Code
Symbol/Operand
IL(002)
ILC(003)
MILH (517)
N
D
N: Interlock number
D: Interlock Status Bit
MILR (518)
N
D
N: Interlock number
D: Interlock Status Bit
MILC (519)
N
N: Interlock number
JMP(004)
N
N: Jump number
Function
Interlocks all outputs between IL(002) and ILC(003)
when the execution condition for IL(002) is OFF.
IL(002) and ILC(003) are normally used in pairs.
Execution
Execution
condition ON
condition OFF
Execution
condition
Normal
Interlocked section
execution
of the program
All outputs between IL(002) and ILC(003) are interlocked
when the execution condition for IL(002) is OFF. IL(002)
and ILC(003) are normally used in pairs.
When the execution condition for MILH(517) is OFF, the
outputs for all instructions between that MILH(517)
instruction and the next MILC(519) instruction are inter-
locked. MILH(517) and MILC(519) are used as a pair.
MILH(517)/MILC(519) interlocks can be nested (e.g.,
MILH(517)-MILH(517)-MILC(519)-MILC(519)).
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 differentia-
tion condition of the instruction was established.
When the execution condition for MILR(518) is OFF, the
outputs for all instructions between that MILR(518)
instruction and the next MILC(519) instruction are inter-
locked.MILR(518) and MILC(519) are used as a pair.
MILR(518)/MILC(519) interlocks can be nested (e.g.,
MILR(518)-MILR(518)-MILC(519)-MILC(519)).
If there is a differentiated instruction (DIFU, DIFD, or
instruction with a @ or % prefix) between MILR(518) and
the corresponding MILC(519), that instruction will not be
executed after the interlock is cleared even if the differ-
entiation condition of the instruction was established.
Clears an interlock started by an MILH(517) or
MILR(518) with the same interlock number.
All outputs between MILH(517)/MILR(518) and the cor-
responding MILC(519) with the same interlock number
are interlocked when the execution condition for
MILH(517)/MILR(518) is OFF.
When the execution condition for JMP(004) is OFF,
program execution jumps directly to the first
JME(005) in the program with the same jump
number. JMP(004) and JME(005) are used in pairs.
Execution condition
Instruc-
Instructions
tions
jumped
ex-
ecuted
Appendices
Location
Output
Required
Outputs
interlocked.
Output
Not
required
Output
Required
Output
Required
Output
Not
required
Output
Required
Instructions in
this section
are not
executed and
out-put status
is maintained.
The instruction
execution time
for these
instructions is
eliminated.
Execution
condition
A-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents