Manual programming method and device, computer equipment and storage medium

Through the manual programming assistance system, interactive modules, support modules and database modules are used to generate and verify manual programming files, solving the problem of low manual programming efficiency and achieving an efficient, accurate and flexible programming process.

CN119717691APending Publication Date: 2025-03-28CRRC TANGSHAN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411703642.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing manual programming methods are inefficient and face the problems of repetitive work and large programming workloads, making it difficult to meet the efficient production needs of modern manufacturing.

Method used

It provides a manual programming auxiliary system, including interactive modules, support modules and database modules, and improves programming efficiency and accuracy by generating manual programming files, simulation programs, and generating CNC code files based on simulation results.

Benefits of technology

By reducing the need for repeated programming, improving programming efficiency and accuracy, reducing the possibility of programming errors, enhancing programming flexibility, and meeting customized production needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119717691A_ABST
    Figure CN119717691A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of intelligent manufacturing, in particular to a manual programming method and device, computer equipment and a storage medium. The manual programming method is applied to the manual programming auxiliary system, the manual programming auxiliary system at least comprises an interaction module, a support module and a database module, and the interaction module provides an editing control component graphical user interface containing databases; the method comprises the steps of generating a manual programming file based on a module library editing operation in response to the module library editing operation of a user for an editing control component; sending the manual programming file to a bill of material structure of the terminal for storage; the simulation program obtains a manual programming file from the bill of material structure, and machining simulation is carried out based on the manual programming file; and if the machining simulation result passes verification, issuing a numerical control code file corresponding to the manual programming file to a manual programming auxiliary system. The invention provides a manual programming method with higher efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent manufacturing technology, and in particular, to a manual programming method, apparatus, computer equipment and storage medium. Background Art

[0002] In the manufacturing industry, the commonly used processing method is to program the processing on the processing equipment according to the actual product, which takes up the equipment operation time, has low equipment utilization, and leads to low processing efficiency. With the continuous development of digital manufacturing and automation technology, many manufacturing companies have begun to fully adopt automated programming technology to improve production efficiency. However, for certain specific processing requirements and highly customized manufacturing processes, traditional automated programming methods still face many challenges, which makes manual programming still have a place in modern manufacturing. However, in actual production, there will be a lot of repetitive work in the programming process, and the programming workload is large, and manual programming may face problems such as low efficiency.

[0003] Therefore, there is an urgent need for a manual programming method that can improve programming efficiency. Summary of the invention

[0004] The embodiments of the present application provide a manual programming method, apparatus, computer device and storage medium.

[0005] In a first aspect of an embodiment of the present application, a manual programming method is provided, which is applied to a manual programming auxiliary system, wherein the manual programming auxiliary system comprises at least an interaction module, a support module and a database module, wherein the interaction module provides a graphical user interface including an editing and manipulation component of each database; the method comprises:

[0006] In response to a user's module library editing operation on the editing and manipulating component, generating a manual programming file based on the module library editing operation;

[0007] sending the manual programming file to the bill of materials structure of the terminal for storage;

[0008] The simulation program obtains the manual programming file from the bill of materials structure and performs machining simulation based on the manual programming file;

[0009] If the machining simulation result passes the verification, the numerical control code file corresponding to the manual programming file is published to the manual programming auxiliary system.

[0010] In an optional embodiment of the present application, the simulation program obtains the manual programming file from the bill of materials structure, and performs machining simulation based on the manual programming file, including:

[0011] Calling a first simulation program to obtain the manual programming file from the bill of materials structure and programming the manual programming file into a numerical control code file;

[0012] The second simulation program is called to perform machining simulation on the object to be processed based on the numerical control code file to obtain the machining simulation result.

[0013] In an optional embodiment of the present application, the manual programming file and the numerical control code file are both structured and stored in the bill of materials structure.

[0014] In an optional embodiment of the present application, after calling the second simulation program to perform machining simulation on the object to be machined based on the numerical control code file and obtaining the machining simulation result, the method further includes:

[0015] Verifying and debugging the machining simulation results based on distributed numerical control equipment;

