摘要 |
<p>A machine tool includes a main axis 30 to which a touch probe 17 is attached, a motor 15 that rotationally drives the main axis 30, a rotation angle position detector 16 that detects a rotation angle position of the motor 15, and a control device 20. The control device, when a measurement mode command for performing measurement of a workpiece by the touch probe 17 is input, multiplies a d-axis current command value Idc by a d-axis current correction coefficient K that is less than 1 to reduce the d-axis current command value Idc to a d-axis current command correction value Idc′, using a d-axis current command correction section 4. Thus, in the machine tool, small rotation vibrations of the main axis, generated when rotating the main axis to which the probe is attached and performing measurements of a workpiece, can be suppressed to thereby increase the measurement accuracy.</p> |