Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 43

Prepared by

External operations Facing Turning

Internal operations Drilling Grooving

Grooving
threading

Boring
Internal multiple turning 1

G00-Positioning in Rapid G01-Linear Interpolation G02-Circular Interpolation (CW) G03-Circular Interpolation (CCW) G04-Dwell G07-Feed rate sine curve control G10-Data setting G11-Data setting cancel G17-XY Plane G18-XZ Plane G19-YZ Plane G20-Inch Units G21-Metric Units G22-Stored stroke check function ON G23-Stored stroke check function OFF G25-Spindle speed fluctuation detection OFF G26-Spindle speed fluctuation detection ON G27-Reference point return check G28-Automatic Zero Return G29-Return from Zero Return Position

G31-Skip function

CODES

G32-Thread cutting G34-Variable lead thread cutting G36-Automatic tool compensation G40-Tool Nose Radius Compensation Cancel

G41-Tool Nose Radius


Compensation Left G42-Tool Nose Radius Compensation Right G46-Automatic Tool Nose Radius Compensation G50-Coordinate system setting and maximum rpm G52-Local coordinate system setting G53-Machine coordinate system setting G61-Exact stop check mode 2

G30-2nd reference point return

G62-Automatic corner override G63-Tapping mode G64-Cutting mode G65-User macro simple call G66-User macro modal call G67-User macro modal call cancel

G87-Side Drilling Cycle

G88-Side Tapping Cycle

33

G89-Side Boring Cycle G90-Absolute Programming G91-Incremental Programming G92-Thread Cutting Cycle G94-Endface Turning Cycle G96-Constant surface speed control G97-Constant surface speed control cancel G98-Linear Feed rate Per Time

G68-Mirror image for double turrets ON


G69-Mirror image for double turrets OFF G70-Finishing Cycle G71-Turning Cycle G72-Facing Cycle G73-Pattern repeating G74-Peck Drilling Cycle G75-Grooving Cycle G76-Threading Cycle G80-Canned cycle for drilling cancel G83-Face Drilling Cycle G84-Face Tapping Cycle G86-Face Boring Cycle

G99-Feed rate Per Revolution


G107-Cylindrical Interpolation

contents
Structure of program

Cycles involved
-Facing-single(or Box),step,taper facing -Turning-Box,multiple Turning,Taper Turning -Sub programming -Box turning ,Multiple Turning

-multiple facing
-Pattern Repeating cycle -Multiple grooving
4

-Multiple Threading

Structure of program
Start up of program
Body of program End of program

