Abstract: A control unit enables tapping onto an end surface of a workpiece while rotating the workpiece. A workpiece rotational speed command (Vc) is applied from an NC unit (90) to first and second speed control circuits (111, 121) of first and second control circuits (110, 120), to operate these control circuits in a speed control mode, so that the workpiece (70) and a tapper (80) respectively mounted on first and second main spindles (10, 20) are caused to rotate at the same speed by first and second main spindle motors (11, 21).