Restarting a program safely after a stop
A broken tool, an alarm, a power cut: the program stops in the middle. Restarting from the exact block where it stopped is tempting, and it is where many crashes happen, because the control has lost the modes and positions that were active before that block.
1. Get clear first
- Note the block, the tool and the position.
- Move the tool away from the part in jog or handwheel, in the safest direction (on a lathe usually X out first, on a mill Z up first).
- Fix the cause: change the tool, clear the alarm, check the offsets.

2. Restart from a tool start, not the middle
The safest place to restart is the start of the tool that was cutting, or the start of the next tool. That only works if every tool start in the program repeats all the modes it needs:
N30 (T0303 FINISH OD) G40 G99 G18 T0303 G50 S2500 G96 S200 M03 G00 X52. Z2. M08
On a mill the same idea: G90 G54 G17 G40 G49 G80, then the tool, the G43 H line, the spindle and the coolant. If the start of a tool relies on modes from the tool before it, restarting there is unsafe.
3. Find the block
- Use the control's sequence number search to go to N30, then Cycle Start.
- Many controls have a program restart function that scans the program up to the restart block, collects the modes and moves to the start position. Useful, but learn exactly how yours works before relying on it.
4. Run the first moves carefully
- Single block on, rapid override low, hand on feed hold.
- Check the distance-to-go before each move.
- Watch that the spindle and coolant really start.
After a power cut
Check whether the machine needs a reference return, whether the part moved in the chuck or vise, and whether the work offset is still right. Some machines lose the absolute position if the encoder batteries are flat (see encoder batteries).
Common mistakes
- Restarting in the middle of a canned cycle or a G71 profile.
- Spindle not running because M03 was in an earlier block.
- G91, G41 or a G52 shift missing (or still active) at the restart point.
- Restarting at 100 % rapid.
Write every program so any tool start is a safe restart point. It costs a few lines and saves crashes.
Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.
Open the app

