Processing code over-travel detection method of laser cutting numerical control system

By embedding a stroke-limited detection macro program in the processing code of the laser cutting CNC system, the over-stroke detection and automatic adjustment of the processing code is achieved, and the cutting interruption and material waste caused by insufficient stroke in laser cutting is solved, thereby improving cutting efficiency and equipment reliability.

CN120122556APending Publication Date: 2025-06-10GUANGZHOU CORESING ROBOT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510176849.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

During laser cutting processing, due to the non-standard length of the material and the different operating habits of the operator, the actual processing stroke does not match the preset stroke. The existing technology lacks methods to automatically detect and handle excessive stroke conditions, resulting in cutting interruptions, material waste and equipment failure.

Method used

By embedding a stroke-limited detection macro program in the processing code of the laser cutting CNC system, the over-stroke detection of the processing code is realized, and the processing strategy is automatically adjusted or warning prompts are given based on the detection results.

Benefits of technology

It effectively avoids cutting interruptions and material waste caused by insufficient stroke, improves cutting efficiency, reduces material waste caused by human error in judgment, and reduces equipment failure rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120122556A_ABST
    Figure CN120122556A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of laser processing, in particular to a processing code overtravel detection method of a laser cutting numerical control system, which mainly comprises the following steps: receiving a processing code generated by CAM software, the processing code comprising processing length information of a pipe, a part and a contour; a stroke limiting detection macro-program is embedded in the machining code, and the stroke detection macro-program is used for conducting logic processing according to the starting point coordinate, the machining length and the limiting coordinate of the machining code and judging whether an over-stroke condition exists or not; when the machining codes are executed, stroke detection is conducted on the machining paths of the whole pipe, the single part and the single cutting contour tool path in sequence through the stroke detection macro program, and a detection result is obtained; and adjusting execution logic of the processing code according to the detection result and preset logic. According to the method, overtravel detection is carried out on the machining codes in advance, the problems of cutting interruption and material waste caused by insufficient travel are avoided, and the cutting efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of laser processing technology, and particularly to a method for detecting overtravel of machining codes in a laser cutting numerical control system. Background Art

[0002] In the field of laser cutting processing, numerical control machine tools are widely used in the cutting processing of various materials. To ensure that the equipment does not collide during movement, existing numerical control machine tools usually control the movement range of the equipment through external signals and axis travel limits set by software. However, during actual processing, due to factors such as non-standard material lengths and operator trial runs, the actual machining travel may not match the preset travel. The existing processing methods mainly rely on experienced operators to judge by eye or manually adjust the equipment position according to the axis travel limits. This method is not only inefficient but also prone to material waste and equipment failures due to human judgment errors.

[0003] Especially, during the laser cutting of pipes, due to the uncertainty of pipe lengths and different operating habits of operators, problems such as cutting interruptions and material waste caused by insufficient travel often occur. In addition, when the equipment reaches the limit position, an alarm will be triggered, requiring the operator to spend additional time dealing with the alarm, further reducing the processing efficiency.

[0004] In view of the above problems, the existing technology lacks a method that can automatically detect overtravel situations in machining codes and automatically adjust machining strategies or give early warning prompts according to the detection results.

[0005] Application Content

[0006] This application provides a method for detecting overtravel of machining codes in a laser cutting numerical control system. This method can perform overtravel detection on machining codes before cutting and automatically adjust machining strategies or give early warning prompts according to the detection results, thereby improving cutting efficiency, reducing material waste, and reducing equipment failure rates.

[0007] To achieve the above object, this application adopts the following technical solutions:

[0008] In a first aspect, this application provides a method for detecting overtravel of machining codes in a laser cutting numerical control system, including:

[0009] Receiving the machining code generated by the CAM software, where the machining code contains the machining length information of pipes, parts, and contours;

