Patent ID: 9740196
Date: 2017-08-22
CPC Classifications: G05B

Claim:
1. A numerical controller that controls a drilling operation of drilling a workpiece by controlling a spindle rotating a rotation tool and a feed shaft moving the rotation tool, the numerical controller comprising: a deceleration maintaining section that selects, when the feed shaft is decelerated from a constant speed state to a stop state during the drilling operation, a bell-type deceleration mode from the constant speed state to a first linear part in which the feed shaft is decelerated at a constant rate, and maintains a linear deceleration at the constant rate in a second linear part as in the first linear part in an area from a start of the second linear part to the stop state, wherein the second linear part is started when a current speed of the spindle reaches deceleration mode switching speed; a deficient-movement-amount calculation section that obtains, when the feed shaft is decelerated from the second linear part to the stop state, a deficient movement amount corresponding to a difference between a movement amount achieved when the linear deceleration is carried out from the start of the second linear part to the stop state and a movement amount achieved when the bell-type deceleration mode is applied from the start of the second linear part to the stop state; and an accuracy compensation section that compensates machining accuracy by instructing the deficient movement amount to be inputted into the deceleration maintaining section before the bell-type deceleration mode is carried out from the constant speed state to maintain the linear deceleration of the feed shaft at the constant rate in the second linear part to reach the stop state.