The spindle movement and the feed movement adopt the variable-speed hole plate to select the speed. In order to ensure that the variable-speed gear enters into a good meshing state, the two movements respectively realize the instantaneous inching after the variable-speed through the travel switch.