0% found this document useful (0 votes)
11 views22 pages

Standard Fixed Cycles: G81 G83 G84 G85 G86 G87 G88 G89

The document outlines standard fixed cycles for CNC machining, including various drilling and milling operations with specific G-code commands. It provides examples of CNC programs for machining different workpieces, detailing operations, tool types, speeds, feeds, and depths. Additionally, it includes definitions for specific cycles and preparatory functions relevant to CNC programming.

Uploaded by

sinaipeninsula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views22 pages

Standard Fixed Cycles: G81 G83 G84 G85 G86 G87 G88 G89

The document outlines standard fixed cycles for CNC machining, including various drilling and milling operations with specific G-code commands. It provides examples of CNC programs for machining different workpieces, detailing operations, tool types, speeds, feeds, and depths. Additionally, it includes definitions for specific cycles and preparatory functions relevant to CNC programming.

Uploaded by

sinaipeninsula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Standard fixed cycles

1 G81 ‫دورة الثقب‬


G81 X 1,5 Y 2 Z -15 B 20 F S M
2 G83 ‫دورة الثقب العميق‬
G83 X 1,5 Y 2 Z -27 B 20 I 3 J 5 K 10 F S M
3 G84 ‫دورة قطع اللولب‬
G84 X 1,5 Y 5 Z -12 B 20 I 3 J 1. 5 F S M
4 G85 ‫دورة البرغلة‬
G85 X 1,5 Y 2 Z -20 B 20 F S M
5 G86 ‫دورة تجويف‬
G86 X 1,5 Y 2 Z -20 B 20 F S M
6 G87 ‫دورة التجويف المستطيل‬
G87 X 60 Y 50 Z 1-0 B2 R8 I 70 J-1 K5 F S M
7 G88 ‫دورة تفريز مجرى‬
G88 X 60 Y 15 Z -10 B2 I 70 J-1 K5 F S M
8 G89 ‫دورة تفريز دائري‬
G89 Z -10 B 2 R 20 I 70 J-1 K5 F S M

‫تعريف الدورة وندائها‬

G79
G79 X 50 Y 40 Z0
G79 B=40 ° L=30 Z0
G78
G78 P1 X 50 Y 40 Z0
G78 P2 X 50 Y 40 Z0
G78 P3 X 50 Y 40 Z0
G79 P1 P2 P3 or G77 P1
G77
G77 X 50 Y 40 Z0 R I J (K)
G77 X 50 Y 40 Z0 R I J (B=40 °)
‫الدوال التحضيرية الخاصة‬

‫‪ .1‬القفز والتكرار ‪.G14‬‬

‫‪ .2‬إزاحة نقطة الصفر ‪.G93/G92‬‬

‫‪ .3‬العكس ‪.G73/G72‬‬

‫‪ .4‬التكبير والتصغير بواسطة ‪.G73 A4 =…..‬‬

‫عملية القفز والتكرار‪G14‬‬


Problem 1
The workpiece that shown in fig are be machined, It is required to write a CNC program
to be machined the boundary, holes, and all shapes. The workpiece is 20 mm, depth of
milling contour is 3 mm, depth of rectangular pocket is 6mm, depth of long pocket is 8
mm, depth of holes is 7mm, and depth of the 2threads is 12 mm. get the tool diameters
from figure and assume any missing data.

The solution
Operation Tool type Tool Speed feed coolant Depth(mm)
diameter (rpm)
(mm)
1 boundary End mill T01 Ø 6 1000 50mm/min yes 3

2 Rectangular End mill T01 Ø 6 1000 50mm/min yes 6


slot
3 Round End mill T02 Ø 10 1000 50mm/min yes 8
pocket
4 long pocket End mill T02 Ø 10 1000 50mm/min yes 8

5 The holes’ Twist drill T03 Ø 3 750 0.05mm/rev yes 7


circle
6 The first Twist drill T04 Ø 8 750 0.05mm/rev yes 12
hole
7 The second Twist drill T05 Ø 6 750 0.05mm/rev yes 12
hole
8 The first tape T06 Ø 8 750 0.05mm/rev yes 12
threading
9 The second Tape T07 Ø 6 750 0.05mm/rev yes 12
threading

The CNC program:

