YASKAWA yasnac i80m Instruction Manual page 330

Cnc system for machining centers
Table of Contents

Advertisement

2.14 MACROPROGRAM
(G65, G66, G67)*(Cont'd)
The
macroprogram proper
is:
(P6)
0
9082
;
G00X#
24
Y#25
;
G00Z#18
;
G01Z#26 F#9
;
G04P#21
;
GOOZ - [ROUND
[
#
18]
+
ROUND [
#
26]];
M99
;
I
arbitrarily assigned
program
No. "0
9082" for the
macroprogram.
gw
:
That looks OK.
*****************************
: Teacher,
that is
strange.
With this
program, point-R
and
point-Z
must
be instructed each
time.
:
That's
right.
Good
question.
In
an
ordinary canned cycle,
once point-R and
point-Z are instructed,
those values
are
saved.
Y-
:
Isn't
there,
any
good
idea ?
Yes,
thereis. In such
a case,
"common variables" are useful.
y
-
By using common
variables, you
first produce
a
Zi
macroprogram
that
specifies
the
positions
of point-R and
point-Z.
By
way
of
it,
add U and F.
-
306
-

Advertisement

Table of Contents
loading

Table of Contents