Numerical control device (1) controlling the driving of a movable part of a
machine based on an instruction from a program and comprising an interference detection unit (2) checking for interference between the movable part and another object, wherein the
numerical control device (1) is configured to
delay and stop a movement of the movable part when interference is predicted by the interference detection unit, wherein the
numerical control device (1) comprises: a feed correction
instruction unit (4) configured to prescribe a feed correction value to a feed rate of the movable part, an instruction analysis unit (10) configured to
look ahead and analyze a program to generate look-ahead block
instruction data (21), and a
route calculation unit (16) configured to calculate an excess look-ahead time span.which is a time span obtained by adding an excess time span to a predictive time span, which is a time span required by the interference checking unit (2) to predict interference in order to safely
delay and stop the movement of the movable part; - based on the predictive block
instruction data (21), to calculate a plurality of excess predictive positions of the movable part after the excess predictive time span has elapsed, wherein the excess predictive time span corresponds to a plurality of feed correction values, which includes at least one approximately maximum feed correction value that can be prescribed by the feed correction
instruction unit (4); and - output the plurality of excess predictive positions to the interference checking unit (2), wherein - the interference checking unit (2) performs an interference check based on the plurality of excess predictive positions.