Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 73

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
FOR-NEXT
FOR(512)
LOOPS
FOR
512
N: Number of
loops
BREAK LOOP
BREAK(514)
BREAK
514
FOR-NEXT
NEXT(513)
LOOPS
NEXT
513
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
Repeated N times
Condition a ON
N repetitions
Repetitions
forced to end.
Processed as
NOP(000).
Section 2-2
Location
Page
Execution
condition
Output
238
Not required
Output
241
Required
Output
238
Not required
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents