Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Olli-CNC on October 06, 2022, 07:20:35 AM

Title: mach4mill Postprocessor
Post 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
Title: Re: mach4mill Postprocessor
Post by: Olli-CNC on October 06, 2022, 07:34:02 AM
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
Title: Re: mach4mill Postprocessor
Post by: Bill_O on October 07, 2022, 05:38:38 PM
Just out of curiosity what software are you using?

Bill
Title: Re: mach4mill Postprocessor
Post by: Olli-CNC on October 08, 2022, 03:06:26 AM
Hi Bill,
I use Fusion 360 and Mach4 Hobby