G05B2219/34123

Numerical control device

To include an analysis processing unit that obtains a movement command for moving on a movement path in a machining program, and vibration conditions for vibrating along the movement path, a command-movement-amount calculation unit that calculates a command-movement amount per unit time, a vibrational-movement-amount calculation unit that uses the vibration conditions to calculate a vibrational-movement amount per unit time at a time corresponding to the movement command, and a movement-amount combining unit that combines the command-movement amount with the vibrational-movement amount to calculate a combined movement amount, and that acquires a movement amount within the unit time such that a position, which has moved from a reference position for calculating the combined movement amount by the combined movement amount, is located on the movement path.