Sequence Control Instructions
3-5-7
FOR-NEXT LOOPS: FOR(512)/NEXT(513)
Purpose
Ladder Symbols
Variations
Applicable Program Areas
Operands
The instructions between FOR(512) and NEXT(513) are repeated a specified
number of times. FOR(512) and NEXT(513) are used in pairs.
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
FOR(512)
N
N: Number of loops
NEXT(513)
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
201