Hi @mechmansolution ,
I m not cleared with the "Required program for drill" format. Don't you need G80 at the end of the canned cycle? What is the "E5."?
For the post-modification please open your post in any editor and Go to function onCyclePoint(x, y, z) { . Now search the below code and replace it from these
if (isFirstCyclePoint() || isProbeOperation()) {
if (!isProbeOperation()) {
// return to initial Z which is clearance plane and set absolute mode
repositionToCycleClearance(cycle, x, y, z);
}
var F = cycle.feedrate;
if (getProperty("useG95")) {
F /= spindleSpeed;
}
var P = !cycle.dwell ? 0 : clamp(1, cycle.dwell * 1000, 99999999); // in milliseconds
var forceCycle = false;
switch (cycleType) {
case "drilling":
writeBlock(
gRetractModal.format(98), gCycleModal.format(81),
getCommonCycle(x, y, z, cycle.retract, cycle.clearance),
feedOutput.format(F)
);
break;
to these.
if (true) {
// if (!isProbeOperation()) {
// // return to initial Z which is clearance plane and set absolute mode
// repositionToCycleClearance(cycle, x, y, z);
// }
gCycleModal.reset();
gRetractModal.reset();
forceFeed();
var F = cycle.feedrate;
if (getProperty("useG95")) {
F /= spindleSpeed;
}
var P = !cycle.dwell ? 0 : clamp(1, cycle.dwell * 1000, 99999999); // in milliseconds
var forceCycle = false;
switch (cycleType) {
case "drilling":
writeBlock(gFormat.format(currentWorkOffset + 53),gAbsIncModal.format(90),
gRetractModal.format(99), gCycleModal.format(81),
getCommonCycle(x, y, z, cycle.retract, cycle.clearance)
);
writeBlock(
feedOutput.format(F)+"D1"+sOutput.format(spindleSpeed));
break;
save the post and test it.
Thanks
Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation