Machine tool having a rotary table
A machine tool includes a clamping mechanism for clamping/unclamping rotation of a rotary table. A load is measured when an unclamping command is output and then the rotary table is rotated after a set time set in the timer passes, and the set time of the timer is changed in response to a magnitude of the measured load. In this way, it is possible to prevent the clamping mechanism from being damaged due to a subsequent command given before unclamping ends, and extend a life span of a component.
1. A machine tool comprising:
a rotary table for attaching a workpiece;
a motor for driving the rotary table;
a clamping mechanism for clamping rotation of the rotary table; and
a timer for setting a time taken until a subsequent command is made available after an unclamping command for releasing a clamping operation of the clamping mechanism to a set time,
wherein the machine tool includes
a load measurement unit for measuring a load of an output shaft of the motor,
a reference load storage unit for storing a reference load of the rotary table in advance,
a provisional load storage unit for measuring and storing, as a provisional load, a load obtained when an unclamping command of the rotary table is output and the rotary table is rotated after the set time set in the timer passes,
a load comparison unit for comparing the provisional load stored in the provisional load storage unit with the reference load stored in the reference load storage unit, and
a timer changing unit for changing the set time of the timer when the provisional load exceeds the reference load as a result of comparison of the load comparison unit.
2. The machine tool according to claim 1 , wherein the reference load storage unit measures a load obtained during rotation of the rotary table in a period at which an unclamped state is reliably obtained after the unclamping command is output and then a predetermined time passes, and stores a maximum value of the measured load.
3. The machine tool according to claim 1 , wherein the provisional load storage unit measures a load obtained during rotation of the rotary table in a period after the set time set in the timer passes, and stores a maximum value of the measured load.
4. The machine tool according to claim 1 ,
wherein the load comparison unit is configured to determine whether or not the provisional load falls within a predetermined ratio with respect to the reference load, and
the timer changing unit is configured to change the set time of the timer based on a result of the load comparison unit.