I’m still stumbling my way through learning Mach4 after using Mach3 for 10 years. I’m starting to understand it better but could use some simple help.
I was able to get the Go To Work Zero button working after some research. I had to remove the A Axis from the script since I only have a 3 axis machine and I added in the Z because I like to see that all three are going to zero.
mc.mcCntlMdiExecute(inst, "G00 X0 Y0 Z0")
That works great but I always get worried watching this machine scream to zero all at the same time.
I decided to watch the Newfangled video on changing the script and did what he showed in the video
https://www.youtube.com/watch?v=SZuE...el=MachSupport
mc.mcCntlMdiExecute(inst, "G00 G53 Z0\nG00 X0 Y0\nG00 Z0")--With Z moves
and I did this. I think I added in a Z0 though at the X0 Y0 though because it immediately buried the bit in the spoilboard as it went to work zero. With the servos and settings I have this happened in the blink of an eye and I couldn’t hit the estop fast enough lol
What I would love it to do is first move the Z axis to machine coordinates of 5.5”, second, bring the X & Y to the work zero and lastly bring the Z down to the work Z zero and I’d rather not kill anything else in my trial and error of writing this script so anyone with the correct script I would be very grateful.