My lathe has closed-loop steppers on it, and the stepper drivers have a function where a control line will go HIGH for 5 seconds (I think that's how it works) if it faults out (usually a stall).
I'd like to have a function that detects that alarm line, and if it trips, E-Stops the machine.
But I also have a control panel with an LED on it, and if the machine stops for any non-user-commanded reason - limit switch, stepper motor controller alarm, etc - I'd like it to blink the LED until the alarm is cleared.
Is there a built-in function that will blink an output?