Check the function of the spindle position sensor/encoder.