Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 196

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
Example
3-4-9
FOR-NEXT LOOPS: FOR(512)/NEXT(513)
Purpose
Ladder Symbols
Variations
When CIO 0.00 is OFF in the following example, the instructions between
JMP0(515) and JME0(516) are processed as NOP(000) instructions and the
outputs maintain their previous status.
When CIO 0.00 is ON in the following example, the instructions between
JMP0(515) and JME0(516) are executed normally.
0.00
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
CIO 0.00
CIO 0.00
ON
OFF
Instructions
Normal
processed
execution
as
NOP(000).
(Outputs re-
main un-
changed.)
N: Number of loops
Section 3-4
FOR(512)
NEXT(513)
Not supported
163

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?

Questions and answers

Table of Contents