I have grbl running on a Teensy board. I use the breakout board’s DOOR signal on my Big Red Button. This
- Stops spindle in 1 sec (brake resistor installed. BRB actually cuts power to VFD which triggers braking)
- Stops feed instantly.
- Pulls the cutter up to its highest position, in about 3 sec.
All steppers stay energized, no steps lost.
Resetting the button, restarting spindle, and hitting Cycle Start resumes the job where it left off.
I also have a total power kill switch which is the big red TEST/OFF button on my RCD (gfci, for Americans). That would get used if there is arcing, fire or other emergency where ruining the job is a minor consequence.