[0010] Embedding a limit travel detection macro program in the machining code, where the travel detection macro program is used to perform logical processing based on the starting coordinates, machining length, and limit coordinates of the machining code to determine whether there is an overtravel situation;

[0011] When executing the machining code, the travel detection macro program is used to sequentially detect the travel of the machining paths of the entire pipe, single part, and single cutting profile tool path, and obtain the detection results;

[0012] Adjust the execution logic of the machining code according to the detection results and preset logic.

[0013] In a preferred example of the present application, it can be further set that the travel detection macro program sequentially detects the travel of the machining paths of the entire pipe, single part, and single cutting profile tool path, including:

[0014] Through the travel detection macro program, sequentially calculate the difference between the machining path length and the equipment limit coordinates for the machining paths of the entire pipe, single part, and single cutting profile tool path, and compare it with the preset axis travel.

[0015] In a preferred example of the present application, it can be further set that the adjusting the execution logic of the machining code according to the detection results and preset logic includes:

[0016] When the detection result is insufficient travel, the machining code triggers a warning prompt or jumps to the end;

[0017] When the detection result is insufficient travel, detect the value of the material, compare it with the value threshold in the preset logic, and select to execute a warning prompt or automatic waste discharge according to the comparison result.

[0018] In a preferred example of the present application, it can be further set that after adjusting the execution logic of the machining code according to the detection results and preset logic, it further includes:

[0019] When calling the tailstock material handling macro program to discharge waste for the remaining material.

[0020] In a preferred example of the present application, it can be further set that the warning prompt includes a pop-up window prompt or a sound prompt.

[0021] In a preferred example of the present application, it can be further set that the when the detection result is insufficient travel, the machining code triggers a warning prompt or jumps to the end, including:

[0022] When the detection result is insufficient travel, the machining code converts the detection result into a control signal based on ladder diagram logic, and drives the software interface to perform a pop-up window prompt or jump to the end.

[0023] In a second aspect, the present application provides a machining code over-travel detection device for a laser cutting numerical control system, and the device includes:

[0024] A collection module for receiving the processing code generated by the CAM software, where the processing code contains the processing length information of the pipe, parts, and contours.

[0025] An embedding module for embedding a limit travel detection macro program in the processing code, where the travel detection macro program is used to perform logical processing based on the starting coordinates, processing length, and limit coordinates of the processing code to determine whether there is an over-travel situation.

[0026] An execution module for performing travel detection on the processing paths of the entire pipe, single part, and single cutting contour tool path in sequence through the travel detection macro program when executing the processing code to obtain a detection result.

[0027] An adjustment module for adjusting the execution logic of the processing code according to the detection result and preset logic.

[0028] In a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the method for detecting over-travel of the processing code of the laser cutting numerical control system as described in any one of the above are implemented.

[0029] In a fourth aspect, the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the method for detecting over-travel of the processing code of the laser cutting numerical control system as described in any one of the above is implemented.

[0030] In a fifth aspect, the present application provides a computer program product, including computer instructions, which implement the steps of the method for detecting over-travel of the processing code of the laser cutting numerical control system as described in any one of the above when executed by a processor.

[0031] In summary, compared with the prior art, the beneficial effects brought by the technical solution provided in the embodiment of the present application at least include:

[0032] Compared with the prior art, the method of the present application avoids the problems of cutting interruption and material waste caused by insufficient travel by detecting over-travel of the processing code in advance, and improves the cutting efficiency. Automatically adjusting the processing strategy or giving a warning prompt according to the detection result effectively reduces the problem of material waste caused by human judgment errors. By automatically detecting and handling over-travel situations, the problem of the device triggering an alarm when reaching the limit position is avoided, and the device failure rate is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of a method for detecting over-travel of the processing code of a laser cutting numerical control system provided by an embodiment of the present application.

[0034] Figure 2 The logic diagram of a method for detecting overtravel of machining codes in a laser cutting numerical control system provided by an embodiment of the present application.

