Thanks Robert.
robertspark wrote: Sorry, I know how to physically do / mark such a device with physical components and I can do it in software with a microcontroller, but not in linuxcnc / python (yet).
We'd probably use the
oneshot
component to do it from HAL

So we'd just need to find a pin to fire it.
(ASIDE: If you go to the bottom of the
main documents page
and click on the button "Expand Man Pages" all the components and their documentation will be revealed. I spent hours reading those docs! Just make sure you read the docs for the version you are using.)
I'd already decided the green button needs to be replaced by a relay so the green button (if used) could be remote from the contactor. The safety relay docs refers to ESC (external start conditions) which is what you describe.
This is still all a learning curve. I had some rather interesting discussions about the estop chain with some very qualified people. The long and the short of that was if you are using a number of estops around a large machine, unless you want to route mains power everywhere (which is in itself a safety issue), you need to use a safety relay to comply with ISO 13850,. This red one here cost me AUD $250
Anyway, thanks for the idea. Having never used a CNC machine before I built one, I don't have any reference point.