Appendices
A-6
CP2E CPU Unit Software User’s Manual(W614)
CONDITIONAL
JUMP
CJP --- The operation of CJP(510) is the basically the opposite of
JMP(004). When the execution condition for CJP(510) is ON, pro-
gram 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.
JUMP END JME --- Indicates the destination of a jump instruction.
FOR-NEXT
LOOPS
FOR --- The instructions between FOR(512) and NEXT(513) are repeated
a specified number of times. FOR(512) and NEXT(513) are used
in pairs.
BREAK LOOP BREAK --- Programmed in a FOR-NEXT loop to cancel the execution of the
loop for a given execution condition. The remaining instructions in
the loop are processed as NOP(000) instructions.
FOR-NEXT
LOOPS
NEXT --- The instructions between FOR(512) and NEXT(513) are repeated
a specified number of times. FOR(512) and NEXT(513) are used
in pairs.
Instruction Mnemonic Variations Symbol/Operand Function
N: Interlock number
CJP(510)
N
Instructions
jumped
Execution condition
Instruc-
tions
ex-
ecuted
Instructions in
this section are
not executed
and out-put
status is
maintained.
The instruction
execution time
for these
instructions is
eliminated.
N: Interlock number
JME(005)
N
FOR(512)
N
N: Number of loops
Repeated program section
Repeated N times
BREAK(514)
N repetitions
Condition a ON
Repetitions
forced to
end.
Processed as
NOP(000).
NEXT(513)