Sequence Control Instructions
3-5-9
FOR-NEXT LOOPS: FOR(512)/NEXT(513)
Purpose
Ladder Symbols
Variations
Applicable Program Areas
Operands
238
The instructions between FOR(512) and NEXT(513) are repeated a specified
number of times. FOR(512) and NEXT(513) are used in pairs.
FOR(512)
N
NEXT(513)
Variations
Executed Each Cycle for ON Condition
Executed Each Cycle for ON Condition
Immediate Refreshing Specification
Block program areas
Not allowed
OK
N: Number of Loops
The number of loops must be 0000 to FFFF (0 to 65,535 decimal).
CIO 000000
ON
Normal
execution
N: Number of loops
Step program areas
Subroutines
OK
Section 3-5
CIO 000000
OFF
Instructions
processed
as
NOP(000).
(Outputs re-
main un-
changed.)
FOR(512)
NEXT(513)
Not supported
Interrupt tasks
OK
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?