Program Call Functions; Subprogram Call (M98/M99) - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

2.13
PROGRAM SUPPORT FUNCTIONS (Cont'd)
Program Call Functions
Subprogram call
(M98/M99)
This function permits calling
up a
subprogram that has been stored
in
memory
after appending the
appropriate program
No. and
executing
it
any
number of times.
(1)
The
following
M codes are used.
2.13.6
2.13.6.1
Table 2.13.11
Subprogram
M Code
Meaning
M98
Subprogram call-up
M99
Subprogram
End
(2)
Subprogram call
(M98)
|
M98P
L
;
|
With
this
command,
it
is
possible
to
call
a subprogram
of the
program
No.
specified by
P and
execute
it
a
number of times
specified by L.
If L is omitted, the subprogram is executed onetime. It is also
possible
to
call another subprogram from the called subprogram.
Such
multiplex
calls
can be nested
up to
quadruple calls.
(3)
Subprogram
format
(M99)
Subprograms
must
be created in the following format
and
must
be
saved in
part
program
memory
before
they
can be called.
-
-
PROGRAM NO
o
M
M
1
1
:
SUBPROGRAM END
Fig. 2.13.28 Subprogram
Format
(M99)
-
218
-

Advertisement

Table of Contents
loading

Table of Contents