Hi,
I am coming from grbl world and a newbie to linuxcnc. By now have configured my mesa 7i96s card, 4 motors with stepconfig and my VFD. Things are working fine on bench.
In my area power interruptions happen a lot. So was looking for some inputs on how can linuxcnc detect power failure and halt the program. Later once power is back on then I should be able to resume functionality either by UI or through an external button.
I tried looking but could not find anything on these lines.
Considering linuxcnc is much advanced than grbl, my main reason to switch was that I can customize it as it's based on Linux.
If nothing is existing then I would like to get started on how can I write a small Linux application which detects power failure and sends a pause/halt command to the interpreter ... Hopefully that shall do what I need.
Please guide
CheersDashy