YASKAWA yasnac i80m Instruction Manual page 243

Cnc system for machining centers
Table of Contents

Advertisement

(4)
Automatic
return
from subprogram
(M99)
|
M99;
|
Command M99 in
an independent
block
at
the end of the
subprogram.
If M99 is commanded in
a program (subprogram)
at
the
jump
destination
specified by
M98
above, control automatically
returns
to
the
block
next to
the main
program
from which the subprogram has
been called.
I
(ÿExample
of
Programmingÿ
0100:
N 001
G 00
N 002 M 98 P200
L3;
N 003
N 004 M 98 P200:
N 005
;
0200:
N001
N 002
:
;
:
N050
M99;
/7t
ONE
THREE
TIME TIMES
Fig. 2.13.29 Subprogram
Execution Process
Special use of
M98
|
M98P-L.-Q...;
|
Enter
the
above command
to
start
the
called
subprogram from the
sequence
number
specified by
Q.
Use
up
to
four
digits
for the
sequence number.
-
219
-

Advertisement

Table of Contents
loading

Table of Contents