EasyManua.ls Logo

LS Industrial Systems XBC-E Series - Page 406

LS Industrial Systems XBC-E Series
542 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Instruction Details
XBC E-Type Main Unit 6-289 Ve r. 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.
( )
P
00051
BREAK
M
00000
FOR 4
( )
( )
FOR
5
NEXT
( )
NEXT
( )
End of
loop
BREAK
BREAK

Table of Contents

Related product manuals