Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: aquatix on January 22, 2009, 04:26:57 AM
-
Hello everyone!
I want to drill some holes repeatablly
The part is steel axle surrounded by plastic and I want to drill through the plastic part with faster feedrate, than the steel center axle (this will save me time because I am talking about thousands of holes)
Do you have any idea how the gcode should look like?
-
You could program 2 holes at the same X and Y location.
Drill the first hole at the correct depth for the plastic surface with the appropriate feedrate, rapid retract, rapid down at first depth and then change feed (steel)for second hole.
-
Thee are several way s to do it.
1. Use a drill cycle
G0 x0y0z0 ( Move to location)
G81 Z-1 F20 R0.0 ( Call drill cycle, drill down thru the plastic to the steel level at Z-1 F20., retract to clear chips)
Z-2 F10 R-1 (rest R level to beginnig of steel and change Fto 10 drill through steel to Z-2. retract to -1)
G0 Z0 (retract to ZO, clearZ )
X1Y0 Z-1 F20 R0 (next HOLE)
Z-2 F10 R-1
Z0
G80
OR Just code the hole by hand
G0 X0Y0
G1 Z-1 F20
Z-2 F10
G0 Z0
X1Y0
G1 Z-1 F20
Z-2 F10
G0 Z0
Etc
(;-) TP
-
Thank you for your help.
This is what I am running now..
I have to experiment because I am new to this..
O5000 (D_DRILL_T1.TAP)
( MCV-OP ) (19-NOV-2008)
(SUBROUTINES: O2 .. O0)
G90 G17
G80 G49 G40
G54
G91 G28
G90
N1 M6 T1
( TOOL -1- DRILL DIA 3.0 MM )
G90 G00 G40 G54
G43 H1 D31
S400 M3
Z20.
G0 X-120.
Y-35.
S1800 M3
M8
(------------------)
(D-DRILL-T1 - DRILL)
(------------------)
X-120. Y-37. Z-2.
G98 G83 Z-25. R1. Q2. F100
X-80.
X-40.
X0.
X40.
X80.
X120.
G0 X-120.
X-120. Y-37. Z-2.
G98 G83 Z-25. R1. Q2. F100
X-80.
X-40.
X0.
X40.
X80.
X120.
G0 X-120.
X-120. Y-37. Z-2.
and so on..