Start up of program
O1000 [ BILLET X20 Z60

G21/G20 G98/G99 G40


G50 S1800 G28 U0 W0

M06 T0101
M03/M04 S1000 G00 X21 Z1 G28 U0 W0 M05 BODY OF PROGRAM
7

M30

Metal Cutting Parameters for XL-turn Lathe


Operations speed(rpm) feed(mm/min) depth of cut (mm) Turning Grooving Threading 1000-1500 600-800 300-350 45-55 15-25 0.5-1 0.25-0.5 0.03-0.04

FACING

Box /Single facing cycle(G94)


Syntax: G94 X-diameter Z-length of w.p F-feed No of cuts=4
22

10

[BILLET X22 Z70; G21 G98; G28 U0 W0; 22 M06 T01; M03 S1500;

G00 X23 Z1; G94 X0 Z-0.5 F30; Z-1;

Z-1.5
Z-2 G28 U0 W0;

M05;
M30;]
11

Step Facing(G94)
[BILLET X22 Z70;
22 10 G21 G98; G28 U0 W0; 2 M06 T01; M03 S1500; G00 X23 Z1; G94 X10 Z-0.5 F30; Z-1; Z-1.5 Z-2 G28 U0 W0; M05; M30;]
12

Taper facing(G94)
Syntax:
G94 X Z R F Where
52
10

(X,Z)=Target points
R=Length of taper F=Feed

13

[BILLET X22 Z70;


G21 G98; G28 U0 W0; 10 M06 T01; M03 S1500; 52 G00 X23 Z1; G94 X10 Z-0.5 F30;

G00 X22 Z-2;


G94 X10 Z-2 R-0.5 F30; X10 R-1.0; X10 R-1.5; X10 R-2.0; X10 R-2.5; X10 R-3.0;

Z-1;
Z-1.5 Z-2

X10 R-3.5;
X10 R-4; X10 R-4.5;

(X,Z)

G28 U0 W0

X10 R-5.0; G28 U0 W0;


M05; M30;]
14

Alternate method:
X,z

G94 X21 Z-2 R-5 F35 X20 X19

X18
X17 X16

M05 M30

X15
X14 X13 X12 X11 X10 G28 U0 W0
15

TURNING

16

BOX TURNING CYCLE(G90)


Syntax:
G90 X Z F X-Diameter

Z-Length
F-feed

17

[BILLET X22 Z70; G21 G98; G28 U0 W0; M06 T01;

15

M03 S1500;

G00 X23 Z1;

20

G90 X21 Z-20 F35; X20; X19; X18; X17; X16 X15; G28U0W0 M05
18

M30

MULTIPLE TURNING [BILLET X25 Z60; CYCLE(G90) G21 G98;


G28 U0 W0; M06 T01;
15 20 25

M03 S1500; G00 X26 Z1; G90 X24 Z-30 F35;

15

15

X23;
X22; X20; X19 Z-15; X18 X17; X16
19

G28U0W0

M05
M30

TAPER TURNING CYCLE(G90)


Syntax:
G90 X Z R F R=Difference in radius=(D-d)/2

CONVENTION

R -ve

R +ve

(X,Z)=Target Point

20

[BILLET X25 Z60;


2 box turning operations
15 20 25

G00 X25 Z-30;

G90 X25 Z-35 R-0.5 F35


5 15 15

X25 R-1; X25 R-1.5; X25 R-2.0 X25 R-2.5;

G28U0 W0;
M05; M30;]
21

SUBPROGRAMMING
[BILLET X25 Z60
5 5 15 25

G21 G98 G28U0 W0 M06 T01 M03 S1500 G00 X25 Z0; M98 P003333;

G28U0 W0
M05 M30]
22

[SUB PROGRAM O3333

G90 X25 W-5 R0.5 F35

G90 X25 W-5 R-0.5 F35


X25 R-1.0 X25 R-1.5

X23 R1.0
X22 R1.5 X21 R2.0

X25 R-2.0
X25 R-2.5 X25 R-3.0 X25 R-3.5 X25 R-4.0

X20 R2.5
X19 R3.0 X18 R3.5 X17 R4.0 X16 R4.5

X25 R-4.5
X25 R-5.0 G00 X25 W-5;

X15 R5.0
G00 X25 W-5; M99;
23

MULTIPLE TURNING CYCLE(G71)


Syntax: G71 U R
G71 P Q U W F

U-Depth of cut, R-Retract

P-starting block number


Q-Ending block number U-Finishing allowance in diameter(0.1)

W-Finishing allowance in length(0.1)


F-feed
24

p7 p6 p4 p2 p5 p3

Co-ordinates
P1=X15 Z0
p1

P2= X15 Z-10


15 20 25 30

P3=X20 Z-10
P4=X20 Z-20 P5= X25 Z-20 P6=X25 Z-30

10 10

10

P7= X30 Z-30;

25

[BILLET X25 Z70 G21G98 G28 U0 W0 M06 T01 G01 X20 Z-20 G01 X25 Z-20 G01 X25 Z-30 N10 G01 X30 Z-30 G70 P1 Q10 S2000 F25

M03 S1500
G00 X26 Z1 G71 U0.5 R1.0 G71 P1 Q10 U0.1 W0.1 F40 N1 G01 X15 G01 Z0 G01 X15 Z-10 G01 X20 Z-10

G28 U0 W0
M05 M30

26

27

MULTIPLE FACING CYCLE(G72)


Syntax:
G72 W R W-depth of cut(0.5),R-retract example
p1 p2 p3 p4 p5 p6

G72 PQUW F P-starting block number Q-Ending block number U-Finishing allowance in diameter(0.1) W-Finishing allowance in length(0.1) F-feed

28

Pattern Repeating Cycle(G73)


Syntax:

G73 U W R
G73 P Q U W F U-Total material removed radially i.e.., (D-d)/2 W-(0 for turning ) Relief in z- axis U 1 R- Number of passes= depth of cut(0.5)

29

P6 P5 P4

P3

P2 P1 10 20 25

25 10 15 U 7.5 2 2 7.5 R 1 16 0.5


passes

5 15

15

20

10

Co-ordinates:
P1=X10 Z0 P2 =X20 Z-10

P3=X20 Z-30
P4=X20 Z-45 P5=X20 Z-60,P6=X25 Z-65
30

[BILLET X25 Z80 G21G98 G28U0 W0 M06 T01 M03 S1500 G00 X26 Z1

G02 X20 Z-45 R7.5


G01 X20 Z-60 N20 G01 X25 Z-65

G70 P10 Q20 S2000 F25


G28 U0 W0 M05 M30]

G73 U7.5 W0 R16


G73 P10 Q20 U0.1 W0.1 F35 N10 G01 X10 G01 Z0 G01 X20 Z-10 G01 X20 Z-30

31

GROOVING

32

MULTIPLE GROOVING(G75)
Syntax:
G75 R G75 X Z P Q F R-Retract

X-Root Diameter of groove


Z-Position of end of groove in x-axis P-pecking/depth of cut in microns

Q-Shifting of tool in microns


F-feed
33

Ex:for single groove

[BILLET X22 Z50


G21G98 G28 U0 W0

15

22

M06 T02
M03 S500

2mm Grooving Tool

G00 X23 Z-7

G75 R1
G75 X15 Z-10 P100 Q1000 F15 G28 U0 W0 M05 M30;]
34

THREADING

35

36

P = Pitch = 1/Number of threads per inch (tpi) H = Angular Depth = 0.866025 x P H/8 = Shortening of major dia = 0.108253 x P H/4 = Shortening of minor dia = 0.216506 x P d = Actual Depth = 0.541266 x P r = Radius at the Root = 0.1443 x P Hn = Basic height of Internal Thread = 0.54127 x P Hs = Basic height of External Thread = 0.61344 x P

37

38

MULTIPLE THREADING CYCLE(G76)


SECOND BLOCK Syntax: G76 P Q R G76 X Z P Q F FIRST BLOCK:

X-Minor diameter(mm)
Z-Thread Length P-Thread height (microns) Q-Depth of cut for first pass in microns

Q-depth of cut for each passF-Pitch of the thread R-Finishing Allowance

Ex Thread calculations for M32X1mm pitch


d=D-2P P-thread height=0.613Xpitch of the thread
39

So d=32-2X0.613=30.774mm

[BILLET X32 Z70


G21 G98 G28 U0 W0 -settings

M06 T01
M03 S400 G00 X33 Z1 G76 P031560 Q50 R0.015

-load the tool

-Rapid positioning -cuts the entire thread in one block

G76 X30.774 Z-12 P0613 Q100 F1

G28 U0 W0
M05 M30] -program end
40

THREADING CYCLE(G92) G92 X Z F X-minor dia| Z-thread length F-pitch EX:M32x1 mm pitch

41

[BILLET X32 Z70 G21 G98 SETTINGS

G28 U0 W0
M06 T01 M03 S400 G00 X33 Z1 LOAD THE TOOL SET THE SPINDLE SPEED RAPID POSITON

G92 X31.8 Z-12 F1


X31.7 X31.6 X31.5 X31.4 X31.3 X31.0 X30.9 X30.8 X30.774 G28 U0 W0 M05 M30]

FIRST THREADING CYCLE REMOVING 0.2mm MATERIAL

FINAL CUT PROGRAM END

42

43

You might also like