YASKAWA yasnac i80m Instruction Manual page 332

Cnc system for machining centers
Table of Contents

Advertisement

2.14 MACROPROGRAM (G65, G66, G67)*(Cont'd)
gW
: Very good.
****************************
:
But this canned
cycle always
returns to
the initial
point.
gjy
:
That's right. Initial point
return
(G98)
and R-point
return
y
(G99) are
invalid. That's
a
problem.
To
overcome this
problem,
you must
check in which
state
G98 and G99
are
now
by using a
system
variable called
"current
value of model
information
command."
then
change
the
command for the
return
destination of the tool.
:
Because G98 and G99
are
G codes in
group
"10,"
I should
use
system
variable #4010. AmI
right?
G/p
: Yes, you're right. And
you
change the command for
the
yj
return
destination of the tool
by using command "IF...
GOTO..." In that
way,
let
us make
one
more improvement.
That is
to
say,
we
make sure that
even
after execution of this
macro,
the G codes in
group
"01" before execution are saved.
The G codes in
group
"01"
include GOO
to
G03 and
so on.
:
This is rather difficult... Is the
next
program
good
?
-
308
-

Advertisement

Table of Contents
loading

Table of Contents