摘要 |
PROBLEM TO BE SOLVED: To provide a numerical control device capable of minimizing a cycle time while attaining a commanded reversion position in a command for reversing a feed shaft.SOLUTION: A numerical control device 100 includes: a command analysis section 110 for outputting command data to command the movement of a drive shaft on the basis of a processing program; a reversion time acceleration calculation section 130 for calculating acceleration of the drive shaft before and after the reversion when a command path of the drive shaft is reversed; a speed control section 120 for calculating the speed of the drive shaft for each interpolation period; and interpolation section 140 for calculating interpolation data showing the position of the drive shaft on an operation path for each interpolation period. The reversion time acceleration calculation section 130 sets the acceleration before and after the reversion as a maximum value in a range in which the acceleration does not exceed limit acceleration when the command path of the drive shaft reverses, thereby minimizing a cycle time while attaining the commanded reversion position.SELECTED DRAWING: Figure 2 |