CN114091127A - Automatic programming method, system, equipment and storage medium - Google Patents

Automatic programming method, system, equipment and storage medium Download PDF

Info

Publication number
CN114091127A
CN114091127A CN202111357789.2A CN202111357789A CN114091127A CN 114091127 A CN114091127 A CN 114091127A CN 202111357789 A CN202111357789 A CN 202111357789A CN 114091127 A CN114091127 A CN 114091127A
Authority
CN
China
Prior art keywords
workpiece
processed
operation data
process operation
machined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111357789.2A
Other languages
Chinese (zh)
Inventor
邓鹏兵
周玄
兰从荣
姚维进
雷鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Mino Automation Co Ltd
Original Assignee
Guangzhou Mino Automation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Mino Automation Co Ltd filed Critical Guangzhou Mino Automation Co Ltd
Priority to CN202111357789.2A priority Critical patent/CN114091127A/en
Publication of CN114091127A publication Critical patent/CN114091127A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Numerical Control (AREA)

Abstract

The invention discloses an automatic programming method, system, equipment and a computer readable storage medium. The automatic programming method comprises the following steps: acquiring process operation data of a workpiece to be processed; and generating a processing technical file of the workpiece to be processed according to the process operation data. The processing method comprises the steps of automatically acquiring process operation data of a workpiece to be processed, automatically associating the process operation data with the process data to generate a processing program of the workpiece to be processed, and further automatically generating a processing technical file of the workpiece to be processed. Therefore, the processing technical file is generated through the process operation data and is consulted and confirmed by operators, the programming time is reduced by automatic programming, and meanwhile, the technical file is generated and is confirmed by the operators, so that the accuracy of the automatic programming is ensured.

Description

