200
4 OPERATION CONTROL PROGRAMS
4.14 Program Control
Forced termination of repeat control: BREAK
There are no setting data.
• Repeat control with specified count (FOR - NEXT instruction) is forced to terminate, and the program from the next block of
NEXT is executed.
• BREAK is only described within the repeat control processing block between FOR and NEXT.
There are no operation errors.
■Program which forces to terminate the repeat control processing by FOR to NEXT when M0 or
M1 turns ON
Format Number of basic steps Usable steps
F/FS G
BREAK 5
IF M0 + M1
BREAK
IEND
NEXT
FOR #0 = K1 TO K10
#100 = #100 + K10