To provide a numerical control device for generating the machining timing at which any dimensional variation of machined products does not occur without being affected by the vibration even when the vibration is superposed on a workpiece.
It is discriminated that an amount of the deviation 13 corresponding to the vibration amplitude from the reference position is in a prescribed value suitable for the workpiece machining timing while the movement distance point corresponding to the command position 3 generated by a command position forming unit 2 of a numerical control device 1 is the reference position. The timing signal 11 is generated at the discriminated timing, and the machining timing signal 15 is output by a timing signal output unit 14. A machine performs the machining action following the machining timing signal 15.
