NC machine tool
An NC machine tool is provided with a display device capable of displaying processing time individually for each function command of a block of an NC program. The display device of the NC machine tool is capable of displaying processing time for each function command. Thus, an operator is able to identify processing time for each function command via the display device.
1. A numerical control (NC) machine tool, comprising:
a control device configured to send a plurality of code reading signals, each code reading signal being sent when a corresponding function command of an NC program is to be performed, and each code reading signal including a processing start time;
a machine main body configured to
receive the plurality of code reading signals from the control device; and
send a plurality of code finish signals to the control device, each code finish signal being sent when the corresponding function command is completed, and each code finish signal including a processing finish time;
a display device; and
a memory, wherein
the control device is further configured to
calculate a plurality of processing times for a first set of function commands of the plurality of the function commands of a block of the NC program at a same time when an actuator used for performing each of the first set of function commands is different, each processing time being a difference between the processing finish time and the processing start time for each function command of the first set of the function commands;
calculate a plurality of average processing times, each average processing time being calculated for each function command of the first set of the function commands of the NC program when the function command has performed k (k is an integer and k≥3) times;
control the display device to display, based on a user's input via a touch screen, each processing time of the plurality of processing times and each average processing time of the plurality of average processing times individually corresponding to each function command of the first set of the function commands, and each previously stored processing time of a plurality of previously stored processing times of a same function command;
control the memory to store the processing times corresponding to each function command of the first set of the function commands that is completed;
compare one of the processing times to one of the previously stored processing times of the same function command;
compare the one of the processing times to one of the average processing times of the same function command; and
control the display device to display a warning when a first difference between the one of the processing times and the one of the previously stored processing times exceeds a first threshold value or when a second difference between the one of the processing times and the one of the average processing times exceeds a second threshold value.
2. The NC machine tool according to claim 1 , wherein the stored plurality of processing times is outputted from the memory to a separate storage media.
3. The NC machine tool according to claim 1 , wherein the plurality of the processing times is displayed in a timing chart or a graph.
4. The NC machine tool according to claim 1 , wherein the NC machine tool is a lathe, a milling machine, a drilling machine, or a milling cell.
5. The NC machine tool according to claim 1 , wherein the plurality of processing times is carried over to a new machine tool.
6. The NC machine tool according to claim 1 , wherein the control device is further configured to calculate another plurality of processing times for a second set of function commands of the plurality of the function commands in a chronological order when the actuator used for performing the second set of function commands is shared.