
Originally Posted by
rfdoyle
Yeah, I can post the code. Just forgot to copy it off of the mill.
As far as the jump height... it depends on how many pieces you have to do. I'm not familiar with the G98 but I don't think that will work within a drilling cycle. IMO.... If there is just a few, I would make the retract plane the same for all. My calculations come up with about a 7 second longer cycle. This is based on 6 holes that would travel .5 inches more (.6 retract) at 26.78 ipm.
If you have a lot of parts and are really worried about it then I would set up 3 drill cycles. 1 for the first 4 holes at Z.1, 1 for the next 2 at Z.5 or .6, and a 3rd for the last 2 holes at Z.1 again. This kinda sucks from the stand point you have 3 cycles to maintain/update. I've edited the code below to what should work on my mill. Don't know if your control is the same.
N1 T1 M6;(1/4-28 TAP HOLES)
S750 M3
G00 X.8961 Y-1.374
'LOW RETRACT'
Z.1
G84 X.8961 Y-1.374 Z.19 F26.78
Y-3.372
Y-5.37
Y-7.368
G80
'HIGHER RETRACT'
G0 Z.6
X11.6463 Y-7.368
G84 X11.6463 Y-7.368 Z.69 F26.78;(NEED TO CLEAR .5 TALL CLAMPS)
Y-5.37
G80
'LOW RETRACT'
G0 X17.654 Y-3.372
Z.1
G84 X17.654 Y-3.372 Z.19 F26.78
Y-1.374
G80
G0 Z.1 M9
M22