[0016] If the verification and debugging are passed, the numerical control code file corresponding to the machining simulation result is published to the manual programming auxiliary system.

[0017] In an optional embodiment of the present application, the database module includes multiple databases, and the multiple databases include: at least one of a loop instruction library, a macro program library, a program segment library and a CNC machining code library.

[0018] In an optional embodiment of the present application, the module library editing operation includes at least one of: adding, modifying, deleting, querying and instruction looping.

[0019] In an optional embodiment of the present application, if the database in the database module includes: a CNC machining code library, correspondingly, the module library editing operations include: CNC machining code entry, setting line numbers, search functions, referencing subroutines, adding macro programs, adding common program segments, adding program segments, adding loop instructions, copying programs, temporary storage operations, submitting operations and publishing operations.

[0020] According to a second aspect of the embodiment of the present application, a manual programming device is provided, which is applied to a manual programming auxiliary system. The manual programming auxiliary system comprises at least an interaction module, a support module and a database module. The interaction module provides a graphical user interface including editing and manipulation components of each database. The device comprises:

[0021] A generating module, for responding to a module library editing operation of the editing and manipulating component by a user, and generating a manual programming file based on the module library editing operation;

[0022] A storage module, used for sending the manual programming file to the bill of materials structure of the terminal for storage;

[0023] A simulation module, used for a simulation program to obtain the manual programming file from the bill of materials structure, and perform machining simulation based on the manual programming file;

[0024] The verification module is used to publish the numerical control code file corresponding to the manual programming file to the manual programming auxiliary system if the machining simulation result passes the verification.

[0025] According to a third aspect of an embodiment of the present application, a computer device is provided, comprising: a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above methods when executing the computer program.

[0026] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above methods when executed by a processor.

[0027] The embodiment of the present application provides a manual programming auxiliary system, which includes an interactive module, a support module and a database module, wherein a plurality of module libraries are provided in the support module, and a plurality of module libraries are included in the module library, which correspond to various common processing steps and technologies, such as turning module, milling module, drilling module, cutting module, etc. Each module library is associated with corresponding processing parameters, and these processing parameters define how to execute the processing step. When a user selects a module, they can adjust these parameters according to the specific workpiece and machine tool conditions to obtain the best processing effect. The database is one-to-one corresponding to the module library, and is used to store each processing parameter corresponding to each module library. The manual programming method provided in the embodiment of the present application is based on the constructed manual programming auxiliary system, which can directly respond to the user's module library editing operation for the editing and manipulation component, and generate a manual programming file based on the module library editing operation. On the one hand, since each module can be used multiple times, this greatly reduces the need for repeated programming in multiple projects, which can greatly reduce repetitive labor and improve the efficiency of manual programming; on the other hand, each module will be strictly verified and tested before being added to the system to ensure its accuracy and reliability. This reduces the possibility of programming errors and improves programming accuracy. Thirdly, users can quickly select and combine modules according to specific processing requirements to meet customized production needs and improve programming flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0029] Figure 1 A schematic diagram of the structure of a manual programming auxiliary system provided by an embodiment of the present application;

[0030] Figure 2 A flowchart of a manual programming method provided for one embodiment of the present application;

[0031] Figure 3 An interactive diagram of a manual programming method provided by one embodiment of the present application;

[0032] Figure 4 A schematic diagram of the structure of a manual programming device provided in one embodiment of the present application;

[0033] Figure 5 A schematic diagram of the computer device structure provided for one embodiment of the present application. DETAILED DESCRIPTION

[0034] In the process of implementing the present application, the inventor discovered that there is an urgent need for a manual programming method that can improve programming efficiency.

[0035] In response to the above problems, embodiments of the present application provide a manual programming method, apparatus, computer device and storage medium.

[0036] The solutions in the embodiments of the present application can be implemented using various computer languages, for example, the object-oriented programming language Java and the interpreted scripting language JavaScript.

[0037] In order to make the technical solutions and advantages in the embodiments of the present application more clearly understood, the exemplary embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.

[0038] The following is a brief description of the application environment of the manual programming method provided in the embodiment of the present application:

