CN106292545B - Utilize the method for macroprogram numerical control processing Cylinder Surface - Google Patents
Utilize the method for macroprogram numerical control processing Cylinder Surface Download PDFInfo
- Publication number
- CN106292545B CN106292545B CN201610689061.2A CN201610689061A CN106292545B CN 106292545 B CN106292545 B CN 106292545B CN 201610689061 A CN201610689061 A CN 201610689061A CN 106292545 B CN106292545 B CN 106292545B
- Authority
- CN
- China
- Prior art keywords
- axis
- cylinder surface
- macroprogram
- cutter
- numerical control
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/18—Numerical 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/414—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Numerical Control (AREA)
Abstract
Method proposed by the present invention using macroprogram numerical control processing Cylinder Surface, it is intended to provide a kind of processing method that can be improved Cylinder Surface processing efficiency, the technical scheme is that: in macroprogram establishment, linkage motion cutting is carried out using G91 relative value instruction G1G91X#9A [#9*360/ [2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]];Cylinder Surface working depth and equal part are evenly distributed with the routine nesting between angle processing, judge that sentence WHILE [#1GE#2] DO1 and Cylinder Surface etc. divide machining angle to loop to determine sentence WHILE [#4LT360] DO2 and form by working depth condition respectively;The fitting Milling Process of curved surface is carried out with flat-bottom end mill;The characteristics of according to four axis machine tool structure band A axis rotary table of typical case, surface of revolution part is fixed on to the rotating shaft A axis center of four axis lathes, and the multi-shaft interlocked processing for completing Cylinder Surface of the A axis centre of gyration is arranged in lathe Y, Z-direction working origin.
Description
Technical field
The present invention relates to a kind of methods for processing Cylinder Surface in four-shaft numerically controlled milling machine tool using macroprogram.
Background technique
With the development of Modern Manufacturing Technology, become increasingly complex to adapt to various shape, required precision is higher and higher
Product, technologically advanced multi-axis NC Machine Tools in machinery manufacturing industry using more and more extensive.These advanced numerical control devices
Process requires to be controlled by program, and the establishment of numerical control program is the important component and numerical control of Numeric Control Technology
One of key technology of processing, in numerical control processing, quality and digital control system, numerical control processing technology and the programming people of program composition
The various knowledge and experiences of member are closely bound up.The efficiency and quality of program composition largely determine the processing of product
Precision and production efficiency.Especially the programming of gang tool proposes very high requirement to the program capability of operator.Numerical control
There are two types of programming modes, first is that automated programming, second is that manual programming.Automated programming, which refers to by automatic programming software, completes journey
Sequence establishment, it can solve the processing problems of complex parts, but its nc program generated is influenced by many factors,
By CAD/CAM software, when CAD is modeled, computational accuracy is influenced first, secondly, being generated NC cutter path by CAD/CAM software
When computational accuracy influence, sometimes post-process link can also have an impact to it, open the nc program of an automated programming,
Can find nearly all be in program simple circular arc and straight line instruction combination, it is troublesome although data are very accurate, almost without
Method understands program.Manual programming is the program development job by being accomplished manually part, includes mainly part Interferogram Analysis, at technique
Reason, data calculate, program and inputs the simultaneously processes such as checking routine, for automated programming, the part that can complete
It is by a relatively simple.Variable is used in a program, and program function is reached by the method for carrying out assignment and processing to variable, it is this
There is the program of variable to be referred to as macroprogram.Custom macro program is the combination using variable, works out various arithmetic sum logical operations, turns
It moves and a kind of of the orders such as circulation can be with the program of flexible Application.Macroprogram has a wide range of applications in production practice, especially
It is more commonly used in the programming of curved surface.Program word is considered as constant in general program composition, and a program can only describe one
Geometry, so lacking flexibility and applicability;And it need only be changed using macro programming for same type of programming
Variable value, without reprograming, so that it may obtain different sizes and the similar program of geometry, there is flexible in application, shape
The feature of formula freedom;It is also equipped with expression formula, logical operation and the similar program circuit of computer advanced language, makes processing program
Terse understandable, realization commonly programs the function being difficult to realize.With popularizing for CASE(Computer Aided Software Engineering) programming, its application is opposite
It reduces, but as a practical technical ability, the horizontal height of numerical control processing person can be sufficiently measured to its grasp.
The difference of macroprogram and ordinary procedure is: in macroprogram ontology, variable can be used, variable assignments can be given,
It can be jumped with operation, program between variable;And in ordinary procedure, constant can only be specified, operation is unable between constant, program is only
Can sequentially execute, cannot jump, thus function be it is fixed, cannot change.Macroprogram is relative to CAD/CAM automated programming, no
It needs to buy expensive software and program is short and small.Therefore half function of thing will be played by macroprogram being skilfully used in the processing of similar workpiece
Effect again.But the establishment of macroprogram and the specialized capability of programming personnel have substantial connection.Macroprogram requires programming personnel except the palm
It holds outside the basic programming instruction of macroprogram, also requires programming personnel that can establish the mathematical model of part feed process and establish phase
Mathematical relationship expression formula answered etc..
With popularizing for numerically-controlled machine tool, more and more enterprises carry out the processing of part using numerical control device, for shape
Simple part, calculating is fairly simple, can complete task using common programmed method.But for non-circular curve,
The part of listing curve and curved surface class there is certain difficulty with the establishment that common method carries out program, although using
CAD/CAM software can automatically generate processing program, but program segment is too long, and the low efficiency processed.The axial direction of Cylinder Surface is cut
Face is dome arc, is processed on the cylinder by the curve of discrete point description, Cylinder Surface, profile arc transition and angled transition,
Forming tool processing is generallyd use in production.Cylinder Surface is that machining accuracy, geometric tolerance, surface quality etc. are exigent
Part is related to multiple complex-curved processing, is programmed with automatic programming software, Yao Jingli three-dimensional modeling, tool- path generation,
The processes such as machining simulation, postpositive disposal and program optimization spend the time longer, up to ten thousand sections of the program of generation, check and modification is tired
Difficulty may accent generation program once cutter goes wrong in process.In the multiaxis number with rotary shaft such as four axis and five axis
Cylinder Surface is processed on control lathe, usually need to generate processing program with programming software, but its processing program is often bulky,
The lookup of inconvenient program is modified.And traditional four axis FANUC lathe manual programmings are the modes of main program combination subprogram, are needed
A large amount of subprograms are individually write, call subroutine carries out circulation in main program, and main program and subprogram will form several
Independent program, program management, lookup, modification are inconvenient.
Summary of the invention
Mesh of the invention is in view of the problems of the existing technology, to provide that a kind of program is succinctly efficient, and program is swift in response,
It is high in machining efficiency, it is modified convenient for program looks, can be improved Cylinder Surface part processing efficiency and piece surface finish, utilized
The method of macroprogram numerical control processing Cylinder Surface,
Above-mentioned purpose of the invention can be reached by the following measures: above-mentioned purpose of the invention can be arranged by following
It applies to reach: a method of utilizing macroprogram numerical control processing Cylinder Surface, it is characterised in that include the following steps: in macroprogram
In establishment, founding mathematical models and loop body;G1G91X#9A [#9*360/ [2*#6*SIN [ACOS is instructed using G91 relative value
[[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]] carry out linkage motion cutting;Create Cylinder Surface working depth and equal part
Routine nesting between uniformly distributed machining angle judges sentence WHILE [#1GE#2] DO1, composition circle by working depth condition respectively
Curved surface of column etc. divides machining angle to loop to determine sentence WHILE [#4LT360] DO2;By #4=#4+ [360/#5], #1=#1-1 makees
Successively decrease sentence for angle step and the depth of cut, with END1, END2 is recycled as program to be terminated;In the numerical control processing of four axis lathes
In, process tool carries out the fitting Milling Process of curved surface using flat-bottom end mill, makes flat-bottom end mill side edge and Cylinder Surface axis
Heart line is overlapped, and cutter axle center and revolution axle center distance R is arranged2For tool radius, Y-direction biasing, #6 are carried out by G90G0Y#6 sentence
For tool radius assignment, so that cutter is carried out multi-shaft interlocked rotation along Cylinder Surface X axis and revolution A axis and process;Then according to allusion quotation
The characteristics of four axis lathe VMC700 structure band A axis rotary table of type, Cylinder Surface part is fixed on to the revolution of four axis lathes
Axis A axis center, and the setting of the working origin of lathe Y-direction and Z-direction is arranged cutter axle center Y-direction position and returned in the A axis centre of gyration
Shaft heart distance R2For tool radius, cylindrical part is rotated along axis 4, and process tool machining direction is carried out along X-axis, multi-shaft interlocked
Complete the Machining of Curved Surface of Cylinder Surface.
In founding mathematical models and loop body, the movement rail between Cylinder Surface rotating shaft A and linear motion axis X is established
Trace function formula A=X*360/ [2*R2*SIN[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]], R2For cutter half
Diameter, R1For Cylinder Surface radius, h is finished surface residual altitude value;
In the Movement Locus Equation formula established between Cylinder Surface rotating shaft A and linear motion axis X in macroprogram, circle is realized
Curved surface of column working depth and equal part are evenly distributed with the routine nesting between machining angle, are then carried out using flat-bottom end mill multi-shaft interlocked
Milling Process carries out the Four-axis milling of Cylinder Surface with flat-bottom end mill biasing tool radius, keeps processing to walk in process
Knife direction is rotated along X axis, Cylinder Surface around A axis, realizes adding for Cylinder Surface with multi-shaft interlocked mode on four axis lathes
Work.
The present invention has the advantages that compared with the prior art.Program is swift in response.The present invention is worked out in macroprogram
In, G1G91X#9A [#9*360/ [2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/# is instructed using G91 relative value
7]]]/#6]]]] carry out linkage motion cutting;Cylinder Surface working depth and equal part are evenly distributed with the routine nesting between machining angle, respectively
Judge that sentence WHILE [#1GE#2] DO1, composition and Cylinder Surface etc. divide machining angle to loop to determine language by working depth condition
Sentence WHILE [#4LT360] DO2, it is short that macroprogram debugs time, it is only necessary to which specific variable initial value is programmed into main program tune
With macroprogram;By #4=#4+ [360/#5], #1=#1-1 successively decreases sentence as angle step and the depth of cut, with
END1, END2 terminate as program circulation;Program is swift in response, and modifies convenient for program looks, high in machining efficiency.
The present invention passes through in the motion profile side established between Cylinder Surface rotating shaft A and linear motion axis X in macroprogram
Formula realizes that Cylinder Surface working depth and equal part are evenly distributed with the routine nesting between machining angle, then uses flat-bottom end mill
The Four-axis milling that tool radius carries out Cylinder Surface is biased, keeps processing machining direction along X axis, Cylinder Surface in process
Around the rotation of A axis, it can be achieved that realizing the processing of Cylinder Surface with multi-shaft interlocked mode on four axis lathes, four can be given full play to
The Multi-axis simultaneous machining ability of axis rotation workbench of machine tool, production effect can be obviously improved by being concisely and efficiently advantage in conjunction with macroprogram
Rate can be improved Cylinder Surface part processing efficiency and piece surface finish.
The present invention processes Cylinder Surface using macro programming, carries out multi-shaft interlocked Milling Process using flat-bottom end mill,
Compare the mode of conventionally employed rose cutter processing curve, the settable biggish knife spacing of flat-bottom end mill, its processing residual
Surplus is small, and finished surface machined trace is small, finish height difference, processing can efficiency significantly improve.Manual volume is carried out using macroprogram
Journey, makes the effect of simplification, the raising of part processing quality of nc program fairly obvious, and processor can be used
Variable carries out the hybrid operation of arithmetical operation, logical operation and function, and furthermore macroprogram additionally provides Do statement, branch statement
With subroutine call sentence, program looks modification is very convenient, conducive to the part program for passing through the various complexity of hand weaving.
This method can play macroprogram debugging, and time is short, program is concisely and efficiently feature, by establishment macroprogram in four axis lathes
It is upper that multi-shaft interlocked Milling Process is carried out using flat-bottom end mill, realize that process tool carries out rotation processing along Cylinder Surface axis,
Four axis rotation workbench of machine tool working abilities are given full play to, realize efficiently multi-shaft interlocked add using macroprogram parametric programming
Work.The Four-axis milling for carrying out Cylinder Surface using flat-bottom end mill using the present invention, it is real with the multi-shaft interlocked mode of four axis lathes
Existing curved surface rotation processing, can be improved the processing efficiency and piece surface finish of curved surface, effectively promotes multi-axis NC Machine Tools
Production efficiency.
The present invention carries out manual programming using macroprogram, simplification, raising part processing quality for nc program
Effect make it is fairly obvious.Macro programming is highest manual mode and the pass of numerical control processing of Numerical Control Programming
One of key technology.Macro programming combines the characteristics of lathe function and Command system of the numerical control, has dissolved in the wisdom of programming personnel.
Programming personnel establishes corresponding mathematical model according to the geological information of part, is compiled using modular programming thought
Journey also makes programming personnel free from cumbersome, a large amount of repetitive operation in addition to outer convenient for calling, this be it is any oneself
The all inaccessiable effect of dynamic programming software.Macroprogram has the characteristics that flexibility, versatility and intelligence, can greatly letter
Change programming, streamlines procedures, structure is simple, convenient storage.What macroprogram was programmed using variable and equation, program letter
It is clean, it is high in machining efficiency, it is easily modified, carries out manual programming using macroprogram, the simplification of nc program, part are processed
The effect of the raising of quality make it is fairly obvious, user can be used variable carry out arithmetical operation, logical operation and function it is mixed
Operation is closed, furthermore macroprogram additionally provides Do statement, branch statement and subroutine call sentence, conducive to various complexity are worked out
Part program reduces or even exempts carrying out cumbersome numerical value calculating when manual programming, is conducive to the amount of streamlining procedures, can use
In the part processing for working out all kinds of complexity.Manual macro programming flexibly, efficiently, fast, is the important supplement of machining prgraming, is
A kind of practical, succinct programmed method.
Detailed description of the invention
Four axis lathe Cylinder Surface machining sketch charts are shown in Fig. 1.
Fig. 2 is shown flat-bottom end mill and processes Cylinder Surface X to schematic diagram.
Flat-bottom end mill processing Cylinder Surface Z-direction schematic diagram is shown in Fig. 3.
Fig. 4 is macroprogram flow diagram.
In figure: 1 cylindrical part, 2 flat-bottom end mills, 3 cutter axial lines, 4 revolution axle center lines, 5 cylindrical part radial direction axle center
Line, R1Cylinder Surface radius, R2Tool radius, h finished surface residual altitude, K center cutter spacing, J cutter intersect distance.
Specific embodiment
Refering to fig. 1.Cylindrical part 1 is the Cylinder Surface formed around the rotation of revolution axle center line 4, Cylinder Surface, profile circular arc
Transition and angled transition, Cylinder Surface are the exigent cylindrical parts such as machining accuracy, geometric tolerance, surface quality.Therefore,
According to the present invention, in macroprogram establishment, founding mathematical models and loop body;G1G91X#9A [#9* is instructed using G91 relative value
360/ [2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]] carry out linkage motion cutting;Create cylinder
Machining of Curved Surface depth and equal part are evenly distributed with the routine nesting between machining angle, judge sentence WHILE by working depth condition respectively
[#1GE#2] DO1, composition Cylinder Surface etc. divide machining angle to loop to determine sentence WHILE [#4LT360] DO2;By #4=#4+
[360/#5], #1=#1-1 successively decrease sentence as angle step and the depth of cut, and with END1, END2 is recycled as program to be terminated;
In the numerical control processing of four axis lathes, process tool carries out the fitting Milling Process of curved surface using flat-bottom end mill, makes flat vertical
Milling cutter side edge is overlapped with Cylinder Surface axial line, and cutter axle center and revolution axle center distance R is arranged2For tool radius, by G90G0Y#
6 sentences carry out Y-direction biasing, and #6 is tool radius assignment, carry out cutter with revolution A axis along Cylinder Surface X axis multi-shaft interlocked
Rotation processing;Then according to four axis lathe VMC700 structure band A axis rotary table of typical case the characteristics of, Cylinder Surface part is consolidated
Due to the rotating shaft A axis center of four axis lathes, and by the setting of the working origin of lathe Y-direction and Z-direction in the A axis centre of gyration, setting
Cutter axle center Y-direction position and revolution axle center distance R2For tool radius, cylindrical part is rotated along axis 4, process tool feed side
It is carried out to along X-axis, the multi-shaft interlocked Machining of Curved Surface for completing Cylinder Surface.
With R1For Cylinder Surface radius, cutter axle center and curved surface axle center distance R2For tool radius, h is finished surface residual
Height value establishes Multi-axis simultaneous machining motion profile letter of the Cylinder Surface between rotary shaft A axis and the axis X-axis that moves along a straight line
Numerical expression A=X*360/ [2*R2*SIN[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]], in founding mathematical models and
Loop body.
Establish the motion profile functional expression A=X*360/ [2*R between Cylinder Surface rotating shaft A and linear motion axis X2*
SIN[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]], R2For tool radius, R1For Cylinder Surface radius, h is to add
Work remained on surface height value;In macroprogram establishment, G1G91X#9A [#9*360/ [2*#6*SIN is instructed using G91 relative value
[ACOS [[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]] carry out linkage motion cutting;Cylinder Surface working depth and equal part
Routine nesting between uniformly distributed machining angle, judges sentence WHILE [#1GE#2] DO1, Yi Jiyuan by working depth condition respectively
Curved surface of column etc. divides machining angle to loop to determine sentence WHILE [#4LT360] DO2 composition;By #4=#4+ [360/#5], #1=#1-
1, successively decrease sentence as angle step and the depth of cut, with END1, END2 is recycled as program to be terminated;Process tool is using flat
The fitting Milling Process of slotting cutter progress curved surface;The characteristics of according to four axis lathe VMC700 structure band A axis rotary table of typical case,
Cylinder Surface part is fixed on to the rotating shaft A axis center of four axis lathes, and the working origin of lathe Y-direction and Z-direction is arranged in A
Cutter axle center Y-direction position and revolution axle center distance R is arranged in the axis centre of gyration2For tool radius, cylindrical part is rotated along axis 4,
Process tool machining direction is carried out along X-axis, the multi-shaft interlocked Machining of Curved Surface for completing Cylinder Surface.Specific steps include:
Step 1 is overlapped flat-bottom end mill side edge with Cylinder Surface axial line according to Fig. 1, i.e. setting cutter axle center and song
Face axle center distance R2For tool radius, Y-direction biasing is carried out using G90G0Y#6 sentence, #6 is tool radius assignment, makes cutter edge
Cylinder Surface X axis and revolution A axis carry out multi-shaft interlocked rotation processing and form cutter path;
Step 2 uses four axis machine tooling Cylinder Surfaces as shown in Figure 1, and process tool uses flat-bottom end mill 2, with flat
Bottom slotting cutter carries out the fitting Milling Process of curved surface, to make processed surface smoothness meet the requirements, is remained according to finished surface high
Spend value h, Cylinder Surface radius R1Trigonometric function relationship, by Fig. 2 calculate cutter intersection distance J, J=R1*SIN[ACOS
[[R1-h]/R1]]], then known cutter intersects distance J, tool radius R as shown in Figure 32, calculate knife when cutter rotation processing
Tool center spacing K, K=2*R2*SIN[ACOS[[R2-J]/R2]], spiral reference is formed by curved surface rotation offset by cutter
Line rotates to form Cylinder Surface around curved surface axial line, and X, A axis link lopcus function formula as A=X*360/ [2*R2*SIN[ACOS
[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]];
Step 3, setting Cylinder Surface rotate processing equal part and be evenly distributed with angle processing times, are arranged #4=0, #5=3, #4 for etc.
Divide and uniformly originate machining angle assignment, #5 is that equal part is evenly distributed with angle processing times, calculates angle by #4=#4+ [360/#5] and increases
Amount.The characteristics of according to four axis lathe VMC700 its structure band A axis rotary table of typical case, part 1 is fixed on four axis lathes
Rotating shaft A axis center, and cutter axle center Y-direction position is arranged in the A axis centre of gyration in the setting of the working origin of lathe Y-direction and Z-direction
With revolution axle center distance R2Each rotary table is calculated on the basis of the centre of gyration of A axis workbench for tool radius,
Using cutter along the offset of Cylinder Surface axis direction, the mobile numerical value of the cutter of X, A axis is by A=X*360/ [2*R2*SIN
[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]] motion profile functional expression calculates automatically, with X, A axis linkage motion cutting
Cylinder Surface is realized this process with macroprogram.
With R2For tool radius, R1For Cylinder Surface radius, h is finished surface residual altitude value, this process with macro
Program is realized, calculates the mobile numerical value of the cutter of X, A axis automatically by functional expression, convenient accurate.
Step 4, according to Fig.4, macroprogram process, test cycle body program frame;In processing initial depth and process most
Low spot depth assignment #1, #2, if #1 >=#2, assignment #4, #5, #6, #7, #8, #9, if 360 ° of #4 <, referred to using G91 relative value
Enable carry out X, A axis linkage motion cutting, into #4=#4+ [360/#5], END2 terminate program circulation, return judge #4 whether <
360°;No, then entry angle increment and the depth of cut are successively decreased sentence #1=#1-1, are terminated with END1 program circulation, are returned to judgement
Assignment #1 whether >=#2;Otherwise END1 terminates program circulation;
Step 5, according to flowcharter, in founding mathematical models and loop body, establish Cylinder Surface rotating shaft A
Motion profile functional expression A=X*360/ [2*R between linear motion axis X2*SIN[ACOS[[R2-R1*SIN[ACOS[[R1-
h]/R1]]]/R2]]];Mathematical model is to generate one group of operation assignment statement of cutter path node, passes through operation assignment statement meter
Calculate the coordinate of every bit on curved surface.
The curved surface of cylindrical part profile description is transformed by motion profile functional equation.Loop body is by one group or several groups
Recursion instruction and corresponding adder-subtractor composition, its effect are that a group node is linked in sequence into cutter path, then successively adds
Work is at curved surface.If #1=30, #1 process initial depth assignment;#2=20, #2 are processing Cylinder Surface depth minimum point assignment;Circle
Curved surface of column working depth and equal part are evenly distributed with the routine nesting between machining angle, judge sentence by working depth condition respectively
WHILE [#1GE#2] DO1 and Cylinder Surface etc. divide machining angle to loop to determine sentence WHILE [#4LT360] DO2 composition;It adopts
G1G91X#9A [#9*360/ [2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/# is instructed with G91 relative value
7]]]/#6]]]] carry out linkage motion cutting;And #4=#4+ [360/#5], #1=#1-1 are passed as angle step and the depth of cut
Subtract sentence, with END1, END2 terminates as program circulation.
This method with macroprogram processing Cylinder Surface can realize Cylinder Surface processing by adjusting some parameter
The accurate control of surface quality and size, and the parameter modification of program is simple and fast without modifying entire program.Specific processing
Macroprogram is as follows:
The present invention is not limited to above-mentioned specific embodiment, it is all from the above idea, according to the present patent application range
Made variation improvement etc. should all be fallen within the scope of the patent of the present invention.
Claims (10)
1. a kind of method using macroprogram numerical control processing Cylinder Surface, it is characterised in that include the following steps:
In macroprogram establishment, founding mathematical models and loop body;G1G91X#9A [#9*360/ is instructed using G91 relative value
[2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]] carry out linkage motion cutting;Create Cylinder Surface
Working depth and equal part are evenly distributed with the routine nesting between machining angle, judge sentence WHILE [# by working depth condition respectively
1GE#2] DO1, Cylinder Surface etc. divide machining angle loop to determine sentence WHILE [#4LT360] DO2 composition;By #4=#4+
[360/#5], #1=#1-1 successively decrease sentence as angle step and the depth of cut, and with END1, END2 is recycled as program to be terminated;
In the numerical control processing of four axis lathes, process tool carries out the fitting Milling Process of curved surface using flat-bottom end mill, makes flat vertical
Milling cutter side edge is overlapped with Cylinder Surface axial line, and setting cutter axle center and Cylinder Surface axle center distance R2 are tool radius, by
G90G0Y#6 sentence carries out Y-direction biasing, and #6 is tool radius assignment, carries out cutter along Cylinder Surface X axis and revolution A axis more
The processing of axis linkage rotation;Then according to four axis lathe VMC700 structure band A axis rotary table of typical case the characteristics of, by Cylinder Surface
Part is fixed on the rotating shaft A axis center of four axis lathes, and by the setting of the working origin of lathe Y-direction and Z-direction in the revolution of A axis
The heart, setting cutter axle center and Cylinder Surface axle center distance R2 are tool radius, and cylindrical part is rotated along axis of rotation (4), processing
Cutter machining direction is carried out along X-axis, the multi-shaft interlocked Machining of Curved Surface for completing Cylinder Surface.
2. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: establishing mathematics
In model and loop body, with R1For Cylinder Surface radius, cutter axle center and Cylinder Surface axle center distance R2 are tool radius, and h is
Finished surface residual altitude value, establish multi-shaft interlocked between rotary shaft A axis and the axis X-axis that moves along a straight line of Cylinder Surface plus
Labour movement dynamic rail trace function formula A=X*360/ [2*R2*SIN[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]]。
3. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: in macroprogram
Establish the Movement Locus Equation formula between Cylinder Surface rotating shaft A and linear motion axis X, realize Cylinder Surface working depth with etc.
Divide the routine nesting between uniformly distributed machining angle, multi-shaft interlocked Milling Process is then carried out using flat-bottom end mill, is stood with flat
Milling cutter biases the Four-axis milling that tool radius carries out Cylinder Surface, keeps processing machining direction along X axis, cylinder in process
Curved surface is rotated around A axis, realizes the processing of Cylinder Surface with multi-shaft interlocked mode on four axis lathes.
4. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: process tool is adopted
The fitting Milling Process of curved surface is carried out with flat-bottom end mill;According to four axis lathe VMC700 structure band A axis rotary table of typical case
The characteristics of, Cylinder Surface part is fixed on to the rotating shaft A axis center of four axis lathes, and by the working origin of lathe Y-direction and Z-direction
Cutter axle center and Cylinder Surface axle center distance R is arranged in the A axis centre of gyration in setting2For tool radius, cylindrical part is along rotating shaft
Line (4) rotation, process tool machining direction are carried out along X-axis, the multi-shaft interlocked Machining of Curved Surface for completing Cylinder Surface.
5. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: to make surface light
Cleanliness meets the requirements, and cutter carries out multi-shaft interlocked rotation along Cylinder Surface X axis and revolution A axis and processes, and according to finished surface
Residual altitude value h, Cylinder Surface radius R1Trigonometric function relationship, calculate cutter intersection distance J, J=R1*SIN[ACOS
[[R1-h]/R1]]], intersect distance J, tool radius R further according to known cutter2, calculate in cutter when cutter rotation is processed
In the heart away from K, K=2*R2*SIN[ACOS[[R2-J]/R2]], by cutter curved surface rotation offset be formed by spiral reference line around
Curved surface axial line rotates to form Cylinder Surface.
6. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: setting cylinder is bent
Face rotation processing equal part is evenly distributed with angle processing times, and #4=0 is arranged, and #5=3, #4 are that equal part uniformly originates machining angle assignment, #
5 are evenly distributed with angle processing times for equal part, calculate angle step by #4=#4+ [360/#5].
7. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: with the work of A axis
On the basis of the centre of gyration of platform, each rotary table, offset of the cutter along Cylinder Surface axis direction, X, A axis are calculated
The mobile numerical value of cutter by A=X*360/ [2*R2*SIN[ACOS[[R2-R1*SIN[ACOS[[R1-h]/R1]]]/R2]]] movement
Lopcus function formula calculates automatically, with X, A axis linkage motion cutting Cylinder Surface, the mistake of the numerical control processing Cylinder Surface on four axis lathes
Journey realizes that R1 is Cylinder Surface radius with macroprogram, and h is finished surface residual altitude.
8. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: with R2For cutter
Radius, R1For Cylinder Surface radius, h is finished surface residual altitude value, the numerical control processing Cylinder Surface on four axis lathes
Process realized with macroprogram.
9. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: according to macroprogram
Process, test cycle body program frame;In working depth Z-direction and working depth minimum point assignment #1, #2, if #1 >=#2, assign
Value #4, #5, #6, #7, #8, #9 instruct G1G91X#9A [#9* using G91 relative value if 360 ° of X, A axis linkage motion cuttings of #4 <
360/ [2*#6*SIN [ACOS [[#6-#7*SIN [ACOS [[#7-#8]/#7]]]/#6]]]] linkage motion cutting is carried out, into #4=#
4+ [360/#5], END2 terminate program circulation, return judge #4 whether 360 ° of <;It is no, then enter the depth of cut and successively decreases sentence #1
=#1-1 is terminated with END1 program circulation, returns to whether judge assignment #1 >=#2;Otherwise enter fabrication cycles END M3O.
10. utilizing the method for macroprogram numerical control processing Cylinder Surface as described in claim 1, it is characterised in that: set #1=
30, #1 be processing Cylinder Surface depth Z-direction assignment;#2=26, #2 are working depth minimum point;Cylinder Surface working depth with
Routine nesting between machining angle judges that sentence WHILE [#1GE#2] DO1 and equal part add by working depth condition respectively
Work angular circulation judges that sentence WHILE [#4LT360] DO2 is formed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610689061.2A CN106292545B (en) | 2016-08-18 | 2016-08-18 | Utilize the method for macroprogram numerical control processing Cylinder Surface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610689061.2A CN106292545B (en) | 2016-08-18 | 2016-08-18 | Utilize the method for macroprogram numerical control processing Cylinder Surface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106292545A CN106292545A (en) | 2017-01-04 |
CN106292545B true CN106292545B (en) | 2019-03-01 |
Family
ID=57661505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610689061.2A Active CN106292545B (en) | 2016-08-18 | 2016-08-18 | Utilize the method for macroprogram numerical control processing Cylinder Surface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106292545B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062142B (en) * | 2018-09-17 | 2020-11-24 | 四川九洲电器集团有限责任公司 | CNC (computer numerical control) programming method for printed board numerical control drilling |
CN110968041A (en) * | 2018-09-29 | 2020-04-07 | 富鼎电子科技(嘉善)有限公司 | Method for compiling multi-axis linkage numerical control machining program |
CN109902333A (en) * | 2018-12-29 | 2019-06-18 | 苏州金瑞阳模具有限公司 | A kind of programmed method for processing hub mold side form |
CN109870979A (en) * | 2019-01-17 | 2019-06-11 | 郑州飞机装备有限责任公司 | The method of helical milling |
CN111190389A (en) * | 2020-01-13 | 2020-05-22 | 航天科工哈尔滨风华有限公司 | Method for processing ellipse by modularized programming of macro program of Fanuc system |
CN111804932B (en) * | 2020-05-25 | 2022-10-18 | 山西太钢不锈钢股份有限公司 | Method for turning tensile samples with different feed profiles by using macro program |
CN113399952B (en) * | 2021-07-13 | 2022-09-16 | 广东潮宏基实业股份有限公司 | Method and device for processing projection curved surface |
CN113500298B (en) * | 2021-07-21 | 2023-03-24 | 哈尔滨工业大学 | Laser ablation processing device and method for micro-texture on surface of curved surface workpiece |
CN116449772B (en) * | 2023-06-16 | 2023-10-03 | 成都飞机工业(集团)有限责任公司 | Multi-axis cooperative motion control method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103111816A (en) * | 2013-02-28 | 2013-05-22 | 重庆望江工业有限公司 | Tri-edge shaft machining method |
CN104384586A (en) * | 2014-09-30 | 2015-03-04 | 四川泛华航空仪表电器有限公司 | Method for processing integral impeller by using four-axis numerical-control milling machine |
CN105397163A (en) * | 2015-11-01 | 2016-03-16 | 四川泛华航空仪表电器有限公司 | Method for numerical control machining of impeller by utilization of macroprogram |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6471402B2 (en) * | 2014-07-04 | 2019-02-20 | 株式会社ミツトヨ | NC machine tool control method |
-
2016
- 2016-08-18 CN CN201610689061.2A patent/CN106292545B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103111816A (en) * | 2013-02-28 | 2013-05-22 | 重庆望江工业有限公司 | Tri-edge shaft machining method |
CN104384586A (en) * | 2014-09-30 | 2015-03-04 | 四川泛华航空仪表电器有限公司 | Method for processing integral impeller by using four-axis numerical-control milling machine |
CN105397163A (en) * | 2015-11-01 | 2016-03-16 | 四川泛华航空仪表电器有限公司 | Method for numerical control machining of impeller by utilization of macroprogram |
Also Published As
Publication number | Publication date |
---|---|
CN106292545A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106292545B (en) | Utilize the method for macroprogram numerical control processing Cylinder Surface | |
Dubovska et al. | Implementation of CAD/CAM system CATIA V5 in Simulation of CNC Machining Process | |
Iglesias et al. | Overview of the state of robotic machining: Current situation and future potential | |
CN104460515B (en) | One kind is based on the axle tool length compensation method of postpositive disposal five | |
CN101710236B (en) | Numerical-control processing method of multi-space hole welding groove on large-scale spherical space curved surface | |
CN103048947B (en) | Five-coordinate linkage numerical control of machine tools program postpositive disposal method | |
EP2252954B1 (en) | Method and device for composite machining | |
CN105397163B (en) | Utilize the method for macroprogram digital control processing impeller | |
Mir et al. | Tool path error prediction of a five-axis machine tool with geometric errors | |
Xú et al. | Conversion of G-code programs for milling into STEP-NC | |
EP4036520A1 (en) | Automatic generation of probe path for surface inspection and part alignment | |
Vardhan et al. | Multiaxis CNC programming and machining | |
Tsai et al. | The mathematical models of the basic entities of multi-axis serial orthogonal machine tools using a modified Denavit–Hartenberg notation | |
Omirou et al. | An epitrochoidal pocket—A new canned cycle for CNC milling machines | |
Berselli et al. | Design optimisation of cutting parameters for a class of radially-compliant spindles via virtual prototyping tools | |
Singh et al. | Cnc Machine Handling for Holes Servicing through Programming | |
Abbas | Enhancement of the Capabilities of CNC Machines via the Addition of a New Counter boring Cycle with a Milling Cutter | |
Xiang et al. | A generative feature-based CAPP/CNC system for hydraulic manifold blocks | |
Li et al. | Modeling and simulation of five-axis virtual machine based on NX | |
Muresan et al. | Teaching CAM Techniques and CNC Programming in Technical Universities–An Integrated Approach | |
Breaz et al. | 5-axes modular CNC machining center | |
Ye et al. | Model for surface topography prediction in cylinder turning | |
Hernández-Ordoñez et al. | Reengineering of a dedicated microcontroller for the technological improvement of an industrial CNC stone cutter | |
Sirinterlikci et al. | Computer-Aided Manufacturing (CAM) | |
Lee et al. | Development of a virtual machining and inspection system for ultra-precision diamond turning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |