Macroprogram Examples; Canned Cycle - YASKAWA yasnac i80m Instruction Manual

Cnc system for machining centers
Table of Contents

Advertisement

2.14.11
Macroprogram Examples
We have
discussed'
many
complicated
rules
you
have
to
understand
to
write
macro prog
rams.
Now, let's
create
some
i
mac
reprograms
as/
exercises.
J
TEACHER
STUDENT
(1)
Canned
cycle
(G82)
: An example of
normal G82 command takes the
following
format:
(PI)
G91
:
(incremental
command)
G82X100. Y50. R-80. Z-40.
P3.0
F250
:
......
This command is divided into the
following and
executed
within
the
NC unit:
(P2)
+Z
G91
;
<!>
o~-
(DGOOXIOO, Y50
:
GDGOOZ—
80.
;
dXjOlZ— 40 F250
;
0GO4P3.
;
(Dwell)
©G00Z-((-80)
+
(-40))
;
&
I
<5>
X.Y
DWELL
<5>
First,
these
moving
distances
may
all be converted into
variables.
Y
ou mean
#
1
to
#33
local
variables ? But there
are type
I
and
type
II
local variables.
-
303
-

Advertisement

Table of Contents
loading

Table of Contents