Modal Call; Macro Call By G Code - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

(2)
Modal call
(G66, G67)
A modal call command
sets
a
mode from which
a macroprogram
is
called. When given conditoins
are
met,
the
macroprogram
is actually
called and executed.
G67 is used
to
cancel
the call mode.
If
arguments
are specified.
G6G
must
always
be
placed
before all
arguments.
When G66 is
commanded,
G67
corresponding
to
it
must
be
commanded in
the same
block.
Table 2.14.3 Model Commanf
Calling-up
Conditions
l
Call condition
Mode
selling
code
Mode cancel code
After
move command execution
G66
G67
(a)
Call after
move
command execution
(G66)
G66
P
......
L
. . . . . .
(argument specification)
:
This
command
sets
a
mode from which
a
macroprogram
is called.
In each block after this command where
a
move command is given,
a
macroprogram
of
the
program
No.
specified by
P
is called after
the
movement
is
completed and executed
a
number of
times
as
specified by
L. If there is
an
argument
specification,
the
argument
is
passed
each time
a
macroprogram
is
called as in the case of the
simple
call command. In this
case,
the
relationship between
argument
address and local
variable is the same
as in simple
call
(G65).
(3)
Macro call
by
G code
G
* * *
(argument specification)
;
With this
command, a macro/subprogram
of the
program
No.
corresponding to
the
specified
G code is called and-executed.
The G
*
*
*code
to
call
a macro
/subprogram can be
set
by selecting
from
a
maximum of
24 pairs
of G codes
(each
in
up to
three
digits)
that are
not
used
in the NC equipment. Any
desired
program
No.
to
be
called
can be
set
corresponding
to
the G
code thus
set.
- 243

Advertisement

Table of Contents
loading

Table of Contents