IAN many years back this is how we did it in mach. I dug up part of the discussion. It was a very simple approach back then. It does assume you had accurate home switches.
Re: Power outage macro –
We call it the ARF ( Auto Restart FUnction)
It is a piece of code that runs in the Macropump
Every () minutes open the Restart file and write the Program name AND current
line. Close file
If you need to restart press the ARF button which
REFHOME the machine, Retreives the LAST notes from the restart file, Loads the
program by name, Then update the RUN FROM HERE line # DRO and restarts the
program run by use of the "RUN FROM HERE" function.
The only thing the operator has to do is when the RFH screen pops up is verify
there is a clear path for the machine to return to the restart position and
press Cycle Start.
***********
http://www.machsupport.com/forum/index.php/topic,15042.0.htmlTHis is the link to the stop restart function with the plasma. NOTE plasma does NOT require you to use the RFH feature so it may NOT apply to very situation. In plasma all you need to do is set next line and fire the torch then RUN.
Also note that teh RFH does not work worth a hoot with plasma when using the Zref routines for THC.
IF you have some more ideas throw the bone on the porch and us old dawgs will chew on it for a while
Just a thought, (;-) TP