Automatic programming method, system, equipment and storage medium
Technical Field
The present invention relates to the field of intelligent manufacturing technologies, and in particular, to an automatic programming method, system, device, and storage medium.
Background
Computer aided design manufacturing techniques are widely used in manufacturing industry, and in a conventional manufacturing process, a programmer needs to write a machining program according to a pattern of a workpiece to be machined, and then input the written program into a machine tool or a machining center to machine the workpiece to be machined. However, if the types of the workpieces to be processed are large, the processing program written correspondingly is undoubtedly complicated and error-prone. The preparation time of the part programming model is increased, and the investment of manual processing is increased.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides an automatic programming method, a system, equipment and a computer storage medium, so as to solve the problems that programming of a machining program in the programming process of a workpiece machining program is complex and tedious, a large amount of model preparation time is consumed, and manual processing investment is invested.
One embodiment of the present invention provides an automatic programming method, including the following steps:
acquiring process operation data of a workpiece to be processed according to the operation of a user;
and generating a processing technical file of the workpiece to be processed according to the process operation data.
In one embodiment, the step of acquiring the process operation data of the workpiece to be processed comprises:
acquiring a pattern of a workpiece to be processed;
carrying out information marking on the pattern of the workpiece to be processed;
and associating the information label of the workpiece to be processed with the characteristics of the workpiece to be processed to obtain the process operation data of the workpiece to be processed.
In one embodiment, the step of generating the processing technology file of the workpiece to be processed according to the process operation data includes:
and generating an operation instruction book of the workpiece to be processed according to the process operation data.
In one embodiment, the step of generating the to-be-processed operation instruction according to the process operation data includes:
displaying a pattern of a workpiece to be processed;
acquiring marking information on the pattern of the workpiece to be processed;
and generating an operation instruction book of the workpiece to be processed based on the process operation data and the pattern marking information.
In one embodiment, the step of generating the processing technology file of the workpiece to be processed according to the processing technology operation data includes:
and generating an NC machining program list of the workpiece to be machined according to the process operation data.
In one embodiment, the step of generating an NC processing program list of the workpiece to be processed according to the process operation data includes:
generating an NC program of the workpiece to be machined according to the process operation data;
and generating an NC program list of the workpiece to be machined according to the NC program of the workpiece to be machined.
In one embodiment, the step of generating the NC program of the workpiece to be machined according to the process operation data includes:
acquiring clamp information and/or machine tool information of the workpiece to be processed according to the process operation data;
and determining the clamp information of the workpiece to be machined and/or the NC program corresponding to the machine tool information according to the process operation data.
In one embodiment, the step of generating an NC program list of the workpiece to be processed according to the NC program of the workpiece to be processed includes:
and generating an NC program list of the workpiece to be machined according to the NC program.
In one embodiment, the step of acquiring the process operation data of the workpiece to be processed further comprises:
selecting a clamp according to the process operation data and the pattern of the workpiece to be processed;
and visually judging whether the clamp is accurate or not.
In one embodiment, the step of acquiring the process operation data of the workpiece to be processed further comprises:
acquiring marking information on a workpiece to be processed;
the labeling information includes: one or more of a pin hole, a through hole, a threaded hole, and a precision surface.
In one embodiment, the acquiring the marking information on the workpiece to be processed includes:
the features on the workpiece to be machined are marked with a color.
One embodiment of the present invention provides an automatic programming system, including:
the acquisition module is used for acquiring process operation data of a workpiece to be processed;
and the generating module is used for generating a processing technical file of the workpiece to be processed according to the process operation data.
In one embodiment of the present invention, there is provided an electronic apparatus including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory has stored thereon instructions executable by at least one processor, the instructions being executable by the at least one processor to enable the at least one processor, when executed, to implement the steps of the automated programming method of any of the above.
In one embodiment of the present invention, there is provided a computer-readable storage medium having a program of an automatic programming method stored thereon, the program of the automatic programming method implementing the steps of the automatic programming method described in any one of the above when executed by a processor.
The automatic programming method and the automatic programming system provided by the above embodiment of the invention have the following beneficial effects:
1. the process operation data of the workpiece to be processed is automatically acquired by receiving the information marked on the pattern of the workpiece to be processed by the user, so that the time of a programmer is saved. The programmer does not need to manually write a processing program according to the workpiece to be processed, only needs to mark corresponding processing characteristic information in the workpiece pattern to be processed, and the software can automatically acquire corresponding process operation data after receiving the corresponding marking information, automatically associate the process data with the workpiece to be processed, automatically generate the corresponding processing program and output a processing technical file of the workpiece to be processed. The automatic programming method is convenient and quick to generate the processing technical file for reference of corresponding technicians, programming time of the processing parts and programming errors caused by complicated programming work are reduced, and therefore the processing technical file of the parts to be processed is generated while the quick programming of the machining parts is realized.
2. In one embodiment, the operation instruction book of the workpiece to be processed is generated according to the process operation data of the workpiece to be processed. At the moment, automatically associating according to the process operation data of the workpiece to be processed, generating a program of the workpiece to be processed based on the associated process operation data, and generating an operation instruction book of the workpiece to be processed, wherein the operation instruction book comprises pattern information, marking information and corresponding operation instruction information of the workpiece to be processed. That is to say, while generating a processing program for associating the process operation data of the workpiece to be processed to generate the workpiece to be processed, the operating instruction book corresponding to the processed workpiece is also generated, so that the operating personnel can conveniently consult and check the operating instruction book.
3. In one embodiment, an NC processing program list of the workpiece to be processed is generated according to the process operation data, and tool information and/or lathe information is acquired according to the acquired process operation data of the workpiece to be processed; and the process operation data is correlated to obtain the operation data of the cutter information and/or the lathe information, corresponding NC programs are generated according to the correlation between the operation data and the tool information and/or the lathe information, and corresponding NC program lists are generated according to the NC programs and are consulted by technicians, so that the operation process is visual, and errors are not easy to occur.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of an automated programming method provided by one embodiment of the present invention;
FIG. 2 is a schematic structural diagram of the workpiece to be machined in FIG. 1;
FIG. 3 is a detailed flowchart of step S10 in FIG. 1;
FIG. 4 is a flow chart illustrating an automated programming method according to one embodiment of the present invention;
FIG. 5 is a schematic interface diagram of the automated programming process of FIG. 4 in generating a jig manipulation instruction;
FIG. 6 is a schematic diagram of a display interface of the automatic programming method of FIG. 4 during part clamping according to the present invention;
FIG. 7 is a flow chart illustrating an automated programming method according to one embodiment of the present invention;
FIG. 8 is a schematic interface diagram illustrating the automatic programming method of FIG. 7 in generating an NC process order according to the present invention;
FIG. 9 is a schematic interface diagram of the automatic programming method of the present invention during shape labeling;
FIG. 10 is a schematic interface diagram of a labeling process of the automatic programming method of the present invention;
FIG. 11 is a block diagram of an automated programming system in accordance with one embodiment of the present invention;
fig. 12 is a block diagram of an automatic programming system according to another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture, and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, if the meaning of "and/or" and/or "appears throughout, the meaning includes three parallel schemes, for example," A and/or B "includes scheme A, or scheme B, or a scheme satisfying both schemes A and B. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides an automatic programming method, which includes the following steps:
step S10, acquiring process operation data of the workpiece to be processed;
and step S20, generating a processing technology file of the workpiece to be processed according to the process operation data.
Specifically, in this embodiment, the manner of acquiring the process operation data includes: issued by the upper MES system or obtained by user operation, and the invention is not limited thereto. Acquiring patterns of a workpiece to be processed, wherein the workpiece to be processed can be a welding angle seat, a pin seat, a connecting block, a vertical plate, an L-shaped integrated angle seat or a supporting pressing block and the like as required, and in the embodiment, the workpiece to be processed is a connecting plate. And according to the operation of a user, carrying out information marking on the pattern of the workpiece to be processed. According to the requirement, the marked information comprises one or more of pin holes, through holes, threaded holes and precision surfaces; according to the requirement, the processing program of the workpiece to be processed comprises information such as the setting of a tool path, the initial position of a tool and the like. It is understood that the labeled information may also include different types of grooves, cavities, chamfers, ribs, etc., and those skilled in the art may specifically set the information as needed. In the automatic programming method provided by the embodiment, the process operation data of the workpiece to be processed is automatically acquired according to the operation of the user, the process data is correlated, and the corresponding processing technical file is generated while the processing program of the workpiece to be processed is automatically generated, so that the time of a programmer is saved. The programmer does not need to manually write a processing program according to the processing workpiece, only needs to mark corresponding processing characteristic information in the pattern of the workpiece to be processed, and the software can automatically acquire process operation data and automatically generate corresponding processing programs and processing technical files after the software receives the corresponding marked information. The automatic programming method is convenient and quick, reduces repeated and fussy programming time of programmers, reduces manual programming errors of the programmers, generates processing technical files for technicians to review and examine, and accordingly achieves quick programming of machined parts.
Referring to fig. 2, in the present embodiment, the workpiece to be processed is a connecting block 100. The following describes an automatic programming method provided by an embodiment of the present invention by taking the connection block 100 as an example.
The connection block 100 includes a first side 110 and a second side 120. The first side 110 and the second side 120 are connected to each other and form a right-angled shape. In this embodiment, the first side 110 is a long side. The second side 120 is a short side. The first side 110 includes a first top surface 111, a first bottom surface 112, and a first outer side surface 113 and a first inner side surface 114 connected between the first top surface 111 and the first bottom surface 112. The second side 120 includes a second top surface 121, a second bottom surface 122, and a second outer side surface 123 and a second inner side surface 124 connected between the second top surface 121 and the second bottom surface 122. Specifically, the first top surface 111 and the second top surface 121 are flush with each other to form a top surface of the connection block 100. The first bottom surface 112 and the second bottom surface 122 are flush with each other to form a bottom surface of the connector block 100. The first side 110 is provided with a first hole 115, a second hole 116 and a third hole 117. In this embodiment, a first hole 115, a second hole 116, and a third hole 117 extend from the first outer side surface 113 to the first inner side surface 114. Specifically, the first hole 115 and the third hole 117 are pin holes, and the second hole 116 is a via hole, a waist hole, or a countersunk hole. The second side 120 is provided with a fourth hole 125, a fifth hole 126, a sixth hole 127 and a seventh hole 128. In this embodiment, the fourth hole 125, the fifth hole 126, the sixth hole 127 and the seventh hole 128 extend from the second outer side surface 123 to the second inner side surface 124. Specifically, the fourth hole 125 and the sixth hole 127 are standard coarse threaded holes; the fifth hole 126 and the seventh hole 128 are pin holes.
In a specific operation process, firstly, executing step S101 to obtain a pattern of a workpiece to be processed; that is, the three-dimensional pattern of the connection block 100 is opened in the design software.
Then, step S102 is executed to perform information labeling on the pattern of the workpiece to be processed. Namely, according to the operation of a user, the features on the workpiece pattern to be processed can be labeled through the use interface of the design software.
Referring to fig. 3, in one embodiment, step S102 includes:
i.e. one control with a label of a feature in the design software. After clicking the feature labeling control, the programmer can call up an interface for labeling the machining features of the connection block 100. As shown in fig. 4, in this embodiment, the labeled interface includes one or more of the following controls: pin holes, precision surfaces, through holes, threaded holes, and the like. Other types of controls can be added by those skilled in the art according to actual needs. For example, after clicking the control for the pin hole, click the first hole 115, the third hole 117, the fifth hole 126, and the seventh hole 128 in the connection block 100, i.e., representing the need to machine these holes into pin holes. For another example, after the control of the precision surface is clicked, the first outer side surface 113 and the second outer side surface 123 of the connecting block 100 are clicked, which means that the first outer side surface 113 and the second outer side surface 123 need to be processed into the precision surface. It will be appreciated that one of the ways of associating information to be noted with features on a workpiece to be machined is given above only schematically. In practical application, the feature to be processed on the connection block 100 may be clicked.
And S103, associating the information label of the workpiece to be processed with the characteristics of the workpiece to be processed to acquire the process operation data of the workpiece to be processed.
Specifically, a programmer associates information to be labeled with characteristics and information labels of a workpiece to be processed by clicking a space on a labeling interface. At this time, the process of labeling the pattern of the workpiece to be machined becomes very simple, for example, information to be labeled can be displayed on an interface of software, such as a pin hole, a through hole, a threaded hole or a precision surface, and then the information to be labeled is associated with the features of the workpiece to be machined in a sequential clicking manner, so as to obtain the process operation data of the workpiece to be machined, where the process operation data includes: and the information of the tool, the tool path, the machine tool and the like required by the processing of the workpiece to be processed. Namely, the programmer can associate the marking information on the workpiece to be processed with the features on the workpiece to be processed through simple operation, so that the process operation data of the workpiece to be processed can be acquired, and the programming efficiency is further improved.
Further, in order to facilitate the operation of the programmer, in one embodiment, the step S20 includes:
step S201, generating an operation instruction book of the workpiece to be processed according to the process operation data.
Specifically, in the design software, a programmer associates the information to be labeled with the characteristics of the workpiece to be processed and the information label by clicking a space on a labeling interface. At this time, the process of labeling the pattern of the workpiece to be machined becomes very simple, for example, information to be labeled can be displayed on an interface of software, such as a pin hole, a through hole, a threaded hole or a precision surface, and then the information to be labeled is associated with the characteristics of the workpiece to be machined in a sequential clicking manner, so as to obtain the process operation data of the workpiece to be machined, automatically generate a programming program of the workpiece to be machined, and output a corresponding operation instruction book. So that the operator can clamp the workpiece to be processed. Further reducing the selection time of the operator to the cutter and the machine tool and effectively improving the programming efficiency.
Referring to fig. 4, in one embodiment, step S201 includes:
step S2011, displaying a pattern of a workpiece to be processed;
step S2012, acquiring marking information on the pattern of the workpiece to be processed;
and step S2013, generating an operation instruction book of the workpiece to be processed based on the process operation data and the pattern marking information.
In fact, in the design software, all features in the three-dimensional pattern of the connector block 100 are shown in gray as soon as the three-dimensional pattern of the connector block 100 begins to open. When the user clicks the control of the pin hole, the user clicks the first hole 115, the third hole 117, the fifth hole 126 and the seventh hole 128 in the connecting block 100, i.e. the holes need to be machined into pin holes. For another example, when the user clicks the control of the threaded hole, the fourth hole 125 and the sixth hole 127 are clicked, which means that the holes need to be machined into the threaded holes. The method comprises the following steps of automatically grabbing hole types (pin holes, threaded holes and through holes), automatically associating process data with design software, and generating an operation instruction book by one key, so that in the design software, a to-be-processed workpiece pattern is assembled into a fixture pattern according to the obtained fixture pattern, a programmer can conveniently make a preliminary judgment on a processing route diagram of the to-be-processed workpiece, and a subsequent operator can conveniently clamp the to-be-processed workpiece. On the other hand, in the actual operation process of the workpiece to be processed, an operator of the processing equipment needs to clamp the workpiece to be processed by using the clamp. At this time, because the design software has assembled the to-be-machined workpiece pattern into the fixture pattern according to the acquired fixture pattern, it can output a fixture operation instruction according to the corresponding assembly mode to instruct an operator of the machining device to clamp the to-be-machined workpiece by using the fixture.
Specifically, the automatic programming method automatically correlates the relevant process data during the generation of the jig standard operation instruction. Unless specific requirements are noted, the automatic programming method can generate the operation instruction book by one key. The part processing operation instruction includes: the part information, the part clamping schematic diagram, the fixture operation standardization and the part technical requirements are shown in the following figures, and the fixture operation instruction book provided by the embodiment further comprises part clamping and critical dimension 3D labeling picture display. As shown in fig. 6, when a workpiece to be machined is subjected to a clamping request, a clamp operation instruction book can be automatically popped out on a display interface of design software for an operator to confirm, and the clamping operation instruction book is standardized, so that clamping errors are reduced. In addition, in the embodiment, the part technical requirement board can adopt an eye-catching font to prompt the technical requirement of the operator for the workpiece with the drawing number. In this embodiment, the generated standard operation instruction for the jigs may be in two file formats, PDF and excel. When the work instruction book in the PDF format is generated, the work instruction book can be directly uploaded to a server to be stored. As shown in fig. 5, a programmer may generate an operation instruction book of a workpiece to be processed by clicking a control on a display interface of design software, where the operation instruction book includes: the technical requirements, drawing numbers of workpieces to be processed, processing equipment, a clamp assembly number and the programmer are manually input by the programmer, and the output position of the operation guide book can be manually selected, so that the programmer can conveniently consult and check. The device and the clamp information are automatically associated through the drawing number on the clamp instruction book, part of operators can clearly clamp the workpiece by displaying the workpiece and the clamp assembly schematic diagram in the clamp instruction book, the clamping direction of the workpiece can be rapidly distinguished, and the problem caused by improper clamping is reduced.
In one embodiment of the present invention, the step S20 further includes:
and step S202, generating an NC machining program list of the workpiece to be machined according to the process operation data.
Specifically, in the present embodiment, NC (numerical control) refers to controlling the operation of a machine or the like using discrete numerical information, and a CNC (numerical control) machine, which is simply called a computer numerical control machine (computer numerical control), is programmed by an operator himself/herself, and is an automated machine tool equipped with a program control system. The control system is capable of logically processing a program defined by a control code or other symbolic instructions and decoding the program to operate the machine tool to machine a part. In the embodiment, an NC processing program list of the workpiece to be processed is generated according to the automatically acquired process operation data of the workpiece to be processed, wherein tool information and/or machine tool information is acquired according to the pattern and labeled information of the workpiece to be processed. Likewise, the programmer no longer has to manually find the appropriate machining tool or machine tool or machining center based on the pattern of the workpiece to be machined. The design software automatically selects appropriate tool information from a tool library in which various tool information is stored in advance, automatically selects appropriate machine tool information from a machine tool library in which various machine tools are stored in advance, and generates an NC program sheet of the tool and the machine tool, wherein NC is a short for numerical control, the operation of the tool and the machine tool is controlled by a combination of addresses (english letters such as S, F, G, M, X, Y, Z) and symbols (numbers), and G codes are used for processing functions such as movement of axes, setting of a coordinate system, and the like in the NC device. The G code can be represented by G letters and 2 digits, and comprises 100 codes of G00-G99; the M code has the action control of various switches for machine tool operation, mainly controls the rotation, the stop, the replacement of a cutter and the like of a main shaft, is also represented by M letters and two digits, and comprises 100 codes of M00-M99; the F code is used for fast forward speed formulation code, generally speaking fast forward speed refers to moving distance per minute; s code is used for controlling the designated code of the main shaft rotating speed; the T code is used for instructions to call up the tool to be used, typically denoted as TOO. An example procedure:
Figure BDA0003355963080000101
Figure BDA0003355963080000111
that is to say, according to information marked on a workpiece to be processed by a programmer and corresponding process operation data obtained by the programmer, the process operation data is correlated to automatically generate a processing program corresponding to the workpiece to be processed, and a corresponding NC program is generated, and a corresponding NC processing program sheet is output according to the NC program, wherein in the present embodiment, the NC processing program sheet is confirmed by the programmer before processing, and includes data such as a processing center operation confirmation item, a processing machine table, a tool serial number and a corresponding program name, a tool length, a chuck and the like; therefore, the operator can conveniently confirm whether the used machining tool is accurate again through the NC program list.
Referring to fig. 7, in one embodiment, step S202 includes:
step S2021, generating an NC program of the workpiece to be machined according to the process operation data;
step S2022, generating an NC program list of the workpiece to be processed according to the NC program of the workpiece to be processed.
That is to say, according to the information labeling of the programmer on the pattern of the workpiece to be processed on the display interface of the software, the appearance characteristics of the pattern of the workpiece to be processed are automatically associated with the labeling information, so as to obtain the process operation data corresponding to the workpiece to be processed, and the NC program corresponding to the process operation is automatically generated, as shown in fig. 8, the NC program list includes the program name, the tool length, the tool name, the chuck, the type, the rotation speed and other processing data corresponding to the tool and the tool number. In the present exemplary embodiment, the NC code is obtained from the process data of the workpiece to be machined. And controlling the machine tool, the cutter and the tool path to operate and machine the workpiece through the NC code, and automatically filling the NC program list according to a control instruction pointed by the NC code to finally obtain the NC program list corresponding to the workpiece to be machined. Therefore, the process operation data of the workpiece to be machined is automatically acquired and is associated with one key to generate an NC program list corresponding to the workpiece to be machined, so that a programmer can confirm and check the NC program list.
Referring to fig. 8, in an actual operation process, after the three-dimensional pattern of the connecting block 100 is opened, a control button for generating a machining program is clicked to automatically acquire the corresponding machining program through the connecting block 100, so as to automatically acquire the confirmation and cutting material selection of the machining equipment and the automatic grabbing hole type (pin hole, threaded hole, through hole), and in addition, a programmer can mark a control through a shape mark on a software display interface and mark the maximum shape size of a part through one key, so that the clamping operation is faster and more convenient. And finally, an NC program list corresponding to the workpiece to be machined can be generated by clicking the NC program list control part. At this time, if the programmer does not need to modify the type of the machining feature and the machining parameters, the next step of generating the machining program may be performed. If the programmer finds that the data of one or more items needs to be modified, the type of the corresponding processing feature or the processing parameter can be directly modified in the interface without returning to the previous step to modify the drawing. This approach can also effectively improve programming efficiency.
Further, in this embodiment, the step S202 further includes:
acquiring clamp information and/or machine tool information of the workpiece to be processed according to the process operation data;
and determining the clamp information of the workpiece to be machined and/or the NC program corresponding to the machine tool information according to the process operation data.
Specifically, in the present embodiment, in the actual operation process, after the three-dimensional pattern of the connection block 100 is opened, the three-dimensional pattern of the clamp 200 corresponding to the connection block 100 may be automatically acquired by clicking a control button set by the clamp information. In this embodiment, the three-dimensional pattern data of the jig 200 may be placed in a local storage space of a computer or on a network server. When the programmer clicks to acquire the clamp information, the server can be accessed through a network, so that the three-dimensional pattern of the clamp stored on the network server is acquired. In fact, the design software stores in advance a mapping table between the workpiece to be machined and the fixture. One or a certain type of workpiece to be processed corresponds to one set of clamps. At the moment, a programmer clicks a control button set by the clamp information, and the system automatically searches the corresponding clamp information according to the name of the workpiece to be processed. For example, if the name of the workpiece to be machined is LJK-A-001, the jig type matching therewith can be accurately found from the name "LJK-A-001". For another example, if the name of the workpiece to be machined is LJK-a-002, and the workpiece to be machined LJK-a-001 and the workpiece to be machined LJK-a-002 can share the same set of jigs, then the jig type matching the name of the workpiece to be machined can be found according to the partial information "LJK-a" in the name of the workpiece to be machined. In practice, the suffix name of the drawing file is generally fixed for the three-dimensional pattern of the workpiece to be processed, such as ". step", or ". IGS", or ". X _ T", etc. At the moment, in the process of automatically searching the corresponding clamp information according to the name of the workpiece to be processed, the suffix name of the corresponding drawing file can be automatically omitted so as to improve the efficiency.
In addition, after acquiring the jig information, the system automatically ejects information on how the workpiece to be machined is fitted to the jig, as needed. The information may be displayed on a display interface. At this time, the programmer can assemble the workpiece pattern to be processed and the fixture pattern together according to the corresponding display information. And the corresponding cutter information is determined according to the marking information of the programmer on the workpiece to be processed, and similarly, the programmer does not need to manually search a suitable processing cutter or a machine tool or a processing center according to the pattern of the workpiece to be processed. The design software can automatically select proper cutter information from the cutter library in which various cutter information is prestored, automatically select proper machine tool information from the machine tool library in which various machine tools are prestored, and generate a corresponding cutter NC program list according to the technological operation parameters. The NC program list comprises a program list including PDF and/or Excel versions, and a programmer can directly confirm whether the used tool and the machine tool are correct through the Excel version NC program list.
In one embodiment of the present invention, after step S10, the method further includes:
selecting a clamp according to the process operation data and the pattern of the workpiece to be processed;
and visually judging whether the clamp is accurate or not.
Specifically, in the present embodiment, tool information and/or machine tool information is acquired based on the pattern of the workpiece to be machined and the information of the label. Likewise, the programmer no longer has to manually find the appropriate machining tool or machine tool or machining center based on the pattern of the workpiece to be machined. The design software automatically selects proper tool information from a tool library in which various tool information is stored in advance, and automatically selects proper machine tool information from a machine tool library in which various machine tools are stored in advance, so as to be used for generating a machining program of a workpiece to be machined. And the programmer can visually check by clicking an interference check control on the software display interface.
Further, in another embodiment of the present invention, after the step S10, the method further includes:
acquiring marking information on a workpiece to be processed;
the labeling information includes: one or more of a pin hole, a through hole, a threaded hole, and a precision surface.
The features on the workpiece to be machined are marked with a color.
Specifically, in the present embodiment, one control with a feature label in the design software is designed. After clicking the feature labeling control, the programmer can call up an interface for labeling the machining features of the connection block 100. As shown in fig. 9, in this embodiment, the labeled interface includes one or more of the following controls: pin holes, precision surfaces, through holes, threaded holes, and the like. Other types of controls can be added by those skilled in the art according to actual needs. For example, after clicking the control for the pin hole, click the first hole 115, the third hole 117, the fifth hole 126, and the seventh hole 128 in the connection block 100, i.e., representing the need to machine these holes into pin holes. For another example, after the control of the precision surface is clicked, the first outer side surface 113 and the second outer side surface 123 of the connecting block 100 are clicked, which means that the first outer side surface 113 and the second outer side surface 123 need to be processed into the precision surface. It will be appreciated that one of the ways of associating information to be noted with features on a workpiece to be machined is given above only schematically. In the actual application process, the information to be marked can be associated with the feature on the workpiece to be processed by clicking the feature to be processed on the connecting block 100 and then clicking the control on the marking interface.
In fact, as shown in fig. 10, for the convenience of the programmer to operate, in fact, in the design software, all the features in the three-dimensional pattern of the connection block 100 are displayed in gray at the very beginning of opening the three-dimensional pattern of the connection block 100. When the user clicks the control of the pin hole, the user clicks the first hole 115, the third hole 117, the fifth hole 126 and the seventh hole 128 in the connecting block 100, i.e. the holes need to be machined into pin holes. At this time, the first, third, fifth and seventh holes 115, 117, 126 and 128 in the connection block 100 are changed to blue. For another example, when the user clicks the control of the threaded hole, the fourth hole 125 and the sixth hole 127 are clicked, which means that the holes need to be machined into the threaded holes. At this time, the fourth and sixth holes 125 and 127 in the connector block 100 will become yellow. That is, if one or more holes in the workpiece to be machined are marked as pin holes, the machining features marked as pin holes in the workpiece to be machined will become displayed in blue after the marking is completed. Alternatively, if one or more faces of the workpiece to be machined are marked as precision faces, the machined features marked as precision faces in the workpiece to be machined will become displayed pink after the marking is completed. At this time, by marking the associated features on the workpiece to be processed with colors, a programmer can conveniently distinguish which processing features on the workpiece to be processed have been associated and which processing features have not been associated, thereby facilitating operation.
Referring to fig. 11, an embodiment of the present invention provides an automated programming system 300. The automated programming system 300 includes an acquisition module 310 and a generation module 320.
The obtaining module 310 is configured to obtain process operation data of a workpiece to be processed;
the generating module 320 is configured to generate a processing technology file of the workpiece to be processed according to the process operation data.
Wherein, as required, the generating module 320 further includes:
the first sub-module 3201 is configured to generate an operation instruction book of the workpiece to be processed according to the process operation data.
The second sub-module 3202 generates an NC processing program list of the workpiece to be processed according to the process operation data.
Referring to fig. 12, an embodiment of the invention provides an automatic programming system 400. The automated programming system 400 includes:
a memory 420, a processor 410 and a computer program 440 stored on the memory 420 and executable on the processor 410, the computer program 440, when executed by the processor 410, implementing the steps of the automated programming method according to any of the above embodiments.
One embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of an automated programming method according to any one of the above embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (14)

