Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Olli-CNC on October 06, 2022, 07:20:35 AM
-
Hi Folks,
I finally found the time to adjust my postprocessor, unfortunately I can't get it to turn the A-axis to zero at the end of the G-code. Can someone help me with this please?
Many greetings
Olli
-
ok, I have managed it after all ;D
In the section:
function onClose() {
var abc = defineWorkPlane(currentSection, true);
writeBlock(
gMotionModal.format(0),
conditional(machineConfiguration.isMachineCoordinate(0), "A" + abcFormat.format(abc.x)),
conditional(machineConfiguration.isMachineCoordinate(1), "B" + abcFormat.format(abc.y)),
conditional(machineConfiguration.isMachineCoordinate(2), "C" + abcFormat.format(abc.z))
);
Maybe someone else can use it ;)
Greetings
Olli
-
Just out of curiosity what software are you using?
Bill
-
Hi Bill,
I use Fusion 360 and Mach4 Hobby