CN114237158A - Automatic programming method, system and computer storage medium - Google Patents

Automatic programming method, system and computer storage medium Download PDF

Info

Publication number
CN114237158A
CN114237158A CN202111357788.8A CN202111357788A CN114237158A CN 114237158 A CN114237158 A CN 114237158A CN 202111357788 A CN202111357788 A CN 202111357788A CN 114237158 A CN114237158 A CN 114237158A
Authority
CN
China
Prior art keywords
workpiece
processed
information
pattern
marked
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
CN202111357788.8A
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 CN202111357788.8A priority Critical patent/CN114237158A/en
Publication of CN114237158A publication Critical patent/CN114237158A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32161Object oriented control, programming

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention provides an automatic programming method, an automatic programming system and a computer readable storage medium. The automatic programming method comprises the following steps: step S101: acquiring a pattern of a workpiece to be processed; step S102: according to the operation of a user, information marking is carried out on a workpiece pattern to be processed; step S103: and generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information. In the automatic programming method, a programmer only needs to label the corresponding processing characteristic information in the workpiece pattern to be processed, and the software can automatically generate the corresponding processing program after receiving the corresponding labeled information. The automatic programming method is convenient and quick, not only reduces the execution of mechanical repeated actions, but also reduces the programming time and errors of the machined parts, thereby realizing the quick programming of the machined parts.

Description

