Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Llaves on July 24, 2015, 11:47:48 PM

Title: Save/restore machine position
Post by: Llaves on July 24, 2015, 11:47:48 PM
Is there any way to save the machine's position when shutting down Mach3 and restore the values on startup? It doesn't appear that there are a macros reserved to run at startup or shutdown, which would allow development of a macro for this purpose. I realize that for stepper-motor based machines this might not be the most accurate way to go if the machines moves a couple of steps when powered up (as far as I can tell, mine doesn't suffer this malady). Even if not fully accurate, it would allow writing a macro that moves the machine very close to home, the ref all axes.
Title: Re: Save/restore machine position
Post by: BR549 on July 25, 2015, 12:03:16 AM
Simply tell it to SAVE the fixtures on close. I t will open back exactly where you left the DROs reading when you closed.

(;-)
Title: Re: Save/restore machine position
Post by: Llaves on July 25, 2015, 12:09:12 AM
 I believe saving fixtures saves the *offsets*, not the machine position.
Any time I launch Mach3, the DROs start in the same place, no matter where the machine was left. It doesn't even ask me if I want to save fixtures unless I've changed one or more of the offset values.