摘要 |
PROBLEM TO BE SOLVED: To provide a numerical control device that allows only a striking operation not affected by a load variation to set an origin. ! SOLUTION: A numerical control device 1 includes, to control an origin return operation of a machine 4 by causing a machine movable unit 2 to strike a machine stationary unit 3,: a reach position error counter 5; a reach position error intergradation velocity register 6; a reach position error intergradation velocity origin determination reference value register 7; provisional origin position determination means 8; provisional origin position storage means 9; regular origin position determination means 10; and regular origin position storage means 11. While moving the machine movable unit 2 in a direction having the machine stationary unit 3 struck, the provisional origin position determination means 8 is configured to determine presence/absence of a provisional origin position using values of the reach position error intergradation velocity register 6 and t |