摘要 |
<p>A method for automatically editing a machining process so that a machine tool can be operated efficiently. A processor of an automatic programming apparatus transfers a leading definition statement related to upper surface machining from a first file to a second file of a memory device of the programming apparatus, deletes it from the first file (S13), and executes sequentially the transfer of the upper surface machining process definition sentence for designating the same tool number as the tool number designated by the leading upper surface machining process definition statement to the second file and its deletion from the first file. Similar processings are sequentially executed for each of other tool numbers, and the upper surface machining process definition statements are stored in bulk in the second file for each tool number. Similarly, side surface process definition statements are stored in bulk in the second file for each tool number but separately from the upper surface machining definition statements (S20 SIMILAR S25). As a result, a part program is edited in such a manner that the number of times of transfers between the upper surface machining and the side surface machining can be reduced. Therefore, it is possible to form a program which can operate efficiently the machine tool which involves essentially the exchange of tools for the shift between the upper surface machining and the side surface machining. <IMAGE></p> |