G05B2219/50241

MACHINE TOOL
20210114152 · 2021-04-22 · ·

A machine tool includes a spindle, a tool exchanger that attaches or detaches one of tools to or from the spindle, a spindle mover that moves the spindle to one of tool exchange coordinates when the one of the tools is to be attached or detached by the tool exchanger, and a tool exchange controller that controls, when the one of the tools is to be attached or detached by the tool exchanger, the spindle mover so as to move, on the basis of a first tool exchange coordinate associated with an attaching-target tool to be attached to the spindle and a second tool exchange coordinate associated with a detaching-target tool to be detached from the spindle, among a preliminarily-set plurality of the tool exchange coordinates respectively associated with the tools, the spindle to one of the tool exchange coordinates that are the first tool exchange coordinate and the second tool exchange coordinate, whichever is farther from a machining point.