7.6 Structured Instructions
7.6.2 Forced termination of FOR to NEXT instruction loop
7-105
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
BREA
K
BREAK
Program Example
In the following program, the forced termination is executed on the processes in the FOR to
NEXT instruction loop when the value of Var_D0 reaches 30 (when the FOR to NEXT instruction
loop has been executed 30 times).
[Structured ladder]
Remark
The value 71 is stored to Var_D1 when the BREAK(P) instruction is executed.
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......