Patent ID: 7689300

Claim:
A numerical control device for causing movement of a moving section of a machine tool, comprising: an operation input device for performing movement operations for the moving section manually, wherein the operation input device comprises a manual movement command generated by operating a switch for selecting an axis for a manual feed and a switch for selecting a direction of the manual feed; a memory for storing shape data of the moving section and shape data of an interfering object, that is capable of interfering with the moving section; an interference check position calculation section for successfully calculating an interference check position separated from a present position of the moving section by a predetermined distance in a movement direction input using the operation input device; an interference check section for confirming, before generation of a function for moving the moving section to the interference check position, whether or not shape data of the moving section will interfere with shape data of the interfering object at the interference check position calculated by the interference check position calculation section, wherein, if it is confirmed that there will not be interference, interference check at a next interference check position calculated by the interference check position calculation section is repeatedly performed; an axial movement stop position calculation section that, if it is confirmed by the interference check section that there will be interference, acquires an interference position at which the moving section will start interfering with the interfering object, and calculates a stop position separated only a predetermined distance from an the interference position in a direction opposite to the movement direction; and a function generator section for, in parallel to the interference check by the interference check section, controlling axial movement of the moving section to an interference position where it has been determined by the interference check section that there will be no interference, through function generation corresponding to the manual axial movement operation and, in the event that it has been determined by the interference check section that there will be interference, generating a function to stop the movement section at the stop position calculated by the axial movement stop position calculation section.