Programming method and device, electronic equipment, storage medium and program product
By calculating the weight and accuracy level of the workpiece, the machining mode setting instructions for CNC machine tools are generated, which solves the problem of low programming efficiency of CNC machine tools, improves the degree of automation and production efficiency, and ensures machining quality.
Patent Information
- Application Number
- CN202310584785.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
There are problems in the programming of existing CNC machine tools, which are inefficient in programming and error-prone, especially when processing complex surfaces, resulting in surface quality problems and extended construction period.
It provides a programming method for CNC machine tools, which can calculate the workpiece weight and machining accuracy level by obtaining the workpiece geometric parameters, material density and process parameters, generate machining mode setting instructions, and automatically generate CNC programs to reduce human-computer interaction and manual settings.
It improves the degree of automation and production efficiency of CNC programming, reduces the possibility of wrong processing mode selection, and ensures processing quality and efficiency.
Smart Images

Figure CN119024768A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical control programming, and in particular to a programming method and a programming device for numerical control machine tools. Background Art
[0002] CNC (Number Control) machine tools generally refer to machine tools that use computer technology for motion control and are highly mechatronic manufacturing equipment. CNC machine tools are generally developed in the direction of high speed and high precision. The control part of CNC machine tools has gradually developed from early open-loop control to closed-loop control, and the mechanical part of CNC machine tools has also developed from traditional single turning, milling, boring and drilling to a fully functional CNC center.
[0003] The control part of CNC machine tools usually uses a combination of broken line segments and arc segments to approximate the shape of free-form surfaces. The traditional manual programming method is inefficient and prone to errors. It is no longer suitable for programming complex surfaces such as automotive molds. Automatic programming is generally used. Existing automatic programming software includes UG, PRO-E, PowerMill, etc. This type of programming software provides a human-computer interaction interface. Programmers only need to enter a small amount of process parameters to automatically generate CNC codes that conform to the specific CNC machine tool instruction format, which greatly reduces the time occupied by CNC programming in the production cycle and improves production efficiency.
[0004] At present, some precision CNC machine tools (such as RB and DC equipment from Shin Nippon Koki and MVR30 from Mitsubishi) provide multiple processing modes, which are composed of a combination of a processing accuracy mode and a workpiece weight mode. For example, 4 processing accuracy modes and 3 workpiece weight modes are combined to form 12 optional processing modes.
[0005] In actual work, there is a situation where CNC programmers and on-site operators are separated. When encountering a new workpiece processing task, experienced operators can set a processing mode that suits the new workpiece based on their previous experience, which is prone to surface quality problems. In most cases, in order to avoid incorrect selection of processing mode, on-site operators will directly select the highest precision and heaviest mode, which will extend the construction period. Summary of the invention
[0006] In view of the above-mentioned shortcomings of the prior art, the purpose of the present application is to provide a programming method, device, electronic device, storage medium and program product for a CNC machine tool, so as to solve the problem in the prior art that it is difficult to fully utilize the processing efficiency of CNC machine tools.
[0007] In a first aspect, the present application provides a programming method for a CNC machine tool, wherein a controller of the CNC machine tool is provided with a processing mode setting instruction, wherein the processing mode setting instruction is used to set a processing accuracy level and a workpiece weight level, and the programming method for the CNC machine tool comprises the following steps:
[0008] Obtaining geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool;
[0009] Obtaining the weight of the workpiece according to the geometric parameters and the material density;
[0010] querying a preset weight threshold according to the category code;
[0011] Comparing the weight of the workpiece with the preset weight threshold to obtain the weight grade of the workpiece;
[0012] Calculating the machining accuracy level according to the process parameters;
[0013] Generate the processing mode setting instruction according to the processing accuracy level and the workpiece weight level;
[0014] Generate a first numerical control program according to the geometric parameters and the process parameters;
[0015] A second numerical control program is generated according to the machining mode setting instruction and the first numerical control program.
[0016] In an implementation of the first aspect, obtaining the weight of the workpiece according to the geometric parameter and the material density specifically includes:
[0017] Obtaining a theoretical weight of the workpiece according to the geometric parameters and the material density;
[0018] The theoretical weight is multiplied by a preset safety factor to obtain the workpiece weight, and the preset safety factor is greater than 1.
[0019] In an implementation of the first aspect, the geometric parameters include the length L, width W, height H, density ρ and hollowing rate δ of the workpiece, and the theoretical weight is calculated as follows: w=L·W·H·ρ·δ, where w represents the theoretical weight.
[0020] In an implementation of the first aspect, the process parameters include a processing strategy, a processing allowance, and a tolerance value. Calculating the processing accuracy level according to the process parameters specifically includes:
[0021] Determining the type of the processing strategy;
[0022] When the machining strategy belongs to the first machining type, a plurality of preset allowance thresholds corresponding to the machining strategy are obtained, and the machining allowance is compared with the preset allowance thresholds to obtain the machining accuracy level;
[0023] When the machining strategy belongs to the second machining type, multiple preset allowance thresholds corresponding to the machining strategy are taken; the machining allowance is compared with the preset allowance thresholds to obtain a machining allowance level; and the machining accuracy level is obtained according to the machining allowance level and the tolerance value.
[0024] In an implementation of the first aspect, the machining accuracy levels include: high-speed finishing, high-quality finishing, semi-finishing and roughing.
[0025] In an implementation of the first aspect, the machining strategies belonging to the first machining type include surface root cleaning and single-tool root cleaning, and the machining strategies belonging to the second machining type include high-torque rough machining, constant-height finishing, and optimized constant-height finishing.
[0026] In a second aspect, the present application provides a programming device for a CNC machine tool, comprising:
[0027] A data acquisition module, used to acquire geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool;
[0028] A weight calculation module, used for obtaining the weight of the workpiece according to the geometric parameters and the material density;
[0029] A weight grade query module, used to query a preset weight threshold according to the category code;
[0030] A weight grade selection module, used for comparing the weight of the workpiece with the preset weight threshold to obtain the weight grade of the workpiece;
[0031] An accuracy level selection module, used for calculating the machining accuracy level according to the process parameters;
[0032] A processing mode setting module, used for generating a processing mode setting instruction according to the processing accuracy level and the workpiece weight level;
[0033] A main program generating module, used for generating a first numerical control program according to the geometric parameters and the process parameters;
[0034] A numerical control program generating module is used to generate a second numerical control program according to the processing mode setting instruction and the first numerical control program.
[0035] In a third aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the processor is used to execute a computer program stored in the memory so that the electronic device executes the programming method for a CNC machine tool.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the programming method of a CNC machine tool when executed by a processor.
[0037] In a fifth aspect, the present application provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the steps of the programming method of the CNC machine tool.
[0038] As described above, the methods, devices, electronic devices, storage media, and program products described in this application can enhance the automation procedures of CNC programming and improve production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 Shown is a control principle diagram of an embodiment of a conventional CNC machine tool.
[0040] Figure 2 Shown is a flow chart of a programming method for a CNC machine tool according to an embodiment of the present application.
[0041] Figure 3 Shown is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0042] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application 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 application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0043] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application 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 at will, and the component layout may also be more complicated.
[0044] Figure 1The control schematic diagram of an embodiment of an existing CNC machine tool is shown. The programmer compiles the processing technology by analyzing the three-dimensional model of the workpiece to be processed, or compiles the processing technology with the assistance of CAD / CAM programming software. The programming software generates the main CNC program instructions based on the three-dimensional model and process parameters input by the programmer, and the on-site operator sets the remaining instructions of the CNC machine tool through the operation panel. The machine tool controller sends control signals to the spindle motor, tool changer, etc. according to the CNC instructions to complete the workpiece processing.
[0045] Due to the wide variety of CNC machine models, the command systems used by different manufacturers cannot be completely unified. In order to ensure compatibility with various CNC machine tools, the existing programming software automatically generates CNC codes that are difficult to cover the specific control instructions of all machine tools. The degree of automation is not enough, and some key instructions still need to be set manually, affecting the generation efficiency of CNC machining.
[0046] like Figure 2 As shown, in order to further improve the automation degree of CNC programming and the machining efficiency of machine tools, this embodiment provides a programming method for a CNC machine tool. The controller of the CNC machine tool provides a machining mode setting instruction, and the machining mode setting instruction is used to set the machining accuracy level and the workpiece weight level. The programming method for the CNC machine tool includes the following steps:
[0047] Step S100, obtaining the geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool.
[0048] When the workpiece has a simple geometric shape, the geometric parameters of the workpiece can be the length, width, and height of a cuboid, or the radius and length of a body of revolution, or the radius of a sphere, or the equation of a parabola, etc. When the workpiece has a free and complex surface, the geometric parameters of the workpiece can be obtained by measuring the three-dimensional model. For example, by importing the three-dimensional model of the workpiece into the CAD / CAM software, the geometric parameters and material density of the workpiece can be automatically obtained. The process parameters of the workpiece are related to the generation requirements and process routes of the workpiece, such as surface roughness, shape tolerance, position tolerance, tool path parameters, spindle speed, feed speed, back cutting amount, etc. The process parameters can be automatically generated by the programming software according to the three-dimensional model and process route, or they can be manually set through the interactive interface. The category code of the CNC machine tool is used to identify the model of the CNC machine tool, such as CKD61100D, CAK80285, ULTRASONIC 60, etc. According to the category code, the classification standards for the processing accuracy level and workpiece weight level of this type of machine tool can be obtained.
[0049] Step S200, obtaining the weight of the workpiece according to the geometric parameters and the material density.
[0050] For workpieces with known 3D models and material density, the workpiece weight, i.e., theoretical weight, can be directly generated through existing 3D software. For stamping dies, the theoretical weight can be calculated using the following formula: w = L·W·H·ρ·δ. Among them, w represents the theoretical weight, L represents the length of the workpiece, W represents the width of the workpiece, H represents the height of the workpiece, ρ represents the density of the material used for the workpiece, and δ represents the hollowing rate. For example, the workpiece is a stamping die for an automobile cover. L represents the total length of the stamping die, W represents the total width of the stamping die, and H represents the total height of the stamping die. The hollowing rate represents the proportion of the groove portion. The hollowing rate can adopt a preset value.
[0051] The calculated theoretical weight may have errors due to rounding because of inaccurate parameters or just near the preset weight threshold. After obtaining the theoretical weight of the workpiece based on the geometric parameters and material density, the theoretical weight is multiplied by the preset safety factor to obtain the workpiece weight. The preset safety factor is greater than 1, for example, 1.1. By setting the preset safety factor, the weight of the workpiece near the preset weight threshold is uniformly adjusted to above the preset weight threshold. Since the number of such workpieces is not large in actual work, this embodiment has little impact on processing efficiency, but can effectively prevent quality problems caused by incorrect selection of workpiece weight level.
[0052] Step S300, querying a preset weight threshold according to the category code.
[0053] Different CNC machine tools have different maximum load-bearing capacity and different standards for classifying workpiece weight levels. The specific preset weight threshold can be queried through the category code. For example, both machine tool No. 1 and machine tool No. 2 divide the workpiece weight into three levels, but the numerical ranges corresponding to the same workpiece weight level are different. The light weight level of machine tool No. 1 corresponds to a workpiece weight of 0 to 6T, the medium weight level of machine tool No. 1 corresponds to a workpiece weight of 6T to 12T, and the heavy weight level of machine tool No. 1 corresponds to a workpiece weight of 12 to 18T. 0, 6T, and 12T are the corresponding preset weight thresholds. The light weight level of machine tool No. 2 corresponds to a workpiece weight of 0 to 8T, the medium weight level of machine tool No. 1 corresponds to a workpiece weight of 8T to 14T, and the heavy weight level of machine tool No. 1 corresponds to a workpiece weight of 14 to 20T.
[0054] Step S400, comparing the weight of the workpiece with a preset weight threshold to obtain a weight grade of the workpiece.
[0055] For example, according to the category code, it is found that machine tool No. 2 will be used for processing. The theoretical weight of the workpiece is 7.9T. After multiplying it by the preset safety factor 1.1, the weight of the workpiece is 8.7T. When setting the processing mode, select the medium weight level.
[0056] Step S500, calculating the machining accuracy level according to the process parameters.
[0057] Since there are many types of machining strategies, and machining allowance and tolerance values cannot determine machining accuracy alone, the process parameters of this embodiment include machining strategy, machining allowance and tolerance values. The machining accuracy level is determined based on the above three.
[0058] For example, machining strategies include high torque roughing, plane roughing, plane re-roughing, high speed roughing, plunge milling roughing, trochoidal feed roughing, constant height finishing, optimized constant height finishing, plane finishing, projection finishing, constant high root, projection root cleaning, surface root cleaning and single-tool root cleaning, etc. The machining accuracy levels of CNC machine tools include high speed finishing, high quality finishing, semi-finishing and roughing.
[0059] This embodiment classifies the machining strategies, for example, the machining strategies are divided into two categories. For example, surface root cleaning and single-tool root cleaning are the first machining type; high-torque rough machining, constant-height finishing, and optimized constant-height finishing are the second machining type.
[0060] When the machining strategy belongs to the first machining type, first obtain multiple preset allowance thresholds corresponding to the machining strategy. Then compare the machining allowance with the preset allowance threshold to obtain the machining accuracy level. For example, when the machining strategy is surface root cleaning or single-knife root cleaning, there are two corresponding preset allowance thresholds, which are 0.01mm and 0.08mm. The two preset allowance thresholds divide the machining allowance of surface root cleaning into three ranges. When the machining allowance of the workpiece is in the range of 0 to 0.01mm, the selected machining accuracy level is high-speed finishing. When the machining allowance of the workpiece is in the range of 0.01 to 0.08mm, the selected machining accuracy level is high-quality finishing. When the machining allowance of the workpiece is greater than 0.08mm, the selected machining accuracy level is semi-finishing.
[0061] When the machining strategy belongs to the second machining type, first take multiple preset allowance thresholds corresponding to the machining strategy; then compare the machining allowance with the preset allowance threshold to obtain the machining allowance level; then obtain the machining accuracy level according to the machining allowance level and the tolerance value. For example, when the machining strategy is equal height finishing, there are two corresponding preset allowance thresholds, which are 0.01mm and 0.08mm. The two preset allowance thresholds divide the machining allowance of the surface root cleaning into three ranges. When the machining allowance of the workpiece is in the range of 0 to 0.01mm, the machining allowance level is the first level allowance. When the machining allowance of the workpiece is in the range of 0.01 to 0.08mm, the machining allowance level is the second level allowance. When the machining allowance of the workpiece is greater than 0.08mm, the machining allowance level is the third level allowance. When the machining allowance level is the first level allowance, three optional tolerance values are provided: 0.005mm, 0.01mm and 0.05mm, and the corresponding machining accuracy levels are high-speed finishing, high-quality finishing and semi-finishing. When the machining allowance level is the third level, three optional tolerance values are provided: 0.01mm, 0.05mm and 0.1mm, and the corresponding machining accuracy levels are high-quality finishing, semi-finishing and roughing.
[0062] Step S600: Generate a machining mode setting instruction according to the machining accuracy level and the workpiece weight level.
[0063] For example, the machining accuracy level is semi-finishing, the workpiece weight level is light weight level, and the generated machining mode setting instruction is M71S2V0.
[0064] Step S700, generating a first numerical control program according to geometric parameters and process parameters.
[0065] The first numerical control program can be automatically generated using existing numerical control programming software (such as UG, WorkNC, PowerMill, etc.) The first numerical control program can also include tool change instructions and tool error prevention identification instructions.
[0066] Step S800, generating a second NC program according to the machining mode setting instruction and the first NC program.
[0067] This embodiment improves the traditional method of controlling a machine tool by using a first numerical control program in cooperation with manual settings by an on-site operator, reduces human-computer interaction, and improves the automation level of numerical control programming and the stability of the production process.
[0068] The protection scope of the programming method for CNC machine tools in the embodiment of the present application is not limited to the execution order of the steps listed in the present embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.
[0069] This embodiment provides a programming device for a numerically controlled machine tool, comprising:
[0070] A data acquisition module is used to obtain the geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool;
[0071] Weight calculation module, used to obtain the workpiece weight based on geometric parameters and material density;
[0072] A weight grade query module is used to query the preset weight threshold according to the category code;
[0073] A weight grade selection module is used to compare the weight of the workpiece with a preset weight threshold to obtain the weight grade of the workpiece;
[0074] The precision level selection module is used to calculate the machining precision level according to the process parameters;
[0075] A processing mode setting module, used for generating a processing mode setting instruction according to a processing accuracy level and a workpiece weight level;
[0076] A main program generation module, used for generating a first numerical control program according to geometric parameters and process parameters;
[0077] The NC program generation module is used to generate a second NC program according to the machining mode setting instruction and the first NC program.
[0078] In the several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units 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 an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.
[0079] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.
[0080] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. 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.
[0081] like Figure 3 As shown, this embodiment provides an electronic device, which is a mobile device of a user such as a mobile phone, a PAD, a wearable device, an intelligent AI device, etc.; the electronic device includes a memory for storing a computer program; and a processor for running the computer program to implement the programming method of the CNC machine tool in the above embodiment.
[0082] The memory is connected to the processor via a system bus and communicates with each other. The memory is used to store computer programs, and the processor is used to run the computer programs so that the electronic device executes the programming method of the CNC machine tool in the above embodiment.
[0083] It should be noted that the system bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to realize the communication between the database access device and other devices (such as clients, read-write libraries and read-only libraries).
[0084] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0085] In addition, this embodiment further provides a storage medium storing program instructions, which, when executed by a processor, implement the programming method for a numerically controlled machine tool in the above embodiment.
[0086] A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above-mentioned embodiment can be completed by instructing a processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above-mentioned storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state disk (SSD)), etc.
[0087] The present application can also provide a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the programming method for a CNC machine tool in the above embodiment. The detailed implementation process of the programming method for a CNC machine tool has been described in detail in this specification and will not be repeated here.
[0088] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0089] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A programming method for a numerically controlled machine tool, wherein the controller of the numerically controlled machine tool is provided with a processing mode setting instruction, wherein the processing mode setting instruction is used to set the processing accuracy level and the workpiece weight level, wherein: The programming method of the numerical control machine tool comprises the following steps: Obtaining geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool; Obtaining the weight of the workpiece according to the geometric parameters and the material density; querying a preset weight threshold according to the category code; Comparing the weight of the workpiece with the preset weight threshold to obtain the weight grade of the workpiece; Calculating the machining accuracy level according to the process parameters; Generate the processing mode setting instruction according to the processing accuracy level and the workpiece weight level; Generate a first numerical control program according to the geometric parameters and the process parameters; A second numerical control program is generated according to the machining mode setting instruction and the first numerical control program.
2. The programming method for a CNC machine tool according to claim 1, characterized in that: The obtaining of the workpiece weight according to the geometric parameters and the material density specifically includes: Obtaining a theoretical weight of the workpiece according to the geometric parameters and the material density; The theoretical weight is multiplied by a preset safety factor to obtain the workpiece weight, and the preset safety factor is greater than 1.
3. The programming method for a CNC machine tool according to claim 2, characterized in that: The geometric parameters include the length L, width W, height H, density ρ and hollowing rate δ of the workpiece. The calculation method of the theoretical weight is as follows: w=L·W·H·ρ·δ, where w represents the theoretical weight.
4. The programming method for a CNC machine tool according to claim 1, characterized in that: The process parameters include a processing strategy, a processing allowance, and a tolerance value, and the calculation of the processing accuracy level according to the process parameters specifically includes: Determining the type of the processing strategy; When the machining strategy belongs to the first machining type, a plurality of preset allowance thresholds corresponding to the machining strategy are obtained, and the machining allowance is compared with the preset allowance thresholds to obtain the machining accuracy level; When the machining strategy belongs to the second machining type, multiple preset allowance thresholds corresponding to the machining strategy are taken; the machining allowance is compared with the preset allowance thresholds to obtain a machining allowance level; and the machining accuracy level is obtained according to the machining allowance level and the tolerance value.
5. The programming method for a numerically controlled machine tool according to claim 4, characterized in that: The machining accuracy levels include: high-speed finishing, high-quality finishing, semi-finishing and roughing.
6. The programming method for a numerically controlled machine tool according to claim 4, characterized in that: The machining strategies belonging to the first machining type include surface root cleaning and single-tool root cleaning, and the machining strategies belonging to the second machining type include high-torque rough machining, constant-height finishing, and optimized constant-height finishing.
7. A programming device for a numerically controlled machine tool, characterized in that: include: A data acquisition module, used to acquire geometric parameters, material density, process parameters of the workpiece and the category code of the CNC machine tool; A weight calculation module, used for obtaining the weight of the workpiece according to the geometric parameters and the material density; A weight grade query module, used to query a preset weight threshold according to the category code; A weight grade selection module, used for comparing the weight of the workpiece with the preset weight threshold to obtain the weight grade of the workpiece; A precision level selection module, used for calculating the machining precision level according to the process parameters; A processing mode setting module, used for generating a processing mode setting instruction according to the processing accuracy level and the workpiece weight level; A main program generating module, used for generating a first numerical control program according to the geometric parameters and the process parameters; A numerical control program generating module is used to generate a second numerical control program according to the processing mode setting instruction and the first numerical control program.
8. An electronic device, comprising a memory and a processor, characterized in that: The processor is used to execute the computer program stored in the memory, so that the electronic device executes the programming method for a numerically controlled machine tool according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the programming method of a numerically controlled machine tool according to any one of claims 1 to 6 is implemented.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the programming method for a numerically controlled machine tool described in any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Generation method of numerical control machining program, electronic equipment and storage medium
CN120928780A
