YASKAWA yasnac i80m Instruction Manual page 268

Cnc system for machining centers
Table of Contents

Advertisement

2.14 MACROPROGRAM
(G65,
G66,
G67)*(Cont'd)
Table
2.14.4 Setting Parameter
Calling
G
code
Program
No.
to
be called
Number
of paris
'
Pm4480
3-digit
Max.
Pm4840
5-digit
Max.
1.
2.
to
to
to
23.
.
Pm4863
24.
Pm4503
24
pairs max.
(4)
Macro
call by M code
.
M*
* *
;
With this command,
a
macro/subprogram of the
program
No.
corresponding
to
the specified M code is called and executed. In this
case,
there are
two
methods
to
call
a
program.
The M
* *
*code
to
call
a macro/subprogram can be
set
by selecting
from a maximum. of 24 pairs
of M
codes
(each
in
up to
four
digits)
except
the
MOO,
M01.
M02, M30,
and internal
processing M codes. Any
desired
program
No.
to
be called
can
be
set
corresponding
to
the M
code thus
set.
In
addition,
the method of call shown above
can
be
set
for each M code.
Table
2.14.5 Setting Parameter
Calling
M code
Program
No.
to
be called
Number of pairs
Pm4504
4-digit
Max.
Pm4864
5
digit
Max.
1
.
2.
to
to
to
23.
Pm4887
Pm4527
24.
L
24 pairs max.
An
augment-
can
be
specified
for
macro program
code by M code.
In
this
block,
motion commands
must not
be
specified:
pm4020
D5
=
0
:
Call
without
augment
'
pm4020
D5 =T
:
Call with
augment
If more than one M code is used in
a
single block,
the first M code is
checked whether it is for
macro program
call. If Pm4020
(D5)
is
set
for
call with
augment,
the second M code is determined whether it is
a
normal
or
augment
M code
by
the
following
parameter:
Pm4020 D6 = 0: Normal M code
Pm4020 D6 =
1
: Argument specification
Unlike normal
M
code
commands,
while the
macro/subprogram calling
M codeis
being
executed, no M code or MF
output
is made.
-
244
-
:

Advertisement

Table of Contents
loading

Table of Contents