To easily adjust the waiting position of a work discharge member inserted into a main spindle.
The machine tool includes the main spindle 50 having a holding means 60 for holding an inserted work W1 in a releasable manner; the work discharge member 70 inserted into the main spindle to be movable in a forward direction D2 of pushing the work W1 and in an opposite direction D3 to the forward direction D2; an actuator 80 which drives the work discharge member 70 to at least the forward direction D2; a recognition means which recognizes the insert length into the main spindle 50 of the work W1 held by the holding means 60; and a control means which makes the work discharge member 70 wait in a waiting position corresponding to the insert length recognized by the recognition means during processing of the work W1, and performs drive control for moving the work discharge member 70 forward to a position for pushing the work W1 out of the main spindle 50 to the actuator 80 after processing the work W1.
YAGI HIDEYUKI
Takeshi Ikeda
Ryohei Imai