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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
Variations
Applicable Program Areas
Description
Flags
Precautions
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
Not allowed
OK
Program BREAK(514) between FOR(512) and NEXT(513) to cancel the
FOR-NEXT loop when BREAK(514) is executed. When BREAK(514) is exe-
cuted, the rest of the instructions up to NEXT(513) are processed as
NOP(000).
N repetitions
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
A BREAK(514) instruction cancels only one loop, so several BREAK(514)
instructions (the number of levels nested) are required to escape from nested
loops.
BREAK(514) can be used only in a FOR-NEXT loop.
Step program areas
Subroutines
OK
Condition a ON
Repetitions
forced to end.
Processed as NOP(000).
Operation
OFF
OFF
OFF
Section 3-4
BREAK(514)
Not supported
Not supported
Interrupt tasks
OK
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents