CNC main drive