Originally Posted by
g-codeguy
I've used the G80 series calls a little on our newer lathes that have that option, but I am nowhere near familiar enough with them to answer that question.
However, I have the G65P9136 deep drill subprogram that came on Hardinge lathes that I've modified quite a bit. The original Hardinge program allows for specifying depth of the first peck plus setting the minimum depth of cuts (until the last one). The first...and succeeding pecks...are cut in half until the specified minimum peck depth is reached. Of course the last peck is what it is unless you do the math to figure it out and change passed values to control it.
I modified it to allow for specifying the percentage for reducing following pecks (versus halving) plus other options such as slowing feedrate and/or RPM at a specified depth (which need not be the same if changing both feedrate and RPM). I also modified it so IPM can be used to run live tooling on our older lathes that don't allow IPR with live tooling. Added an option to dwell at the bottom of each peck when we started breaking carbide drills on an older Daewoo. The dwell solved that problem. The Daewoo is the only lathe where that ever happened.
However, you only need to specify the values from the original Hardinge program...other than I required 'Z' to be mandatory instead of an option.
Naturally it is a Macro B program which your control should have as standard. Would you be interested in trying it?