39
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-3 Sequence Control Instructions
MULTI-INTER-
LOCK DIFFER-
ENTIATION
HOLD
MILH
517
CS/CJ
-series CPU
Unit Ver. 2.0 or later
and CJ2 CPU Units
only
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 interlocked. 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 dif-
ferentiation condition of the instruction was established while it was
interlocked.
Output
Required
187
MULTI-INTER-
LOCK DIFFER-
ENTIATION
RELEASE
MILR
518
CS/CJ
-series CPU
Unit Ver. 2.0 or later
and CJ2 CPU Units
only
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 interlocked. 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 differentiation condition of the instruction was established.
Output
Required
187
MULTI-INTER-
LOCK CLEAR
MILC
519
CS/CJ
-series CPU
Unit Ver. 2.0 or later
and CJ2 CPU Units
only
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 corresponding
MILC(519) with the same interlock number are interlocked when the
execution condition for MILH(517)/MILR(518) is OFF.
Output
Not required
187
JUMP
JMP
004
Output
Required
196
CONDITIONAL
JUMP
CJP
510
Output
Required
199
JUMP END
JME
005
Indicates the end of a jump initiated by JMP(004) or CJP(510). Output
Not required
196
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
MILH (517)
N
D
N: Interlock number
D: Interlock Status Bit
MILR (518)
N
D
N: Interlock number
D: Interlock Status Bi
MILC (519)
N
N: Interlock number
JMP(004)
N
N: Jump number
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
Instructions
jumped
Instructions in this section
are not executed and out-
put status is maintained.
The instruction execution
time for these instructions
is eliminated.
Instructions
executed
CJP(510)
N
N: Jump number
The operation of CJP(510) is the basically the opposite of JMP(004).
When the execution condition for CJP(510) is ON, program execution
jumps directly to the first JME(005) in the program with the same jump
number. CJP(510) and JME(005) are used in pairs.
Execution
condition OFF
Execution
condition ON
Instructions
jumped
Instructions in this section
are not executed and out-
put status is maintained.
The instruction execution
time for these instructions
is eliminated.
Instructions
executed
JME(005)
N
N: Jum
number