1. An automated programming method, comprising the steps of:
acquiring process operation data of a workpiece to be processed;
and generating a processing technical file of the workpiece to be processed according to the process operation data.
2. The automated programming method of claim 1, wherein the step of obtaining process operation data for the workpiece to be machined comprises:
acquiring a pattern of a workpiece to be processed;
carrying out information marking on the pattern of the workpiece to be processed;
and associating the information label of the workpiece to be processed with the characteristics of the workpiece to be processed to obtain the process operation data of the workpiece to be processed.
3. The automated programming method of claim 1, wherein the step of generating a process technology file for the workpiece to be processed from the process operation data comprises:
and generating an operation instruction book of the workpiece to be processed according to the process operation data.
4. The automated programming method of claim 3, wherein the step of generating a work instruction book for the workpiece to be machined from the process operation data comprises:
displaying a pattern of a workpiece to be processed;
acquiring marking information on the pattern of the workpiece to be processed;
and generating an operation instruction book of the workpiece to be processed based on the process operation data and the pattern marking information.
5. The automated programming method of claim 1, wherein the step of generating a machining technology file for the workpiece to be machined from the machining process operation data comprises:
and generating an NC machining program list of the workpiece to be machined according to the process operation data.
6. The automatic programming method according to claim 5, wherein the step of generating an NC machining program list of the workpiece to be machined according to the process operation data includes:
generating an NC program of the workpiece to be machined according to the process operation data;
and generating an NC program list of the workpiece to be machined according to the NC program of the workpiece to be machined.
7. The automatic programming method according to claim 6, wherein the step of generating an NC program of the workpiece to be machined according to the process operation data includes:
acquiring clamp information and/or machine tool information of the workpiece to be processed according to the process operation data;
and determining the clamp information of the workpiece to be machined and/or the NC program corresponding to the machine tool information according to the process operation data.
8. The automatic programming method according to claim 5, wherein the step of generating an NC program list of the workpiece to be machined according to the NC program of the workpiece to be machined includes:
and generating an NC program list of the workpiece to be machined according to the NC program.
9. The automated programming method of claims 1-8, wherein the step of obtaining process operation data for the workpiece to be machined is further followed by:
selecting a clamp according to the process operation data and the pattern of the workpiece to be processed;
and visually judging whether the clamp is accurate or not.
10. The automated programming method of claims 1-8, wherein the step of obtaining process operation data for the workpiece to be machined is further followed by:
acquiring marking information on a workpiece to be processed;
the labeling information includes: one or more of a pin hole, a through hole, a threaded hole, and a precision surface.
11. The automated programming method according to claim 10, wherein the acquiring of the marking information on the workpiece to be processed comprises:
the features on the workpiece to be machined are marked with a color.
12. An automated programming system, comprising:
the acquisition module is used for acquiring process operation data of a workpiece to be processed;
and the generating module is used for generating a processing technical file of the workpiece to be processed according to the process operation data.
13. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory has stored thereon instructions executable by at least one processor, the instructions being executable by the at least one processor to enable the at least one processor, when executed, to implement the steps of the automated programming method of claims 1-11.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program of an automatic programming method, which when executed by a processor implements the steps of the automatic programming method according to claims 1-11.
CN202111357789.2A 2021-11-16 2021-11-16 Automatic programming method, system, equipment and storage medium Pending CN114091127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111357789.2A CN114091127A (en) 2021-11-16 2021-11-16 Automatic programming method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111357789.2A CN114091127A (en) 2021-11-16 2021-11-16 Automatic programming method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114091127A true CN114091127A (en) 2022-02-25

