METHOD OF RESUMING LASER BEAM MACHINING

Abstract: A method of accurately resuming laser beam machining without leaving any portions unprocessed when processing is interrupted during laser beam machining. When laser beam machining has progressed a distance L₀ from a processing point P1 and abnormal processing is detected at a processing point P3, a computerized numerical control receives the detection signal of abnormal processing to go into retry processing. Namely, laser beam machining is first suspended and the position of the processing point P3 at the time of suspension is stored. Then a processing head is retracted a distance h₀ in a Z axis direction and is reversed a distance L₂ along a processing path L along which processing has been executed theretofore. When reversing is completed at a point P6, a gap between the nozzle and the work piece is controlled, and laser beam machining is resumed when approaching has completed. When the computerized numerical control again receives a detection signal of abnormal processing during forward movement of the processing head from a processing point P7 to a processing point P4, the above retry processing is again performed. When the number of such repetitions exceeds a predetermined number of times n₀, for example, three times, processing of the block being processed is skipped, and processing proceeds to the subsequent block.

Description: TECHNICAL FIELD The present invention relates to a laser machining resuming method of resuming laser machining which is interrupted while it is being carried out. BACKGROUND ART A laser machining resuming method of resuming laser machining which is interrupted due to burning and the like while it is being carried out is one of the most important problems for automatically carrying out laser machining. As the laser machining resuming method, there is conventionally known a method by which, when laser machining is interrupted due to the occurrence of abnormal machining and the like, a machining head is once retracted in a Z-axis direction and machining is carried out again at the position where the laser machining is interrupted to resume the laser machining. Nevertheless, even if machining is stopped by detecting abnormal machining and the like, a problem arises in that since a machine cannot stop at once, there remains an unmachined portion before the machining head completely stops. In the above prior art, machining is resumed from the aforesaid state. Therefore, laser machining cannot be resumed well or even if it can be resumed, the unmachined portion is left because the cause of the abnormal machining remains as it is. DISCLOSURE OF THE INVENTION Taking the above into consideration, the object of the present invention is to provide a laser machining resuming method capable of securely resuming laser machining without leaving an unmachined portion. To solve the above problem, according to the present invention, there is provided a laser machining resuming method of resuming laser machining when the laser machining is interrupted while it is being carried out, comprising the steps of interrupting the laser machining when abnormal machining is sensed while the laser machining is being carried out, storing a position where the laser machining is carried out when the abnormal machining is sensed as well as retracting a machining head a predetermined distance, moving the machining head backward a predetermined distance along a machining path along which the laser machining has been executed until the occurrence of interruption of the laser machining on the completion of the retraction, causing the machining head to approach a workpiece on the completion of the backward movement, resuming the laser machining on the completion of the approach and moving forward the machining head along the machining path along which the laser machining has been executed until the occurrence of interruption of the laser machining, determining whether the machining head has passed through the machining position where the abnormal machining was sensed, repeating a retry processing including the processes from the interruption of the laser machining to the forward movement of the machine head due to the resume of the laser machining when the abnormal machining is sensed again before the machining head passes through the machining position where the abnormal machining was sensed, and skipping the machining block and starting the laser machining from a next machining block when the number of repetition of the retry processing has reached the predetermined number of times. When abnormal machining is sensed while laser machining is being carried out, a retry processing is started to resume the laser machining. That is, first, the CNC (numerical control apparatus) interrupts the laser machining in response to an abnormal machining sensing signal and stores a machining position at the time as well as retracts the machining head a predetermined distance. On the completion of the retraction, the CNC moves the machining head backward a predetermined distance along the machining path along which the laser machining has been executed until the occurrence of interruption of the laser machining. On the completion of the backward movement, the CNC causes the machining head to approach the workpiece. On the completion of the approach, the CNC resumes the laser machining and moves the machining head forward along the machining path along which the laser machining has been executed until the occurrence of interruption of the laser machining. At the time, the CNC determines whether or not the machining head has passed through the machining position where the abnormal machining was sensed, and when abnormal machining is sensed again before the machining head passes through the machining position where the abnormal machining was sensed, the CNC repeats the retry processing including the processes from the interruption of the laser machining to the forward movement of the machining head due to the resume of the laser machining. When the number of repetition of the retry processing has reached the predetermined number, the machining block having been executed is skipped and the laser machining is resumed from the next machining block. When the machining head has passed through the machining position where the abnormal machining was sensed without causing abnormal machining, machining is continued according to a command from a program. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram explaining a laser machining resuming method of the present invention; FIG. 2 is a flowchart showing a processing sequence of the present invention; FIG. 3 is a flowchart showing the processing sequence of the present invention; and FIG. 4 is a block diagram showing an entire arrangement of a laser beam machine to which the laser machining resuming method of the present invention is applied. BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram explaining a laser machining resuming method of the present invention. In FIG. 1, a machining head of a laser beam machine moves along a path (machining path) L from a machining point P1 to a machining point P2 and further moves in the direction of an arrow A from the point P2 to execute laser machining. The movement of the machining head and the laser machining are controlled by a numerical control apparatus (CNC) according to a machining program stored in a memory of the numerical control apparatus. There is assumed a case in which laser machining is carried out a distance L 0 from the machining point P1 and abnormal machining is sensed at a machining point P3. The abnormal machining is sensed by, for example, a photo sensor which senses a luminous energy generated at a machining point when burning is caused. On receiving an abnormal machining sensing signal, the CNC starts a retry processing to resume the laser machining. That is, first, the CNC stops (interrupts) the laser machining and stores the position of the machining point P3 at the time. The laser machining is stopped by turning off both of a laser beam and an assist gas. Next, the machining head is retracted a distance h 0 in a Z-axis direction. When the retract of the machining head is completed at a point P5, the machining head is moved backward a distance L 2 along the machining path L which has been executed until that time. When the backward movement is completed at a point P6, the machining head is moved in a -(minus) Z-axis direction and caused to approach a machining point P7 and a gap between a nozzle and a workpiece is controlled. On the completion of the approach, the laser machining is resumed and a forward movement of the machining head is started toward the machining point P3 by generating a movement command commanding the machining point P3 as a machining end point. The laser machining is resumed by turning on both of the laser beam and the assist gas. Thereafter, the machining head is moved forward from the machining point P7 along the machining path L, and when the machining head returns to the machining point P3, a machining block which has been executed until the occurrence of interruption of the laser machining is fetched and the execution of the machining block is resumed. When the execution of the machining block is resumed and the machining head reaches the machining point P2 as the machining end point of the machining block, the next machining block is executed in this state to continue the laser machining in the direction of the arrow A. On the other hand, when the CNC receives an abnormal machining sensing signal again while the machining head is being moved forward from the machining point P7 to the machining point P3, the aforesaid retry processing including the stop of laser machining, retraction, backward movement, gap control and forward movement is carried out again. A point P4, which is apart from the machining point P3 by a distance L 1 (hereinafter, referred to as a "passing-through distance L 1 "), is preset on the machining path L, and when the CNC receives an abnormal machining sensing signal again when the machining head moves in the passing-through distance L 1 after having passed through the machining point P3, the CNC also executes the retry processing. The passing-through distance L 1 is set with respect to the machining point P3 where the first abnormal machining was sensed as described above so that laser machining should be securely carried out in the vicinity of the position where the abnormal machining was sensed, because similar abnormal machining may be caused in this region. As described above, when an abnormal machining sensing signal is produced while laser machining is being carried out again from the machining point P7 to the machining point P4, the CNC repeats the retry processing. When the number of the repeated retry processings exceeds a predetermined number n 0 , e.g., three times, however, the execution of the machining block is stopped and skipped, and the next machining block is executed. For example, in FIG. 1, when abnormal machining is sensed at a machining point P8 while the third retry processing is being executed, the CNC stops laser machining to be executed thereafter and makes the machining head skip to the machining point P2 through a point P9 and a point P10 and resumes new laser machining from the machining point P2. Although the arrangement in the above description is such that when a retry processing is started, the machining head is retracted in the Z-axis direction, an amount of the retraction may be set to 0 depending upon a status in which the workpiece is being machined. FIGS. 2 and 3 are flowcharts showing a processing sequence of the present invention. In FIGS. 2 and 3, each numeral following the letter "S" represents a step number. [S1] First, an abnormal machining sensing signal is received from the photo sensor or the like. [S2] Laser machining is stopped by turning off a laser beam and an assist gas. [S3] A position where abnormal machining was sensed is stored. [S4] The machining head is retracted the predetermined distance h 0 . [S5] The machining head is moved backward the predetermined distance L 2 along the machining path L. [S6] The machining head is approached to a workpiece and a gap is controlled. [S7] The laser beam and the assist gas are turned on and laser machining is resumed. [S8] The machining head is moved forward along the machining path L. [S9] It is determined whether or not abnormal machining is sensed before the machining head passes through the passing-through distance L 1 . If abnormal machining is sensed again, the process goes to step S10, and if not, the process goes to step S12. [S10] It is determined whether or not abnormal machining has been sensed the predetermined number of times n 0 . If it has been sensed n 0 times, the process goes to step S11, and if not, the process returns to step S2 and executes the retry processing again. [S11] Since abnormal machining has been sensed n 0 times, the execution of a machining block which has been executed until that time is stopped and skipped to execute machining of the next block. [S12] Since no abnormal machining is sensed, the laser machining is continued as it is. As described above, when abnormal machining is sensed while laser machining is being carried out, the retry processing for resuming the laser machining is started and the laser machining is resumed after the machining head is returned the predetermined distance L 2 . As a result, laser machining can be securely resumed without leaving an unmachined portion which is produced when abnormal machining is caused. Since machining is skipped to the next machining block when abnormal machining is caused even after the retry processing is repeated the predetermined number of times n 0 , laser machining can be continuously carried out without being stopped even if a laser beam machine is in unmanned operation. Further, since the passing-through distance L 1 is set, a retry processing is also carried out in a region where abnormal machining similar to that sensed for the first time may occur even after the machining head passes through the position where the abnormal machining was sensed for the first time. Therefore, laser machining can be securely carried out in the vicinity of a position where abnormal machining is caused. FIG. 4 is a block diagram showing an entire arrangement of a laser beam machine to which the laser machining resuming method of the present invention is applied. In FIG. 4, a processor 10 reads a program, which is stored in a memory 31, for executing the laser machining resuming method of the present invention and controls the entire operation of the laser beam machine. The memory 31 is a nonvolatile memory storing machining programs, various parameters and the like and composed of a CMOS backed up by a battery. An output control circuit 11, which contains a D/A converter, converts an output command value from the processor 10 into a current command value and outputs the current command value. An exciting power source 12 rectifies a commercially available electric power, produces a high frequency voltage by carrying out a switching operation and supplies a high frequency current according to the current command value to a discharge tube 17 of a laser oscillator. A laser gas 16 circulates in the discharge tube 17, and when the high frequency voltage is applied from the exciting power source 12, discharging is produced and the laser gas 16 is excited. A Fabry-Perot resonator, which is composed of a rear mirror 15 and an output mirror 18, excites laser gas molecules and outputs a laser beam 19 to the outside. A power sensor 14, which is composed of a thermoelectric converting element, a photoelectric converting element or the like, measures an output power of the laser beam 19 by receiving the laser beam partially output through the rear mirror 15. An A/D converter 13 converts an output from the power sensor 14 into a digital value and inputs the digital value to the processor 10. The output laser beam 19 is converged on a machining head 20 and irradiated onto a surface of a workpiece 46 to carry out laser machining. The machining head 20 is provided with a photo sensor 22. The photo sensor 22 senses an abnormal light 22a which is produced when abnormal machining such as burning and the like is caused while the workpiece 46 is being machined, and thereafter supplies a sensed result to the processor 10 through an interface 70 as an abnormal machining sensing signal. A position control circuit 40 controls rotation of a servomotor 42 through a servoamplifier 41 in response to a command from the processor 10, and controls a movement of a table 45 by a ball screw 44 and a nut 43 to thereby control a position of the workpiece 46. The servomotor 42 controls a position in an X-axis direction of the table 45. Note, a position control circuit, a servoamplifier, a servomotor and the like in a Y-axis direction are not shown in FIG. 4. A position control circuit 50 controls rotation of a servomotor 21 through a servoamplifier 51 in response to a command from the processor 10 to thereby control a position in a Z-axis direction of the machining head 20. A display unit 60 is composed of a CRT, a liquid display panel or the like. As described above, according to the present invention, when abnormal machining is sensed while laser machining is being carried out, a retry processing is started to resume the laser machining, which is to be resumed after the machining head is returned a predetermined distance. As a result, the laser machining can be securely resumed without leaving an unmachined portion which is produced when abnormal machining is caused. Further, since laser machining is skipped to a next machining block when abnormal machining is caused even after the retry processing is repeated the predetermined number of times, the machining can be continuously carried out without being stopped even if a laser beam machine is in unmanned operation.

