An automatic programming method, system, device and storage medium
By marking the workpiece patterns to be processed automatically obtaining process operation data and generating processing technical files, the complex and cumbersome problem of writing workpiece processing programs is solved, and programming efficiency is improved and errors are reduced.
Patent Information
- Application Number
- CN202111357789.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-16
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2041-11-16
AI Technical Summary
In the prior art, the writing process of workpiece processing programs is complicated and cumbersome, and it consumes a lot of model preparation time and manual processing investment.
The user marks the drawings of the workpiece to be processed, automatically obtains process operation data, and generates processing technical documents based on these data, including work instructions and NC machining program sheets.
It reduces the time and manual errors of programmers, improves the programming efficiency of mechanically processed parts, and generates detailed processing technical documents for technical personnel to refer to.
Smart Images

Figure CN114091127B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent manufacturing, and particularly to an automatic programming method, system, device and storage medium. Background Art
[0002] Computer-aided design and manufacturing technology has been widely applied in the manufacturing industry. In the conventional manufacturing process, programmers need to write machining programs according to the drawings of workpieces to be machined, and then input the written programs into machine tools or machining centers to machine the workpieces to be machined. However, if there are many types of workpieces to be machined, the corresponding machining programs written are undoubtedly complex and cumbersome, and are prone to errors. This increases the preparation time of the part programming model and the input of manual processing. Summary of the Invention
[0003] In order to overcome the deficiencies of the prior art, the present invention provides an automatic programming method, system, device and computer storage medium to solve the problems that the programming process of workpiece machining programs in the prior art is complex and cumbersome, consuming a large amount of model preparation time and manual processing input.
[0004] One embodiment of the present invention provides an automatic programming method, including the following steps:
[0005] Obtain the process operation data of the workpiece to be machined according to the user's operation;
[0006] Generate a machining technical document for the workpiece to be machined according to the process operation data.
[0007] In one embodiment, the step of obtaining the process operation data of the workpiece to be machined includes:
[0008] Obtain the drawing of the workpiece to be machined;
[0009] Perform information annotation on the drawing of the workpiece to be machined;
[0010] Associate the information annotation of the workpiece to be machined with the features of the workpiece to be machined to obtain the process operation data of the workpiece to be machined.
[0011] In one embodiment, the step of generating a machining technical document for the workpiece to be machined according to the process operation data includes:
[0012] Generate an operation instruction manual for the workpiece to be machined according to the process operation data.
[0013] In one embodiment, the step of generating the operation instruction manual for the workpiece to be machined according to the process operation data includes:
[0014] Display the drawing of the workpiece to be machined;
[0015] Obtain the annotation information on the drawing of the workpiece to be processed;
[0016] Generate an operation instruction sheet for the workpiece to be processed based on the process operation data and the drawing annotation information.
[0017] In one embodiment, the step of generating the processing technical document for the workpiece to be processed according to the processing process operation data includes:
[0018] Generate an NC processing program sheet for the workpiece to be processed according to the process operation data.
[0019] In one embodiment, the step of generating the NC processing program sheet for the workpiece to be processed according to the process operation data includes:
[0020] Generate an NC program for the workpiece to be processed according to the process operation data;
[0021] Generate an NC program sheet for the workpiece to be processed according to the NC program of the workpiece to be processed.
[0022] In one embodiment, the step of generating the NC program for the workpiece to be processed according to the process operation data includes:
[0023] Obtain the fixture information and / or machine tool information of the workpiece to be processed according to the process operation data;
[0024] Determine the NC program corresponding to the fixture information and / or machine tool information of the workpiece to be processed according to the process operation data.
[0025] In one embodiment, the step of generating the NC program sheet for the workpiece to be processed according to the NC program of the workpiece to be processed includes:
[0026] Generate an NC program sheet for the workpiece to be processed according to the NC program.
[0027] In one embodiment, after the step of obtaining the process operation data of the workpiece to be processed, the following steps are further included:
[0028] Select a fixture according to the process operation data and the drawing of the workpiece to be processed;
[0029] Visually judge whether the fixture is accurate.
[0030] In one embodiment, after the step of obtaining the process operation data of the workpiece to be processed, the following steps are further included:
[0031] Obtain the annotation information on the workpiece to be processed;
[0032] The annotation information includes one or more of a pin hole, a through hole, a threaded hole, and a precision surface.
[0033] In one embodiment, the obtaining of the annotation information on the workpiece to be machined includes:
[0034] Marking the features on the workpiece to be machined with colors.
[0035] One embodiment of the present invention provides an automatic programming system, including:
[0036] An obtaining module, configured to obtain the process operation data of the workpiece to be machined;
[0037] A generating module, configured to generate a machining technical document of the workpiece to be machined according to the process operation data.
[0038] One embodiment of the present invention provides an electronic device, including:
[0039] At least one processor; and,
[0040] A memory communicatively connected to the at least one processor; wherein, instructions executable by the at least one processor are stored on the memory, and when the instructions are executed by the at least one processor, the at least one processor can implement the steps of the automatic programming method described in any one of the above.
[0041] One embodiment of the present invention provides a computer-readable storage medium, on which a program of an automatic programming method is stored, and when the program of the automatic programming method is executed by a processor, the steps of the automatic programming method described in any one of the above are implemented.
[0042] The automatic programming method and the automatic programming system provided by the above embodiments of the present invention have the following beneficial effects:
[0043] 1. By receiving the information marked by the user on the drawing of the workpiece to be machined, the process operation data of the workpiece to be machined is automatically obtained, thus saving the time of the programming personnel. The programming personnel no longer need to manually write the machining program according to the workpiece to be machined. They only need to mark the information of the corresponding machining features on the drawing of the workpiece to be machined. After the software receives the corresponding annotation information, it will automatically obtain the corresponding process operation data, automatically associate the process data with the workpiece to be machined, and automatically generate the corresponding machining program and output the machining technical document of the workpiece to be machined. The above automatic programming method is convenient, fast and generates a machining technical document for the corresponding technical personnel to refer to, reducing the programming time of machining parts and the programming errors caused by the cumbersome programming work, thus realizing the rapid programming of machining parts and generating the machining technical document of the workpiece to be machined at the same time.
[0044] 2. In one embodiment, an operation instruction manual for the workpiece to be machined is generated based on the process operation data of the workpiece to be machined. At this time, the process operation data of the workpiece to be machined is automatically associated, and a program for the workpiece to be machined is generated based on the associated process operation data, and an operation instruction manual for the workpiece to be machined is generated. The operation instruction manual includes the drawing information, marking information and corresponding operation guidance information of the workpiece to be machined. That is to say, while generating the processing program of the workpiece to be machined by associating the process operation data of the workpiece to be machined, the corresponding operation instruction manual for the processed workpiece is also generated, so as to facilitate the operator to consult and verify.
[0045] 3. In one embodiment, an NC processing program list for the workpiece to be machined is generated according to the process operation data. According to the obtained process operation data of the workpiece to be machined, tool information and / or lathe information are obtained; and the process operation data is associated to obtain the operation data of the tool information and / or lathe information, and a corresponding NC program is generated according to the correlation therebetween, and a corresponding NC program list is generated according to the NC program for technicians to consult, so that the operation process is more intuitive and not prone to errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0047] Figure 1 It is a schematic flowchart of an automatic programming method provided by one embodiment of the present invention;
[0048] Figure 2 is Figure 1 a detailed flowchart of step S10 in;
[0049] Figure 3 It is a schematic flowchart of an automatic programming method according to one embodiment of the present invention;
[0050] Figure 4 is Figure 3 a schematic interface diagram of the automatic programming method in when generating a fixture operation instruction manual;
[0051] Figure 5 For the present invention Figure 3 a schematic display interface diagram of the automatic programming method in when a part is clamped;
[0052] Figure 6 It is a schematic flowchart of an automatic programming method according to one embodiment of the present invention;
[0053] Figure 7 For the automatic programming method in the present invention Figure 6 Schematic diagram of the interface for generating the NC machining program list;
[0054] Figure 8 Schematic diagram of the modules of the automatic programming system provided by one embodiment of the present invention;
[0055] Figure 9 Schematic diagram of the modules of the automatic programming system provided by another embodiment of the present invention.
[0056] The realization, functional characteristics and advantages of the object of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments
[0057] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0058] It should be noted that if there are directional indications (such as up, down, left, right, front, back...) involved in the embodiments of the present invention, then the directional indications are only used to explain the relative positional relationship and movement conditions between components in a specific posture. If the specific posture changes, the directional indications will also change accordingly.
[0059] In addition, if there are descriptions such as "first", "second", etc. involved in the embodiments of the present invention, then the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first", "second" may explicitly or implicitly include at least one such feature. In addition, if "and / or" or "and / or" appears throughout the text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or a solution that satisfies both A and B at the same time. In addition, the technical solutions between the embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0060] Please refer to Figure 1 , one embodiment of the present invention provides an automatic programming method, and the automatic programming method includes the following steps:
[0061] Step S10, obtain the process operation data of the workpiece to be processed;
[0062] Step S20, generate the processing technical document of the workpiece to be processed according to the process operation data.
[0063] Specifically, in this embodiment, the methods for obtaining process operation data include: being sent by the upper-level MES system or obtained according to user operations. Here, the present invention makes no specific limitations. Obtain the drawing of the workpiece to be processed. According to requirements, the workpiece to be processed can be a welding angle seat, pin seat, connecting block, vertical plate, L-shaped integrated angle seat, or pressing block, etc. In this embodiment, the workpiece to be processed is a connecting plate. Perform information marking on the drawing of the workpiece to be processed according to the user's operations. According to requirements, the marked information includes one or more of pin holes, through holes, threaded holes, and precision surfaces; according to requirements, the processing program of the workpiece to be processed includes information such as the setting of the tool path and the starting position of the tool. It can be understood that the marked information can also include different types of grooves, cavities, chamfers, stiffeners, etc., and those skilled in the art can specifically set them according to requirements. In the automatic programming method provided in this embodiment, according to the user's operations, the process operation data of the workpiece to be processed is automatically obtained, the process data is associated, and while automatically generating the processing program of the workpiece to be processed, the corresponding processing technical document is generated, thereby saving time for programmers. Programmers not only do not need to manually write the processing program according to the processed workpiece, but only need to mark the information of the corresponding processing features on the drawing of the workpiece to be processed. After the software receives the corresponding marked information, it will automatically obtain the process operation data, associate them, and automatically generate the corresponding processing program and processing technical document. Thus, the above automatic programming method is convenient and fast, reduces the repetitive and cumbersome programming time of programmers, also reduces the manual programming errors of programmers, and generates processing technical documents for technicians to consult and review, thereby realizing the rapid programming of machined parts.
[0064] Please refer to Figure 2 , in the specific operation process, first execute step S101, obtain the drawing of the workpiece to be processed; that is, open the 3D drawing of the connecting block in the design software.
[0065] Then, execute step S102, perform information marking on the drawing of the workpiece to be processed. That is, according to the user's operations, the features on the drawing of the workpiece to be processed can be marked through the user interface of the design software.
[0066] Step S103, associate the information marking of the workpiece to be processed with the features of the workpiece to be processed to obtain the process operation data of the workpiece to be processed.
[0067] Specifically, programmers associate the information to be marked with the features and information markings of the workpiece to be processed by clicking on the spaces on the marking interface. At this time, the process of marking the drawing of the workpiece to be processed becomes very simple. For example, marking information such as pin holes, through holes, threaded holes, or precision surfaces can be displayed on the software interface, and then the information to be marked is associated with the features of the workpiece to be processed by sequential selection, so as to obtain the process operation data of the workpiece to be processed. Among them, the process operation data includes: the tools, tool paths, and machine tool information required for processing the workpiece to be processed, etc. That is, programmers can associate the marking information on the workpiece to be processed with the features on the workpiece to be processed through simple operations, so as to obtain the process operation data of the workpiece to be processed, further improving the programming efficiency.
[0068] In one embodiment, step S102 includes:
[0069] That is, there is a control for feature marking in the design software. After programmers click on the control for feature marking, an interface for marking the processing features of the connecting block can be called up. In this embodiment, the marking interface includes one or more of the following controls: pin holes, precision surfaces, through holes, and threaded holes, etc. Those skilled in the art can also add other types of controls according to actual needs. For example, after clicking on the control for pin holes and then clicking on the first hole, third hole, fifth hole, and seventh hole in the connecting block, it means that these holes need to be processed into pin holes. Another example is that after clicking on the control for precision surfaces and then clicking on the first outer side and the second outer side of the connecting block, it means that the first outer side and the second outer side need to be processed into precision surfaces. It can be understood that the above is only one way of associating the information to be marked with the features on the workpiece to be processed by way of illustration. In actual application, it is also possible to click on the features to be processed on the connecting block.
[0070] Furthermore, in order to make it more convenient for programmers to operate, in one embodiment, step S20 includes:
[0071] Step S201, generating an operation instruction sheet for the workpiece to be processed according to the process operation data.
[0072] Please refer to Figure 3 , in one embodiment, step S201 includes:
[0073] Step S2011, displaying the drawing of the workpiece to be processed;
[0074] Step S2012, obtaining the marking information on the drawing of the workpiece to be processed;
[0075] Step S2013: Generate an operation instruction manual for the workpiece to be processed based on the process operation data and the drawing annotation information.
[0076] Specifically, in the design software, the programmer associates the information to be annotated with the features and information annotations of the workpiece to be processed by clicking on the space on the annotation interface. At this time, the process of annotating the drawing of the workpiece to be processed becomes very simple. For example, the annotation information such as pin holes, through holes, threaded holes, or precision surfaces can be displayed on the software interface, and then the information to be annotated can be associated with the features of the workpiece to be processed by sequential selection, so as to obtain the process operation data of the workpiece to be processed, automatically generate the programming program of the workpiece to be processed, and output the corresponding operation instruction manual. This is used for the operator to clamp the workpiece to be processed. Further reduce the operator's selection time for tools and machine tools, and effectively improve the programming efficiency.
[0077] In fact, in the design software, when the 3D drawing of the connecting block is first opened, all the features in the 3D drawing of the connecting block are displayed in gray. When the user clicks on the control of the pin hole and then clicks on the first hole, the third hole, the fifth hole, and the seventh hole in the connecting block, it means that these holes need to be processed into pin holes. For another example, when the user clicks on the control of the threaded hole and then clicks on the fourth hole and the sixth hole, it means that these holes need to be processed into threaded holes. Automatically capture the hole type (pin hole, threaded hole, through hole), the design software automatically associates the process data, and generates an operation instruction manual with one key. Therefore, in the design software, assembling the drawing of the workpiece to be processed into the fixture drawing according to the obtained fixture drawing is beneficial for the programmer to have a preliminary judgment on the processing route map of the workpiece to be processed, thus facilitating the subsequent clamping operation of the operator for the workpiece to be processed. On the other hand, during the actual operation of the workpiece to be processed, the operator of the processing equipment needs to use the fixture to clamp the workpiece to be processed. At this time, since the design software has assembled the drawing of the workpiece to be processed into the fixture drawing according to the obtained fixture drawing, it can output the fixture operation instruction manual according to the corresponding assembling method to guide the operator of the processing equipment to use the fixture to clamp the workpiece to be processed.
[0078] Specifically, during the process of generating the standard operation instruction manual for the fixture, the automatic programming method will automatically associate the relevant process data. Unless there are special requirements to be noted, the automatic programming method can generate an operation instruction manual with one key. The part processing operation instruction manual includes: part information, part clamping schematic diagram, fixture operation standardization, and part technical requirements. As shown in the following figure, the fixture operation instruction manual provided in this embodiment also includes the display of 3D annotation pictures of part clamping and key dimensions. As Figure 5As shown, when a clamping request for the workpiece to be processed is received, a fixture operation instruction manual will automatically pop up on the display interface of the design software for the operator to confirm. By standardizing the clamping operation instruction manual, the occurrence of clamping errors can be reduced. And in this embodiment, the part technical requirement section can use bold fonts to prompt the operator with the technical requirements for the workpiece of this drawing number. In this embodiment, the generated fixture standard operation instruction manual can be in two file formats, PDF or Excel. Among them, when the generated operation instruction manual is in PDF format, it can be directly uploaded to the server for storage. As Figure 4 shown, the programmer can generate the operation instruction manual for the workpiece to be processed by clicking on the control on the display interface of the design software. Among them, the operation instruction manual includes: the technical requirements manually input by the programmer, the drawing number of the workpiece to be processed, the processing equipment, the fixture assembly number, and the programmer, and the output position of the operation instruction manual can be manually selected to facilitate the programmer's access and inspection. And through the drawing number on the fixture instruction manual, the equipment and fixture information are automatically associated. By showing the assembly schematic diagram of the workpiece and the fixture in the fixture instruction manual, some operators can clearly understand the workpiece clamping, quickly distinguish the workpiece clamping direction, and reduce the problems caused by improper clamping.
[0079] In one embodiment of the present invention, the step S20 further includes:
[0080] Step S202, generating an NC processing program list for the workpiece to be processed according to the process operation data.
[0081] Specifically, in this embodiment, NC (Numerical Control) refers to controlling the operation of devices such as machinery with discrete digital information and can only be programmed by the operator himself. CNC (Computerized Numerical Control Machine Tools) is short for Computer Numerical Control Machine Tools, which is an automated machine tool equipped with a program control system. This control system can logically process programs with control codes or other symbolic instructions specified, and decode them, so as to make the machine tool operate and process parts. In this embodiment, an NC machining program sheet for the workpiece to be machined is generated according to the process operation data automatically obtained for the workpiece to be machined. Among them, according to the drawing of the workpiece to be machined and the marked information, tool information and / or machine tool information are obtained. Similarly, the programmer no longer needs to manually search for suitable machining tools, machine tools or machining centers according to the drawing of the workpiece to be machined. The design software will automatically select suitable tool information from the tool library that has pre-stored various tool information, and automatically select suitable machine tool information from the machine tool library that has pre-stored various machine tools, and generate an NC program sheet for the tool and the machine tool. Among them, NC is short for numerical control, and the operation of the tool and the machine tool is controlled by the combination of addresses (English letters such as S, F, G, M, X, Y, Z, etc.) and symbols (numbers). Inside the NC device, G codes are used to process functions such as axis movement and coordinate system setting. G codes can be represented by the letter G and 2 digits, including 100 codes from G00 to G99; M codes have action control of various switches for the operation of the machine tool, mainly controlling the rotation and stop of the main shaft, tool change, etc., and are also represented by the letter M and two digits, including 100 codes from M00 to M99; F codes are used for rapid feed speed setting codes. Generally speaking, the rapid feed speed refers to the moving distance per minute; S codes are used for specifying codes for controlling the spindle speed; T codes are used for instructions to call the tools to be used, usually represented by TOO. Example program:
[0082] NC Code: Operation Program O1100 Program Name: 1100, Servo Program G41 F100 Tool Diameter Correction (Left Correction) Start G01 X0.0 Y45.0 Start Module X - 20.0 Y45.0 Linear Cutting G03 Y - 45.0 R45.0 Arc Cutting (CCW) G01 X20.0 Y45.0 Linear Cutting G03 Y - 45.0 R45.0 Arc Cutting (CCW) G01 X0.0 Linear Cutting G40 Y0.0 Correction Complete M99 Servo Program End
[0083] That is to say, according to the information marked on the workpiece to be machined by the programmer and the corresponding process operation data are obtained, and the process operation data are associated to automatically generate the corresponding machining program for the workpiece to be machined, and the corresponding NC program is generated, and the corresponding NC machining program sheet is output according to the NC program. Among them, in this embodiment, the NC machining program sheet is for the operator to confirm before processing, including machining center operation confirmation items, machining machine tools, tool numbers and their corresponding program names, tool names, tool lengths, chucks and other data; thus, the operator can conveniently reconfirm whether the machining tools used are accurate through the NC program sheet.
[0084] Please refer to Figure 6 , in one of the embodiments, step S202 includes:
[0085] Step S2021, generate the NC program of the workpiece to be machined according to the process operation data;
[0086] Step S2022, generate the NC program list of the workpiece to be machined according to the NC program of the workpiece to be machined.
[0087] That is to say, according to the information annotation on the drawing of the workpiece to be machined by the programmer on the display interface of the software and automatically associating the external shape features on the drawing of the workpiece to be machined with the annotation information, the process operation data corresponding to the workpiece to be machined is obtained, and the machining NC program corresponding to the process operation is automatically generated. As Figure 7 shown, the NC program list includes machining data such as the tool, the program name corresponding to the tool number, the tool length, the tool name, the chuck, the type, and the rotational speed. In this embodiment, the NC code is obtained according to the process data of the workpiece to be machined. The machine tool, the tool, and the tool path are controlled by the NC code to machine the workpiece, and the NC program list is automatically filled according to the control instructions pointed to by the NC code. Finally, the NC program list corresponding to the workpiece to be machined is obtained. In this way, by automatically obtaining the process operation data of the workpiece to be machined and associating it to generate the corresponding NC program list of the workpiece to be machined, it is provided for the programmer to confirm and review.
[0088] Please refer to Figure 7 , in the actual operation process, after opening the 3D drawing of the connecting block, the control button for generating the machining program can be clicked to automatically obtain the corresponding machining program through the connecting block, automatically obtain the confirmation of the machining equipment and the selection of the cutting material, and automatically grab the hole type (pin hole, threaded hole, through hole). In addition, the programmer can click the external shape annotation control on the software display interface to mark the maximum external dimension of the part with one key, making the clamping operation more convenient and faster. Finally, the NC program list corresponding to the workpiece to be machined can be generated by clicking the NC program list control. At this time, if the programmer does not need to modify the type of machining features and the machining parameters, the next step of generating the machining program can be carried out. If the programmer finds that one or several of the data need to be modified, the type of the corresponding machining features or the machining parameters can be directly modified on this interface without returning to the previous step to modify the drawing file. This method can also effectively improve the programming efficiency.
[0089] Further, in this embodiment, the step S202 further includes:
[0090] Obtain the fixture information and / or machine tool information of the workpiece to be machined according to the process operation data;
[0091] Determine the NC program corresponding to the fixture information and / or machine tool information of the workpiece to be machined according to the process operation data.
[0092] Specifically, in this embodiment, during the actual operation process, after opening the 3D pattern of the connection block, the 3D pattern of the fixture corresponding to the connection block can be automatically obtained by clicking the control button for fixture information setting. In this embodiment, the 3D pattern data of the fixture can be placed in the local storage space of the computer or on the network server. When the programmer clicks to obtain fixture information, the server can be accessed through the network to obtain the 3D pattern of the fixture stored on the network server. In fact, a mapping table between the workpiece to be processed and the fixture is pre-stored in the design software. One or a certain type of workpiece to be processed corresponds to a set of fixtures. At this time, when the programmer clicks the control button for fixture information setting, the system will automatically search for the corresponding fixture information according to the name of the workpiece to be processed. For example, if the name of the workpiece to be processed is LJK-A-001, the fixture type that matches it can be accurately searched according to the name "LJK-A-001". Another example, if the name of the workpiece to be processed is LJK-A-002 and the workpiece to be processed LJK-A-001 and the workpiece to be processed LJK-A-002 can share the same set of fixtures, at this time, the fixture type that matches it can be searched according to part of the information "LJK-A" in the name of the workpiece to be processed. In fact, for the 3D pattern of the workpiece to be processed, the suffix of its drawing file is generally relatively fixed, such as ".step", or ".IGS", or ".X_T", etc. At this time, during the process of automatically searching for the corresponding fixture information according to the name of the workpiece to be processed, the suffix of the corresponding drawing file can be automatically omitted to improve efficiency.
[0093] In addition, after obtaining the fixture information, as needed, the system will automatically pop up information on how to assemble the workpiece to be processed onto the fixture. The information can be displayed on the display interface. At this time, the programmer can assemble the drawing of the workpiece to be processed and the drawing of the fixture together according to the corresponding display information. And determine the corresponding tool information according to the marking information on the workpiece to be processed. Similarly, the programmer no longer needs to manually search for a suitable processing tool, machine tool or machining center according to the drawing of the workpiece to be processed. The design software will automatically select the appropriate tool information from the tool library pre-storing various tool information, and automatically select the appropriate machine tool information from the machine tool library pre-storing various machine tools, and generate the corresponding tool NC program list according to the process operation parameters. Among them, the NC program list includes PDF and / or Excel versions, and the programmer can directly confirm whether the used tools and machine tools are correct through the Excel version NC program list.
[0094] In one embodiment of the present invention, after the step S10, it further includes:
[0095] Select a fixture according to the process operation data and the drawing of the workpiece to be machined;
[0096] Visually judge whether the fixture is accurate.
[0097] Specifically, in this embodiment, according to the drawing of the workpiece to be machined and the marked information, tool information and / or machine tool information are obtained. Similarly, the programmer no longer needs to manually search for a suitable machining tool, machine tool or machining center according to the drawing of the workpiece to be machined. The design software will automatically select suitable tool information from the tool library that pre-stores various tool information, and automatically select suitable machine tool information from the machine tool library that pre-stores various machine tools, so as to generate a machining program for the workpiece to be machined. And the programmer can perform a visual inspection by clicking the interference check control on the software display interface.
[0098] Further, in another embodiment of the present invention, after the step S10, the following is further included:
[0099] Obtain the marked information on the workpiece to be machined;
[0100] The marked information includes one or more of: pin holes, through holes, threaded holes, and precision surfaces.
[0101] Mark the features on the workpiece to be machined with colors.
[0102] Specifically, in this embodiment, that is, there is a control for feature marking in the design software. After the programmer clicks the control for feature marking, an interface for marking the machining features of the connecting block can be called up.
[0103] Please refer to Figure 8 , one embodiment of the present invention provides an automatic programming system, and the automatic programming system includes an acquisition module 310 and a generation module 320.
[0104] The acquisition module 310 is used to acquire the process operation data of the workpiece to be machined;
[0105] The generation module 320 is used to generate a machining technical document for the workpiece to be machined according to the process operation data.
[0106] Among them, as needed, the generation module 320 further includes:
[0107] The first sub-module 3201 is used to generate an operation instruction manual for the workpiece to be machined according to the process operation data.
[0108] The second sub-module 3202 generates an NC machining program list for the workpiece to be machined according to the process operation data.
[0109] Please refer to Figure 9 , an embodiment of the present invention provides an automatic programming system 400. The automatic programming system 400 includes:
[0110] a memory 420, a processor 410, and a computer program 440 stored on the memory 420 and executable on the processor 410. When the computer program 440 is executed by the processor 410, it implements the steps of the automatic programming method described in any of the above embodiments.
[0111] One embodiment of the present invention provides a computer-readable storage medium with a computer program stored thereon. When the computer program is executed by a processor, it implements the steps of the automatic programming method described in any of the above embodiments.
[0112] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or system including a series of elements not only includes those elements but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or system including that element.
[0113] The serial numbers of the above embodiments of the present invention are only for description and do not represent the superiority or inferiority of the embodiments.
[0114] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium as described above (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention. The above is only the preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or equivalent process transformation made by using the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. An automatic programming method, characterized in that, Including the following steps: Obtain the process operation data of the workpiece to be processed; Generate the processing technical document of the workpiece to be processed according to the process operation data, including: display the drawing of the workpiece to be processed; obtain the marking information on the drawing of the workpiece to be processed; generate the operation instruction book of the workpiece to be processed based on the process operation data and the drawing marking information; Generate the NC program of the workpiece to be processed according to the process operation data, including: obtain the fixture information and / or machine tool information of the workpiece to be processed according to the process operation data; determine the NC program corresponding to the fixture information and / or machine tool information of the workpiece to be processed according to the process operation data. Specifically: when the workpiece to be processed is a connecting block, after opening the 3D drawing of the connecting block, click the control button set for the fixture information to automatically obtain the 3D drawing of the fixture corresponding to the connecting block. The 3D drawing data of the fixture is stored in the local storage space of the computer or on the network server; when obtaining the fixture information, access the server through the network to obtain the 3D drawing of the fixture stored on the network server, where a mapping table between the workpiece to be processed and the fixture is pre-stored in the design software; Generate the NC program list of the workpiece to be processed according to the NC program of the workpiece to be processed. Specifically: according to the information marked on the workpiece to be processed by the programmer and the obtained corresponding process operation data, associate and automatically generate the processing program corresponding to the workpiece to be processed for the process operation data, generate the corresponding NC program, and output the corresponding NC processing program list according to the NC program. Among them, the NC processing program list is for the operator to confirm before processing, including the machining center operation confirmation items, machining machine tool, tool number and its corresponding program name, tool name, tool length, and chuck.
2. The automatic programming method according to claim 1, characterized in that, The step of obtaining the process operation data of the workpiece to be processed includes: Obtain the drawing of the workpiece to be processed; Perform information marking on the drawing of the workpiece to be processed; Associate the information marking of the workpiece to be processed with the features of the workpiece to be processed to obtain the process operation data of the workpiece to be processed.
3. The automatic programming method according to any one of claims 1-2, characterized in that, After the step of obtaining the process operation data of the workpiece to be processed, it further includes: Select a fixture according to the process operation data and the drawing of the workpiece to be processed; Visually judge whether the fixture is accurate.
4. The automatic programming method according to any one of claims 1-2, characterized in that, After the step of obtaining the process operation data of the workpiece to be processed, it further includes: Obtain the marking information on the workpiece to be processed; The marking information includes one or more of pin holes, through holes, threaded holes, and precision surfaces.
5. The automatic programming method according to claim 4, characterized in that, The step of obtaining the marking information on the workpiece to be processed includes: Mark the features on the workpiece to be processed with colors.
6. An automatic programming system, characterized in that, Including: An acquisition module for obtaining the process operation data of the workpiece to be processed; A generation module for generating the processing technical document of the workpiece to be processed according to the process operation data, including: display the drawing of the workpiece to be processed; obtain the marking information on the drawing of the workpiece to be processed; generate the operation instruction book of the workpiece to be processed based on the process operation data and the drawing marking information; Generating an NC program for the workpiece to be processed based on the process operation data, including: obtaining fixture information and / or machine tool information of the workpiece to be processed according to the process operation data; determining the NC program corresponding to the fixture information and / or machine tool information of the workpiece to be processed according to the process operation data. Specifically: the workpiece to be processed is a connecting block. After opening the 3D drawing of the connecting block, by clicking the control button set for fixture information, the 3D drawing of the fixture corresponding to the connecting block is automatically obtained. The 3D drawing data of the fixture is stored in the local storage space of the computer or on a network server; when obtaining fixture information, the 3D drawing of the fixture stored on the network server is obtained by accessing the server through the network, where a mapping table between the workpiece to be processed and the fixture is pre-stored in the design software. Generating an NC program list for the workpiece to be processed based on the NC program of the workpiece to be processed. Specifically: according to the information marked by the programmer on the workpiece to be processed and the corresponding process operation data obtained, the process operation data is associated to automatically generate the machining program corresponding to the workpiece to be processed, and the corresponding NC program is generated, and the corresponding NC machining program list is output according to the NC program. Among them, the NC machining program list is for the operator to confirm before processing, including machining center operation confirmation items, machining machine tools, tool numbers and their corresponding program names, tool names, tool lengths, and chucks.
7. An electronic device, characterized in that, Including: At least one processor; And, A memory communicatively connected to the at least one processor; wherein, instructions executable by the at least one processor are stored on the memory, and when the instructions are executed by the at least one processor, the at least one processor can implement the steps of the automatic programming method according to any one of claims 1-5 when executed.
8. A computer-readable storage medium, characterized in that, A program of an automatic programming method is stored on the computer-readable storage medium, and when the program of the automatic programming method is executed by a processor, the steps of the automatic programming method according to any one of claims 1-5 are implemented.
Citation Information
Patent Citations
Technique information expressing method based on three-dimensional model
CN102722615A
Method of and system for producing data for numerically controlled machining
US5289382A