1 3 5
G Codes
96-8000 rev R June 2007
Program Example
Description
%
O4500
T1 M06
G00 G90 G54 X1.0 Y-1.0 S3500 M03
G43 H01 Z1.125 M08
G81 G99 Z-1.500 R.05 F20.
X2.0 G98
( Will return to starting point after executing cycle )
X6.0 G99
( Will return to reference plane after executing cycle )
X8.0
X10.0
X12.0 G98
X16.0 G99
X18.0 G98
G00 G80 Z2.0 M09
G28 G91 Y0 Z0
M30
%
X, Y Plane Obstacle Avoidance In A Canned Cycle:
There is also a way to avoid an obstacle in the X, Y plane during a canned cycle by placing an L0 in a canned
cycle line, we can tell the control to make an X, Y move without executing the Z-axis canned operation.
For example, we have a six-inch square aluminum block, with a one-inch by one-inch deep flange on each side.
The print calls for two holes centered on each side of the flange. We need to write a program to avoid each of the
corners on the block.
Program Example
Description
%
O4600
(X0,Y0 is at the top left corner, Z0 is at the top of the part)
T1 M06
G00 G90 G54 X2.0 Y-.5 S3500 M03
G43 H01 Z-.9 M08
G81 Z-2.0 R-.9 F15.
X4.0
X5.5 L0
(angular corner avoidance)
Y-2.0
Y-4.0
Y-5.5 L0
X4.0
X2.0
X.5 L0
Y-4.0
Y-2.0
G00 G80 Z1.0 M09
G28 G91 Y0 Z0
M30
%
Содержание Mill
Страница 12: ...96 8000 rev R June 2007 Safety 5 ...
Страница 14: ...96 8000 rev R June 2007 Safety 7 LATHE WARNING DECALS ...
Страница 15: ...8 Safety 96 8000 rev R June 2007 ...
Страница 17: ...10 Introduction 96 8000 rev R June 2007 ...
Страница 117: ...110 4 5 Axis Programming 96 8000 rev R June 2007 ...
Страница 199: ...Settings 192 96 8000 rev R June 2007 ...
Страница 213: ...206 Maintenance 96 8000 rev R June 2007 ...