@Stuart-H
@seth.madore
Gentlemen, if I may comment on this please ?? IMHO I can`t find anything wrong with the G73 drilling cycle, it looks to me to be working as expected 🙂
Here is the section from the 4 axis Mach PP that I use all the time, it is unmodified and works correctly.:-
case "chip-breaking":
if ((cycle.accumulatedDepth < cycle.depth) || (P > 0)) {
expandCyclePoint(x, y, z);
} else {
writeBlock(
gRetractModal.format(98), gCycleModal.format(73),
getCommonCycle(x, y, z, cycle.retract, cycle.clearance),
"Q" + xyzFormat.format(cycle.incrementalDepth),
feedOutput.format(F)
);
What is actually happening here is that if the "Accumulated Pecking Depth" is used then to have the G73 Canned Cycle then the "APD" must be set to the full depth of the hole then it doesn`t come into play so it is just a normal G73 Cycle, OK so far 🙂
However if the "APD" is set to say half depth of the hole then at that point the full retract has to come into effect, as there is no way that I can see to get that variable retract to appear in the standard G73 Cycle it would appear that the Developers have made it so the actual G code for each vertical move is output 🙂
G Code with no "APD" applied, in other words set to full depth of the hole I don`t see this as a workaround but expected behaviour :=
G98 G73 X-0.69 Y-0.181 Z-15. R5. Q1.25 F180.
G Code using "APD" set to half depth, in this case 7.5mm and all vertical moves are output, again this is what I would expect without some way of creating a variable retract within the Cycle. This may be something that the developers are working on but as I see it it works fine for now and IMHO the way the Devs intended it to work ?? 🙂 🙂
Z5.
Z2.
G1 Z-1.25 F180.
G0 Z-0.25
G1 Z-2.5 F180.
G0 Z-1.5
G1 Z-3.75 F180.
G0 Z-2.75
G1 Z-5. F180.
G0 Z-4.
G1 Z-6.25 F180.
G0 Z-5.25
G1 Z-7.5 F180.
G0 Z-6.5
G1 Z-8.75 F180.
G0 Z5. Here is the point where it does the full retract after the 7.5mm "APD"
Z-6.75
G1 Z-10. F180.
G0 Z-9.
G1 Z-11.25 F180.
G0 Z-10.25
G1 Z-12.5 F180.
G0 Z-11.5
G1 Z-13.75 F180.
G0 Z-12.75
G1 Z-15. F180.
G0 Z5.
Z15.
Summary:-
If you want just a straight G73 Cycle then set the "APD" to the full depth of the hole and all will be well 🙂 🙂 🙂
If you want a full retract at some point in a deeper hole then just set that value to the "APD" depth required and again all will be well 🙂 🙂 🙂
Be nice if the Devs could work a full retract value into the Canned Cycle though 🙂 🙂 🙂
Stay Safe
Regards
Rob