230
PROGRAMMING EXAMPLES
96-8000
June 1999
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 F15. R-.9
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
%
SPECIAL C ANNED C YCLES
In this section, we will cover the special canned cycles that the Haas control offers. These canned cycles are
used in conjunction with other drilling, boring, and tapping cycles.
G70 = BOLT HOLE CIRCLE
G71 = BOLT HOLE ARC
G72 = BOLT HOLES ALONG AN ANGLE
The sample program below will show the format for using a G70 to drill a three inch diameter bolt hole pattern
combined with a G81 drilling canned cycle.
%
O5000
T1 M06
G00 G90 G54 X0 Y0 S1500 M03
G43 H01 Z.1 M08
G70 I1.5 J0 L8 G81 Z-1.0 F15. R.1
G00 G80 Z1.0 M09
G28 G91 Y0 Z0
M30
%