Page 1 of 1

Need help with a custom postprocessor for Mach3 Plasma table

Posted: Sat Mar 09, 2019 10:46 pm
by Lazer
I need help creating a new custom postprocessor for Mach3 plasma table. I tried the G-code that "Mach3(G41/G42)in" generates and run it on the machine. It mostly works on the machine, but it does not shut off plasma at the end of each contour. I edited the G-code file manually and changed the Z2 (goto z 2 inches safety height) to M5, and it works correctly now. I just need to know how and where to change (or add the M5) the Z2 line to M5 line instead in the postprocessors, and in which postprocessor in particular.

Re: Need help with a custom postprocessor for Mach3 Plasma table

Posted: Sun Mar 10, 2019 1:08 am
by andrew
The "Mach3 Laser (G41/G42) in" postprocessor is likely closer to what you need.
You can adjust "this.zPassHeader" and "this.zPassFooter" accordingly, for example:

Code: Select all

    this.zPassHeader = [
        "[N] (replace this with the code to switch the laser on)"
    ];

    this.zPassFooter = [
        "[N] (replace this with the code to switch the laser off)"
    ];

Re: Need help with a custom postprocessor for Mach3 Plasma table

Posted: Tue Mar 12, 2019 11:30 pm
by Lazer
Thanks for the help Andrew! I really appreciate it!

I did create a custom postprocessor and I included the lines you suggested, plus I added some other tweaks to it and now its perfect. Works like a charm.

Re: Need help with a custom postprocessor for Mach3 Plasma table

Posted: Wed Mar 13, 2019 9:12 am
by andrew
You're welcome. Good to hear it's working now.