Forced Termination Of Repeat Control: Break - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.17.4 Forced termination of repeat control: BREAK

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
[Functions]
[Errors]
[Program examples]
BREAK
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
There are no setting data.
(1) Repeat control with specified count (FOR - NEXT instruction) is forced to
terminate, and the program from the next block of NEXT is executed.
(2) BREAK is only described within the repeat control processing block between FOR
and NEXT.
(1) There are no operation errors.
(1) Program which forces to terminate the repeat control processing by FOR to NEXT
when M0 or M1 turns ON.
FOR #0 = K1 TO K10
#100 = #100 + K10
IF M0 + M1
BREAK
IEND
NEXT
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
5 - 159
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
G
3
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents