This application claims priority under 35 U.S.C. §119 and/or §365 to Japanese Application No. 2014-025145 filed Feb. 13, 2014, the entire contents is incorporated herein by reference.
Field of the Invention
The present invention relates to a numerical controller for controlling a machine tool, and more particularly, to a numerical controller capable of preventing wrong machining after a machining condition change.
Description of the Related Art
There is a method in which a machining path is drawn to be checked by simulated operation of a machining program before actual machining is performed by a machine tool. This drawing of the machining path based on the simulated operation is called check drawing. In an actual machining after the check drawing, a current position is displayed on the drawn path so that the machining state can be understood.
Japanese Patent Application Laid-Open No. 2002-91523 discloses an automatic programming technique capable of easily modifying an NC program and starting a simulation based on drawing processing at a modified portion. Further, Japanese Patent Application Laid-Open No. 2013-69231 discloses a technique capable of displaying one or more past feedback trajectories stored in a tool trajectory storage section in a superposed manner and accurately visually analyzing trajectory shape changes before and after a machining condition change.
Normally, check drawing is performed once just before actual machining. If the machining program or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed during the actual machining, the machining path may sometimes change thereafter. In such a case, there is a possibility of an operator continuing the operation as it is, thereby causing wrong machining or breakage of a tool, workpiece, etc.
The technique described in Japanese Patent Application Laid-Open No. 2002-91523 is characterized in that the drawing processing is performed as the NC program is modified in programming. According to this technique, therefore, the drawing processing cannot be performed based on a change of conditions during actual machining. On the other hand, the technique described in Japanese Patent Application Laid-Open No. 2013-69231 is characterized in that machining paths executed in two or more different machining conditions are superposed. According to this technique, therefore, the drawing processing cannot be performed in case where an unmachined path changes according to machining conditions.
Accordingly, the object of the present invention is to provide a numerical controller which can check if change is correct when an automatic operation is restarted after a machining program or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed while the automatic operation is suspended.
According to the present invention, when the machining program or programs or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed, coordinate values, machining conditions, and block end point coordinate values before and after the program is stopped are compared. If the comparison indicates that the differences between the calculated coordinate values, machining conditions, and end point coordinate values before and after the stop of the program exceed set ranges specified by parameters, an alarm, message, or warning signal is output to notify an operator that a machining path is changed.
According to the present invention, check drawing is performed and a machining path of an unmachined part is redrawn for set values for the case where the machining program or programs or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed. Thereupon, an operator can identify the changed machining path.
A first aspect of a numerical controller according to the present invention is configured to analyze a machining program and a machining condition, thereby performing automatic operation. The numerical controller includes: a machining path drawing information creation section configured to create machining path information for drawing based on the machining program and the machining condition at the start of the automatic operation; a machining path drawing information storage section configured to store the machining path drawing information; a machining path display section configured to display a machining path based on the machining path drawing information; a machining path drawing information re-creation section configured, when the automatic operation is restarted after the machining program or the machining condition is changed with the automatic operation suspended during the execution thereof, to re-create machining path information for drawing based on the changed machining program and the changed machining condition; a machining path drawing information re-storage section configured to store the machining path drawing information; and a machining path redisplay section configured to display a machining path based on the re-created machining path drawing information.
A second aspect of the numerical controller according to the present invention is configured to analyze a machining program and a machining condition, thereby performing automatic operation. The numerical controller includes: a machining path drawing information creation section configured to create machining path information for drawing based on the machining program and the machining condition at the start of the automatic operation; a machining path drawing information storage section configured to store the machining path drawing information; a machining path display section configured to display a machining path based on the machining path drawing information; a machining path drawing information re-creation section configured, when the automatic operation is restarted after manual intervention is performed with the automatic operation suspended during the execution thereof, to re-create machining path information from a tool position that is changed by manual intervention; a machining path drawing information re-storage section configured to store the machining path drawing information; and a machining path redisplay section configured to display a machining path based on the machining path drawing information.
The machining path redisplay section may display, as a machining path before the suspension of the automatic operation, a machining path before the machining program or the machining condition is changed, and, on the other hand, may display, as machining paths after the restart of the automatic operation, both machining paths before and after the machining program or the machining condition is changed.
The machining path redisplay section may display, as a machining path before the suspension of the automatic operation, a machining path before the machining program or the machining condition is changed, and, on the other hand, may display, as a machining path after the restart of the automatic operation, a machining path after the machining program or the machining condition is changed.
A third aspect of the numerical controller according to the present invention is configured to analyze a machining program composed of one or more blocks and a machining condition, thereby performing automatic operation. The numerical controller includes: an end point coordinate value analysis section configured to analyze end point coordinate values for all the blocks at the start of the automatic operation; an end point coordinate value storage section configured to store the end point coordinate values for all the blocks analyzed by the end point coordinate value analysis section; an end point coordinate value reanalysis section configured to reanalyze the end point coordinate values for all the blocks when the automatic operation is restarted after the machining program or the machining condition is changed with the automatic operation suspended during the execution thereof; an end point coordinate value re-storage section configured to store the end point coordinate values for all the blocks analyzed by the end point coordinate value reanalysis section; a block end point coordinate value comparison section configured to compare the end point coordinate values for each of the blocks stored by the end point coordinate value storage section with the end point coordinate values for each of the blocks stored by the end point coordinate value re-storage section; and a block end point coordinate value excessive change notification section configured to notify the fact that the change during the suspension of the automatic operation exceeds a preset tolerance if the result of the comparison by the block end point coordinate value comparison section exceeds the tolerance.
A fourth aspect of the numerical controller according to the present invention is configured to analyze a machining program composed of one or more blocks and a machining condition, thereby performing automatic operation. The numerical controller includes: a machining program comparison section configured, when the automatic operation is restarted after the machining program or the machining condition is changed with the automatic operation suspended during the execution thereof, to compare the machining programs before and after the change; a machining condition comparison section configured to compare the machining conditions before and after the change; a machining program change notification section configured to notify the change during the suspension of the automatic operation if the change of the program is determined by the machining condition comparison section; and a machining condition excessive change notification section configured to notify the fact that the change during the suspension of the automatic operation exceeds a preset tolerance if the result of the comparison by the machining condition comparison section exceeds the tolerance.
A fifth aspect of the numerical controller according to the present invention is configured to analyze a machining program composed of one or more blocks and a machining condition, thereby performing automatic operation. The numerical controller includes: a tool position storage section configured to store a tool position during the execution of the automatic operation; a restart tool position storage section configured to store a detected tool position when the automatic operation is restarted after manual intervention is performed with the automatic operation suspended during the execution thereof; a restart tool position comparison section configured to compare the tool position before the suspension of the automatic operation stored by the tool position storage section with the tool position at the restart of the automatic operation stored by the restart tool position storage section; and a tool position excessive change notification section configured to notify the fact that the change of the tool position by the manual intervention during the suspension of the automatic operation exceeds a preset tolerance if the result of the comparison by the restart tool position comparison section exceeds the tolerance.
The machining condition may include a parameter, a correction amount, and/or a machining state.
According to the present invention, a path can be immediately checked by check drawing when an operator changes a machining program or machining conditions, including a parameter, correction amount, and machining state, or performs manual intervention. Further, wrong machining paths can be understood in advance to prevent wrong machining or breakage of a tool, workpiece, etc.
The above and other objects and features of the present invention will be apparent from the ensuing description of embodiments with reference to the accompanying drawings, in which:
A RAM 13 is stored with temporary calculation data, display data, and various data input by an operator through a display/MDI unit 70, directly or via interface 18. As described later, a machining path is displayed on a display device of the display/MDI unit 70.
An SRAM 14 is constructed as a nonvolatile memory that can maintain its storage state even after the numerical controller 10 is switched off. The SRAM 14 can be stored with a machining program read through an interface 15, a machining program input through the display/MDI unit 70, etc. Further, the ROM 12 is preloaded with various system programs for the execution of edit-mode processing required for the creation and editing of the machining programs and processing for automatic operation. In addition, the ROM 12 is stored with a program for the execution of the present invention to prevent wrong machining after a machining condition change.
Axis control circuits 30 to 32 receive move commands for individual axes from the CPU 11 and output them to servo amplifiers 40 to 42. On receiving these commands, the servo amplifiers 40 to 42 drive servomotors 50 to 52 for the axes, respectively. The servomotors 50 to 52 individually incorporate position/speed detectors such that position/speed feedback signals from the position/speed detectors are fed back to the axis control circuits 30 to 32 to perform position/speed feedback control. The position/speed feedback is not illustrated in
The servomotors 50 to 52 serve to drive X-, Y-, and Z-axes of a machine tool. A spindle control circuit 60 receives a spindle rotation command and outputs a spindle speed signal to a spindle amplifier 61. On receiving the spindle speed signal, the spindle amplifier 61 drives a spindle motor (SM) 62 to rotate at a commanded speed. A speed detector 63 is built in the SM 62 and the rotational speed of the SM 62 is fed back to the spindle control circuit 60.
The following is a description of some aspects of processing for preventing wrong machining after a machining condition change performed by the numerical controller 10 of
[First Aspect]
When the machining program or programs or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed, check drawing is performed and a machining path of an unmachined part is redrawn. Thereupon, the operator can identify the changed machining path.
If the operator changes the setting of the tool diameter correction amount and the like when the program is stopped, a path different from the check drawing path before the change of setting is drawn. In
[Step sa01] It is determined whether or not the operation is restarted after the program is stopped. If the operation is restarted after the program is stopped (YES), the processing proceeds to Step sa02. If not (NO), the processing proceeds to Step sa04.
[Step sa02] The drawing path of the unmachined part is reconstructed. For example, the check drawing path at or behind a program stop position in
[Step sa03] The drawing path is redrawn, whereupon the processing proceeds to Step sa06.
[Step sa04] Actual machining is performed. [Step sa05] An NC program is stored as drawing path information.
[Step sa06] It is determined whether or not to continue the operation. If the operation is to be continued (YES), the processing returns to Step sa01. If not (NO), this processing ends.
[Second Aspect]
This aspect is equivalent to an arrangement in which the stored drawing path information is output at the same time when the check drawing in the first aspect is re-executed. Thus, the operator is allowed to compare the changed machining path with the preceding machining path.
[Step sb01] It is determined whether or not the operation is restarted after the program is stopped. If the operation is restarted after the program is stopped (YES), the processing proceeds to Step sb02. If not (NO), the processing proceeds to Step sb05.
[Step sb02] The drawing path information before suspension of machining is stored.
[Step sb03] New drawing path information is created.
[Step sb04] Drawing is updated based on the stored drawing path information and the newly created drawing path information.
[Step sb05] Actual machining is performed.
[Step sb06] An NC program is stored as drawing path information.
[Step sb07] It is determined whether or not to continue the operation. If the operation is to be continued (YES), the processing returns to Step sb01. If not (NO), this processing ends.
[Third Aspect]
When the machining program or programs or machining conditions, including a parameter, correction amount, and machining state, are changed or manual intervention is performed, coordinate values, machining conditions, and block end point coordinate values before and after the program is stopped are compared. If the comparison indicates that the differences between the calculated coordinate values, machining conditions, and end point coordinate values before and after the stop of the program exceed set ranges specified by parameters, an alarm, message, or warning signal is output to notify the operator that the machining path is changed.
[Step sc01] It is determined whether or not the operation is restarted after the program is stopped. If the operation is restarted after the program is stopped (YES), the processing proceeds to Step sc02. If not (NO), the processing proceeds to Step sc05.
[Step sc02] Stored coordinate/set values and calculated coordinate/set values are compared.
[Step sc03] It is determined whether or not the change is outside a tolerance. If the change is outside the tolerance (YES), the processing proceeds to Step sc04. If not (NO), the processing proceeds to Step sc07.
[Step sc04] An alarm or a warning signal is output.
[Step sc05] Actual machining is performed.
[Step sc06] Coordinate/set values for the current block are stored.
[Step sc07] It is determined whether or not to continue the operation. If the operation is to be continued (YES), the processing returns to Step sc01. If not (NO), this processing ends.
Number | Date | Country | Kind |
---|---|---|---|
2014-025145 | Feb 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4514611 | Matsui | Apr 1985 | A |
5631851 | Tanaka | May 1997 | A |
5831407 | Ouchi et al. | Nov 1998 | A |
6400998 | Yamazaki | Jun 2002 | B1 |
6463358 | Watanabe et al. | Oct 2002 | B1 |
8531149 | Kataoka | Sep 2013 | B2 |
9069347 | Kettemer | Jun 2015 | B2 |
20020031019 | Nakamura | Mar 2002 | A1 |
20130076287 | Iwashita et al. | Mar 2013 | A1 |
20130253670 | Chung | Sep 2013 | A1 |
Number | Date | Country |
---|---|---|
102073301 | May 2011 | CN |
102221825 | Oct 2011 | CN |
0436039 | Jul 1991 | EP |
0889383 | Jan 1999 | EP |
H03-155486 | Jul 1991 | JP |
H04-36039 | Feb 1992 | JP |
H04-148305 | May 1992 | JP |
07148618 | Jun 1995 | JP |
H07-295619 | Nov 1995 | JP |
H07-311612 | Nov 1995 | JP |
2002-091523 | Mar 2002 | JP |
2013-069231 | Apr 2013 | JP |
2014-026430 | Feb 2014 | JP |
Entry |
---|
Notification of Reasons for Refusal dated Jul. 7, 2015, along with its English-language translation, in corresponding Japanese Patent Application 2014-025145. |
Partial European Search Report issued Oct. 13, 2016 in European Patent Application No. 15154791.6. |
Extended European Search Report issued Feb. 3, 2017 in European Patent Application No. 15154791.6. |
The Notification of the First Office Action issued Jan. 13, 2017 in Chinese Patent Application No. 2015100755097 (6 pages) with an English translation (9 pages). |
Number | Date | Country | |
---|---|---|---|
20150227133 A1 | Aug 2015 | US |