I've done quite a bit of PP editing previously, to create a post for a Chinesium controller. I notice that Hugh (currinh) was getting G43s in his code at the top of this post. No idea what's going on here but perhaps he could compare his PP version and see if we have the same vintage? What about you, Jaco - what version do you have? It's in the header of the post.
Thanks
EDIT - I seem to have bottomed out 2 of those puzzles just now by searching within the post processor.
1:
Firstly I spotted this on the 5th line down:
description = "LinuxCNC Turning";
vendor = "LinuxCNC";
vendorUrl = "
www.linuxcnc.org
";
longDescription = "Turning post for LinuxCNC. Use Turret 0 for Positional Turret, Turret 101 for QCTP on X- Post, Turret 102 for QCTP on X+ Post, Turret 103 for Gang Tooling on X- Post, Turret 104 for Gang Tooling on X+ Tool Post.";
var outputG43OnSeparateLine = false;
.....
So you can force G43 to be output on its own line. Hopefully that will answer Hugh's question that started this thread. Changing it to true should force a new line for each G43.
2:
Further down, the G43 output is dependent on whether you have a manual toolchange. It is actually specified within the tool library within Fusion, within the setup for the specific tool you are changing to. I have no idea why they reckoned a G43 should only be output for a manual change but it's presumably because an ATC takes care of the offsets.
}
writeBlock("T" + toolFormat.format(tool.number), mFormat.format(6), conditional(tool.manualToolChange && !outputG43OnSeparateLine, gFormat.format(43)));
writeBlock(conditional(tool.manualToolChange && outputG43OnSeparateLine, gFormat.format(43)));
if (tool.comment) {
writeComment(tool.comment);
}
Selecting "manual tool change" results in G43s returning. You see - drinking enough tea will fix almost anything!