Ok Russ, lets look at this one and break it down...this drills a starter hole and then opens up for a finish boring bar.
(ENDMILL DRILL)
N0100
T060606
G95 G97 S150 M3
G00 X0 Z0.2 M08
G74 X1.24 Z-0.75 I0.314 D0.125 L0.375 F0.002 E0.04
G00 Z0.2
M09
X20 Z50
This drilling cycle starts at X 0 and drills to a final depth of Z-0.75 and will feed at F0.002 and will dwell at the bottom of the hole for E0.04.
It will Peck at D0.125 increments but will only fully retract every L0.375. That is sort of like a combination of peck drilling and deep hole drilling. If you leave off the L you will stay in the hole until it reaches full depth. The L lets you choose how deep you want to go until the tool retracts fully. To the best of my knowledge the pecking retract distance is set in machine parameters.
The I0.314 is the X distance the tool will offset at the end of each cycle. It will do this until it reaches X1.24. If you didnt have the I value you will get only one hole.
In this application I am using an endmill to first drill a flat-bottomed hole and then open it up using the endmill like a boring bar. This saves me an extra tool in the turret. To see the tool check out the following link and you will see some photos of it and the results.
The Real Help Machine Tool Giveaway
Look at the May 17th posting for the tool photos.
Your code would be better like this,
GO X0. Z.1
G74 X0. Z-2.0 D.5 L1. F.007 E.5
Now your tool will feed at F.007 and peck at each D.5 and will retract fully at L1. until you reach your depth of Z-2.0 and dwell E.5
Let me know if this helps.
Charles