added enable and velocity-mode for spindle