摘要 |
PROBLEM TO BE SOLVED: To reduce the time and effort of an operator in editing a program of a machine tool and achieve an interface according to a work environment for the machine tool.SOLUTION: A machine tool 1 includes a loader device 10 conveying a workpiece W and a processing device 20 processing the workpiece W, which operate on the basis of programs 32a and 32b. A program editing device 40 is included in a part of the machine tool 1, and includes: a display part 41 that displays the programs 32a and 32b on a display area 110; a specification part 42a that specifies a range within the programs 32a and 32b displayed in the display area 110 according to a selection operation by buttons 191 and 193 in the vicinity of the display area 110; and an editing part 42b that converts a control code within the range specified by the specification part 42a into a non-control code or converts a non-control code within the range into a control code according to a selection operation by an editing button 187 in the vicinity of the display area 110. |