Method for keeping constant angle in follow-up mode during slope cutting
By calibrating and recording the compensation angles at different heights in the 3D laser cutting system, and dynamically adjusting the angle of the cutting head during the cutting process, the laser beam offset problem caused by inaccurate sensor feedback when cutting the bevel is solved, and a high-precision and consistent cutting effect is achieved.
Patent Information
- Application Number
- CN202510024413.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2045-01-07
AI Technical Summary
During the 3D laser cutting process, due to the inaccurate sensor feedback height when cutting the inclined surface, the focus of the laser beam is offset from the actual cutting path, causing damage to the workpiece.
By swinging the cutting head to a fixed angle to which it needs to be compensated, the compensation angle corresponding to the height of each stage is measured and the compensation angle is entered in the table. Then add the G87_P_Q instruction to the rear, detect the angle profile through CAM software and generate corresponding instructions, execute in the CNC system, and select the compensation angle from the table according to the current height for compensation.
It realizes the constant angle when cutting the bevel surface, improves cutting accuracy and consistency, avoids workpiece damage, and enhances operation flexibility and safety.
Smart Images

Figure CN119703423A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of three-dimensional laser cutting, in particular to a method for maintaining a constant angle when cutting an inclined surface. Background Art
[0002] In the field of control technology, when 3D laser cutting equipment uses groove follow-up control, the sensor distance feedback obtained at the same cutting height is different at different angles and different nozzle shapes and sizes. Therefore, when most machines cut grooves, the height feedback from the sensor is highly inaccurate, which causes the focus of the laser beam to deviate from the actual cutting path, and the cut workpiece may be damaged. Summary of the invention
[0003] Based on the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a method for maintaining a constant angle when cutting an inclined surface, so as to solve the above-mentioned technical problems.
[0004] To achieve the above object, the present invention provides the following technical solution: a method for maintaining a constant angle when cutting an inclined surface, comprising:
[0005] S1: Move the cutting head to the fixed angle that needs to be compensated, measure the compensation angle corresponding to the height at each stage of the fixed angle through calibration, and enter the compensation angle in the table;
[0006] S2: Add G87_P_Q command in the post-processing; detect the contour with angle through the plate model displayed in the CAM software and automatically generate G87_P_Q45 command before the contour; automatically generate G87_P_Q0 command before the contour without angle;
[0007] S3: Import the command generated in step S2 into the CNC system and execute it. When cutting to a contour with an angle, select the corresponding compensation angle from the table measured in step S1 according to the height set by the current G87_P for compensation.
[0008] S4: Add G87_P_Q instruction in the process subroutine; bind it with G87 instruction in the subroutine through the process macro variable opened in the system, and then call the subroutine before each contour through G65P instruction, where P is the program number of the macro program;
[0009] S5: Add a configuration module in the process modification interface to allow users to customize the height and angle parameters of the follow-up, and modify and save the set parameters in real time through the system interface.
[0010] The present invention is further configured that step S1 comprises:
[0011] Adjust the cutting head to the desired fixed compensation angle;
[0012] In the EIA or other CNC programming system program, set a series of fixed gap values ranging from 2mm to 16mm, with a total of 15 measuring points. If the gap is less than the minimum setting value, no compensation will be performed; if the gap is greater than the maximum setting value, the cutting path will extend along the slope of the last straight line;
[0013] Use a measuring tool or sensor to measure the cutting head height corresponding to each gap value, measure the compensation angle corresponding to the cutting head height at each stage of the fixed compensation angle through calibration, and enter the compensation angle in the table.
[0014] The present invention is further configured that, in step S2, in the post-processing program, a G87_P_Q instruction is added, wherein P represents the height of the cutting head, Q represents the fixed compensation angle, and G87_P_Q45 indicates that during the cutting process, the cutting head will maintain a fixed compensation angle of 45 degrees;
[0015] The sheet metal model in the CAM software is used to automatically detect contours with angle changes. For each detected contour, the G87_P_Q instruction is automatically generated before the contour according to the preset fixed angle. If the contour does not have an angle change, the G87_P_Q0 instruction is automatically generated, indicating that no compensation is performed.
[0016] The present invention is further configured to include a customized angle setting: the user can customize the fixed compensation angle according to actual needs, and after the customized fixed compensation angle, step S1 is re-executed to ensure that the new measurement data is correctly recorded.
[0017] The present invention is further configured to select a corresponding compensation angle from the table measured in step S1 according to the height currently set by G87_P for compensation, and the compensation logic is: ×(y2-y1), where y is the actual following height, y1 is the reference height at 0 degrees, y2 is the measured height at 45 degrees, and x is the current groove angle, x1 is 0 degrees, and x2 is 45 degrees.
[0018] The present invention is further configured that step S4 comprises:
[0019] G87_P_Q instruction binding, in the process macro variables opened within the system, bind the G87 instruction to the process subroutine, allowing the user to adjust the follow-up height and angle during the cutting process by modifying the process macro variables;
[0020] Subroutine call: before each contour, use the G65P instruction to call the process subroutine. The P parameter in the G65P instruction is used to determine the program number of the macro program.
[0021] The present invention is further configured that step S5 comprises:
[0022] Process modification interface: the bound process will be displayed in the process modification interface of the CNC system. Users can modify the height and angle of the follower through the process modification interface to meet different cutting requirements.
[0023] Real-time monitoring and adjustment: During the cutting process, the user can monitor the position and angle of the cutting head in real time and make adjustments based on actual conditions.
[0024] The present invention provides a method for keeping a constant angle when cutting an inclined plane, which comprises the following steps: S1: swinging a cutting head to a fixed angle to be compensated, measuring the compensation angle corresponding to the height at each stage of the fixed angle by calibration, and inputting the compensation angle in a table; S2: adding a G87_P_Q instruction in the post-position; detecting a contour with an angle through a plate model displayed in a CAM software and automatically generating a G87_P_Q45 instruction before the contour; and automatically generating a G87_P_Q0 instruction before a contour without an angle; S3: importing the instruction generated in step S2 into a CNC system and executing it, and when cutting to When there is an angled contour, the corresponding compensation angle is selected from the table measured in step S1 according to the height set by the current G87_P for compensation; S4: Add the G87_P_Q instruction in the process subroutine; bind it with the G87 instruction in the subroutine through the process macro variable opened in the system, and then call the subroutine before each contour through the G65P instruction, where P is the program number of the macro program; S5: Add a configuration module in the process modification interface to allow users to customize the height and angle parameters of the follow-up, and modify and save the set parameters in real time through the system interface. The beneficial effects include:
[0025] 1. Improve cutting accuracy and consistency: Accurately calibrate the cutting head angle at different heights through step S1, and record the corresponding compensation angle in the compensation table to ensure that the cutting head maintains a constant angle at different heights, effectively avoiding the laser beam focus offset caused by inaccurate sensor feedback height, and improving cutting accuracy and workpiece consistency. Through the compensation calculation formula in step S3, the system can dynamically adjust the actual follow height of the cutting head according to the current groove angle, achieve accurate angle compensation, and ensure the accuracy of the cutting path;
[0026] 2. Enhanced operational flexibility and convenience: Through step S2, the CAM software can automatically detect the angle profile in the plate model and generate the corresponding G87_P_Q command, reducing the complexity and error rate of manual programming and improving operational efficiency. Steps S4 and S5 allow users to customize fixed compensation angles and follow-up parameters according to actual needs, flexibly adapt to different cutting tasks, and improve the adaptability of the system and the convenience of user operation;
[0027] 3. Ensure operational safety and reliability: The compensation angle measurement and calculation in steps S1 and S3, combined with the instruction generation in step S2, ensure that each operation in the cutting process is carried out within a safe range to avoid equipment damage and personal injury caused by misoperation or system errors. The real-time monitoring and adjustment function in step S5 enables users to promptly discover and correct potential operational errors during the cutting process, further improving the safety and reliability of the system.
[0028] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0030] Figure 1 A flow chart showing a method for maintaining a constant angle when cutting an inclined surface according to an exemplary embodiment of the present invention;
[0031] Figure 2 A curve graph at each angle is drawn with the following height as the horizontal axis and the actual feedback height as the vertical axis, showing an exemplary embodiment of the present invention;
[0032] Figure 3 A curve diagram of different angles at different following heights is drawn with the actual feedback height as the horizontal axis and the following height as the vertical axis according to an exemplary embodiment of the present invention;
[0033] Figure 4 A table data diagram of measurements at different fixed angles shown for an exemplary embodiment of the present invention;
[0034] Figure 5 An exemplary embodiment of the present invention is a diagram showing the binding of a reserved macro variable with a G87 instruction;
[0035] Figure 6 An implementation diagram of calling a subroutine through a G65 instruction is shown as an exemplary embodiment of the present invention;
[0036] Figure 7A diagram showing an implementation of custom tracking height and angle within a process window according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0037] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0038] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0039] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.
[0040] A method of maintaining a constant angle when cutting an inclined surface, such as Figure 1 As shown, including:
[0041] S1: Move the cutting head to the fixed angle that needs to be compensated, measure the compensation angle corresponding to the height at each stage of the fixed angle through calibration, and enter the compensation angle in the table;
[0042] S2: Add G87_P_Q command in the post-processing; detect the contour with angle through the plate model displayed in the CAM software and automatically generate G87_P_Q45 command before the contour; automatically generate G87_P_Q0 command before the contour without angle;
[0043] S3: Import the command generated in step S2 into the CNC system and execute it. When cutting to a contour with an angle, select the corresponding compensation angle from the table measured in step S1 according to the height set by the current G87_P for compensation.
[0044] S4: Add G87_P_Q instruction in the process subroutine; bind it with G87 instruction in the subroutine through the process macro variable opened in the system, and then call the subroutine before each contour through G65P instruction, where P is the program number of the macro program;
[0045] S5: Add a configuration module in the process modification interface to allow users to customize the height and angle parameters of the follow-up, and modify and save the set parameters in real time through the system interface.
[0046] Specifically, keep the cutting head at a fixed angle, then move the cutting head to the desired fixed angle, and then measure the value that needs to be compensated when the cutting head is at different heights through calibration. Then add the G87_P_Q instruction (P: follow-up height; Q: follow-up angle) in the cutting program to set the height and follow-up angle during the follow-up. When the program cuts to a contour with an angle, execute G87Q_ to keep the follow-up at a constant angle for cutting. When cutting to a contour without an angle, G87Q_ will be set to 0 degrees to switch the angle. Improve the cutting accuracy and avoid damaging the plate.
[0047] The present invention is further configured as follows: Figure 2 and Figure 3 As shown, step S1 includes:
[0048] Adjust the cutting head to a desired fixed compensation angle; specifically, use a mechanical control or numerical control system to accurately adjust the cutting head to a predetermined fixed compensation angle, ensuring that the cutting head is at a known and controllable angle in the initial state, providing a reference for subsequent height compensation measurements;
[0049] In the EIA or other CNC programming system program, a series of fixed gap values are set, ranging from 2mm to 16mm, with a total of 15 measuring points. If the gap is less than the minimum setting value, no compensation is performed; if the gap is greater than the maximum setting value, the cutting path will extend along the slope of the last straight line; Specifically, in the EIA (Electrical Interface Adapter) or other CNC programming system, a series of fixed gap values are set, ranging from 2mm to 16mm, with a total of 15 measuring points. If the gap is less than the minimum setting value (2mm), no compensation is performed; if the gap is greater than the maximum setting value (16mm), the cutting path will extend along the slope of the last straight line to avoid compensation failure due to excessive gap;
[0050] Use a measuring tool or sensor to measure the cutting head height corresponding to each gap value, measure the compensation angle corresponding to the cutting head height at each stage of the fixed compensation angle through calibration, and enter the compensation angle in the table, such as Figure 4As shown. Specifically, use a high-precision measuring tool or sensor to measure the height of the cutting head corresponding to each set gap value at a fixed compensation angle. Through the calibration process, determine the compensation angle corresponding to each height at a fixed compensation angle. Enter the measured compensation angle and record it in the compensation table, establish the corresponding relationship between the height and the compensation angle, obtain the angle compensation value required by the cutting head at different cutting heights, and ensure that the cutting head can be adjusted in real time according to the actual height during the cutting process to maintain a constant cutting angle.
[0051] The present invention is further configured that, in step S2, in the post-processing program, a G87_P_Q instruction is added, wherein P represents the height of the cutting head, Q represents the fixed compensation angle, and G87_P_Q45 indicates that during the cutting process, the cutting head will maintain a fixed compensation angle of 45 degrees; specifically, the instruction is used to dynamically adjust the angle of the cutting head during the cutting process to ensure that the cutting head can maintain a preset constant angle at different heights to avoid laser beam focus offset;
[0052] The plate model in the CAM software is used to automatically detect contours with angle changes. For each detected contour, the G87_P_Q instruction is automatically generated before the contour according to the preset fixed angle. If there is no angle change in the contour, the G87_P_Q0 instruction is automatically generated, indicating that no compensation is performed. Specifically, through the three-dimensional model of the plate loaded in the CAM (computer-aided manufacturing) software, the system automatically detects contours with angle changes in the model. For each detected contour with angle changes, the G87_P_Q45 instruction is automatically generated before the contour according to the preset fixed compensation angle (such as 45 degrees); for contours without angle changes, the G87_P_Q0 instruction is automatically generated, indicating that no angle compensation is performed at the contour; by accurately calibrating the cutting head angle at different heights and dynamically adjusting the compensation angle during the cutting process, it is ensured that the cutting head always maintains a constant angle, avoids laser beam focus offset, and improves cutting accuracy and workpiece consistency.
[0053] The present invention is further configured to include a custom angle setting: the user can customize the fixed compensation angle according to actual needs. After the user customizes the fixed compensation angle, step S1 is re-executed to ensure that the new measurement data is correctly recorded. Specifically, a custom angle setting module is integrated in the process modification interface of the numerical control system to provide an intuitive user interface, allowing the user to input or select the desired fixed compensation angle; the user enters the custom compensation angle value through controls such as an input box, a drop-down menu or a slider. The system verifies the input angle value in real time to ensure that it is within a reasonable range (for example, 0 degrees to 90 degrees) to avoid setting invalid or dangerous angles; after the user confirms the custom compensation angle, the system prompts the user whether to confirm the modification to prevent misoperation; once the user confirms the new compensation angle, the system automatically re-executes step S1, including adjusting the cutting head to the new fixed compensation angle, and measuring the new compensation angle at different heights through a calibration process; the measured new compensation angle data is recorded in the compensation table, replacing the previous data, to ensure that the latest compensation parameters are used in the subsequent cutting process.
[0054] The present invention is further configured to select a corresponding compensation angle from the table measured in step S1 according to the height currently set by G87_P for compensation, and the compensation logic is: ×(y2-y1), where y is the actual following height, y1 is the reference height at 0 degrees, y2 is the measured height at 45 degrees, and x is the current groove angle, x1 is 0 degrees, and x2 is 45 degrees. Specifically, when the cutting head moves to the contour of different groove angles, the system searches for the corresponding compensation angle according to the current height, and calculates the actual following height that needs to be adjusted through the formula to ensure that the cutting head maintains a constant angle when cutting on the bevel; through the precise calibration of step S1 and the recording of the compensation table, the cutting head is ensured to maintain a constant angle at different heights, avoiding the focus offset of the laser beam, and significantly improving the cutting accuracy and consistency of the workpiece. Using the compensation calculation formula, the following height of the cutting head is adjusted in real time according to the current groove angle to ensure the accuracy of the cutting path and reduce cutting errors.
[0055] The present invention is further configured as follows: Figure 5 As shown, step S4 includes:
[0056] G87_P_Q instruction binding, in the process macro variables open inside the system, bind the G87 instruction to the process subroutine, allowing users to adjust the follow-up height and angle during the cutting process by modifying the process macro variables; specifically, in the process macro variables open inside the system, bind the G87 instruction to the predefined process subroutine, and when the G87 instruction is executed, the corresponding subroutine will be called to handle the adjustment of the follow-up height and angle. Through the macro variables, the P parameter (indicating the height of the cutting head) and the Q parameter (indicating the fixed compensation angle) in the G87 instruction are mapped to the corresponding function modules in the subroutine, so that the height and angle adjustment of the cutting head can be automatically executed according to the parameter values;
[0057] Subroutine calls, such as Figure 6 As shown in the figure, before each contour, the G65P instruction is used to call the process subroutine. The P parameter in the G65P instruction is used to determine the program number of the macro program. Specifically, before each cutting contour, the G65P instruction is used to call the corresponding process subroutine. Among them, the P parameter is used to determine the specific macro program number called. When the system detects different contours during the cutting process, the G65P instruction is automatically inserted, and the corresponding subroutine is called according to the characteristics of the contour to perform height and angle compensation adjustments.
[0058] The present invention is further configured that step S5 comprises:
[0059] Process modification interface, such as Figure 7 As shown, the bound process will be displayed in the process modification interface of the CNC system. Users can customize the height and angle of the follower through the process modification interface to meet different cutting requirements. Specifically, the process modification interface is designed as a user-friendly graphical user interface (GUI), including input boxes, drop-down menus, sliders and other controls, which are convenient for users to input and select parameters. The interface displays the currently bound process parameters, including the follower height and angle settings. Users can intuitively see the current configuration and make modifications;
[0060] Real-time monitoring and adjustment. During the cutting process, the user can monitor the position and angle of the cutting head in real time and adjust it according to the actual situation. Specifically, the user can input or select the required follow-up height and angle parameters through the interface. The system provides a real-time verification function to ensure that the input parameters are within a reasonable range (for example, the height range is 2mm to 16mm, and the angle range is 0 degrees to 90 degrees). After the user modifies the parameters, the system automatically updates the compensation table and related instructions in the cutting program to ensure that the new parameters are correctly applied during the cutting process. The system allows users to save multiple configuration files, supports quick switching between different cutting tasks, and improves operational efficiency.
[0061] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0062] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.
[0063] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0064] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0065] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0066] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0067] In the several embodiments provided in the present application, it should be understood that the disclosed system can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0068] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0069] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0070] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0071] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for maintaining a constant angle when cutting an inclined surface, characterized in that: include: S1: Move the cutting head to the fixed angle that needs to be compensated, measure the compensation angle corresponding to the height at each stage of the fixed angle through calibration, and enter the compensation angle in the table; S2: Add G87_P_Q command in the post-processing; detect the contour with angle through the plate model displayed in the CAM software and automatically generate G87_P_Q45 command before the contour; automatically generate G87_P_Q0 command before the contour without angle; S3: Import the command generated in step S2 into the CNC system and execute it. When cutting to a contour with an angle, select the corresponding compensation angle from the table measured in step S1 according to the height set by the current G87_P for compensation. S4: Add G87_P_Q instruction in the process subroutine; bind it with G87 instruction in the subroutine through the process macro variable opened in the system, and then call the subroutine before each contour through G65P instruction, where P is the program number of the macro program; S5: Add a configuration module in the process modification interface to allow users to customize the height and angle parameters of the follow-up, and modify and save the set parameters in real time through the system interface.
2. A method for maintaining a constant angle when cutting an inclined surface according to claim 1, characterized in that: Step S1 includes: Adjust the cutting head to the desired fixed compensation angle; In the EIA or other CNC programming system program, set a series of fixed gap values ranging from 2mm to 16mm, with a total of 15 measuring points. If the gap is less than the minimum setting value, no compensation will be performed; if the gap is greater than the maximum setting value, the cutting path will extend along the slope of the last straight line; Use a measuring tool or sensor to measure the cutting head height corresponding to each gap value, measure the compensation angle corresponding to the cutting head height at each stage of the fixed compensation angle through calibration, and enter the compensation angle in the table.
3. A method for maintaining a constant angle when cutting an inclined surface according to claim 1, characterized in that: In step S2, in the post-processing program, add the G87_P_Q instruction, where P represents the height of the cutting head, Q represents the fixed compensation angle, and G87_P_Q45 means that during the cutting process, the cutting head will maintain a fixed compensation angle of 45 degrees; The sheet metal model in the CAM software is used to automatically detect contours with angle changes. For each detected contour, the G87_P_Q instruction is automatically generated before the contour according to the preset fixed angle. If the contour does not have an angle change, the G87_P_Q0 instruction is automatically generated, indicating that no compensation is performed.
4. A method for maintaining a constant angle when cutting an inclined surface according to claim 3, characterized in that: It also includes custom angle setting: the user can customize the fixed compensation angle according to actual needs. After customizing the fixed compensation angle, re-execute step S1 to ensure that the new measurement data is correctly recorded.
5. A method for maintaining a constant angle when cutting an inclined surface according to claim 1, characterized in that: According to the height set by the current G87_P, the corresponding compensation angle is selected from the table measured in step S1 for compensation. The compensation logic is: Among them, y is the actual following height, y1 is the reference height at 0 degrees, y2 is the measured height at 45 degrees, x is the current groove angle, x1 is 0 degrees, and x2 is 45 degrees.
6. A method for maintaining a constant angle when cutting an inclined surface according to claim 1, characterized in that: Step S4 includes: G87_P_Q instruction binding, in the process macro variables opened within the system, bind the G87 instruction to the process subroutine, allowing the user to adjust the follow-up height and angle during the cutting process by modifying the process macro variables; Subroutine call: before each contour, use the G65P instruction to call the process subroutine. The P parameter in the G65P instruction is used to determine the program number of the macro program.
7. A method for maintaining a constant angle when cutting an inclined surface according to claim 1, characterized in that: Step S5 includes: Process modification interface: the bound process will be displayed in the process modification interface of the CNC system. Users can modify the height and angle of the follower through the process modification interface to meet different cutting requirements. Real-time monitoring and adjustment: During the cutting process, the user can monitor the position and angle of the cutting head in real time and make adjustments based on actual conditions.
Citation Information
Patent Citations
Centering method and equipment for rotation angle of cutting head and medium
CN118218785A
Method and Apparatus for Inner Face Scanning with Multi Beams
EP0840493A2
Active measurement and control system for a material cutting apparatus
US7036411B1