Examples of Milling & Turning Part Program

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 11

EXAMPLE 1: MILLING PART PROGRAM

Write a manual part program for machining the profile shown below. All dimensions are in inches. The
absolute offsets are -100, -100 and 100 inches in X, Y and Z directions respectively. Cutter Diameter is 2
inches.

Program Points:

Coordinates of Program Points:


Points

P1
P2
P3
P4
P5
P6
P1

-1
11
11
8
2
-1
-1

-1
-1
4
7
7
4
-1

2
-2
-2
-2
-2
-2
-2

Program:
N10 G90 G20
N20 G92 X-100 Y-100 Z100
N30 M06 T01
N40 G00 X-1 Y-1 Z5 M03 S800
N50 G01 Z-2 F30 M08 G94
N60 X11
N70 Y4
N80 G03 G17 X8 Y7 I-3 J0
N90 G01 X2
N100 G03 X-1 Y4 I0 J-3
N110 G01 Y-1
N120 Z5 M09
N130 G00 X-20 Y-20
N140 M05 G59
N150 M02

//P1
//P2
//P3
//P4
//P5
//P6
//P1

EXAMPLE 2: MILLING PART PROGRAM


Write a manual part program for machining the profile shown below. All dimensions are in mm. The
absolute offsets are 2000, 1500 and 500 mm in X, Y and Z directions respectively. Cutter Diameter is
25mm.

Program Points:

Coordinates of Program Points:


Points

P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P1

-12.5
162.5
162.5
220
232.5
232.5
180
107.5
107.5
80
40
-12.5
-12.5

-12.5
-12.5
0
57.5
57.5
70
122.5
122.5
110
82.5
82.5
30
-12.5

-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5
-7.5

Program:
N10 G90 G21
N20 G92 X200 Y1500 Z500
N30 M06 T01
N40 G00 X-12.5 Y-12.5 Z2.5 M03 S800
N50 G01 Z-7.5 F25 M08 G94
N60 X162.5
N70 Y0
N80 G02 G17 X220 Y57.5 I57.5 J0
N90 G01 X232.5
N100 Y70
N110 G03 X180 Y122.5 I-52.5
N120 G01 X107.5
N130 Y110
N140 G02 X80 Y82.5 I-27.5
N150 G01 X40
N160 G03 X-12.5 Y30 I0 J-52.5
N170 G01 Y-12.5
N180 Z5 M09
N190 G00 X-70 Y-70
N200 M05 G59
N210 M02

//P1
//P2
//P3
//P4
//P5
//P6
//P7
//P8
//P9
//P10
//P11
//P12
//P1

EXAMPLE 3: MILLING PART PROGRAM WITH COMPENSATIONS


Write a manual part program for machining the profile shown below. All dimensions are in inches. The
absolute offsets are -100, -100 and 100 inches in X, Y and Z directions respectively. Cutter Diameter is 2
inches. Machine using cutter radius compensation.

Program Points:

Coordinates of Program Points:


Points

P1
P2
P3
P4
P5
P6

-1
10
10
8
2
0

-1
0
4
6
6
4

2
-2
-2
-2
-2
-2

Program:
N10 G90 G20
N20 G92 X-100 Y-100 Z100
N30 M06 T01 H03 D03
N40 G00 X-1 Y-1 Z5 M03 S800
N50 G01 Z-2 F30 M08 G94
N60 G42 X10 Y0
N70 Y4
N80 G03 G17 X8 Y6 I-2 J0
N90 G01 X2
N100 G03 X0 Y4 I0 J-2
N110 G01 Y0
N120 Z5 M09
N130 G40
N140 G00 X-20 Y-20
N150 M05 G59
N160 M02

//P1
//P2
//P3
//P4
//P5
//P6
//P1

EXAMPLE 4: TURNING PART PROGRAM


Write a manual part program for machining the profile shown below. All dimensions are in mm. The
absolute offsets are X100 and Z-200. Tool nose radius is 1mm.

Coordinates of Program Points:


Points

P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P1

45
-1
-1
19
19
30
30
39
40
40
45

0
0
9
9
0
-11
-31
-40
-40
-91
0

Program:
N10 G90 G21 G07
N20 G92 X100 Z-200
N30 T0101
N40 M03 S500 M08
N50 G00 X45 Z0
N60 G01 X-1 F5 G95
N70 Z9 F20
N80 X19
N90 Z0 F5
N100 G02 X30 Z-11 R11
N110 G01 Z-31
N120 G03 X39 Z-40 R9
N130 G01 X40
N140 Z-91
N150 G00 X45 Z0
N160 M05 M09
N170 G59
N150 M30

//P1
//P2
//P3
//P4
//P5
//P6
//P7
//P8
//P9
//P10
//P1

EXAMPLE 5: TURNING PART PROGRAM


Write a manual part program for machining the profile shown below. All dimensions are in mm. The
absolute offsets are X100 and Z-100. Tool nose radius is 1mm.

Tan 22.5 = EG/OG


EG = OG Tan 22.5
EG = 0.4141
PE = 1 EG = 0.5858

Coordinates of Program Points:


Points

P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P1

30
-1
-1
9
9
20
20
39
40
40
70
70
50
50
30

0
0
5
5
0
-11
-21
-40
-40
-70.5858
-100.5858
-81
-81
-121
0

Program:
N10 G90 G21 G07
N20 G92 X100 Z-100
N30 T0101
N40 M03 S500 M08
N50 G00 X30 Z0
N60 G01 X-1 F5 G95
N70 Z5 F20
N80 X9
N90 Z0 F5
N100 G02 X20 Z-11 R11
N110 G01 Z-231
N120 G03 X39 Z-40 R19
N130 G01 X40
N140 Z-70.5858
N150 X70 Z-100.5858
N160 Z-81
N170 X50
N180 Z-121
N190 G00 X30 Z0
N200 M05 M09
N210 G59
N150 M30

//P1
//P2
//P3
//P4
//P5
//P6
//P7
//P8
//P9
//P10
//P11
//P12
//P13
//P14
//P1

You might also like