Family

ID=80301179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111357789.2A Pending CN114091127A (en) 2021-11-16 2021-11-16 Automatic programming method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114091127A (en)

Similar Documents

Publication Publication Date Title
US4530046A (en) Method of inputting machining information to a machine tool numerical controller and apparatus therefor
US10775768B2 (en) Machine control program creating device
EP0177164A2 (en) Method and apparatus for producing numerical control programmes
JPH11179633A (en) Method and device for inputting and displaying structure information of machining system
US4042866A (en) Method of preparing NC tapes
CN113950651A (en) Information processing apparatus, information processing method, and information processing program
JPH03177903A (en) Method and device for production of nc working data
CN114091127A (en) Automatic programming method, system, equipment and storage medium
Tzotzis et al. CAD-BASED AUTOMATED G-CODE GENERATION FOR DRILLING OPERATIONS.
US20070191981A1 (en) System and method for processing sheet metal
CN114091945A (en) Clamp matching method and system, electronic equipment and storage medium
JPH06202721A (en) Numerical control information generating device
CN114237158A (en) Automatic programming method, system and computer storage medium
JPH0740171A (en) Nc machine tool and confirmation of its tool information
JPS63127853A (en) Method of calculating machining path
JP4501244B2 (en) NC device for electric discharge machining and electric discharge machining method
KR100398004B1 (en) Method for g-code generation of numerical control type machine tool
JP3925506B2 (en) CAD / CAM equipment
CN114237579A (en) Automatic programming method, system and computer storage medium
CN114091943A (en) Workpiece clamping method and system, electronic device and storage medium
Ahola Creo Parametric Milling
JP2603622B2 (en) Numerical control data creation method for machine tools
JPS6010322B2 (en) How to make NC tape
JPH0346007A (en) Nc information generation system
JP2000163111A (en) Blanking graphic compiling method, cnc device with graphic compiling function and storage medium storing program of blaking graphic compiling method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination