# Process designing of numerical control lathe dictates basically (on)

- Time:
- Click:233
- source:HOTA CNC Machining

The process designing of applied turning treatment that commonly used process designing dictates includes X and Z coordinate motion and the corner coordinate that circle Z axis to rotate commonly C. (1) locates quickly (G00 or G0) cutting tool the target position that moves in order to choose position control way to give out to the instruction quickly from present location position. Statement form: G00 X(U) Z(W) ; (2) linear interpolation (G01 or G1) statement form: G01 X(U) Z(W) F; Graph 1 fast fixed position pursues G00 X40 of 2 linear interpolation.

0Z56.

0; G01 X40.

0Z20.

1F0.

2; / absolutely coordinate, diametical process designing; / absolutely coordinate, diametical process designing, cutting feed is led 0.

2mm/rG00 U-60.

0W-30 G01 U20.

0W-25.

9F0.

2; / increment coordinate, diametical process designing / increment coordinate, diametical process designing, cutting feed is led 0.

Interpolation of circular arc of 2mm ／ R (3) (G02 or G2, g03 or form of G3) 1) statement: G02 X(U)_Z(W)_I_K_F_ ; G02 X(U) Z(W) R F; G03 X(U)_Z(W)_I_K_F_ ; G03 X(U) Z(W) R F; 2) instruction function: 3) does the instruction show: ? Zuo 02 dictate for clockwise arc interpolation, g03 is instruction of interpolation of anticlockwise circular arc. Of circular arc suitable, go against directional judgement to see a picture 3 different pictures, the negative way that is in the reference axis with flat vertical look with circular arc forward looks, suitable hour hand is G02, anticlockwise for G03, graph tool carrier of the buy before 3 right graphs expressed lathe respectively and postposition tool carrier are suitable to circular arc judge with what go against direction; Graph of 3 circular arc suitable if pursue,go against directional ② 4, use absolutely coordinate process designing, x, Z is value of coordinate of circular arc terminus; Use increment coordinate process designing, u, W is circular arc terminus the coordinate increment of start of opposite circular arc, r is circular arc radius, it is 0 ° ～ to horn of the centre of a circle when circular arc place when 180 ° , r is taken be worth; It is 180 ° ～ when horn of the centre of a circle when 360 ° , r takes negative worth. I, K is for the centre of a circle on direction of axis of X, Z the coordinate increment of start of opposite circular arc (with radius the value expresses) , i, K can omit for zero hour. Graph 4 circular arc are absolutely coordinate, opposite coordinate pursues G02 X50 of interpolation of 5 circular arc.

0Z30.

0I25.

0F0.

3; G03 X87.

98Z50.

0I-30.

0K-40.

0F0.

3; G02 U20.

0W-20.

0I25.

0F0.

3; / absolutely coordinate, g02 X50 of diametical process designing.

Z30.

0R25.

0F0.

3; G03 U37.

98W-30.

0I-30.

0K-40.

0F0.

3; G02 U20.

0W-20.

0R25.

0F0.

3; / opposite coordinate, diametical process designing (rotate speed of 4) main shaft installs (the rotate speed of S) lathe main shaft (R ／ Min) is: The υ in type is circumferential cutting speed, unit default is the external diameter of workpiece for M ／ Min, D, the unit is Mm. For example, the external diameter of workpiece is 200mm, the cutting speed of the requirement is 300m ／ Min, because rotate speed of this main shaft should be 478r ／ Min,classics computation can be gotten, express to be S478. (When control of speed of 5) main shaft dictates CNC Turning is machined, can set constant cutting rate by need (for example, the exterior surface roughness that is the workpiece after assuring turning is consistent, should install) of constant cutting speed, the rotate speed of the diametical computation main shaft that system of the numerical control in turning process is not in with the position according to the workpiece when turning. Constant cutting speed installs a method to be as follows: G96 S; Among them digital unit is R ／ Min at the back of S. After setting constant cutting rate, if can not cancel when need, its means is as follows: G97 S; Among them digital unit is R ／ Min at the back of S. After setting constant cutting rate, because the rotate speed of main shaft is in workpiece is different and sectional going up is change, to prevent main shaft rotate speed exorbitant and it is dangerous to happen, before setting constant cutting rate, can main shaft setting of top rotate speed is in certain is highest value. When constant cutting rate should be being implemented in cutting process, main shaft is highest rotate speed will is in by limitation this highest value. Setting method is as follows: G50 S; Among them the unit of S is R ／ Min. Graph speed of 6 main shaft controls for example: Constant cutting speed is installed to be 200m ／ Min with G96 when appearance of cutting of cutting tool T01, and constant cutting speed cancels with G97 when broach T02 drills central hole, install main shaft rotate speed to be 1100r ／ Min. The program head of this two parts is as follows: G50 S2500 T0101 M08; / rotate speed of highest main shaft is G50 demarcate 2500r ／ Min; G96 S200 M03; / speed of cutting of G96 setting constant is 200m ／ Min, main shaft arranges G00 X48 of hour hand roll.

0Z3.

0; / take a place quickly (48.

0, 3.

0)G01 Z-27.

1F0.

3; / turning appearance G00 Ul.

0Z3.

0; / quick return... T0202; / move G97 Sll00 M03 of 02 cutting tool; / G97 cancels constant cutting speed, rotate speed of setting main shaft is Ll00r ／ MinG00 X0.

0Z5.

0M08; / take a place quickly (0, 5.

0) , cooling fluid opens G01 Z-5.

0F0.

12; / drill central hole... (6) feed rate and instruction of feed speed setting have mode of feed of two kinds of cutting to set a means in CNC Turning, namely feed is led (every turn feed mode) with feed speed () of minutely feed mode. 1) feed is led, the unit is Mm/r, its instruction is: G99; / feed rate changes an instruction, g01 X Z F; / the unit of F is speed of feed of Mm ／ R2) , the unit is Mm ／ Min, its instruction is: G98; / feed speed changes instruction G01 X Z F; / the unit of F is Mm ／ Mina: G99 G01 Z-27.

1F0.

3; B: G98 G01 Z-10.

0F80; states feed is led for 0.

3mm ／ R states feed speed is 80mm ／ Min to pursue 7 feed rate and mode of feed of default of system of feed speed CNC are feed rate, namely every turn feed mode. (The origin that coordinate of workpiece of setting of 7) workpiece origin fastens has method of two kinds of settings. 1) undertakes with G50 instruction workpiece origin is installed, cent sets a condition two kinds below: Graph setting of origin of coordinate of ① of setting of 8 workpiece origin is like graph 8a place to show in chuck end panel, coordinate of the Z below this kind of circumstance is to be worth. Workpiece origin setting is in chuck end panel: G50 X85.

Z210.

; / it is medium that the coordinate of current position is worth * general point of a knife to be workpiece coordinate surely a bit (85.

, 210.

) . Setting of ② coordinate origin is like graph 8b place to show in spare parts right end panel, value of coordinate of the Z below this kind of circumstance is negative worth. Workpiece origin setting is in workpiece right end panel: G50 X85.

0Z90.

0; Criterion current position is point of a knife namely workpiece coordinate is origin. (8) end panel and outside end panel of round turning treatment and outside round turning treatment should use interpolation instruction G01. To write numerical control program correctly, answer to choose workpiece origin in the according to workpiece circumstance before writing a program. After origin of certain good work, return the initial drop that must decide cutting tool. Of the circle outside turning of Lv of take an examination is being returned when process designing only then of dot and end panel turning only then dot, should join the semifinished product case that considers work surely really this at 2 o'clock. If semifinished product surplus is larger, should have thick car for many times, have car of essence of life finally, consequently every time turning only then the point is not same. A) workpiece origin is in origin of workpiece of the B) when left end panel when right end panel graph origin of workpiece of 1) of origin of 9 affirmatory turning is in O0001N0 G50 X85 of number of program of O0001 /* of left end panel.

0Z210.

0; / origin of * setting workpiece is in N1 G30 U0 W0 of left end panel; / * returns N2 G50 S1500 T0101 M08 of the 2nd reference point; / * restricts rotate speed of highest main shaft to be 1500r ／ Min, move 01 cutting tool, m08 is open cooling fluid N3 G96 S200 M03; / * appoints constant cutting speed to be 200m ／ MinN4 G00 X40.

4Z153.

0; / * is fast thick car of the circle outside going only then dot N5 G01 Z40.

2F0.

3; / * is led with feed 0.

N6 X60 of the circle outside 3mm/r turning.

4; / N7 Z20 of * step turning.

0; / * φ 60.

4mm section chief is spent for 20.

A paragraph of 0mm outside round N8 G00 X62.

0Z150.

2; / fast fall back on chooses * cutting tool (62.

0, 150.

2)N9 X41.

0; / * cutting tool takes a place quickly (41.

0, 150.

2)N10 G01 X-1.

6; / N1l G00 Zl52 of * turning right end panel.

0; / fast fall back on chooses * cutting tool (- 1.

6, 152.

0) N12 G30 U0 W0; / * answers the 2nd reference point to change knife N13 (Finishing) in order to undertake directly; / * fine vehicle begins, bracket shows N14 G50 S1500 T0202 for the program; / * restricts rotate speed of highest main shaft to be 1500r ／ Min, move N15 G96 S250 of 02 cutting tool; / * appoints constant cutting speed to be 250m ／ MinN16 G00 X40.

0Z153.

0; / * is fast vehicle of fine of the circle outside going only then dot (40.

0, 153)N17 G42 G01 Z151.

0F0.

15; /* moves compensation of radius of point of a knife, right slant N18 Z40.

0; / * φ 40.

4mm a paragraph outside round fine vehicle N19 X60.

0; / N20 Z20 of vehicle of * step fine.

0; / * φ 60.

0mm section chief is spent for 20.

The round fine vehicle N21 G40 G00 X62 outside 0mm.

0Z150.

0; / * cancels knife filling N22 X41.

0; / * cutting tool takes a place quickly (41.

0, 150.

0)N23 G41 G01 X40.

0; / compensation of radius of * attune point of a knife, left slant N24 G01 X-1.

6; / N25 G40 G00 Zl52 of right end panel of * fine vehicle.

0M09; / * cancels a knife to fill, cutting fluid closes N26 G30 U0 W0 M05; / * returns the 2nd reference point, main shaft stops N27 M30; / origin of workpiece of 2) of * program end is in right end panel: Workpiece origin setting is in in right end panel and setting the distinction of left end panel depends on Z coordinate be negative worth only, the program writes a process identical. O0002; / N0 G50 X85 of * program number.

0Z90.

Origin of workpiece of 0 /* setting is in N2 G30 U0 W0 of right end panel; / * returns N4 G50 S1500 T0101 M08 of the 2nd reference point; / * restricts N6 G96 S200 M03 of rotate speed of highest main shaft; / * appoints constant cutting speed to be 200m ／ Min, main shaft is anticlockwise rotate N8 G00 X30.

4Z3.

0; / * takes a place quickly (30.

4, 3.

0)N10 G01 W-33.

0F0.

3; / * is led with feed 0.

φ of 3mm/r thick car 30.

N12 U30 of the circle outside 4 place.

0W-50.

0; / N14 W-10 of cone of * thick car.

0; / φ of * thick car 60.

4mm section chief spends N16 G00 Ul of the circle outside be a paragraph of 10.

6W90.

2; /* cutting tool takes a place quickly (62.

0, 0.

2)N18 U-31.

0; / * cutting tool takes a place quickly (3l, 0.

2)N20 G01 U-32.

6; / N22 G00 W2 of end panel of * thick car.

0; / * cutting tool takes a place quickly (- 1.

6, 2)N24 G30 U0 W0; / * returns N26 (Finishing) of the 2nd reference point; / * fine vehicle begins N28 G50 S1500 T0202; /* to install main shaft Min of ／ of 1500r of top rotate speed, move N30 G96 S250 of 2 cutting tool; / * appoints constant cutting speed to be 250m ／ MinN32 G00 X30.

0Z3.

0; / * cutting tool takes car of essence of life quickly only then dot (30.

0, 3.

0)N34 G42 G01 W-2.

0F0.

15; /* moves compensation of radius of point of a knife, right slant N36 W-31.

0; / ф of * fine vehicle 30.

N38 U30 of the circle outside 4mm place.

0W-50.

0; / N40 W-10 of cone of * fine vehicle.

0; / ф of * fine vehicle 60.

N42 G40 G00 U2 of the circle outside 0mm place.

0W90.

0; / * cancels a knife to fill, cutting tool takes a place quickly (62, 0.

0)N44 U-31.

0; / * cutting tool takes a place quickly (31, 0.

0)N46 G41 G01 U-1.

0; / compensation of radius of * attune point of a knife, left slant N48 G01 U-32.

6; / N50 G40 G00 W2 of end panel of * fine vehicle.

0M09; / * cancels a knife to fill, cutting tool takes a place quickly (1.

6, 2.

0)N52 G30 U0 W0 M30; / * returns reference point, the program ends example: If the graph shows N0050 G01 X32 Z0; N0110 G02 X16 Z-15 R2;N0060 G01 X-0 of example of integrated process designing of part drawing 10 CNC Turning 10 times.

5; N0120 G01 X20;N0070 G00 Z1; N0130 G01 Z35;N0080 G00 X10; N0140 X26;N0090 G01 X12 Z1; N0150 Z50;N0100 G01 X12 Z1; N0160 X32; is 1500r ／ Min, move a cutting tool, m08 falls in this kind of circumstance to open cooling fluid, if install an instruction to write into: G50 X0 Z0; Instruction of G02, G03 expresses cutting tool to undertake circular arc interpolation to circular arc terminus from circular arc start with F feed speed. The target position that cutting tool moves to give out to the instruction point-blank from edge of present location position with fixed feed rate. CNC Milling CNC Machining