摘要 |
PROBLEM TO BE SOLVED: To provide a numerical control device that, even in the event of abnormal end during the execution of instructions along a machining program, executes subsequent instructions not affected by the abnormal end, without executing subsequent instructions affected by the abnormal end; a numerical control method; a control program; a wire electric discharge machine; and a method for wire electric discharge machining. SOLUTION: Execution level values are set for determining whether or not instructions for executing the same function are mutually related. Every time the instructions with the execution level values set are executed, the execution level values are stored. If an abnormality is detected during machining, based on the execution level value after the instruction for which the abnormality has been detected and on the execution level value stored, execution of one or a plurality of instructions up to the next instruction with the execution level value to be executed is inhibited. The end position of movement of a tool when the one or the plurality of instructions inhibited are executed is calculated. The tool is moved to the calculated position. From the position to which the tool has been moved, the next instruction to be executed is executed. COPYRIGHT: (C)2007,JPO&INPIT
|