PURPOSE: To enable interference between a tool and a work to be prevented from occurring as much as possible without manual control, by a method wherein, when an aside movement command is outputted, the non-contact point of the tool and the work is set according to a machining cycle, and the tool is moved aside to a given aside movement position.
CONSTITUTION: After a main control part 2 confirms an aside movement command C1 by means of a tool aside movement program TRP, a command to stop the feed motion of a tool 16 is outputted to a spindle control part 11 and the cutting edge position of the tool 16 at a current point of time, i.e., a machining position P1 of a work 15 is stored in an aside movement position memory 10. A program analyzing part 9 determines a machining cycle during tool pass PAT of the position P1, and the machining completion point of the cycle is decided as a retract intermediate point TP. The main control part 2 causes an aside movement computing part 7 to decide the machining position P1. During machining of a shape, a cutting edge 16a of the tool from the position P1 is moved in the direction of an arrow mark D at a cutting feed by means of the computing part 7, a command by which the tool is placed on a tool pass in a return process is outputted to the spindle control part 11 and the tool 16 is moved to a position situated facing the position P1.
UEMURA KAZUKI
OHASHI HAJIME