[0035] Figure 3 The module diagram of a device for detecting overtravel of machining codes in a laser cutting numerical control system provided by an embodiment of the present application. Detailed implementation manners

[0036] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0037] In an embodiment of the present application, a method for detecting overtravel of machining codes in a laser cutting numerical control system is provided, which is applied to a workshop equipped with advanced laser cutting equipment and a corresponding numerical control system. The numerical control system can be seamlessly docked with CAM (Computer Aided Manufacturing) software and receive and parse the machining codes generated by the CAM software.

[0038] Please refer to Figure 1 As shown, the method includes:

[0039] S100: Receive the machining codes generated by the CAM software, and the machining codes include the machining length information of the pipe, parts and contours.

[0040] Specifically, before step S100 is executed, ensure that the CAM software has generated machining codes according to the design drawings. The machining codes describe in detail the machining length information of the pipe, parts and contours, as well as the starting coordinates of the machining path.

[0041] S200: Embed a limit travel detection macro program in the machining codes. The travel detection macro program is used to perform logical processing according to the starting coordinates, machining length and limit coordinates of the machining codes to determine whether there is an overtravel situation.

[0042] Specifically, embed a limit travel detection macro program in the generated machining codes. The macro program is designed to be able to read the starting coordinates, machining length and preset limit coordinates of the machining codes and perform logical processing to determine whether there is an overtravel situation.

[0043] In the macro program, the detection logics of the whole pipe detection, single part detection and single contour tool path are independent of each other, and can be flexibly configured by itself to select the execution order or the executed module.

[0044] S300: When executing the machining code, the travel detection macro program is used to sequentially detect the travel of the machining paths of the entire pipe, individual parts, and individual cutting profile tool paths, and obtain the detection results.

[0045] Specifically, when the machining code is executed, the travel detection macro program is automatically called to sequentially detect the travel of the machining paths of the entire pipe, individual parts, and individual cutting profile tool paths. For the entire pipe, the macro program calculates the difference between the pipe length and the limit coordinates of the equipment in the pipe direction, and compares it with the preset axis travel. For individual parts, the macro program also calculates the difference between the part length and the limit coordinates of the equipment in the corresponding direction and makes a comparison. For an individual cutting profile tool path, the macro program calculates the difference between the tool path length and the limit coordinates of the equipment in the cutting direction and makes a comparison.

[0046] S400: Adjust the execution logic of the machining code according to the detection results and preset logic.

[0047] Specifically, when the detection result indicates insufficient travel, a warning prompt is triggered, which includes a pop-up prompt and / or a sound prompt to notify the operator. The pop-up prompt directly displays relevant information on the software interface, and the sound prompt is issued through the audio system in the workshop.

[0048] The logical execution process of the above steps is as Figure 2 shown, and the application process of the method may include:

[0049] Suppose there is a batch of pipes that need to be cut into multiple parts, and the length and shape of each part are different. The operator uses CAM software to generate machining code according to the design drawings and embeds the travel detection macro program in the code. When starting to execute the machining code, the travel detection macro program first detects the travel of the entire pipe. Suppose the pipe length exceeds the limit of the equipment in the pipe direction. At this time, a warning prompt is triggered, and a pop-up message "The pipe is too long, please adjust or replace" is displayed on the software interface. At the same time, since this batch of pipes is of high value, the operator is prompted to handle it manually. The operator manually truncates the pipe to an appropriate length according to the prompt information and restarts the machining process. At this time, the travel detection macro program continues to detect the travel of individual parts and individual cutting profile tool paths, and adjusts the execution logic according to the detection results. For parts with insufficient travel, they are automatically discharged as waste according to the preset logic; for parts with sufficient travel, normal cutting machining is performed.