O0002
N010 G90 G17 G71 G54
N020 M06 T01
N030 M03 S1000
N040 G94 F50
N050 G41
N060 G00 X0 Y0 Z10
N070 G01 X0 Y0 Z-3 M07
N080 G01 X0 Y75 z-3
N090 G01 X75 Y75 Z-3
N100 G01 X75 Y0 Z-3
N110 G01 X0 Y0 Z-3
N120 G00 X5 Y5 Z10
N130 G01 X5 Y5 Z-3
N130 G01 X5 Y70 Z-3
N140 G01 X70 Y70 Z-3
N150 G01 X70 Y5 Z-3
N160 G01 X5 Y5 Z-3
N170 G00 X5 Y5 Z10
N180 G40
N190 G87 X30 Y15 Z-6 B2 R3 I70 J-1 K3 F50 S1000 M08
N200 G79 X25 Y57,5 Z0
N210 G80
N220 G00 X0 Y0 Z40 M05 M09
N230 M06 T02
N240 G94 M03
N250 G89 Z-8 B2 R10 I70 J-1 K4 F50 S1000 M07
N260 G80
N270 G88 X35 Y10 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N280 G79 X35 Y12.5 Z0 B=30°
N290 G80
N300 G00 X0 Y0 Z40 M05 M09
N310 M06 T03
N320 G95 M03
N330 G81 X1,5 Y5 Z-7 B20 F0,05 S750 M07
N340 G77 X18 Y20 Z0 R20 I45 J6 K270
N350 G80
N360 G00 X0 Y0 Z40 M05 M09
N370 M06 T04
N380 G95 M03
N390 G81 X1,5 Y5 Z- B20 F0,05 S750 M07
12
N400 G79 X25 Y57,5 Z-6
N410 G80
N420 G00 X0 Y0 Z40 M05 M09
N430 M06 T05
N440 G95 M03
N450 G81 X1,5 Y5 Z- B20 F0,05 S750 M07
12
N460 G79 X57,5 Y58,5 Z-8
N470 G80
N480 G00 X0 Y0 Z40 M05 M09
N490 M06 T06
N500 G95 M03
N510 G84 X1,5 Y5 Z- B20 I3 J1.5 K4 F0,05 S750 M07
12
N520 G79 X25 Y57,5 Z-6
N530 G80
N540 G00 X0 Y0 Z40 M05 M09
N550 M06 T07
N560 G95 M03
N570 G84 X1,5 Y5 Z- B20 I3 J1 K4 F0,05 S750 M07
12
N580 G79 X57,5 Y58,5 Z-8
N590 G80
N600 G00 X0 Y0 Z40 M05 M09
N610 G53
N620 M30
Problem 2
The workpiece that shown in fig are be machined, It is required to write a CNC program
to be machined the boundary, the rectangular pocket, the deep holes, the T-slots, and
the L-slots in the brass workpiece. The workpiece is 25 mm, depth of milling contour is
5 mm, depth of rectangular pocket is 6mm, depth of T-slots and L-slots is 8 mm, and
depth of holes is 15mm. get the tool diameters from figure and assume any missing
data.

The solution
Operation Tool type Tool Speed feed coolant Depth(mm)
diamete (rpm)
r(mm)
1 boundary End mill T01 Ø 10 1000 50mm/min yes 5

2 Rectangular End mill T01 Ø 10 1000 50mm/min yes 6


slot
3 T-slots End mill T01 Ø 10 1000 50mm/min yes 8

4 The small T- End mill T02 Ø 5 1000 50mm/min yes 8


slot
5 The L-slot End mill T03 Ø 8 1000 50mm/min yes 8

6 The 2 holes Twist drill T04 Ø 6 750 0.05mm/rev yes 15

The CNC program:

