Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: REECE on January 13, 2025, 01:48:16 AM

Title: 4th Axis Post Processing Issue - Mach4, Fusion360
Post by: REECE on January 13, 2025, 01:48:16 AM
I've recently added a 4th axis to my homemade machine, and I've most likely overlooked something simple to get it working properly.

When Mach4 gets to line 18 of my code, the machine suddenly slams to a halt while on it's way to start the operation. As if a limit switch or e-stop has been triggered.
The spindle remains on.
After the slam, I am able to jog the machine around, like for a manual tool change but with the spindle still running.
When I hit cycle start again, the machine returns to the same position before slamming to a stop again, never actually reaching the origin I set.

I'm running Mach4(5570) with Pokeys57cnc.
I'm generating my g-code in Fusion360: Mach4Mill post, and autodesk machine configuration (4ax table yxa head z).

Could this be a post processing issue? Or have I messed up my settings in Mach4 itself?

I've attached my code.
Download link for a vid of the machine running the code:
https://we.tl/t-h0NZub3G18


Thanks in advance for any tips,
Reece!
Title: Re: 4th Axis Post Processing Issue - Mach4, Fusion360
Post by: Tweakie.CNC on January 13, 2025, 06:01:07 AM
You have a typo error on line 18 of your GCode file.

Tweakie.
Title: Re: 4th Axis Post Processing Issue - Mach4, Fusion360
Post by: REECE on January 13, 2025, 03:04:27 PM
Hey Tweakie,

Thanks, I had TCP enabled causing it to add the G43.3. Seems to be working now.
Reece