[0039] See also Figure 1The manual programming method provided in the embodiment of the present application is applied to a manual programming auxiliary system, and the manual programming auxiliary system at least includes: an interaction module, a support module and a database module. Among them, the interaction module refers to a module for providing an interaction port for users, and the interaction module provides a graphical user interface including editing and manipulation components of each database to realize interaction with users, such as displaying information and inputting information. The interaction module is for example Figure 1 The front-end UI (User Interface Design, graphical user interface) and presentation layer in the system, where the front-end UI is a layUI (minimal modular) front-end framework such as Html, CSS, etc. The presentation layer provides template engines such as freemarker and yhymleaf, and provides rest (Representational State Transfer) API (Application Programming Interface), such as POST, GET, etc. Support modules such as Figure 1 The middleware and service layer in the system is used to provide services such as storage, mirroring, message processing, and workflow engine. Figure 1 The middleware in the package includes: Redis+encache secondary cache, Ksfka+zookeeper message middleware, etc.; the service layer includes: MyBatis (an excellent persistence layer framework that supports common SQL queries, stored procedures, and advanced mapping), Acticiti workflow engine, Springboot (an application development framework). Database modules, for example Figure 1 The database in is used to provide various configuration databases, such as through Figure 1 MySQL (a relational database management system) manages loop instruction library, macro program library, program segment library and CNC machining code library, etc., which are not listed here exhaustively and can be flexibly adjusted according to actual conditions.

[0040] The manual programming auxiliary system of the embodiment of the present application includes an interactive module, a support module and a database module, wherein a plurality of module libraries are provided in the support module, and a plurality of module libraries are included in the module library, corresponding to various common processing steps and technologies, such as turning module, milling module, drilling module, cutting module, etc. Each module library is associated with corresponding processing parameters, and these processing parameters are used to define how to execute the processing step. When a user selects a module, they can adjust these parameters according to the specific workpiece and machine tool conditions to obtain the best processing effect. The database corresponds to the module library one by one, and is used to store the processing parameters corresponding to each module library.

[0041] At the same time, in order to support the programming of the support module, the embodiment of the present application has developed a graphical user interface containing editing and manipulation components of various databases in the interactive module to realize interaction with the user. This interface allows the user to combine various modules by dragging and dropping to create a complete processing program. It also provides a wealth of visualization tools to help users quickly understand and verify their programming decisions. It should be explained that each editing and manipulation component in the interactive module is associated with each module library in the support module, and each module library can be combined, edited, deleted, added, etc. through module library editing operations such as dragging and dropping, thereby realizing flexible combination between various module libraries.

[0042] In addition to the above functions, the manual programming auxiliary system also provides a series of advanced functions, such as module creation, editing and sharing. This allows users to create their own module library according to their specific needs and experience, and share it with other users. In general, the manual programming auxiliary system provides a new programming method for modern manufacturing, combining the flexibility of manual programming and the efficiency of modular design. Through this method, not only can the efficiency of manual programming and production efficiency be improved, but also the accuracy and quality of processing can be ensured.

[0043] The above-mentioned manual programming auxiliary system is in the machining full-process management system, which is used to automatically manage and execute the entire machining process. The machining full-process management system includes at least: a machining programming and simulation module, which includes at least: a machining programming navigation system, a machining program post-processing system and a program simulation and verification post-processing system, and the machining programming and simulation module is used to build an offline programming environment; a machining programming database module, which includes at least: multiple pre-configured resource libraries, and the machining programming database module is used to accumulate process knowledge based on the offline programming environment; a machining programming data management module, which is used to coordinate and control programming files during the programming process; an equipment and data transmission module, which is used to realize the remote transmission of each program file between the production equipment and the machining programming and simulation module, the machining programming database module and the machining programming data management module.

[0044] The construction of the offline programming environment at least includes: generating a target program according to the process model pre-configured in the machining programming navigation system. Generating a target program according to the process model pre-configured in the machining programming navigation system includes: generating a machining path for navigation based on the annotation parameters in the pre-configured process model; generating a CNC program recognizable by the machine tool based on the machining path. The pre-configured process model at least includes: a three-dimensional model and a rhythmic model for characterizing the machining of the equipment. Before generating the target program according to the process model pre-configured in the machining programming navigation system, the machining programming and simulation module is also used to perform a three-dimensional feature recognition analysis on the entire machining process and each machining equipment to obtain an analysis result; based on the analysis result, the corresponding process model is called to simulate each machining equipment and the corresponding sub-process of each machining equipment. The analysis result includes: at least one of a tool path and a machine tool machining process. The process knowledge accumulation based on the offline programming environment at least includes: calling each resource library in real time according to the target program and generating knowledge push and process reasoning; wherein the knowledge push refers to the content in the resource library currently called, and the process reasoning refers to the process content of the next moment predicted based on the called resource library and the current process state. The resource library includes: at least one of a machining center machine library, a machining machine tool library, a fixture model library, a work step template file library, a process specification template library, and a post-processor file library. In the programming process, the programming files are coordinated and controlled, including: storing, approving, changing and issuing the program files in the programming files according to the pre-configured process control model. The remote transmission of each program file between the production equipment and the processing programming and simulation module, the processing programming database module and the processing programming data management module includes: pushing process data, feedback transmission of the target program, viewing of equipment operation data, and establishing a connection with the production equipment. The pushing of process data, feedback of target program, checking of equipment operation data, and establishment of connection with production equipment at least include: issuing and feedback of process data, creating and managing the standardized data creation and management of the resource library and knowledge base configured in advance, and sending the process data to the equipment and data transmission module. The equipment and data transmission module is also used to set up communication for each communication object and to establish a communication connection with the management system; wherein the communication objects include: at least one of each of the production equipment, the machining programming and simulation module, the machining programming database module, and the machining programming data management module; and / or, pushing the target program to the target production equipment for production execution; and / or, feeding back and fine-tuning the code to the code management system. The machining programming and simulation module is also used to verify the target program and conduct feedback optimization and collaborative processing.

[0045] Among them, the machining full process management system is also equipped with a machining programming navigation system, which at least includes: a model information extraction module for extracting the basic information of the parts to be processed; a part analysis module for determining the processing feature information of the parts to be processed according to the basic information of the parts; a process planning module for determining the process information of the parts to be processed according to the processing feature information; a three-dimensional process model generation module for generating a blank and a process model according to the process information; a navigation module for determining the simulation information NC program of the model to be processed according to the blank and the process model, and generating a machining programming navigation file according to the simulation NC program. The navigation module at least includes: a NC programming module for generating the simulation information and the NC program of the parts to be processed according to the blank and the process model; a process output module for generating the machining programming navigation file according to the simulation information and the NC program. The basic information of the parts at least includes: at least one of the model feature data, boundary representation data, and annotation information of the parts to be processed. The processing feature information at least includes: at least one of the processing features, dimensions, and feature attributes of the parts to be processed. The process information at least includes: at least one of feature processing step information, part processing step information, and part processing process arrangement information. The machining programming navigation system includes: a support layer for providing process knowledge services, and an operation layer for providing process design platform services and interactive services; wherein the model information extraction module, the part analysis module, the process planning module, the three-dimensional process model generation module and the navigation module are configured in the operation layer; the support layer is pre-configured with a variety of process knowledge bases. The support layer includes at least: at least one of a part processability knowledge base, a processing method library, a processing resource library, a typical part processing technology library, a process route library, and a feature processing method library.

[0046] Please also see Figure 2 and Figure 3 The manual programming method provided in the embodiment of the present application includes the following steps 201 to 204:

[0047] Step 201, in response to a user's module library editing operation on the editing and manipulating component, generating a manual programming file based on the module library editing operation;

[0048] The module library editing operation refers to operations such as adding, editing, deleting, moving, copying, and looping on the database. The user can enter the parameters through an external device or directly enter the corresponding parameters or combine the module libraries through the touch screen. The editing and control components can be in any form such as touch buttons, dialog boxes, parameter lists, etc., which are not exhaustive here. The manual programming file refers to a programming file formed by the combination and editing of the selected module libraries, which can be directly applied to CNC machining equipment without considering its accuracy and precision.

[0049] Step 202: Send the manual programming file to the bill of materials structure of the terminal for storage;

[0050] The bill of materials structure refers to the BOM (Bill of Material), that is, a file that describes the product structure in a data format. The embodiment of the present application uses the bill of materials structure as a shared storage medium to store various generated files and data for reading by other modules.

[0051] Step 203: The simulation program obtains the manual programming file from the bill of materials structure, and performs machining simulation based on the manual programming file;

[0052] The simulation program refers to a simulation program for performing machining simulation on the object to be machined. For example, the first simulation program may be PTC CAM, and the second simulation program may be VERICUT.

[0053] Step 204: If the machining simulation result passes the verification, the numerical control code file corresponding to the manual programming file is published to the manual programming auxiliary system.

[0054] The NC code file can be compiled from a manual programming file, or the manual programming file can be directly used as the NC code file, which can be determined according to the format of the manual programming. Whether the verification is passed can be flexibly adjusted according to the actual situation. For example, if the tolerance of the simulation result is less than the preset tolerance, or the geometric shape completely matches the preset geometric shape, the machining simulation result is considered to have passed the verification. Otherwise, the machining simulation result is considered to have failed the verification. When the machining simulation result fails the verification, the manual programming file can be returned for further intervention and adjustment until the machining simulation result passes the verification.

[0055] The embodiment of the present application provides a manual programming auxiliary system, which includes an interactive module, a support module and a database module, wherein a plurality of module libraries are provided in the support module, and a plurality of module libraries are included in the module library, which correspond to various common processing steps and technologies, such as turning module, milling module, drilling module, cutting module, etc. Each module library is associated with corresponding processing parameters, and these processing parameters define how to execute the processing step. When a user selects a module, they can adjust these parameters according to the specific workpiece and machine tool conditions to obtain the best processing effect. The database is one-to-one corresponding to the module library, and is used to store each processing parameter corresponding to each module library. The manual programming method provided in the embodiment of the present application is based on the constructed manual programming auxiliary system, which can directly respond to the user's module library editing operation for the editing and manipulation component, and generate a manual programming file based on the module library editing operation. On the one hand, since each module can be used multiple times, this greatly reduces the need for repeated programming in multiple projects, which can greatly reduce repetitive labor and improve the efficiency of manual programming; on the other hand, each module will be strictly verified and tested before being added to the system to ensure its accuracy and reliability. This reduces the possibility of programming errors and improves programming accuracy. Thirdly, users can quickly select and combine modules according to specific processing requirements to meet customized production needs and improve programming flexibility.

[0056] In an optional embodiment of the present application, the above step 203, the simulation program obtains the manual programming file from the bill of materials structure, and performs machining simulation based on the manual programming file, includes the following steps:

[0057] Calling a first simulation program to obtain the manual programming file from the bill of materials structure and programming the manual programming file into a numerical control code file;

[0058] The second simulation program is called to perform machining simulation on the object to be processed based on the numerical control code file to obtain the machining simulation result.

[0059] For example, the first simulation program may be PTC CAM, and the second simulation program may be VERICUT. The manual programming file may be directly programmed into a NC code file through PTC CAM, and then the machining simulation of the object to be processed may be performed through VERICUT to obtain the machining simulation result. The manual programming file may be subsequently verified through the machining simulation result, which may greatly improve the accuracy and reliability of the obtained manual programming file.

[0060] In an optional embodiment of the present application, after the above-mentioned step of calling the second simulation program to perform machining simulation on the object to be machined based on the numerical control code file and obtaining the machining simulation result, the method further comprises the following steps:

[0061] Verifying and debugging the machining simulation results based on distributed numerical control equipment;

[0062] If the verification and debugging are passed, the numerical control code file corresponding to the machining simulation result is published to the manual programming auxiliary system.

[0063] The verification and debugging in the embodiment of the present application includes a verification process and a debugging process, that is, when the verification fails, the manual programming file and / or the NC code file can be adjusted by means of debugging until the verification passes. The distributed numerical control device refers to a DNC (Distributed Numerical Control) device, which belongs to the equipment in the networked CNC machine tool. The embodiment of the present application verifies and debugs the machining simulation results by using a distributed numerical control device, which can greatly improve the accuracy and reliability of the obtained manual programming file.

