Numerical control device (10) configured to drive and control a
machine tool, wherein the
numerical control device has a function for communicating the time to carry out an inspection of forming components of a
machine, comprising: a first recording unit (101) configured to
record an inspection reference condition size (Lim) for each of the components x0 ) to set and maintain, which serves as a criterion for determining whether the time for carrying out the inspection of the component has been reached or not; an environment
information acquisition unit configured to obtain information regarding an environment in which the
machine or component is located; a cumulative value counter (102) configured to: - to measure and accumulate a
state variable for each of the components to estimate the service life of the component and to calculate a resulting cumulative value (Cnt) x to maintain, and - to multiply the
state variable to be accumulated by a coefficient in order to find the cumulative value in a case where a decision is made that the information obtained by the environmental
information acquisition unit affects the lifetime of the component, where, for a component whose lifetime is likely to be affected depending on whether or not a
coolant is used, reference is made to code in a program instructing the
discharge of
coolant or a
signal to control the
coolant pump in the
numerical control device, and when it is decided that the coolant has been discharged, the cumulative value is multiplied by the coefficient so that a value greater than that accumulated when the coolant is absent; a notification unit (103) configured to send a notification reminding the component of the
inspection time when the
state variable accumulated in the cumulative value counter reaches the inspection reference state variable; an input unit (104) configured to input a result of the inspection of the component after the output of the message that recalls the
inspection time of the component from the message unit; a change unit (105) configured to change the inspection reference condition variable to determine the time to perform the next inspection based on the inspection result entered by the input unit; and a second recording unit (101) configured to receive at least one extension state variable (Exp1, Exp2, Exp) from a component n) to extend the inspection reference condition size, which is maintained in the recording unit, if, as a result of the inspection of the component, a decision is made that the component can continue to be used, wherein the input unit includes: a first operating unit (71) that is configured to be operated when an operator decides that the component is continuously
usable; and a second operating unit (71) which is configured to be operated when the operator decides that the component's service life has reached its end and replaces the component, and The unit of change comprises: a first computing unit configured to add, when the first operating unit is operated, the extension state size recorded in the second recording unit to the inspection reference state size recorded in the first recording unit, in order to create an inspection reference state size (Lim x1 , Lim xn ) to locate for the next inspection; and a second computing unit configured to clear the state variable accumulated by the cumulative value counter when the second operating unit is operated, in order to find an inspection reference state variable for the next inspection.