Omron CS1G/H-CPUxxH Instructions Manual page 52

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
MULTIPLE JUMP
JMP0(515)
JMP0
515
MULTIPLE JUMP
JME0(516)
END
JME0
516
FOR-NEXT
LOOPS
FOR(512)
FOR
512
N: Number of
loops
BREAK LOOP
BREAK(514)
BREAK
514
FOR-NEXT
NEXT(513)
LOOPS
NEXT
513
When the execution condition for JMP0(515) is OFF, all instructions
from JMP0(515) to the next JME0(516) in the program are processed
as NOP(000). Use JMP0(515) and JME0(516) in pairs. There is no
limit on the number of pairs that can be used in the program.
Execution
condition a ON
Instructions
executed
Execution
condition b ON
Instructions
executed
When the execution condition for JMP0(515) is OFF, all instructions
from JMP0(515) to the next JME0(516) in the program are processed
as NOP(000). Use JMP0(515) and JME0(516) in pairs. There is no
limit on the number of pairs that can be used in the program.
The instructions between FOR(512) and NEXT(513) are repeated a
specified number of times. FOR(512) and NEXT(513) are used in
pairs.
N
Repeated program section
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.
The instructions between FOR(512) and NEXT(513) are repeated a
specified number of times. FOR(512) and NEXT(513) are used in
pairs.
Function
Execution
condition a OFF
Instructions
jumped
Jumped instructions
are processed as
NOP(000). Instruction
Execution
execution times are
condition b OFF
the same as
NOP(000).
Instructions
jumped
Repeated N times
Condition a ON
N repetitions
Repetitions
forced to end.
Processed as
NOP(000).
Section 2-2
Location
Page
Execution
condition
Output
199
Required
Output
199
Not required
Output
201
Not required
Output
204
Required
Output
201
Not required
31

Advertisement

Table of Contents
loading

Table of Contents