US 11,940,769 B2
Machine tool, method for editing machining program for machine tool, and non-transitory computer-readable storage medium
Hiroaki Matsuzawa, Niwa-gun (JP); Yuuki Yamamoto, Niwa-gun (JP); Takuro Katayama, Niwa-gun (JP); and Morikuni Kimura, Niwa-gun (JP)
Assigned to YAMAZAKI MAZAK CORPORATION, Aichi (JP)
Filed by Yamazaki Mazak Corporation, Niwa-gun (JP)
Filed on Sep. 17, 2021, as Appl. No. 17/477,537.
Application 17/477,537 is a continuation of application No. PCT/JP2019/028560, filed on Jul. 19, 2019.
Prior Publication US 2022/0004158 A1, Jan. 6, 2022
Int. Cl. G05B 19/042 (2006.01)
CPC G05B 19/0426 (2013.01) [G05B 2219/13046 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method for editing a machining program for a machine tool, the method comprising:
obtaining tool information specifying at least one tool mountable on a machine tool including a controller having a processor;
displaying a program editing window and at least one assistance window, the program editing window showing a program code of the machining program to control the machine tool, each of the at least one assistance window selectively showing the tool information and a control method, the tool being to be controlled according to the control method, the control method comprising an M06 command which is a tool exchange command, the tool information comprising T numbers each specifying which tool of the at least one tool or no tool is to be mounted on a tool spindle in the program code, the at least one assistance window including one assistance window in which an input button, a M06 command input button, and a table of the at least one tool are shown;
specifying, in the program code, an insertion position at which a new code is to be inserted into the program code;
selecting a selected tool from the table via an interface;
converting, using the processor, the selected tool into a T code specifying a T number corresponding to the selected tool upon an input to the input button via the interface;
inserting, using the processor, the T code into the program code at the insertion position upon the input to the input button; and
inserting, using the processor, the M06 command into the program code at the insertion position upon an input to the M06 command input button via the interface.