For-Next Loops: For(512)/Next - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents