| CPC B23F 23/12 (2013.01) [B23Q 15/013 (2013.01); G05B 19/401 (2013.01); G05B 2219/35519 (2013.01)] | 7 Claims |

|
1. A control device for a machine tool that machines a workpiece including at least one tooth surface, the control device for a machine tool comprising:
a processor,
the processor being configured to perform functions that comprise:
a function of inputting a machining condition including at least one selected from specifications of the workpiece, specifications of a tool, a feedrate, a spindle speed, and the number of teeth;
a function of calculating, based on the machining condition inputted, a surface pattern defined depending on intervals between scratches generated on a machined surface;
a function of generating, based on the surface pattern calculated, an oscillation command for achieving a surface pattern including a portion in which the intervals between the scratches are unequal, the oscillation command having an oscillation frequency or an oscillation frequency magnification that is different from a frequency causing the scratches to be formed at equal intervals; and
a function of carrying out machining while oscillating the workpiece and the tool relative to each other based on the oscillation command generated.
|