Automatic programming method, system and computer storage medium
Technical Field
The invention belongs to the technical field of intelligent manufacturing, and particularly relates to an automatic programming method, an automatic programming system and a computer storage medium.
Background
Computer aided design manufacturing techniques have been widely used in manufacturing. In a conventional design process, a programmer needs to write a machining program according to a pattern of a workpiece to be machined, and then input the written machining program into a machining lathe to machine the workpiece to be machined. However, if the types of the workpieces to be processed are large, the process of writing the processing program is undoubtedly complicated, and errors are easily caused.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a dynamic programming method, an automatic programming system and a computer storage medium, so as to solve the problems that the programming process of a workpiece machining program is more complicated and is easy to make mistakes in the prior art.
One embodiment of the present invention provides an automatic programming method, including the following steps:
step S101: acquiring a pattern of a workpiece to be processed;
step S102: according to the operation of a user, information marking is carried out on a workpiece pattern to be processed;
step S103: and generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information.
In one embodiment, step S102 includes:
step S1021: displaying information to be marked;
step S1022: and associating the information to be marked with the characteristics on the workpiece to be processed according to the operation of the user.
In one embodiment, step S102 further includes:
step S1023: the features on the workpiece to be machined are marked with a color.
In one embodiment, in step S1023,
marking a first type of machining feature in a workpiece to be machined in a first color;
and/or marking a second type of machining feature in the workpiece to be machined in a second color;
and/or, marking a third type of machining feature in the workpiece to be machined in a third color.
In one embodiment, in step S1021,
displaying the information to be marked corresponding to the first type of processing characteristics by using a control with a first color;
and/or displaying the information to be marked corresponding to the second type of machining features by using a control of a second color;
and/or displaying the information to be marked corresponding to the machining features of the third type by using a control of a third color.
In one embodiment, the information to be marked comprises one or more of a pin hole, a through hole, a threaded hole and a precision surface.
In one embodiment, before step S103, any one or more of the following steps are further included:
step S104: acquiring a clamp pattern according to a workpiece pattern to be processed;
step S105: and acquiring the cutter information and/or the lathe information according to the pattern of the workpiece to be processed and the marked information.
In one embodiment, in step S104,
and assembling the workpiece pattern to be processed into the clamp pattern according to the obtained clamp pattern.
In one embodiment, in step S103,
displaying the type of the to-be-processed characteristic of the to-be-processed workpiece and processing parameter information;
modifying the type of the feature to be processed and the processing parameter information according to the operation of a user;
and generating a processing program of the workpiece to be processed according to the type of the characteristic to be processed of the workpiece to be processed and the processing parameter information.
One embodiment of the present invention provides an automatic programming system, including:
the acquisition module is used for acquiring a pattern of a workpiece to be processed;
the marking module is used for marking information on a pattern of a workpiece to be processed;
and the generating module is used for generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information.
One embodiment of the present invention provides an automatic programming system, including:
memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, 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.
The automatic programming method and the automatic programming system provided by the above embodiment of the invention have the following beneficial effects:
1. by receiving the information marked on the to-be-processed workpiece pattern by the user, the processing program of the to-be-processed workpiece can be automatically generated according to the to-be-processed workpiece pattern and the marked information, so that the time of a programmer is saved. The programmer does not need to manually write the processing program according to the workpiece to be processed, only needs to mark the corresponding processing characteristic information in the workpiece pattern to be processed, and the software can automatically generate the corresponding processing program after receiving the corresponding marked information. The automatic programming method is convenient and quick, not only reduces the execution of mechanical repeated actions, but also reduces the programming time and errors of the machined parts, thereby realizing the quick programming of the machined parts.
2. In one embodiment, the information to be marked can be displayed on the interface of the software; and then associating the information to be marked with the characteristics on the workpiece to be processed according to the operation of the user. At this time, the process of marking the pattern of the workpiece to be processed becomes very simple. For example, pin holes, through holes, threaded holes or precision surfaces of the software can be displayed on the interface of the software for waiting for the marked information, and then the information to be marked is associated with the characteristics of the workpiece to be machined in a sequential clicking mode. Namely, the programmer can associate the information to be marked with the features on the workpiece to be processed by simple operation, so that the programming efficiency is further improved.
3. In one embodiment, after associating the information to be labeled with the feature on the workpiece to be machined, the feature on the workpiece to be machined is labeled with a color. For example, after acquiring the workpiece pattern to be processed, the workpiece pattern to be processed may be displayed in gray on the software. 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 be displayed in blue after marking is completed. By marking the associated features on the workpiece to be machined with colors, a programmer can conveniently distinguish which machining features on the workpiece to be machined have been associated and which machining features have not been associated, thereby facilitating operation.
4. In one embodiment, when the features on the workpiece to be processed are marked with colors, the processing features of a first type in the workpiece to be processed can be marked with a first color; or marking a second type of machining feature in the workpiece to be machined in a second color; or a third type of machining feature in the workpiece to be machined is marked with a third color. For example, the pin holes are indicated in blue, the through holes are indicated in a precious green color, or the threaded holes are indicated in yellow. Because different types of machining features need to use different types of machining processes or different types of machining tools, the different types of machining features in the workpiece to be machined are marked by using different colors, and at the moment, the generated machining program of the workpiece to be machined is more accurate.
5. In one embodiment, information to be marked corresponding to the first type of machining features is displayed by a control of a first color; displaying the information to be marked corresponding to the processing characteristics of the second type by using a control of a second color; and displaying the information to be marked corresponding to the machining features of the third type by using a control of a third color. At this time, when the information to be marked is displayed on the interface of the software, the color of the control of the information to be marked is associated with the color of the feature on the workpiece to be processed. That is to say, when the programmer associates the information to be marked with the features on the workpiece to be processed, the operation process is more intuitive, 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 flow chart illustrating an automatic programming method according to an 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 S102 in FIG. 1;
FIG. 4 is a schematic interface diagram of the annotation process of FIG. 3;
fig. 5 is a schematic specific flowchart of step S1023 in fig. 3;
FIG. 6 is a schematic view of a fixture adapted to the workpiece to be machined in FIG. 2;
FIG. 7 is a schematic diagram of an interface of the automated programming method of FIG. 1 when setting fixture information;
FIG. 8 is a schematic diagram of an interface of the automated programming method of FIG. 1 in generating a machining program;
FIG. 9 is a schematic interface diagram of the automated programming process of FIG. 1 in generating a jig manipulation instruction;
FIG. 10 is a schematic diagram of an interface of the automated programming method of FIG. 1 during shape labeling;
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.
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 invention provides an automatic programming method. The automatic programming method comprises the following steps:
step S101: and acquiring a pattern of a workpiece to be processed. According to the requirement, 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. In this embodiment, the workpiece to be processed is a connecting block.
Step S102: 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. 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.
Step S103: and generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information. 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.
In the automatic programming method provided in the above embodiment, by performing information labeling on the to-be-processed workpiece pattern according to the operation of the user, the processing program of the to-be-processed workpiece can be automatically generated according to the to-be-processed workpiece pattern and the labeled information, thereby saving the time of a programmer. The programmer does not need to manually write the processing program according to the workpiece to be processed, only needs to mark the corresponding processing characteristic information in the workpiece pattern to be processed, and the software can automatically generate the corresponding processing program after receiving the corresponding marked information. The automatic programming method is convenient and quick, not only reduces the execution of mechanical repeated actions, but also reduces the programming time and errors of the machined parts, thereby realizing the quick programming of the 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 the specific operation process, step S101 is first executed: and acquiring 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: and according to the operation of a user, carrying out information marking on the pattern of the workpiece to be processed. That is, the programmer can mark the features on the workpiece pattern to be processed on the user interface of the design software.
Referring to fig. 3, in one embodiment, step S102 includes:
step S1021: displaying information to be marked;
step S1022: and associating the information to be marked with the characteristics on the workpiece to be processed according to the operation of the user.
I.e. a control with a feature label 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 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.
Displaying information to be marked on an interface of software; and then associating the information to be marked with the characteristics on the workpiece to be processed according to the operation of the user. At this time, the process of marking the pattern of the workpiece to be processed becomes very simple. For example, pin holes, through holes, threaded holes or precision surfaces of the software can be displayed on the interface of the software for waiting for the marked information, and then the information to be marked is associated with the characteristics of the workpiece to be machined in a sequential clicking mode. Namely, the programmer can associate the information to be marked with the features on the workpiece to be processed by simple operation, so that the programming efficiency is further improved.
In fact, in order to facilitate the operation of the programmer, in one embodiment, step S102 further includes:
step S1023: the features on the workpiece to be machined are marked with a color.
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. 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 also to fig. 5, in order to make the operation of the programmer more intuitive and simple, in one embodiment, in step S1023,
marking a first type of machining feature in a workpiece to be machined in a first color;
and/or marking a second type of machining feature in the workpiece to be machined in a second color;
and/or, marking a third type of machining feature in the workpiece to be machined in a third color.
The types of machining features include, but are not limited to, pin holes, through holes, threaded holes, precision surfaces, or the like. The selected color includes, but is not limited to, blue, pink, aqua, yellow, and the like. It is understood that the type of the processing feature may also be a chamfer or a circular arc surface, and the selected color may also be other colors such as cyan, green or purple, and the like, which can be specifically determined by those skilled in the art according to actual needs. In this embodiment, the pin holes are indicated in blue; the precision surface is marked with pink; the through holes are marked with precious green; the threaded hole is marked with yellow; the details are shown in the following table. For the non-processed surface, any color other than the above standard colors may be used. As shown in the table below, different types of holes are indicated using different colors. Wherein Ra is a mark symbol of surface roughness; H7/N7 is the dimensional tolerance symbol for the aperture. For example, Ra 3.2 represents that the surface unevenness of the workpiece to be machined has an average value of 3.2 micrometers with respect to the reference plane; ra 1.6 represents that the average value of the surface unevenness of the workpiece to be machined with respect to the reference plane is 1.6 μm.
Type of hole RBG parameter Remarks for note
Finish-processed noodle 255,174,174 Ra3.2/Ra1.6
Via hole/long waist hole/counterbore 0,175,175
Standard coarse thread threaded hole 255,255,0
Thread hole with fine thread 255,175,0
Pin hole 0,0,255 H7/N7 pores
Non-processed surface 175,175,175
That is, when marking a feature on a workpiece to be machined with a color, a machining feature of a first type in the workpiece to be machined may be marked with a first color; or marking a second type of machining feature in the workpiece to be machined in a second color; or a third type of machining feature in the workpiece to be machined is marked with a third color. For example, the pin holes are indicated in blue, the through holes are indicated in a precious green color, or the threaded holes are indicated in yellow. Because different types of machining features need to use different types of machining processes or different types of machining tools, the different types of machining features in the workpiece to be machined are marked by using different colors, and at the moment, the generated machining program of the workpiece to be machined is more accurate.
In fact, in order to make the operation of the programmer more intuitive. At the labeled interface, the name of the control can be defined as follows: pin hole (blue), precision face (pink), through-hole (precious green), threaded hole (yellow), undefined (grey). That is, the programmer can visually observe the color of the machining feature of the workpiece to be machined, which will change after clicking on the machining feature, at the marked interface. In one aspect, the programmer anticipates the color change of the machined feature during the labeling process. On the other hand, the name of the control corresponds to the color, so that the programmer can check whether the labeling error exists in the feature labeling process.
Further, in order to make the operation of the programmer more intuitive and convenient, in one embodiment, in step S1021,
displaying the information to be marked corresponding to the first type of processing characteristics by using a control with a first color;
and/or displaying the information to be marked corresponding to the second type of machining features by using a control of a second color;
and/or displaying the information to be marked corresponding to the machining features of the third type by using a control of a third color.
That is, at the labeled interface, the control of the pin hole (blue) is filled with blue; controls for the precision surface (pink) are filled in pink; the controls of the through holes (Bao Green) are filled with Bao Green; the threaded hole (yellow) controls are filled in yellow. The method can further enable a programmer to visually observe the color of the characteristic of the workpiece to be machined after the characteristic is marked, so that the subsequent checking and confirming process is facilitated.
It will be appreciated that in labeling machined features, there is no limitation on the order in which the individual machined features are labeled. The pin holes can be marked first, the threaded holes can be marked first, and the precision surface can be marked first. The technical personnel in the field can be specifically arranged according to the actual requirement.
After all the machining features are marked, the control of the program generation module can be clicked to generate the machining program of the workpiece to be machined. At this time, the design software performs step S103: and generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information.
In fact, in the pattern of the workpiece to be machined, information on the shape and size of the machined features, such as the diameter of the hole, the depth of the hole, the length of the groove, etc., has been included; in the process of marking the machining features, programmers define the types of the machining features in advance, such as threaded holes, through holes, precision surfaces and the like. At the moment, the design software can automatically select the CNC lathe, the machining tool or corresponding technological parameters according to different types of machining characteristics so as to automatically generate a machining program, and therefore programming efficiency is improved.
It can be understood that, in the actual machining process of the workpiece to be machined, the workpiece to be machined actually needs to be clamped by a clamp and then placed on a CNC lathe for machining. Therefore, in one embodiment, before step S103, the automatic programming method further includes any one or more of the following steps:
step S104: acquiring a clamp pattern according to a workpiece pattern to be processed;
step S105: and acquiring the cutter information and/or the lathe information according to the pattern of the workpiece to be processed and the marked information.
Referring to fig. 6, in the present embodiment, the clamp corresponding to the connecting block 100 is a clamp 200.
In step S104, a jig pattern corresponding to the workpiece pattern to be processed may be automatically acquired according to the workpiece pattern to be processed. On one hand, the method does not need a programmer to manually search the corresponding clamp pattern according to the workpiece pattern to be processed, so that the efficiency is improved. On the other hand, the workpiece pattern to be processed and the clamp pattern can be displayed on the display device at the same time, so that a programmer can conveniently confirm whether the used processing clamp pattern is accurate again.
In step S105, tool information and/or lathe information is acquired according to the pattern of the workpiece to be machined and the marked information. Likewise, the programmer no longer needs to manually find a suitable machining tool or machining lathe according to the pattern of the workpiece to be machined. The design software can automatically select proper tool information from a tool library which stores various tool information in advance, and automatically select proper lathe information from a lathe library which stores various machining lathes in advance, so as to be used for generating a machining program of a workpiece to be machined.
In one embodiment, in step S104,
and assembling the workpiece pattern to be processed into the clamp pattern according to the obtained clamp pattern.
On one hand, the clamping mode of the clamp to the workpiece to be machined influences the selection of a machining route of the cutter in the machining process and the like. Therefore, in the design software, the workpiece pattern to be processed is assembled into the clamp pattern according to the obtained clamp pattern, so that a programmer can judge the processing route map of the workpiece to be processed preliminarily, and subsequent inspection is facilitated. 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.
Referring to fig. 7, in an 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.
After acquiring the fixture information, the system also automatically pops up information on how the workpiece to be machined is fitted to the fixture, 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.
Specifically, in the process of assembling the workpiece pattern to be processed and the fixture pattern together, the first positioning surface and/or the second positioning surface and/or the third positioning surface may be selected in the workpiece pattern to be processed;
and assembling the workpiece pattern to be processed and the clamp pattern together according to the first positioning surface, the second positioning surface and/or the third positioning surface.
Taking the connecting block 100 as an example, the first positioning surface is a surface formed by the first bottom surface 112 and the second bottom surface 122. The second locating surface is a second inner side surface 124 of the second edge 120. The third locating surface is a first inner side surface 114 of the first leg 110. By selecting the first to third positioning surfaces in the pattern of the workpiece to be processed, the pattern of the workpiece to be processed can be easily assembled into the pattern of the jig.
It is understood that the process of labeling the workpiece to be machined can be completed before the workpiece to be machined is assembled to the fixture or after the workpiece to be machined is assembled to the fixture. The type marking of the machining features can be completed just before clicking the control generating the machining program.
The specific steps of step S103 include, as needed:
displaying the type of the to-be-processed characteristic of the to-be-processed workpiece and processing parameter information;
modifying the type of the feature to be processed and the processing parameter information according to the operation of a user;
and generating a processing program of the workpiece to be processed according to the type of the characteristic to be processed of the workpiece to be processed and the processing parameter information.
After the type indication of all the machining features is completed, the control for generating the machining program can be clicked to automatically generate the machining program corresponding to the workpiece to be machined. Specifically, referring to FIG. 8, after clicking on the control that generates the machining program, the system pops up an auto-program verification window. The auto-program verification window will include information for hole data as well as information for face data. In one embodiment, the hole data information includes a type of hole, such as a pin hole, a through hole, a threaded hole, and the like. The hole type data is identified by the system based on previous labeling information for the hole by the programmer. The hole data information may also include hole diameter information, such as a pin hole diameter of 6mm, a through hole diameter of 9mm, and a threaded hole diameter of 6.5 mm. The diameter information of the corresponding hole can be obtained by measuring the processing characteristics in the pattern of the workpiece to be processed. The hole data information may also include hole location information. If necessary, the programmer may need to modify the hole type and hole diameter. And according to the requirement, the type and the size of the processing feature can be directly added on the interface of the automatic programming confirmation window without modifying the pattern of the workpiece to be processed. In one embodiment, the surface data information includes parameters such as the type of the surface to be processed, the cutting angle mode, the cutting direction, the rough milling allowance, the fine milling allowance and the step pitch. Specifically, in this embodiment, the type of the surface to be machined is a milling surface, the cutting angle mode is automatically set, the cutting direction is 0, the rough milling allowance is 0.1, the finish milling allowance is 0, and the step pitch is 100. Similarly, according to the requirement, the surface feature to be processed can be directly added on the interface of the automatic programming confirmation window without modifying the pattern of the workpiece to be processed.
That is, when generating the processing program of the workpiece to be processed, the type and the processing parameter of the processing feature marked with the first color and the type and the processing parameter of the processing feature marked with the second color may be displayed according to the pattern of the workpiece to be processed. 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 provide programming efficiency.
Referring also to fig. 9, in one embodiment, the automatic programming method further includes the following steps:
and generating a standard operation instruction of the clamp according to the clamp pattern 200 and the workpiece pattern 100 to be processed.
Specifically, the automatic programming method automatically correlates the relevant process data during the generation of the jig standard operation instruction. The automated programming method may generate the work instruction with one key unless a specific requirement is noted. In this embodiment, the generated part machining standard operation instruction 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.
In the embodiment, a part machining standard operation instruction book can be generated according to the clamp pattern and the workpiece pattern to be machined. At the moment, the workpiece pattern to be processed, the clamp pattern, the type of the feature to be processed and the processing parameters are determined, so that the generated part processing standard operation instruction is accurate.
Referring to fig. 10, in one embodiment, the automatic programming method further includes the following steps:
and generating a dimension marking diagram of the workpiece to be processed according to the clamp pattern 200 and the workpiece pattern 100 to be processed.
Specifically, the maximum external dimension of the part can be marked by clicking the control part marked by the external shape, so that the clamping operation is more convenient and faster.
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, an annotation module 320, and a generation module 330.
The obtaining module 310 is configured to obtain a pattern of a workpiece to be processed;
the marking module 320 is used for marking information on a workpiece pattern to be processed;
the generating module 330 is configured to generate a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the labeled information.
By setting the marking module 320 to mark information on the pattern of the workpiece to be processed and setting the generating module 330 to generate the processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information, the processing program of the workpiece to be processed can be automatically generated according to the pattern of the workpiece to be processed and the marked information, thereby saving the time of a programmer. The programmer does not need to manually write the processing program according to the workpiece to be processed, only needs to mark the corresponding processing characteristic information in the workpiece pattern to be processed, and the software can automatically generate the corresponding processing program after receiving the corresponding marked information. The automatic programming method is convenient and quick, not only reduces the execution of mechanical repeated actions, but also reduces the programming time and errors of the machined parts, thereby realizing the quick programming of the machined parts.
The automated programming system 300 further comprises, as needed:
and the fixture assembling module 340 is used for assembling the workpiece pattern 100 to be processed and the fixture pattern 200 together.
The automated programming system 300 further comprises, as needed:
and the instruction generating module 350 is used for generating a part machining standard operation instruction according to the clamp pattern 100 and the workpiece pattern 200 to be machined.
Referring to fig. 12, an embodiment of the present invention provides an automated 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.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. An automated programming method, comprising the steps of:
step S101: acquiring a pattern of a workpiece to be processed;
step S102: according to the operation of a user, information marking is carried out on a workpiece pattern to be processed;
step S103: and generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information.
2. The automatic programming method according to claim 1, wherein the step S102 includes:
step S1021: displaying information to be marked;
step S1022: and associating the information to be marked with the characteristics on the workpiece to be processed according to the operation of the user.
3. The automatic programming method according to claim 2, wherein the step S102 further comprises:
step S1023: the features on the workpiece to be machined are marked with a color.
4. The automatic programming method according to claim 3, wherein, in step S1023,
marking a first type of machining feature in a workpiece to be machined in a first color;
and/or marking a second type of machining feature in the workpiece to be machined in a second color;
and/or, marking a third type of machining feature in the workpiece to be machined in a third color.
5. The automatic programming method of claim 4, wherein, in step S1021,
displaying the information to be marked corresponding to the first type of processing characteristics by using a control with a first color;
and/or displaying the information to be marked corresponding to the second type of machining features by using a control of a second color;
and/or displaying the information to be marked corresponding to the machining features of the third type by using a control of a third color.
6. The automated programming method according to any one of claims 2 to 5, wherein the information to be marked comprises one or more of a pin hole, a through hole, a threaded hole, and a precision surface.
7. The automated programming method according to any one of claims 1 to 5, further comprising, before step S103, any one or more of the following steps:
step S104: acquiring a clamp pattern according to a workpiece pattern to be processed;
step S105: and acquiring the cutter information and/or the lathe information according to the pattern of the workpiece to be processed and the marked information.
8. The automatic programming method according to claim 7, wherein, in step S104,
and assembling the workpiece pattern to be processed into the clamp pattern according to the obtained clamp pattern.
9. The automatic programming method according to any one of claims 1 to 5, wherein, in step S103,
displaying the type of the to-be-processed characteristic of the to-be-processed workpiece and processing parameter information;
modifying the type of the feature to be processed and the processing parameter information according to the operation of a user;
and generating a processing program of the workpiece to be processed according to the type of the characteristic to be processed of the workpiece to be processed and the processing parameter information.
10. An automated programming system, comprising:
the acquisition module is used for acquiring a pattern of a workpiece to be processed;
the marking module is used for marking information on a pattern of a workpiece to be processed;
and the generating module is used for generating a processing program of the workpiece to be processed according to the pattern of the workpiece to be processed and the marked information.
11. An automated programming system, comprising:
memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the automated programming method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the automated programming method according to any one of claims 1 to 9.
CN202111357788.8A 2021-11-16 2021-11-16 Automatic programming method, system and computer storage medium Pending CN114237158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111357788.8A CN114237158A (en) 2021-11-16 2021-11-16 Automatic programming method, system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111357788.8A CN114237158A (en) 2021-11-16 2021-11-16 Automatic programming method, system and computer storage medium