[0064] In an optional embodiment of the present application, the manual programming file and the numerical control code file are both structured and stored in the bill of materials structure.

[0065] After the manual programming file of the manual programming auxiliary system is released, the manual NC code file needs to be packaged and pushed to the windchill end, and uploaded to the BOM (Bill of Material) structure specified by the windchill end. After the first simulation program PTC Cam end completes the machining programming, the manual programming file (NC code script file) of the automatic programming product will be packaged and automatically pushed to the windchill end, and uploaded to the BOM structure specified by the windchill end. It should be explained that the windchill end refers to the terminal where the bill of materials structure is located, the PTC Cam end refers to the terminal where the first simulation program is located, and the Vericut end refers to the terminal where the second simulation program is located. In the embodiment of the present application, the windchill end, the PTC Cam end and the Vericut end can use the same terminal, or they can use one terminal independently, or they can be shared in pairs, and the embodiment of the present application does not make specific limitations.

[0066] The machining simulation results generated by the second simulation program Vericut are uploaded to the windchill BOM structure. The simulation report version is consistent with the automatic NC code version. The simulation report is published to the Windchill BOM structure. After the machining simulation results are approved by the windchill end, the following processing needs to be done:

[0067] If it is a manual programming file, after the simulation verification is passed, the simulation report will be sent back to the manual programming auxiliary system server; if it is an automatic programming file, after the simulation verification is passed, the simulation report and all processing program files will be sent back to the manual programming auxiliary system server.

[0068] After the NC code sent back by DNC is approved by windchill, windchill needs to send the approved NC code back to the manual programming auxiliary system server and perform structured storage of NC code related data. At this time, windchill needs to call the manual programming auxiliary system server UploadFileList interface to send the NC code back to the manual programming auxiliary system server. After the manual programming auxiliary system server receives the file sent back by windchill, it will perform structured storage in the file management module and display it in the form of a page, providing query and file download functions.

[0069] In an optional embodiment of the present application, the database module includes multiple databases, and the multiple databases include: at least one of a loop instruction library, a macro program library, a program segment library and a CNC machining code library.

[0070] Establish a cycle instruction library, macro program library, program segment library and CNC machining code library to provide standard data support for manual programming, help manual programmers to complete manual programming operations quickly and accurately, improve programmers' work efficiency and programming quality, realize formatted storage of cycle instructions, help accumulate cycle instruction experience, and realize the functions of adding, modifying, deleting, querying and downloading cycle instruction reference drawings; establish a macro program library to realize formatted storage of macro program libraries, help accumulate macro program experience, and realize macro program addition, modification, deletion and query functions; establish a program segment library to realize formatted storage of commonly used program segments, help accumulate commonly used program segment experience, and realize commonly used program segment addition, modification, deletion and query functions; establish a CNC machining code library to realize formatted storage of manual NC codes, which helps accumulate manual NC code experience.

[0071] In an optional embodiment of the present application, the module library editing operation includes at least one of: adding, modifying, deleting, querying and instruction looping.

[0072] In an optional embodiment of the present application, if the database in the database module includes: a CNC machining code library, correspondingly, the module library editing operations include: CNC machining code entry, setting line numbers, search functions, referencing subroutines, adding macro programs, adding common program segments, adding program segments, adding loop instructions, copying programs, temporary storage operations, submitting operations and publishing operations.

[0073] Click "Add Manual Programming" in the graphical user interface, and a new manual programming dialog box will appear, where you can perform programming operations. It can realize the creation, editing, deletion and query functions of manual NC code. In the manual NC code creation stage, it will be manual NC code entry, line number setting, search function, reference subroutine, add macro program, add common program segment, add program segment, add loop instruction, copy program, temporary storage operation, submission operation and release operation, realize the online rapid creation function of manual NC code, and improve the efficiency of manual programming.

[0074] In order to improve the reliability of the above manual programming method, in an optional embodiment of the present application, a machining simulation verification method for the above machining full process management system or the corresponding manual programming method is provided, including:

[0075] Calling a first simulation program, and determining a processing device and a processing path of the object to be processed based on object parameters of the object to be processed and preset machining parameters in the first simulation program; wherein the first simulation program refers to a program for generating a machining program code;

[0076] Calling a first simulation program to generate an initial processing program code for the object to be processed based on the processing equipment and the processing path;

[0077] Calling a second simulation program, determining a target machine tool model matching the machining equipment in the second simulation program, and performing machining simulation on the object to be machined based on the initial machining program code and the target machine tool model to obtain a machining simulation result; wherein the second simulation program refers to a program for machining simulation;

[0078] In the first simulation program, adjusting the machining equipment and machining path based on the machining simulation result, and generating new machining program code;

[0079] In the second simulation program, machining simulation is performed on the object to be processed based on the new machining program code and the target machine tool model until the new machining simulation result obtained meets the preset conditions, and the current machining program code is determined as the target machining program code of the object to be processed.

[0080] In an optional embodiment of the present application, the preset machining parameters include: at least one of: tool type, tool parameters, machine tool parameters, processing nodes, and node order; and / or, the first simulation program includes a post-processing module, and the initial processing program code of the object to be processed is generated based on the processing equipment and the processing path, including: based on the post-processing module, the initial processing program code of the object to be processed is generated according to the processing equipment and the processing path.

[0081] In an optional embodiment of the present application, determining the target machine tool model that matches the processing equipment in the second simulation program includes: selecting a machine tool model that matches the dynamic components and rotating axes of the processing equipment as the target machine tool model in the second simulation program.

[0082] In an optional embodiment of the present application, before simulating the machining of the object to be machined based on the initial machining program code and the target machine tool model to obtain the machining simulation result, the method further includes: verifying and adjusting the simulation machining parameters of the target machine tool model according to the preset machining parameters until the dynamic components and the rotating axis of the target machine tool model match the preset machining parameters.

[0083] In an optional embodiment of the present application, the method further comprises: when performing machining simulation on the object to be processed, highlighting the action position and action path of the processing equipment on the object to be processed;

[0084] In an optional embodiment of the present application, the machining simulation result includes: at least one of an over-material detection result, an under-material detection result, and a collision detection result.

[0085] In an optional embodiment of the present application, the first simulation program is: PTC; and / or the second simulation program is VERICUT.

[0086] In an optional embodiment of the present application, before calling the first simulation program and determining the processing equipment and processing path of the object to be processed based on the object parameters of the object to be processed and the preset machining parameters in the first simulation program, the method further includes:

[0087] Create a machining programming database; wherein the machining programming database includes: at least one of a machining center machine tool library, a machining machine tool environment library, a machine tool accessory head database, a machining machine tool tool library, a fixture model library, a post-processor file library, a machining knowledge base, and a process method database.

[0088] It should be understood that, although the various steps in the flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0089] See also Figure 4 In one embodiment of the present application, a manual programming device 400 is provided, which is applied to a manual programming auxiliary system. The manual programming auxiliary system at least includes: an interactive module, a support module and a database module. The interactive module provides a graphical user interface including editing and manipulation components of each database; the manual programming device 400 includes:

[0090] A generating module 410, for responding to a module library editing operation of the user on the editing and manipulating component, and generating a manual programming file based on the module library editing operation;

[0091] A storage module 420, for sending the manual programming file to the bill of materials structure of the terminal for storage;

[0092] A simulation module 430, for a simulation program to obtain the manual programming file from the bill of materials structure, and perform machining simulation based on the manual programming file;

[0093] The verification module 440 is used to publish the numerical control code file corresponding to the manual programming file to the manual programming auxiliary system if the machining simulation result passes the verification.

[0094] In an optional embodiment of the present application, the simulation module 430 is specifically used to call a first simulation program to obtain the manual programming file from the bill of materials structure and program the manual programming file into a CNC code file; call a second simulation program to perform machining simulation on the object to be processed based on the CNC code file to obtain the machining simulation result.

[0095] In an optional embodiment of the present application, the manual programming file and the numerical control code file are both structured and stored in the bill of materials structure.

[0096] In an optional embodiment of the present application, the simulation module 430 is further used to verify and debug the machining simulation result based on the distributed numerical control equipment;