[0050] In this embodiment, the over-travel detection of the machining code is performed in advance, which avoids the problems of cutting interruption and material waste caused by insufficient travel, and improves the cutting efficiency. According to the detection results, the machining strategy is automatically adjusted or a warning prompt is given, effectively reducing the material waste problem caused by human judgment errors. By automatically detecting and processing the over-travel situation, the alarm problem triggered by the equipment reaching the limit position is avoided, and the equipment failure rate is reduced. By embedding macro programs in the code, flexible configuration can be performed according to different requirements, such as detecting the whole pipe, detecting a single part, and detecting a single contour, etc., increasing the operability of the equipment.

[0051] In some embodiments, the adjusting the execution logic of the machining code according to the detection result and the preset logic includes:

[0052] When the detection result is insufficient travel, the machining code triggers a warning prompt or jumps to the end;

[0053] When the detection result is insufficient travel, the value of the material is detected, compared with the value threshold in the preset logic, and a warning prompt or automatic waste discharge is selected according to the comparison result.

[0054] In specific implementation, the value of the material is judged according to the value threshold in the preset logic. If the material value is higher than the threshold, the system prompts the operator to handle it manually; if the material value is lower than the threshold, the system automatically discharges this part of the material as waste.

[0055] In this embodiment, the processing logic is flexibly adjusted according to the material value or processing requirements, which can adapt to different material values and processing requirements and reduce material loss.

[0056] In some embodiments, after adjusting the execution logic of the machining code according to the detection result and the preset logic, it further includes:

[0057] When calling the tail stock processing macro program to discharge the remaining material as waste.

[0058] In specific implementation, after adjusting the execution logic, if the remaining material still needs to be processed, the tail stock processing macro program is called to perform waste discharge operation on the remaining material.

[0059] In this embodiment, the management of the remaining pipe can be completed, and the material loss is reduced.

[0060] In some embodiments, the when the detection result is insufficient travel, the machining code triggers a warning prompt or jumps to the end, includes:

[0061] When the detection result is insufficient travel, the machining code converts the detection result into a control signal based on the ladder diagram logic, and drives the software interface to perform a pop-up prompt or jump to the end.

[0062] During specific implementation, the detection result is converted into a control signal (such as M67 Y51.1) through ladder diagram logic to drive a pop-up window on the software interface or jump to the end.

[0063] This application also provides a device for detecting overtravel of machining codes in a laser cutting numerical control system. Please refer to Figure 3 as shown, the device includes:

[0064] An acquisition module 100, configured to receive machining codes generated by CAM software, where the machining codes include machining length information of pipes, parts, and contours;

[0065] An embedding module 200, configured to embed a limit travel detection macro program in the machining codes, where the travel detection macro program is used to perform logical processing based on the starting coordinates, machining length, and limit coordinates of the machining codes to determine whether there is an overtravel situation;

[0066] An execution module 300, configured to perform travel detection on the machining paths of the entire pipe, single part, and single cutting contour tool path in sequence through the travel detection macro program when executing the machining codes to obtain a detection result;

[0067] An adjustment module 400, configured to adjust the execution logic of the machining codes according to the detection result and a preset logic.

[0068] The function implementation of each module in the above device for detecting overtravel of machining codes in a laser cutting numerical control system corresponds to the steps in the embodiment of the method for detecting overtravel of machining codes in the above laser cutting numerical control system, and its function and implementation process will not be elaborated here one by one.

[0069] This application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the method for detecting overtravel of machining codes in a laser cutting numerical control system as described in any of the above embodiments are implemented.

[0070] This application also provides a computer-readable storage medium, on which a program is stored. The computer-readable storage medium refers to a carrier for storing data, which may include, but is not limited to, floppy disks, optical discs, hard disks, flash memories, USB flash drives, and / or memory sticks. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The working process, working details, and technical effects of the computer-readable storage medium provided in this embodiment can be referred to the embodiment of the method for detecting overtravel of machining codes in a laser cutting numerical control system in the above text, and will not be elaborated here.

