Patent ID: 11940769
Assignee: YAMAZAKI MAZAK CORPORATION
Field: Control (Instruments)
Classification: CPC G  Y | IPC G

Claim 18:
19. A non-transitory computer-readable storage medium storing a machining program, the machining program causing a computer including a processor to execute processing comprising:
obtaining tool information specifying at least one tool mountable on a machine tool;
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;
obtaining a selected tool from the table via an interfaces;
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.