Download as pdf or txt
Download as pdf or txt
You are on page 1of 29

NC Programming

Exercises
Milling

10 CNC PROG EXERC - MILLING

Oscar Olvera

1
Machining Center
Axes of motion

X
Y

2
Machining Center
Workpiece ZERO

ZERO

3
CNC Machining Center
START

TASK MACH. CENTER


% %
No. of program O2004
Units: MM / INCH G21 / G20
Feed units: units/MIN or units /REV G94 / G95
Send “HOME” G91 G28 X0 Y0 Z0
Working Mode: Absolute / Incremental G90 / G91
Load Tool # X M06 T0X
Turn ON Spindle: CW / CCW M03 / M04
Spindle speed: RPM / Cutting velocity S1500
Activate compensation (length) OPT G43 H01
Activate compensation (radius) OPT G42 D01 / G41 D01
Turn ON Coolant: Few / Flood M07 / M08
4
CNC Machining Center

END

TASK MACH. CENTER


Turn coolant off M09
Stop spindle M05
Cancel Compensation G40
Send “HOME” G91 G28 X0 Y0 Z0
Unload tool / Change tool M06 T0 / M06 T0X0X
End program M30
%

5
Milling M1

Write the NC program for the contouring operation on the part shown, under the conditions
specified

ZERO

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Countouring 03 Endmill, 600 2500 8 mm
12 mm  mm/min CW

6
Milling M1

 Stock material: 100x70x12mm


 Working Mode: ABSOLUTE
 Use COOLANT Y
 Tool trajectory:
Counterclockwise, CCW
X

Z X

7
Milling M1

Cutter must enter


the workpiece from
one side.

To define the cutter


trajectory, its
diameter must be
considered.
Milling M1

Approaching motions

9
Milling M1

Approaching motions

10
Milling M1

Approaching motions

11
Milling M2

Write the NC program to machine the component shown in the figure, under the following conditions:

• Mode: Absolute
• ZERO: Top surface, bottom-left
corner on plan view
• Tool trajectory: Clockwise
• Use Coolant

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Contouring 02 Endmill, 800 2000 4 mm
10 mm  mm/min CW
2 Drilling 03 Drill, 0.20 3000
10 mm  mm/rev CW
13
Milling M2

ZERO

14
Milling M2

15
Milling M2

16
NC Programming Exercises

Milling M3

Write the NC program to machine the component shown in


the figure, under the following conditions:

• Use LENGTH and RADIUS COMPENSATION.


• Stock Material: Block 100 x 80 x 10 mm
• ZERO: Top surface of the part, left – bottom corner.
• Working Mode: ABSOLUTE
• Use COOLANT
• Tool trajectory: CCW, Counterclockwise

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Contouring 01 Endmill, 800 2500 5 mm
15 mm  mm/min CW
2 Drilling 02 Drill, 0.20 2000
10 mm  mm/rev CW

17
NC Programming Exercises
Milling M3

ZERO

Z X
18
NC Programming Exercises
Milling M3

ZERO

Z X
19
NC Programming Exercises
Milling M4

Write the NC program to machine the component shown in the figure, under the
following conditions:
– Use LENGTH and RADIUS COMPENSATION.
– Stock Material: Block 112 x 85 x 12 mm
– ZERO: Top surface of the part, left – bottom corner.
– Working Mode: ABSOLUTE
– Use COOLANT in all operations
– Tool trajectory: CW, clockwise

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Contouring 01 Endmill, 800 2500 4 mm
15 mm  mm/min CW
2 Drilling 02 Drill, 0.20 2000
10 mm  mm/rev CW
20
NC Programming Exercises
Milling M4 ZERO

21
NC Programming Exercises
Milling M4

22
NC Programming Exercises
Milling M5

Write the NC program to machine the component


shown in the figure, under the following conditions:

• Use LENGTH and RADIUS COMPENSATION.


• Stock Material: Block 268 x 176 x 25 mm
• ZERO: Top surface of the part, left – bottom corner.
• Working Mode: ABSOLUTE
• Use COOLANT in all operations
• Tool trajectory: CW, clockwise

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Contouring 03 Endmill, 1000 2500 10 mm
12 mm  mm/min CW
2 Drilling 05 Drill, 0.20 2000
12 mm  mm/rev CW
23
NC Programming Exercises
Milling M5

Profile for Contouring


Depth: 10 mm

24
Milling M5
Profile for Contouring
Depth: 10 mm

X -10
X
Y -10
Z 50
X -10
Y -10
Z -10

25
NC Programming Exercises
Milling M6

Write the NC program to machine the component shown in the figure, under the following
conditions:

• Use LENGTH and RADIUS COMPENSATION.


• ZERO: Top surface of the part, left – bottom corner.
• Working Mode: ABSOLUTE
• Use COOLANT
• Tool trajectory: CCW, counterclockwise

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 Contouring 01 Endmill, 1000 2500 10 mm
12 mm  mm/min CW

26
Milling M6

Y
X

Use Tool 01
Use cutter compensation
Workpiece thickness: 10 mm
Milling M6

Use Tool 01
Use cutter compensation
Workpiece thickness: 10 mm
NC Programming Exercises
Milling M7

Write the NC program to machine the component shown in the figure, under the
following conditions:

• Use LENGTH and RADIUS COMPENSATION.


• ZERO: Top surface of the part, left – bottom corner.
• Working Mode: ABSOLUTE
• Use COOLANT
• Tool trajectory:
• External, clockwise, CW
• Internal, counterclockwise, CCW

Op. Description Tool Tool Feedrate RPM Depth of


No. No. Description cut
1 External 01 Endmill, 1000 2500 20 mm
Contouring 12 mm  mm/min CW
2 Internal 02 Endmill, 800 2000 10 mm
Contouring 12 mm  mm/min CW

29
60
External contour, CW
Milling M7 Depth: 20 mm

Internal contour, CCW


Depth: 10 mm

35
40

65
260
All Radius: 12 mm

120
65

65
65
45

40
130

You might also like