Claims: A laser machining resuming method of resuming laser machining of a workpiece when the laser machining is interrupted while it is being carried out, comprising the steps of: interrupting said laser machining when abnormal machining is sensed while said laser machining is being carried out; storing a position (P3) where said laser machining is carried out when said abnormal machining is sensed as well as retracting a machining head a predetermined distance (h 0 ); moving said machining head backward a predetermined distance (L 2 ) along a machining path along which said laser machining has been executed until the occurrence of interruption of said laser machining on the completion of said retraction; causing said machining head to approach the workpiece on the completion of said backward movement; resuming said laser machining on the completion of said approach and moving forward said machining head along said machining path along which said laser machining has been executed until the occurrence of interruption of said laser machining; determining whether said machining head has passed through said machining position (P3) where said abnormal machining was sensed; repeating a retry processing including the processes from the interruption of said laser machining to the forward movement of the machining head due to the resume of said laser machining when said abnormal machining is sensed again before said machining head passes through said machining position (P3) where said abnormal machining was sensed; and skipping said machining block and starting said laser machining from a next machining block when the number of repetition of said retry processing has reached a predetermined number of times. A laser machining resuming method according to claim 1, wherein when said abnormal machining is sensed, said laser machining is interrupted by turning off a laser beam and an assist gas and said laser machining is resumed by turning on the laser beam and the assist gas. A laser machining resuming method according to claim 1, wherein the predetermined distance (h 0 ) when said machining head is to be retracted is permitted to be set to 0. A laser machining resuming method according to claim 1, wherein said retry processing is also carried out when a passing-through distance from a position where said abnormal machining was sensed is set and said abnormal machining is sensed while laser machining is carried out in said passing-through distance. A laser machining resuming method according to claim 1, wherein when said laser machining is resumed on the completion of said approach, a laser output and a feed speed are changed according to preset retry laser machining conditions and when said machining head has passed through said passing-through distance, said machining conditions are returned to values commanded by a program.

Inventors: MASUDA TERUO, YAMAZAKI ETSUO, MASUDA, TERUO, YAMAZAKI, ETSUO, MASUDA, TERUO, FANUC DAI-3 VIRA-KARAMATSU
Applicants: FANUC LTD
Application year: 1993
Main classification: B23K26
IPC codes: B23K26, G05B19