Hello Guest it is March 28, 2024, 12:22:34 PM

Author Topic: zero an axis "in program" ??  (Read 2218 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,965 6,965
    • 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