| CPC G05B 19/401 (2013.01) [B23Q 15/12 (2013.01); G05B 2219/37425 (2013.01)] | 6 Claims |

|
1. A numerical control device, comprising:
a distance control unit configured to perform control to cause a distance between a first object and a second object to approach a target distance;
a filter unit configured to apply a signal indicating the distance to a filter;
a determination unit configured to determine a time constant based on the target distance, the time constant being obtained from a relationship between the distance and an output signal of a distance sensor that measures the distance; and
a setting unit configured to set a time constant of the filter to the time constant determined by the determination unit.
|