摘要 |
PURPOSE:To make a return program, by detecting the beginning position, middle position and end position of setting-aside of a tool and storing these positions in a memory and by performing rectilinear interpolation on the stored positions in the opposite direction to the setting-aside at the time of the return of the tool. CONSTITUTION:When the chipping of a cutting edge 6a at a point P1 is detected, the working person applies a machining stoppage instruction to a main control section 9 to stop the execution of a machining program PRO and moves a tool 6 to a point P2 in a manual mode so that the tool does not interfere with a workpiece 2. The working person thereafter moves the tool 6 to points P3, P4, P5 in that order so that these positions are linked with each other by imaginary straight lines. When the cutting edge 6a is stopped in each of the positions P2- P5, a switch 21 is pressed down to store the position. To return the tool 6, rectilinear interpolation is effected on the positions P5-P1 to make a return program and put it in the machining program to return the tool to the position of starting of setting-aside. |