O0003
N010 G90 G17 G71 G54
N020 M06 T01
N030 M03 S1000
N040 G94 F50
N050 G41
N060 G00 X0 Y10 Z150
N070 G01 X0 Y-5 Z150 M07
N080 G01 X0 Y-5 Z0
N090 G01 X150 Y-5 Z0
N100 G01 X150 Y-5 Z150
N110 G01 X0 Y-5 Z150
N120 G00 X10 Y10 Z130
N130 G01 X10 Y-5 Z130
N130 G01 X10 Y-5 Z15
N140 G01 X30 Y-5 Z10
N150 G01 X110 Y-5 Z10
N160 G01 X140 Y-5 Z15
N170 G01 X140 Y-5 Z120
N180 G02 X120 Y-5 Z140 R20
N190 G01 X85 Y-5 Z140
N200 G03 X45 Y-5 Z140 R20
N210 G01 X20 Y-5 Z140
N220 G02 X10 Y-5 Z130 R10
N230 G00 X10 Y10 Z130
N240 G40
N250 G87 X70 Y40 Z-6 B2 R5 I70 J- K3 F50 S1000 M07
1
N260 G79 X110 Y0 Z60
N270 G80
N280 G88 X10 Y40 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N290 G79 X30 Y0 Z35
N300 G88 X45 Y10 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N310 G79 X75 Y0 Z50
N320 G80
N330 G14 J1 N280 N320
N340 G93 X30 Y0 Z80
N350 G00 X0 Y10 Z0 M05 M09
N360 M06 T02
N370 G94 F50 M03 M07 S1000
N380 G14 J1 N280 N320
N390 G73 A=0.5
N400 G93 X50 Y0 Z65
N410 G72
N420 G00 X0 Y10 Z0 M05 M09
N430 M06 T03
N440 M03 G94
N450 G88 X26 Y8 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N460 G79 X97 Y-6 K48
N470 G88 X8 Y26 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N480 G79 X115 Y-6 K48
N490 G80
N500 G14 J1 N450 N490
N510 G73 Y-1
N520 G93 X97 Y-6 Z72
N530 G00 X0 Y10 Z0 M05 M09
N540 M06 T04
N550 G95 M03
N560 G83 X2 Y2 Z-15 B20 I5 J5 K5 S750 F0.05 M07
N570 G79 B1-60° L=33 Z0
N580 G91
N590 G79 B2=12° L=28 Z0
N600 G90
N610 G80
N620 G00 X0 Y10 Z0 M05 M09
N630 M53
N640 M30
Problem 3
The workpiece that shown in fig are be machined, It is required to write a CNC program
to be machined, get the tool diameters from figure and assume any missing data .

The solution
Operation Tool Tool Speed feed coolant Depth(mm)
type diameter(mm) (rpm)
1 The contour End mill Ø 8 1000 50mm/min yes 20
T01
2 The first End mill Ø 8 1000 50mm/min yes 5
Rectangular T01
pocket
3 The round End mill Ø 8 1000 50mm/min yes 10
pocket T01
4 The first End mill Ø 8 1000 50mm/min yes 4
long pocket T01
5 The second End mill Ø 8 1000 50mm/min yes 2.7
Rectangular T01
pocket
6 The second End mill Ø 8 1000 50mm/min yes 5.2
long pocket T01
7 The holes Twist Ø 6 750 0.05mm/rev yes 12
drill T02

The CNC program:

O0005
N010 G90 G18 G71 G54
N020 M06 T01
N030 M03 S1000
N040 G94 F50
N050 G41
N060 G00 X0 Y10 Z150
N070 G01 X0 Y-20 Z150 M07
N080 G01 X0 Y-20 Z0
N090 G01 X150 Y-20 Z0
N100 G01 X150 Y-20 Z150
N110 G01 X0 Y-20 Z150
N120 G00 X0 Y10 Z150
N130 G40
N130 G87 X50 Y30 Z-5 B2 R7.5 I70 J-1 K2 S1000 F50 M07
N140 G79 X30 Y0 Z20
N150 G80
N160 G89 Z-5 B2 R12.5 I70 J-1 K2 S1000 F50 M07
N170 G79 X30 Y-5 Z20
N180 G80
N190 G88 X45 Y11.5 Z-4 B2 I70 J-1 K2 S1000 F50 M07
N200 G79 X126.5 Y0 Z19.77 B1=17.4°
N210 G80
N220 G87 X45 Y25 Z-2.7 B2 R6 I70 J-1 K2 S1000 F50 M07
N230 G79 X110 Y0 Z55
N240 G80
N250 G88 X12.5 Y80 Z-5.2 B2 I70 J-1 K1.2 S1000 F50 M07
N260 G79 X10 Y0 Z130
N270 G80
N280 G00 X0 Y100 Z0 M05 M09
N290 M06 T02
N300 G95 M03
N310 G81 X2 Y2 Z-12 B20 F0.05 S750 M07
N320 G77 X52 Y0 Z80 R17.5 I32.5 J7
N330 G79 X70 Y0 Z130
N340 G91
N350 G79 X16.7 Y0 Z-
17.51
N360 G79 X15.917 Y0 Z0
N370 G79 X12.8 Y0 Z0
N380 G79 X17.71 Y0 Z-19.2
N390 G90
N400 G80
N410 G00 X0 Y10 Z0 M05 M09
N420 G53
N430 M30
Problem 4
The workpiece that shown in fig are be machined, It is required to write a CNC program
to be machined, get the tool diameters from figure and assume any missing data .
Solution:

Tools:
tool type ∅ f s coolant
1 Endmill T01 10 100 1500 Mist
2 Endmill T02 6 80 1200 Flood
3 Twist drill T03 5 0,08 1000 Flood
4 Twist drill T04 6 0.08 1000 Flood
5 Thread tool T05 m6 0.08 400 Flood
The CNC program:

