CNC Programming "Milling": Module Objectives
CNC Programming "Milling": Module Objectives
“Milling”
Module Objectives:
1) To use Topmill
2) To create NC programs for different
milling operations
Milling Machine
G-Codes
G00, G01, G02, G03, G04, G54, G90, G91, G94 and G95
Are the same as explained in module 4.
Function Description
G17,G18, and G19 Working plane selection
G40 Cutter radius compensation OFF.
G41 Cutter radius compensation ON Left.
G42 Cutter radius compensation ON Right.
G70 Input system inch
G71 Input system metric
G-Codes
The following G-Codes and their relative slides will be used as
a reference when solving some practical tasks in this module.
Function Description
G17
G41, G42 and G40
With G41 / G42 the tool traverse at equal distances to
the programmed contour along its path. This distance
is the dimension of the radius of the cutter.
Example:
Example:
Make a hole at
point X20 Y20
to a depth = 10mm
Cycle 81
G54
Return plane absolute 2
S1500 M3 F120
Reference plane absolute 0
G00 X20 Y20 Z2 Safety distance 1
Cycle 81 (2,0,1,-10,0) Final drilling depth -10
G0 Z40 Depth incremental 0
M30
Cycle 83
Deep Drilling Cycle
Cycle 83
Cycle 83
Cycle 83 (2,2,,-86,,,35,4,1,1,1,1)
Holes 1
To make a row of holes
Holes 1
Holes 1 - Example
Holes 2
To make a circle of holes
Holes 2
Holes 2 - Example
Pocket – (Pocket1/Pocket2)
Pocket 1
Pocket 1 - Example
Pocket 2
Pocket 2 - Example
Example of CNC Programming
Given That:
Absolute Positioning Mode,
Cutting Tool No. 1, Spindle Speed 1000 RPM,
Clockwise Direction Of Rotation At Feed Rate 200
mm/min .
Hole Position X10, Y12, And Depth Of Hole 10 mm.
Solution
NC-Program
%Mill_1
N005 G54
N010 G90
N015 G97 S1000 M03
N020 T1 D1
M6
N025 …………………
N030 …………………
N025 G00 X10 Y12 Z10
Front
View
N030 G01 Z-10 F200
Z Axis Feed To Drill The Hole
Top
View
Front
View
N035 G00 Z6
Rapid Movement In Z Axis Out
Of Hole
Top
View
Front
View
The NC-Program