摘要 |
After a thermal displacement correcting program has started, a temperature is measured with a temperature sensor in S 1, then when a rotational speed of a spindle is changed during the measurement (S 2 ), a counter starts (S 3 ). Then in S 4, from a preset relationship between the rotational speed of the spindle and a setting-equivalent heat value, a correction factor that is a difference in setting-equivalent heat value between before and after the change in rotational speed of the spindle is calculated. Subsequently, in S 5, a temperature-equivalent heat value is calculated, and then in S 6, a compensation amount is calculated from the correction factor and a time elapsed after the change in rotational speed of the spindle. In S 7, an equivalent heat value for compensating a dead time is obtained based on the sum of them S 8, an estimated calculation for thermal displacement conversion is performed, and a correction process by an NC unit is performed in S 9.
|