Publications (1)

Publication Number Publication Date
CN114237158A true CN114237158A (en) 2022-03-25

Family

ID=80749724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111357788.8A Pending CN114237158A (en) 2021-11-16 2021-11-16 Automatic programming method, system and computer storage medium

Country Status (1)

Country Link
CN (1) CN114237158A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890476A (en) * 2012-10-18 2013-01-23 深圳市银宝山新科技股份有限公司 Deep hole drill programming method and deep hole drill programming system
CN110597187A (en) * 2019-09-27 2019-12-20 天津航天机电设备研究所 Numerical control machining program list generation method based on UGNX secondary development
CN110879570A (en) * 2019-11-29 2020-03-13 中国航发沈阳黎明航空发动机有限责任公司 Quick hole machining programming method
CN112230605A (en) * 2020-09-07 2021-01-15 无锡透平叶片有限公司 RCS-based square steel blade machining rapid numerical control program programming method and tool
CN112255970A (en) * 2020-10-22 2021-01-22 铁科(北京)轨道装备技术有限公司 Method and device for generating numerical control machine tool program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890476A (en) * 2012-10-18 2013-01-23 深圳市银宝山新科技股份有限公司 Deep hole drill programming method and deep hole drill programming system
CN110597187A (en) * 2019-09-27 2019-12-20 天津航天机电设备研究所 Numerical control machining program list generation method based on UGNX secondary development
CN110879570A (en) * 2019-11-29 2020-03-13 中国航发沈阳黎明航空发动机有限责任公司 Quick hole machining programming method
CN112230605A (en) * 2020-09-07 2021-01-15 无锡透平叶片有限公司 RCS-based square steel blade machining rapid numerical control program programming method and tool
CN112255970A (en) * 2020-10-22 2021-01-22 铁科(北京)轨道装备技术有限公司 Method and device for generating numerical control machine tool program