O0006
N010 G17 G21 G54 G90
N020 G94 F1000
N030 M06 T01
N040 M03 S1500
N050 G00 X0 Y0 Z10
N060 G41
N070 G01 X5 Y5 Z-10 M07
N080 G01 X5 Y67
N090 G03 X13 Y75 R8
N100 G01 X 65 Y75
N110 G01 X 75 Y65
N120 G01 X75 Y15
N130 G02 X65 Y5 R10
N130 G01 X5 Y5
N140 G00 X5 Y5 Z10
N150 G40
N160 G00 X0 Y0 Z150
N170 M06 T02
N180 M03 S1200
N190 G88 X6 Y38.27 Z-4 B5 I 100 J-1 K5 M08 F80
N200 G79 X12 Y45 Z0 B145
N210 G80
N220 G87 Z-4 B5 R20 I 70 J -1 K2 M08
N230 G79 X40 Y25 Z0
N240 G80
N250 G89 Z-4 B5 R20 I 70 J-1 K2 M08
N260 G79 X57,5 Y 57,5 Z0
N270 G80
N280 G00 X0 Y0 Z150
N290 M06 T3
N300 G95 F0.08
N310 M03 S1000
N320 G83 X1.5 Y5 Z-20 B20 I3 K10
N330 G79 X40 Y20 Z-4
N340 G79 X40 Y30 Z-4
N350 G80
N360 G00 X0 Y0 Z150
N370 M06 T03
N380 M03 S1000
N390 G83 X1,5 Y5 Z-20 B15 I3 J1,5 K10
N400 G77 X Y57,5 Z-4 R 7,5 I0 J4 M08
57,5
N410 G80
N420 G00 X0 Y0 Z150
N430 M06 T04 G94 M03 S400
N440 G84 X1,5 Y5 Z-20 B15 I3 J1,5 F600
N450 G77 X57,5 Y57,5 Z-4 R7,5 I0 J4
N460 G80
N470 M05 G00 X0 Y0 Z150
N480 G53 M09
N490 M30
N500 G17 G21 G54 G90
Problem 5
The workpiece that shown in fig are be machined, It is required to write a CNC program
to be machined the boundary, holes, and all shapes. The workpiece is 20 mm, depth of
milling contour is 3 mm, and depth of holes is 7mm. get the tool diameters from figure
and assume any missing data.

The solution
Operation Tool type Tool Speed feed coolant Depth(mm)
diameter (rpm)
(mm)
1 boundary End mill T01 Ø 6 1000 50mm/min yes 3

2 Rectangular End mill T01 Ø 6 1000 50mm/min yes 6


slot
3 Round End mill T02 Ø 10 1000 50mm/min yes 8
pocket
4 long pocket End mill T02 Ø 10 1000 50mm/min yes 8

5 The holes’ Twist drill T03 Ø 3 750 0.05mm/rev yes 7


circle

The CNC program:

O0008
N010 G90 G17 G71 G54
N020 M06 T01
N030 M03 S1000
N040 G94 F50
N050 G41
N060 G00 X0 Y0 Z10
N070 G01 X0 Y0 Z-3 M07
N080 G01 X0 Y75 z-3
N090 G01 X75 Y75 Z-3
N100 G01 X75 Y0 Z-3
N110 G01 X0 Y0 Z-3
N120 G00 X5 Y5 Z10
N130 G01 X5 Y5 Z-3
N130 G01 X5 Y70 Z-3
N140 G01 X70 Y70 Z-3
N150 G01 X70 Y5 Z-3
N160 G01 X5 Y5 Z-3
N170 G00 X5 Y5 Z10
N180 G40
N190 G87 X30 Y15 Z-6 B2 R3 I70 J-1 K3 F50 S1000 M08
N200 G79 X25 Y57,5 Z0
N210 G80
N220 G00 X0 Y0 Z40 M05 M09
N230 M06 T02
N240 G94 M03
N250 G89 Z-8 B2 R10 I70 J-1 K4 F50 S1000 M07
N260 G80
N270 G88 X35 Y10 Z-8 B2 I70 J-1 K4 F50 S1000 M07
N280 G79 X35 Y12.5 Z0 B=30°
N290 G80
N300 G00 X0 Y0 Z40 M05 M09
N310 M06 T03
N320 G95 M03
N330 G81 X1,5 Y5 Z-7 B20 F0,05 S750 M07
N340 G77 X18 Y20 Z0 R20 I45 J6 K270
N350 G80
N360 G00 X0 Y0 Z40 M05 M09
N370 G53
N380 M30

You might also like