Claims
- 1. In a machining time display method for displaying, in the form of bar graphs, machining times of each tool rest for every synchronized process in a simultaneous four-axis lathe in which there is provided first and second NC programs corresponding to first and second tool rests, wherein the first and second NC programs have queuing commands, wherein a workpiece is machined by controlling movement of the first and second tool rests independently in accordance with the first and second NC programs, respectively, while synchronization is achieved by said queueing commands, said method comprising the steps of:
- (a) obtaining a total machining time T.sub.m of machining performed by the simultaneous four-axis lathe by determining and storing machining times T.sub.1i, T.sub.2i for each synchronized process of the first and second tool rests and using the longer of the machining times of each of the synchronized processes which are carried out simultaneously by both the first and second tool rest to calculate the total machining time T.sub.m ;
- (b) calculating machining time per character by dividing said total machining time T.sub.m by a number of characters C used for bar graph display;
- (c) determining a number of characters necessary for displaying the machining time of each synchronized process by dividing the machining time of each of the synchronized processes by the obtained machining time per character; and
- (d) displaying the machining time for each of the first and second tool rests in the form of a bar graph by allotting patterns for bar graph display stored beforehand in a character generator to the calculated numbers of characters and respective machining times.
- 2. A simultaneous four-axis lathe machining time display method according to claim 1, wherein said step (b) includes the steps of:
- (b1) determining a rough machining time per character by dividing the total machining time T.sub.m by the number of character C;
- (b2) checking whether there exist any processes whose machining times are less than the rough machining time by checking the machining times that were used to calculate the total machining time T.sub.m in said step (a), calculating a number of processes P whose machining times are less than the rough machining time and calculating a total machining time T.sub.p of these process; and
- (b3) calculating a true machining time t per character in accordance with the following equation:
- (T.sub.m -T.sub.p)/(C-P).fwdarw.t.
- 3. A simultaneous four-axis lathe machining time display method according to claim 2, wherein said step (c) includes the steps of:
- (c1) obtaining a quotient and a remainder by dividing a machining time T.sub.i of each synchronized process corresponding to one of the machining times used to calculate the total machining time T.sub.m in said step (a), by the machining time t per character;
- (c2) adopting the quotient as the number of characters necessary for displaying the machining time T.sub.i in the form of a bar graph, and allotting one character to a process for which the quotient is zero;
- (c3) obtaining a difference between a total value C' of the numbers of characters in all of the synchronized processes and the numbers of characters C;
- (c4) assigning, one by one, a number of characters equivalent to the difference obtained in said step (c3) to synchronized process for which said remainders are greater than a predetermined number; and
- (c5) obtaining a number of characters necessary for said machining time display by dividing the machining time of each synchronized process which was not used to calculate the total machining T.sub.m in said step (a) by the machining time t per character.
- 4. A simultaneous four-axis lathe machining time display method according to claim 1, wherein said step (d) comprises displaying bar graphs of contiguous synchronized processes which are continuous, such that the patterns for the bar graphs differ from each other to display a boundary between the bar graphs which is distinguishable.
- 5. A method of displaying machining times of synchronized processes in a machine tool having first and second tool rests controlled by first and second NC programs, respectively, comprising the steps of:
- (a) determining, for each synchronized process, the one of the first and second tool rests having the longer machining time;
- (b) obtaining a total machining time by adding the longer machining time for each synchronized process as determined in said step (a), to obtain a total machining time;
- (c) calculating a machining time per character by dividing the total machining time determined in said step (b) by a number of characters used for a bar graph display;
- (d) dividing the machining times of each of the synchronized processes for each of the first and second tool rests by the machining time per character calculated in said step (c) to determine a number of characters necessary for displaying the machining times of each of the synchronized processes; and
- (e) displaying the machining times of the synchronized processes for each of the first and second tool rests in the form of a bar graph based on the number of characters for each synchronized process determined in said step (d).
- 6. A method according to claim 5, wherein said step (c) includes the substeps of:
- (c1) dividing the total machining time determined in said step (b) by the total number of characters, to determine a rough machining time per character;
- (c2) determining whether any of the synchronized processes included in the total machining time obtained in said step (b) have machining times which are less than the rough machining time;
- (c3) calculating the number of synchronized processes whose machining times are less than the rough machining time, and the total machining time of these short synchronized processes; and
- (c4) calculating a true machining time per character based on the total machining time determined in said step (b), the total machining time of the short synchronized processes determined in said substep (c3), the number of characters, and the number of synchronized processes.
- 7. A method according to claim 5, wherein said step (e) comprises displaying bar graphs of contiguous synchronized processes which are continuous in a manner such that the patterns for the bar graphs differ from each other to display a boundary between the bar graphs which is distinguishable.
Priority Claims (1)
Number |
Date |
Country |
Kind |
61-039809 |
Feb 1986 |
JPX |
|
CROSS-REFERENCE TO RELATED APPLICATION
This application is related to U.S. application Ser. No. 103,581, filed Aug. 3, 1987 which is assigned to the assignee of the subject application.
PCT Information
Filing Document |
Filing Date |
Country |
Kind |
102e Date |
371c Date |
PCT/JP87/00100 |
2/17/1987 |
|
|
10/20/1987 |
10/20/1987 |
Publishing Document |
Publishing Date |
Country |
Kind |
WO87/04961 |
8/27/1987 |
|
|
US Referenced Citations (4)
Foreign Referenced Citations (1)
Number |
Date |
Country |
2118328 |
Oct 1983 |
GBX |