/
Forcefully End FOR-NEXT Repetition
Forcefully End FOR-NEXT Repetition
Force FOR-NEXT to End: BREAK, BREAKP
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
BREAK (P) | S | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | - | - | - |
Functions
Forcefully end the FOR-NEXT instruction to repeat the operations.
The BREAK instruction can only be used while the FOR-NEXT is operated.
If not executed, the BREAK instruction cannot stop the FOR-NEXT instruction from repeating the operation for the designated number of times.
Example)
When M08 is turned OFF, the FOR-NEXT instruction will be operated.
When M08 is turned ON, the BREAK instruction will prevent the FOR-NEXT instruction from operating.
, multiple selections available,
Related content
FOR-NEXT Repetition
FOR-NEXT Repetition
More like this
Set or Reset Master Control
Set or Reset Master Control
More like this
Stop Sequence Program STOP
Stop Sequence Program STOP
More like this
End Main Routine Program Conditionally
End Main Routine Program Conditionally
More like this
Call the Sub Routine Program
Call the Sub Routine Program
More like this
Jump Between Rungs
Jump Between Rungs
More like this