[0071] The application also provides a computer program product, including computer instructions which, when executed by a processor, implement the steps of the method for detecting overtravel of the machining code of the laser cutting numerical control system as described in any of the above embodiments.

[0072] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in this application can include non-volatile and / or volatile memories. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or an external cache. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM).

[0073] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification. The above embodiments only represent several implementation manners of this application. Their descriptions are relatively specific and detailed, but they should not be construed as a limitation on the scope of the patent application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of the patent of this application should be subject to the appended claims.

Claims

1. A method for detecting overtravel of machining code of a laser cutting numerical control system, characterized in that: include: Receiving a machining code generated by CAM software, wherein the machining code includes machining length information of the tube, part, and contour; A stroke limit detection macro program is embedded in the processing code, and the stroke detection macro program is used to perform logic processing according to the starting point coordinates, processing length and limit coordinates of the processing code to determine whether there is an over-travel situation; When the processing code is executed, the stroke detection macro program is used to sequentially detect the stroke of the processing path of the entire pipe, a single part and a single cutting contour tool path to obtain the detection result; The execution logic of the processing code is adjusted according to the detection result and the preset logic.

2. The method for detecting overtravel of machining code of a laser cutting numerical control system according to claim 1, characterized in that: The stroke detection macro program sequentially detects the stroke of the entire pipe, a single part and a single cutting contour tool path, including: Through the stroke detection macro program, the difference between the machining path length and the equipment limit coordinates of the machining path of the entire tube, a single part and a single cutting contour tool path is calculated in turn, and compared with the preset axis stroke.

3. The method for detecting overtravel of machining code of a laser cutting numerical control system according to claim 2, characterized in that: The step of adjusting the execution logic of the processing code according to the detection result and the preset logic includes: When the detection result is insufficient travel, the processing code triggers an early warning prompt or jumps to the end; When the detection result is insufficient travel, the value of the material is detected and compared with the value threshold in the preset logic, and an early warning prompt or automatic waste discharge is selected according to the comparison result.

4. The method for detecting overtravel of machining code of a laser cutting numerical control system according to claim 1, characterized in that: After adjusting the execution logic of the processing code according to the detection result and the preset logic, the method further includes: When the tail material processing macro program is called, the remaining materials will be discharged.

5. The method for detecting overtravel of machining code of a laser cutting numerical control system according to claim 4, characterized in that: The warning prompt includes a pop-up prompt or a sound prompt.

6. The method for detecting overtravel of machining code of a laser cutting numerical control system according to claim 5, characterized in that: When the detection result is insufficient travel, the processing code triggers an early warning prompt or jumps to the end, including: When the detection result is insufficient stroke, the processing code converts the detection result into a control signal based on the ladder logic, and drives the software interface to pop up a prompt or jump to the end.

7. A processing code overtravel detection device for a laser cutting numerical control system, characterized in that: include: An acquisition module is used to receive the processing code generated by the CAM software, wherein the processing code includes processing length information of the pipe, parts and contours; An embedding module, used for embedding a stroke limit detection macro program in the processing code, wherein the stroke detection macro program is used for performing logic processing according to the starting point coordinates, processing length and limit coordinates of the processing code to determine whether there is an over-travel situation; An execution module is used to perform stroke detection on the machining paths of the entire pipe, a single part and a single cutting contour tool path in sequence through the stroke detection macro program when executing the machining code to obtain the detection result; An adjustment module is used to adjust the execution logic of the processing code according to the detection result and preset logic.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for detecting overtravel of machining code of a laser cutting numerical control system as claimed in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, wherein when the program is executed by the processor, the processing code over-travel detection method of the laser cutting numerical control system according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising computer instructions, characterized in that: When executed by a processor, the computer instructions implement the steps of the method for detecting overtravel of machining code of a laser cutting numerical control system according to claims 1 to 6.

Citation Information

Cited By

  • Method for intelligently judging over travel of machine tool

    CN121132384A