Similar Documents

Publication Publication Date Title
EP0879674B1 (en) Generation of measurement program in nc machining and machining management based on the measurement program
Fuh et al. An automated design and assembly of interference-free modular fixture setup
JP5802377B2 (en) Tool changer for machine tools
CN109894531B (en) Intelligent module integration method
CN107243715A (en) The defect correcting method of one class precision castings blank
CN109648368A (en) A kind of workpiece coordinate system setting method for eliminating numerical control processing work table rotation error
CN104375463A (en) Part machining method for automatically obtaining dimensional tolerance
CN109733088B (en) Process control numerical control machining process card design method
KR101604315B1 (en) The automatic method about CAM work of multi layer board
CN114237158A (en) Automatic programming method, system and computer storage medium
CN114237579A (en) Automatic programming method, system and computer storage medium
Tzotzis et al. CAD-BASED AUTOMATED G-CODE GENERATION FOR DRILLING OPERATIONS.
US4090240A (en) Method and aid for preparing NC control programs for machine tools
CN110831331B (en) Optimization method of automatic hole plating process
CN114091127A (en) Automatic programming method, system, equipment and storage medium
JPH05345256A (en) Work coordinates collectively working method and device using coordinates correction system
CN114091945A (en) Clamp matching method and system, electronic equipment and storage medium
Rząsiński Databases and computer programs selection of technological features
Birajdar et al. Development of Rules for Method Selection for the Surfaces of Machining Cylindrical Part to Facilitate Computer Aided Process Planning (CAPP) for Jobbing Type Manufacturing Industries
CN114091943A (en) Workpiece clamping method and system, electronic device and storage medium
CN113941900B (en) CNC3D measuring head automatic edge searching method
CN112184853B (en) Gauge construction method and device, electronic equipment and storage medium
JPH0916657A (en) Methods for preparing designing data of shape of intermediate structure and tool tracing data
JPH1185239A (en) Nc data generating method for boring
JPH0763920B2 (en) Clamp jig design 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