Hello Guest it is December 08, 2019, 02:04:10 PM

Author Topic: zero an axis "in program" ??  (Read 1450 times)

0 Members and 1 Guest are viewing this topic.

zero an axis "in program" ??
« on: July 28, 2013, 11:57:21 AM »
I am using Mach3 to run a 3D printer. the extruder is run off the A axis and is set up to be a linear axis. I'd like to set up the gcode so the controller automatically re- zero's the A axis at the end of a program so that if I forget to manually zero it, it does not try and back up 3000 millimeters of filament at the start of the next program. Is there an easy way to do this with simple G-code, or will this require a custom macro?

again, all I want is is for the software to zero the A axis at the end of a program.

Thanks for any help.

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: zero an axis "in program" ??
« Reply #1 on: July 28, 2013, 12:52:23 PM »
Use either the G92 or G52 Gcode to reset the axis to Zero. Check the manual on their uses.

(;-) TP
Re: zero an axis "in program" ??
« Reply #2 on: July 28, 2013, 01:39:49 PM »
Beautiful, thats exactly what I was looking for, g92 will work perfectly. I figured there was something, but I am a little rusty these days.

Thanks

CB