7.6 Structured Instructions
7.6.2 Forced termination of FOR to NEXT instruction loop
7-103
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
BREA
K
BREAK
7.6.2
Forced termination of FOR to NEXT instruction loop
BREAK
Function
(1) Forces an end to the FOR to NEXT instruction loop and shifts the operation to the pointer
specified for Pn. Only a pointer within the same program file can be assigned to Pn. If a
pointer of the other program file is used, an operation error will be returned.
BREAK(P)
P: Executing condition
:
indicates any of the following
instructions.
BREAK
BREAKP
Input argument,
EN:
Executing condition
:Bit
p:
Pointer number of branch destination when the repeat process
is forcibly terminated
:ANY16
Output argument,
ENO:
Execution result
:Bit
d:
Device number that stores the remaining numbers of repeats :ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
P
Bit
Word
Bit
Word
p
−
−
−
−
Universal
UD
High
Performance
Structured ladder
ST
B
REAK
EN
ENO
p
d
N
ot
supporte
d
d
F
orce
d
en
d
con
di
t
i
on
W
hen
force
d
en
d
con
di
t
i
on
i
s
sat
i
sf
i
e
d
I
f
the
B
REAK i
nstruct
i
on
i
s
not
execute
d,
program
returns
to
the
FOR i
nstruct
i
on
as
man
y
t
i
mes
as
the
num
b
er
spec
i
f
i
e
d
wi
th
the
FOR i
nstruct
i
on
.
B
REAK
EN ENO
p
d
FOR
EN ENO
n
**
NE
X
T
EN ENO
L
a
b
e
l_0
L
a
b
e
l_0
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: ......