[0097] If the verification and debugging are passed, the numerical control code file corresponding to the machining simulation result is published to the manual programming auxiliary system.

[0098] In an optional embodiment of the present application, the database module includes multiple databases, and the multiple databases include: at least one of a loop instruction library, a macro program library, a program segment library and a CNC machining code library.

[0099] In an optional embodiment of the present application, the module library editing operation includes at least one of: adding, modifying, deleting, querying and instruction looping.

[0100] In an optional embodiment of the present application, if the database in the database module includes: a CNC machining code library, correspondingly, the module library editing operations include: CNC machining code entry, setting line numbers, search functions, referencing subroutines, adding macro programs, adding common program segments, adding program segments, adding loop instructions, copying programs, temporary storage operations, submitting operations and publishing operations.

[0101] For the specific definition of the manual programming device 400, please refer to the definition of the manual programming method above, which will not be repeated here. Each module in the manual programming device 400 can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0102] In one embodiment, a computer device is provided, the internal structure diagram of which can be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a manual programming method as described above is implemented. It includes: a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, any step in the manual programming method as described above is implemented.

[0103] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any step in the above manual programming method can be implemented.

[0104] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0108] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0109] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A manual programming method, characterized in that: Applied to a manual programming auxiliary system, the manual programming auxiliary system at least comprises: an interactive module, a support module and a database module, the interactive module provides a graphical user interface including editing and manipulation components of each database; the method comprises: In response to a user's module library editing operation on the editing and manipulating component, generating a manual programming file based on the module library editing operation; Sending the manual programming file to the bill of materials structure of the terminal for storage; The simulation program obtains the manual programming file from the bill of materials structure and performs machining simulation based on the manual programming file; If the machining simulation result passes the verification, the numerical control code file corresponding to the manual programming file is published to the manual programming auxiliary system.

2. The manual programming method according to claim 1, characterized in that: The simulation program obtains the manual programming file from the bill of materials structure and performs machining simulation based on the manual programming file, including: Calling a first simulation program to obtain the manual programming file from the bill of materials structure and programming the manual programming file into a numerical control code file; The second simulation program is called to perform machining simulation on the object to be processed based on the numerical control code file to obtain the machining simulation result.

3. The manual programming method according to claim 2, characterized in that: The manual programming file and the numerical control code file are both structured and stored in the bill of materials structure.

4. The manual programming method according to claim 2, characterized in that: After the second simulation program is called to perform machining simulation on the object to be machined based on the numerical control code file to obtain the machining simulation result, the method further includes: Verifying and debugging the machining simulation results based on distributed numerical control equipment; If the verification and debugging are passed, the numerical control code file corresponding to the machining simulation result is published to the manual programming auxiliary system.

5. The manual programming method according to claim 1, characterized in that: The database module includes multiple databases, and the multiple databases include at least one of a cycle instruction library, a macro program library, a program segment library and a numerical control machining code library.

6. The manual programming method according to claim 1, characterized in that: The module library editing operation includes at least one of adding, modifying, deleting, querying and instruction looping.

7. The manual programming method according to claim 6, characterized in that: If the database in the database module includes: a CNC machining code library, correspondingly, the module library editing operations include: CNC machining code entry, setting line numbers, search functions, referencing subroutines, adding macro programs, adding common program segments, adding program segments, adding loop instructions, copying programs, temporary storage operations, submitting operations and publishing operations.

8. A manual programming device, characterized in that: Applied to a manual programming auxiliary system, the manual programming auxiliary system at least comprises: an interactive module, a support module and a database module, the interactive module provides a graphical user interface including editing and manipulation components of each database; the device comprises: A generating module, for responding to a module library editing operation of the editing and manipulating component by a user, and generating a manual programming file based on the module library editing operation; A storage module, used for sending the manual programming file to the bill of materials structure of the terminal for storage; A simulation module, used for a simulation program to obtain the manual programming file from the bill of materials structure, and perform machining simulation based on the manual programming file; The verification module is used to publish the numerical control code file corresponding to the manual programming file to the manual programming auxiliary system if the machining simulation result passes the verification.

9. A computer device comprising: The method comprises a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.