Some wise words there Simpson.
Hood, any chance of some details for that relay?
Killing the enables and issuing a drive stop signal seems the best option, however I'm now thinking that killing all power is not essential.
Should something fault, using a couple relays, all the drives should stop by killing the enables and issuing a stop signal. Power would still remain, but motion should stop.
The existing e-stop circuit is active all the time with no controller input, so I'm unsure whether to link the e-stop circuit into the KFlop enable circuit.
If I do tie it in, then it ensures things stop everything if the KFlop detects something wrong, and could use it to provide a time delay, however the KFlop can just as easily kill the enables with a similar result, unless a drive fails to stop when the enable is removed.
If I don't tie it in, then it would take a servo drive to fail to stop despite being commanded to for anything serious to happen, which given I'm using AC servos isn't likely to happen unless something happens to the KFlop, in which case there's a risk the KFlop is not likely to kill the e-stop circuit or kill the enables, so you're back to relying on something hitting a limit switch.
I'll have another think, as I need to do a few sketches of possible solutions to check on how the inputs/outputs would work under various scenarios.