I have built a cnc with axis driven by stepper motors,the spindle is driven by a DC motor.I want to know how to stop the machine running if the spindle motor stops,Do I need to put a speed sensor on the motor shaft,if so how do I wire it up.?Eric