Chapter 6 Instruction Details
XBC E-Type Main Unit
6-289
Ver. 1
6.39.2 BREAK
Instruction
Area Available
Step
Flag
P M K
F
L
T
C
S
Z D.x R.x
Con
st
U
N
D
R
Error
(F110)
Zero
(F111)
Carry
(F112)
BREAK
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1
-
-
-
1) BREAK
(1) Used to escape from FOR~NEXT loop.
(2) BREAK instruction can not be used solely. It shall be used only between FOR~NEXT.
If not used between FOR~NEXT, it will cause program error and make program downloading unavailable.
2) Program Example
(1) Where M0000 if On ignores 5 FOR~NEXT loops and escapes to ‘Loop End’ position to continue executing
the operation.
( )
P00051
BREAK
M00000
FOR 4
( )
( )
FOR 5
NEXT
( )
NEXT
( )
End of
loop
BREAK
BREAK
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...