Macroprogram Call; Simple Call - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

2.14
MACROPROGRAM
(G65, G66, G67)*(Cont'd)
Macroprogram
Call
2.14.1
A Macropiogram is normally executed in its called format.
In
this
case,
a macroprogram
is called in the
following ways:
Table 2.14.1 Calling up of Macro
Program
Command
code
Remarks
MeLhod of
call
.
Simple
call.
C65
Modal
call
(a)
C66
G67
to
cancel
G code call
G*
* *
G command in
3 digits
M code call
M*
*
*
M command
in
2
or 4
digits
S
code call
S*
* *
S command
in
6
T*
* *
T command
in
4
T code call
B code call
B*
*
*
B command
in 4 digits
(1)
Simple call
(G65)
G65 P
......
L:
. . . . .
(Argument specification)
;
With this command,
a macroprogram
of the
program
No.
specified by
P is called and executed
a
number
of times
as
specified by L.
If it
is
necessary
to
pass
argument to
the
macroprogram,
the
argument
can
be specified in
this .block.
Table 2.14.2
Meaning
Number
nf digits
Address
P
Program No.
5 digits
Number of
repetitions
9 digits
L
Argument specification:
A real number is
assigned
to
the local
variable that
corresponds
to
the level of the
called
macroprogram. (For
details, refer
to
the
description
of
argument
specification.)
When
specifying
arguments,
be
sure
to
place
G65 before
all
arguments.
Any
commands before G65
are
processed
as
normal
commands,
and
move to macro-program
after completion of
processing.
-
242
-

Advertisement

Table of Contents
loading

Table of Contents