CNC Programming Workbook For Milling 1a
CNC Programming Workbook For Milling 1a
WORKBOOK
MILL
TABLE OF CONTENTS
LESSON-1 ..ABSOLUTE & INCREMENTAL POSITIONING ........................................................1
EXERCISES 1 THROUGH 4 ABSOLUTE & INCREMENTAL ........................................... 5
LESSON-2 .. INTRODUCTION TO CNC CODES .......................................................................9
AUTOMATIC TOOL CHANGER STANDARD TOOL CAROUSEL ................................... 10
COMMONLY USED PREPARATORY G-CODES ........................................................... 11
COMMONLY USED MISCELLANEOUS M-CODES ...................................................... 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
TABLE OF CONTENTS
LESSON-5 .. DRILLING USING CANNED CYCLES ....................................................................29
CNC PART #2 - SPOT AND DRILLING PROGRAM USING G81.................................... 30
CNC PART #2 - CREATE THE PROGRAM TO SPOT AND DRILL .................................. 32
CNC - PART #2 - TYPING UP YOUR PROGRAM USING WINDOWS NOTEPAD........... 34
CNC - PART #2 - BACKPLOTTING .............................................................................. 37
CNC - PART #3 - CREATE THE PROGRAM ................................................................. 39
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Table of Contents - 2
TABLE OF CONTENTS
LESSON-9 .. CIRCULAR INTERPOLATION ..............................................................................91
CNC PART #11 - CIRCULAR INTERPOLATION CREATE THE PROGRAM ..................... 92
CNC PART #12 - CIRCULAR INTERPOLATION CREATE THE PROGRAM ..................... 98
LESSON-10 CUTTER COMPENSATION.................................................................................105
INTRODUCTION TO CUTTER COMPENSATION ......................................................... 106
CNC PART #13 - CUTTER COMPENSATION CREATE THE PROGRAM ........................ 108
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PART #14 - CUTTER COMPENSATION CREATE THE PROGRAM ........................ 115
APPENDIX ..........................................................................................................................123
EXTRA CNC PROGRAMMING EXERCISES .................................................................. 124
PREPATORY FUNCTIONS G-CODES........................................................................ 131
MISCELLANEOUS FUNCTIONS M-CODES .............................................................. 134
STANDARD DRILL SIZES INCHES ............................................................................ 136
INCH TAP DRILL SIZES ............................................................................................... 137
METRIC TAP DRILL SIZES .......................................................................................... 138
Table of Contents - 3
Table of Contents - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-1
Page 1
LESSON-1 Introduction
The CNC Programming Student Workbook includes a DVD with the following Videos and support files on it.
1. Self-Learning Videos
2. Discriminator BackPlot Installation Software
To view whats on the DVD just follow the instructions below. We encourage you to take a few moments to
watch the Getting Started video on the DVD as it provides an overview of how the system works.
fo
tr r
ib
ut
io
Just pop the DVD into your computer, the autorun feature should display the AutoPlay window. Click on the
Run CNC-Mill.exe file as shown below. Note, if this window is not displayed after putting the DVD into your
computer, go to the file manager feature on your computer and select the DVD drive and double click on the
Run CNC-Mill.exe file.
D
is
Page 2
Mill Lesson 1 - 2
The Menu is your easy access to the Instructional Videos that will guide you through the content and
provide you with all the information you need to get through this workbook. You will notice that there are
10 Lessons and a Getting Started link. Each Lesson matches the corresponding lesson in this workbook. Be
sure to watch the video first, it will guide you to information in the workbook.
Step 1: Watch the Getting Started Video. Dont worry about taking notes or filling out anything in the
workbook while you watch the Getting Started Video, it is just a preview of what to expect.
Step 2: The second item on the DVD is the Discriminator installation file. We have provided this to you free
of charge so you can install Discriminator onto your computer. Discriminator Software enables you to type
in the CNC Code (G Code) and watch what it will do. It is a handy tool to see if your CNC Programs are
correct.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1. To access the Discriminator installation file put the DVD into your computer and locate the
Discriminator folder as shown below.
2. Double click on the Discriminator folder as shown above and then double click on the
Discriminator21017.exe file as shown below and follow the onscreen instructions.
Mill Lesson 1 - 3
Page 3
LESSON-1 Introduction
Okay lets get started.
Step 1 - Plug in your headphones or make sure your speakers are plugged in and turned on.
Step 2 - Put the DVD into your computer and launch the menu.
Step 3 - Click on Getting Started and watch the video through to the end. Feel free to pause and rewind the
video if you need to watch something again.
Step 4 - Click on Lesson 1 and then click on Lesson-1 Unit-1, as indicated it is 9 minutes long.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Step 5 - Proceed through the Videos in the proper order and make sure to follow along with the Workbook.
Good luck and have fun.
Page 4
Mill Lesson 1 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
All axis motions are based on a fixed zero reference point, known as ABSOLUTE ZERO (part zero).
Each coordinate is in relation to this absolute zero using Cartesian Co-ordinates.
All axis motions are based on the distance to the next location.
Each coordinate is based on how far the cutter is to move from start to finish.
STARTING AT THE POINT O (ORIGIN), DESCRIBE THE PATH FROM O THROUGH ALL 9 POINTS AND
BACK TO THE POINT O USING G90 & G91
G90
G91
O (Origin)
O1
12
23
34
-6
-1
45
-2
-3
-3
56
-3
-6
-6
-2
67
-3
-2
-5
78
-1
-6
89
-3
9O
-7
Mill Lesson 1 - 5
Page 5
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
All axis motions are based on a fixed zero reference point, known as ABSOLUTE ZERO (part zero).
Each coordinate is in relation to this absolute zero using Cartesian Co-ordinates.
All axis motions are based on the distance to the next location.
Each coordinate is based on how far the cutter is to move from start to finish.
STARTING AT THE POINT O (ORIGIN), DESCRIBE THE PATH FROM O THROUGH ALL 9 POINTS AND
BACK TO THE POINT O USING G90 & G91
G90
Page 6
G91
O (Origin)
O1
12
23
34
45
56
67
78
89
9O
Mill Lesson 1 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
All axis motions are based on a fixed zero reference point, known as ABSOLUTE ZERO (part zero).
Each coordinate is in relation to this absolute zero using Cartesian Co-ordinates.
All axis motions are based on the distance to the next location.
Each coordinate is based on how far the cutter is to move from start to finish.
STARTING AT THE POINT O (ORIGIN), DESCRIBE THE PATH FROM O THROUGH ALL 9 POINTS AND
BACK TO THE POINT O USING G90 & G91
G90
G91
O (Origin)
O1
12
23
34
45
56
67
78
89
9O
Mill Lesson 1 - 7
Page 7
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
STARTING AT THE POINT O (ORIGIN), DESCRIBE THE PATH FROM O THROUGH ALL 9 POINTS AND
BACK TO THE POINT O USING G90 & G91
Page 8
G90
G91
O (Origin)
O1
0.750
0.500
0.750
0.500
12
-0.200
1.875
0.550
2.375
23
0.400
-1.000
0.950
1.375
34
45
56
67
78
89
9O
Mill Lesson 1 - 8
CNC PROGRAMMING
WORKBOOK
FUNCTION
G00
Rapid traverse motion; This is used for non-cutting rapid moves of the machine axis, or
rapid retract moves after cuts have been completed.
Maximum rapid motion (I.P.M.) of a CNC Machine will vary dependent on machine
model.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CODE
G01
Linear interpolation motion; Used for cutting in a straight line under a controlled
feedrate. Maximum feed rate (I.P.M.) of a CNC Machine will vary depending on the
model of the machine.
G02
G03
G04
Dwell
G17
G20
G21
G28
Machine Home (Rapid traverse) G91 is required for rapid move to the G28 reference
point.
G40
LESSON-2
Page 9
Carousel #
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Tool Description
Page 10
10
#4 Center Drill
Mill Lesson 2 - 2
G00
Rapid traverse motion; This is used for non-cutting rapid moves of the machine axis, or
rapid retract moves after cuts have been completed.
Maximum rapid motion (I.P.M.) of a CNC Machine will vary dependent on machine
model.
G01
Linear interpolation motion; Used for cutting in a straight line under a controlled
feedrate. Maximum feed rate (I.P.M.) of a CNC Machine will vary depending on the
model of the machine.
G02
G03
G04
Dwell
G17
G20
G21
G28
Machine Home (Rapid traverse) G91 is required for rapid move to the G28 reference
point.
G40
G41
G42
G43
G49
G53
G54
G80
G81
G82
G83
G84
G90
G91
G98
G99
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CODE
Mill Lesson 2 - 3
Page 11
FUNCTION
M00
The M00 code is used for a Program Stop. The spindle stops and the coolant is turned
off.
Pressing CYCLE START again will continue the program.
M01
M04
M05
M06
The tool change command along with a tool number will action a tool change. This
command will automatically stop the spindle, Z-axis will move up to the machine zero
position and the selected tool will be put in the spindle. The coolant pump will turn off
right before executing the tool change.
M08
Coolant ON command.
M09
M30
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
M03
Starts the spindle CLOCKWISE used for most machining. Must have a spindle speed
defined.
The M03 is used to turn the spindle on at the beginning of program or after a tool
change.
Note: Only one M code can be used per line. And the M-codes will be the last command to be executed in
a line, regardless of where it is located in that line.
Page 12
Mill Lesson 2 - 4
O00023
N10 G20
N30 T8 M06
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Startup
Block
(Machine
Default
Setting)
Mill Lesson 2 - 5
Page 13
N210 M05
Send to machine
zero Z-axis first to
avoid any crash.
*G53 is another way
to return to machine
zero
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N230 G28 X0 Y0
* N230 G53 X0 Y0
N240 M30
N110 M05
Send to machine
zero Z-axis first to
Machine Zero Return - X, Y axis avoid any crash.
N140 M01
N150 T9 M06
*G53 - Positions the machine axis relative to Machine Home. It is non modal.
Page 14
Mill Lesson 2 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
will reach its destination first. So you need to be careful of any obstructions to avoid with this type
of rapid move.
G00 is used when you are positioning the cutter in fresh air.
This G code provides for straight line (linear) motion with programmed feedrate for all axis motions
from point to point. Motion can occur up to three axes at once.
All axes specified will start at the same time and proceed to their destination and arrive
simultaneously at the specified feedrate.
To program a feedrate, the F command is used. The F command is modal and may be specified in a
previous block.
G01 is used for
Drilling a hole
Machining a slot
Machining a profile
Mill Lesson 2 - 7
Page 15
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 16
Mill Lesson 2 - 8
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
1
2
3
Mill Lesson 2 - 9
Page 17
Below is the program to spot drill the three holes with an explanation of each block
Use a 0.375 diameter Spot Drill Tool # 6
Spindle Speed = 2750 Feed rate = 11 IPM
Spot Drill Depth = Z-0.150
X0Y0 is at the centre of the part
Z=0 is the top of the part.
Information inside the parenthesis ( ) is a comment.
The CNC control will ignore all text between the parenthesis
(Program must begin and end with a %)
O1
N10 G20
(Inch programming)
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30 T06 M06
N40 G00 G90 G54 X-1.0 Y-0.875 S2750 M03 (Rapid to the X and Y position and turn on the spindle at
2750 RPM)
N50 G43 H06 Z0.1
(G43 - Activate the tool offset value stored in H06 and rapid to Z0.1)
N60 G01 Z-0.15 F11.0 (Hole #1 - Feed down to Z depth at 11 inches per minute)
N70 G00 Z0.1
(G00- Retract out of hole #1 at rapid to 0.1 above the top of the work piece)
N80 X0 Y0
(Hole #2 - Feed down to Z depth at 11 inches per minute, Feed rate is modal)
(G00- Retract out of hole #2 at rapid to 0.1 above the top of the work piece)
(Hole #3 - Feed down to Z depth at 11 inches per minute, Feed rate is modal)
N130 G53 G00 Z0 M05 (G53 Machine Zero positioning, non modal. Rapid to machine zero in Z, switch
spindle off)
N140 G53 X-15.0 Y0
N150 M30
Page 18
Mill Lesson 2 - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-3
Page 19
Below is the program to spot and drill the three holes with an explanation of each block
Use a 0.375 diameter Spot Drill Tool # 6
Spot Drill Spindle Speed = 2750 Feed rate = 11 IPM
Use a 0.250 diameter Drill Tool # 7
0.250 diameter Drill Spindle Speed = 4500 Feed rate = 15 IPM
Spot Drill Depth = Z-0.150
Drill Depth = Z-0.350
X0Y0 is at the centre of the part
Z=0 is the top of the part.
(Program must begin and end with a %)
O2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
(Inch programming)
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
(SPOT DRILL 0.25 HOLES)
N30 T06 M06
N40 G00 G90 G54 X-1.0 Y-0.875 S2750 M03 (Rapid to the X and Y position of Hole #1 and turn on the
spindle at 2750 RPM)
N50 G43 H06 Z0.1
(G43 - Activate the tool offset value stored in H06 and rapid to Z0.1)
N60 G01 Z-0.15 F11.0 (Hole #1 - Feed down to Z depth at 11 inches per minute)
N70 G00 Z0.1
(G00- Retract out of hole #1 at rapid to 0.1 above the top of the work piece)
N80 X0 Y0
(Hole #2 - Feed down to Z depth at 11 inches per minute, Feed rate is modal)
(G00- Retract out of hole #2 at rapid to 0.1 above the top of the work piece)
(Hole #3 - Feed down to Z depth at 11 inches per minute, Feed rate is modal)
N130 G53 G00 Z0 M05 (G53 Machine Zero positioning, non modal. Rapid to machine zero in Z, switch
spindle off)
N140 G53 X-15.0 Y0
N170 G00 G90 G54 X-1.0 Y-0.875 S4500 M03 (Rapid to the X and Y position of Hole #1 and turn on the
spindle at 4500 RPM)
N180 G43 H07 Z0.1
(G43 - Activate the tool offset value stored in H07 and rapid to Z0.1)
N190 G01 Z-0.35 F15.0 (Hole #1 - Feed down to Z depth at 15 inches per minute through part)
N200 G00 Z0.1
Page 20
(G00- Retract out of hole #1 at rapid to 0.1 above the top of the work piece)
Mill Lesson 3 - 2
N210 X0 Y0
(Hole #2 - Feed down to Z depth, at 15 inches per minute, Feed rate is modal)
(G00- Retract out of hole #2 at rapid to 0.1 above the top of the work piece)
(Hole #3 - Feed down to Z depth at 15 inches per minute, Feed rate is modal)
N260 G53 G00 Z0 M05 (G53 Machine Zero positioning, non modal. Rapid to machine zero in Z, switch
spindle off)
(G53 Rapid in relation to machine zero X-15.0 and Y0)
N270 M30
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 3 - 3
Page 21
Page 22
Mill Lesson 3 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-4
Page 23
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
X
Y
Z
R
F
This G code permits the inclusion of multiple axis motions on one block of program. It is used to
reduce the length of program. The figure below shows the axis motions that are included with a
Canned Cycle Drill.
All Z axis motions are in ABSOLUTE with any other axis motions unaffected.
In a canned cycle drill, the cutter moves at rapid to the X and Y, then to a height above the part at
rapid rate to the R Plane, which is a point above the work surface. From the R Plane the cutter feeds
to the Z-depth at the specified feedrate. When the cutter reaches the Z depth, it retracts at rapid
rate to the R Plane. G99 returns the tool to the R Plane after each hole, G98 returns the tool to the initial
starting plane.
Page 24
Mill Lesson 4 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
This G code is similar to G81 but is used for drilling when the tool must be withdrawn periodically
to allow chips to be removed from the hole.
This cycle allows the tool to rapid to the R Plane, feeds towards the Z depth in increments
(traversing to the R Plane and back to the point where drilling was interrupted after each
increment) until the tool reaches the final Z depth.
Mill Lesson 4 - 3
Page 25
CREATE THE PROGRAM TO SPOT AND DRILL THE THREE HOLES USING CANNED
CYCLE G81
O3
N10 G20
(Inch programming)
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30 T06 M06
(G43 - Activate the tool offset value stored in H06 and rapid to Z0.1)
N100 G53 G00 Z0 M05 (G53 Rapid to machine zero in Z, switch spindle off)
N110 G53 X-15.0 Y0
N130 G00 G90 G54 X-1.0 Y-0.875 S4500 M03 (Rapid to the X and Y position of Hole #1 and turn on the
spindle at 4500 RPM)
N140 G43 H07 Z0.1
Page 26
(G43 - Activate the tool offset value stored in H07 and rapid to Z0.1)
Mill Lesson 4 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N190 G53 G00 Z0 M05 (G53 Rapid to machine zero in Z, switch spindle off)
N200 G53 X-15.0 Y0
N210 M30
Mill Lesson 4 - 5
Page 27
Sa
no m
p
t f le
or
Page 28
Mill Lesson 4 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-5
Page 29
Sa
no m
p
t f le
or
Page 30
Mill Lesson 5 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
1
2
3
4
5
6
7
8
9
Mill Lesson 5 - 3
Page 31
CREATE THE PROGRAM TO SPOT AND DRILL THE NINE HOLES USING CANNED
CYCLE G81
%
O4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 32
Mill Lesson 5 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 5 - 5
Page 33
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
3.
4.
5.
6.
7.
8. Start typing your program, ALL CAPITALS for the CNC program codes. Please note on the second line
of this program O4 this is a letter O.
Page 34
Mill Lesson 5 - 6
Now you can check for any Letter Os in your CNC program. Please Note there should not be any
letter Os in your CNC program, G00 is G Zero Zero not G Letter O!
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
11. Type in the Letter O in the Find what: space. Now hit the Find Next button. There will be some
letter Os in your program, for example the Letter O in the program number at the start of the
program and any notes you have in your program enclosed by parenthesis ( ). But for the coding no
letter Os.
Mill Lesson 5 - 7
Page 35
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
14. You may require a print of your CNC program to do this select File>Print or the shortcut Ctrl+P.
15. Select which printer you wish to send the file to and then hit the Print button
16. To open your CNC program at a later date launch Windows Notepad.
Start>All Programs>Accessories>Notepad.
17. Select File>Open.
18. Change the Files of type: to All Files and browse for your CNC program.
Page 36
Mill Lesson 5 - 8
Note: If you do not have Discriminator installed on your computer please go to the last page of the
appendix for installation instructions.
1. After typing up your program in Notepad launch the Discriminator application by clicking on the icon
on your desktop or Start>All Programs>Discriminator> Discriminator
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 5 - 9
Page 37
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
8. You plot should appear as below. The point on the left of the screen shot below is the G53 X-15.0 Y0
movement in the program.
Page 38
Mill Lesson 5 - 10
9. Click the right mouse button on the main graphics plot screen and select Views>Front.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
10. Return to a Top view by clicking the right mouse button on the main graphics plot screen and select
Views>Top.
11. Experiment with the various display functions at the top right of the screen.
13. You can use Discriminator instead of Windows Notepad to type up your CNC program. Select the New
document icon to create a new file and type up your program in the new document window.
Mill Lesson 5 - 11
Page 39
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 40
Mill Lesson 5 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
1
2
3
4
5
6
7
8
9
Mill Lesson 5 - 13
Page 41
CREATE THE PROGRAM TO SPOT AND DRILL THE NINE HOLES USING CANNED
CYCLE G81
%
O5
( Program #5 - CNC-PART-3 - SPOT AND DRILLING USING CANNED CYCLE DRILL G81)
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 42
Mill Lesson 5 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 5 - 15
Page 43
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 44
Mill Lesson 5 - 16
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 5 - 17
Page 45
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
2
3
4
5
6
7
8
9
10
11
Page 46
Mill Lesson 5 - 18
CREATE THE PROGRAM TO SPOT AND DRILL THE ELEVEN HOLES USING CANNED
CYCLE G81
%
O99 (CNC-PART-4 - SPOT AND DRILLING USING CANNED CYCLE DRILL G81)
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Mill Lesson 5 - 19
Page 47
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 48
Mill Lesson 5 - 20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-6
Page 49
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
DIRECTION OF CUT CW
STARTING AT THE POINT O (ORIGIN), DESCRIBE THE ENDMILL PATH FROM O THROUGH ALL THE POINTS
AND BACK TO THE POINT O USING G90 & G91. CUTTER DIAMETER = 0.5 RADIUS = 0.25
G90
G91
O1
0.5
0.25
0.5
0.25
12
2.5
0.5
2.75
23
34
45
56
61
1O
Page 50
Mill Lesson 6 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 6 - 3
Page 51
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
1
2
3
Page 52
Mill Lesson 6 - 4
O6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30 T4 M6
N40 G00 G90 G54 X0.75 Y2.5 S3050 M3 (Rapid to the X and Y to Position #1 and turn on the spindle at
3050 RPM)
N50 G43 H04 Z0.1
(G43 - Activate the tool offset value stored in H04 and rapid to Z0.1)
N90 X2.375
(Retract out of the part at feedrate to 0.1 above the top of the work piece)
N120 M05
(Spindle off)
N130 G00 G91 G28 Z0 (G28 Machine Zero positioning. Rapid to machine zero in Z)
N140 G28 X0 Y0
N150 G90
N160 M30
In earlier programs we used G53 to return the machine to coordinates in relation to the Machine Zero
(home position). G28 is another code that will accomplish this. G28 is a more common way to send the
machine to machine zero, it will work on many different types of CNC machines.
As you can see above at block N130, G28 is activated in G91 incremental mode, and then at block N150 the
program is returned to G90 absolute mode.
Mill Lesson 6 - 5
Page 53
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 54
Mill Lesson 6 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
-0.5
3.125
2
3
4
5
6
7
8
9
10
11
Mill Lesson 6 - 7
Page 55
O8
(Inch programming)
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
(T4-Select tool number 4 to be loaded M06-Activates the tool changer)
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N30 T4 M6
(G43 - Activate the tool offset value stored in H04 and rapid to Z0.1)
N80 Y1.75
N90 X1.5
N100 Y3.125
N110 X2.875
N120 Y1.75
N130 X3.125
N140 Y0
N150 X0.125
N160 Y3.375
(Retract out of the part at feedrate to 0.1 above the top of the work piece)
N180 M05
(Spindle off)
N190 G00 G91 G28 Z0 (G28 Machine Zero positioning. Rapid to machine zero in Z)
N200 G28 X0 Y0
N210 G90
N220 M30
Page 56
Mill Lesson 6 - 8
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 6 - 9
Page 57
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
-0.5
3.0
2
3
4
5
6
7
8
9
10
11
Page 58
Mill Lesson 6 - 10
%
O009
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Mill Lesson 6 - 11
Page 59
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 60
Mill Lesson 6 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
-0.375
2
3
4
5
6
7
8
9
10
11
Mill Lesson 6 - 13
Page 61
%
O10
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 62
Mill Lesson 6 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-7
CIRCULAR INTERPOLATION
Page 63
In the next series of circular interpolation exercises you will explore how to
machine arcs and complete circles.
G02 and G03 allow the machining of circles and arcs
When the machine is required to move in a straight line under a controlled federate, linear interpolation is
used G01. When it is necessary to machine in a circular motion in any plane (XY, YZ, XZ) circular interpolation
is used G02 and G03.
All circular interpolation moves are defined using three pieces of information.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
When trying to figure out a circular interpolation move answer these three
questions:
I.
II.
III.
Mill Lesson 7 - 2
XY PLANE
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 7 - 3
Page 65
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Radius = 0.5
1. What are the coordinates at the center of the cutter for A, B, C, and D
A: X0 Y3.0
B: X
Y
C: X
Page 66
D: X
Mill Lesson 7 - 4
I , J and K Values are measured from the tool start to the center of the arc
I , J and K values are INCREMENTAL
I= X Axis
J = Y Axis
K= Z Axis
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Radius = 0.5
1. What are the incremental distances from the start of cut to the center of the programmed
arc?
I = The Incremental distance along the X axis from the start of the arc to the center of the
programmed arc
J = The Incremental distance along the Y axis from the start of the arc to the center of the
programmed arc
J-3.0
Mill Lesson 7 - 5
Page 67
What does the block of code look like moving from D to B clockwise?
G02 X3.0 Y0 I3.0 J0
What does the block of code look like moving from A to D counterclockwise?
G03 X-3.0 Y0 I-3.0 J0
1.0 Diameter End Mill
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Radius = 0.5
When trying to figure out a circular interpolation move answer these three
questions:
I.
II.
III.
Page 68
B to C Counterclockwise:
Mill Lesson 7 - 6
The center of the circle has now been changed to X5.0 Y5.0
What does the block of code look like moving from D to B clockwise?
G02 X8.0 Y5.0 I3.0 J0
What does the block of code look like moving from A to D counterclockwise?
G03 X2.0 Y5.0 I-3.0 J0
1.0 Diameter End Mill
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Radius = 0.5
X5.0 Y5.0
When trying to figure out a circular interpolation move answer these three
questions:
I.
II.
III.
B to C Counterclockwise:
To cut a complete circle of 360, you do not need to specify an end point X, Y, or Z. Just program I, J, or K to
define the centre of the circle.
Mill Lesson 7 - 7
Page 69
ABSOLUTE
X+
START POINT
END POINT
(0, 0)
X
X
Y
Y
.
G
R=2
INCREMENTAL
START POINT
END POINT
FINISH
X
X
Y
Y
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
START
Y-
Y+
X-
START/ FINISH
(-10, -5)
ABSOLUTE
G
X
Y
I
J
.
ABSOLUTE (COUNTER CLOCKWISE DIRECTION)
START POINT
END POINT
X+
INCREMENTAL
START POINT
END POINT
X
X
Y
Y
Y-
(5, 2)
.
ABSOLUTE
Y+
FINISH
Y
Y
G
X
Y
I
J
.
INCREMENTAL (CLOCKWISE DIRECTION)
D=10
X-
X
X
X+
START POINT
END POINT
X
X
Y
Y
.
INCREMENTAL
R=1.414
START POINT
END POINT
START
Y-
X
X
Y
Y
.
G
.
Page 70
Mill Lesson 7 - 8
All circular interpolation moves are defined using three pieces of information.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
3. ARC CENTER: INCREMENTAL DISTANCE FROM START POINT TO ARC CENTER (I, J, K)
Mill Lesson 7 - 9
Page 71
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
To cut a complete circle of 360, you do not need to specify an end point X, Y, or Z. Just program I, J, or K to
define the centre of the circle.
Page 72
Mill Lesson 7 - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 7 - 11
Page 73
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
%
O11
( G02-G03-EXAMPLE )
N10 G20
N15 G0 G17 G40 G49 G80 G90
N20 T4 M6
N25 G0 G90 G54 X-.25 Y.25 S3056 M3
N30 G43 H4 Z2.
N35 Z.1
N40 G1 Z-.2 F18.
N45 X2.5
N50 G3 X2.75 Y.5 I0. J.25
N55 G1 Y1.75
Page 74
N60 X4.25
N65 Y0.
N70 G2 X3. Y-1.25 I-1.25 J0.
N75 G1 X-.25
N80 Y.25
N85 G0 Z2.
N90 M5
N95 G91 G28 Z0.
N100 G28 X0. Y0.
N105 M30
%
Mill Lesson 7 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
O12
Mill Lesson 7 - 13
Page 75
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 76
Mill Lesson 7 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
MILL-LESSON-8
Page 77
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 78
Mill Lesson 8 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 8 - 3
Page 79
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
WORK OUT THE ABSOLUTE X AND Y COORDINATES FOR THE FOUR HOLES
G90
1
2
3
4
Page 80
Mill Lesson 8 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1
2
3
4
5
6
7
8
9
10
11
Mill Lesson 8 - 5
Page 81
%
O13
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 82
Mill Lesson 8 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 8 - 7
Page 83
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 84
Mill Lesson 8 - 8
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 8 - 9
Page 85
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
WORK OUT THE ABSOLUTE X AND Y COORDINATES FOR THE FOUR HOLES
G90
1
2
3
4
Page 86
Mill Lesson 8 - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1
2
3
4
5
6
7
8
9
10
Mill Lesson 8 - 11
Page 87
%
O003
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 88
Mill Lesson 8 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 8 - 13
Page 89
Page 90
Mill Lesson 8 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Sa
no m
p
t f le
or
CNC PROGRAMMING
WORKBOOK
LESSON-9
Page 91
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 92
Mill Lesson 9 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 9 - 3
Page 93
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
WORK OUT THE ABSOLUTE X AND Y COORDINATES FOR THE FOUR HOLES
G90
1
2
3
4
Page 94
Mill Lesson 9 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1
2
3
4
5
6
7
8
9
10
Mill Lesson 9 - 5
Page 95
%
O003
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 96
Mill Lesson 9 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 9 - 7
Page 97
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 98
Mill Lesson 9 - 8
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 9 - 9
Page 99
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
2
3
4
5
6
7
8
9
Page 100
Mill Lesson 9 - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 9 - 11
Page 101
%
O003
N10 G20
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 102
Mill Lesson 9 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Lesson 9 - 13
Page 103
Page 104
Mill Lesson 9 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
CNC PROGRAMMING
WORKBOOK
LESSON-10
CUTTER COMPENSATION
Page 105
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G41 will action cutter compensation left. The tool is moved to the left of the programmed path to
compensate for the radius of the tool. A Dnn must also be programmed to select the correct tool
size from the DIAMETER/RADIUS offset display register.
G42 will action cutter compensation right. The tool is moved to the right of the programmed path
to compensate for the size of the tool.
G41
G41
G41 : Tool is moved to the left of the profile (e.g. Outside Profile shown as above)
G42 : Tool is moved to the right of the profile (e.g. Inside Profile shown as above)
Page 106
Lesson 10 - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
%
O10011
N1 T12 M06 (3/4 Flat Endmill)
N2 G90 G54 G00 X-.575 Y-.200 S1500 M03
N3 G43 H12 Z2.
N4 Z.1
N5 G01 Z-.25 F10.
N6 X-.375 (Point B)
N7 Y?.???? (Point C)
N8 X?.???? Y2.375 (Point D)
N9 X2.875 (Point E)
N10 M05
N11 G00 Z2.
N12 G91 G28 Z0. (Machine Home Z-Axis)
N13 G28 X0. Y0. (Machine Home X,Y-Axis)
N14 M30
%
%
O10012
N1 T12 M06 (3/4 Flat Endmill)
N2 G90 G54 G00 X-.575 Y-.200 S1500 M03
N3 G43 H12 Z2.
N4 Z.1
N5 G01 Z-.25 F10.
N6 G41 X0. D12 (Origin)
N7 Y1.0 (P1)
N8 X1.732 Y2.0 (P2)
N9 X2.875
N10 G40 M05
N11 G00 Z2.
N12 G91 G28 Z0. (Machine Home Z-Axis)
N13 G28 X0. Y0. (Machine Home X,Y-Axis)
N14 M30
%
The Cutter Compensation (G41) will reflect the actual part geometry (O, P1, P2..) instead of Cutter
Centers (Point B,C,D & E)
Lesson 10 - 3
Page 107
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 108
Lesson 10 - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Lesson 10 - 5
Page 109
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
WORK OUT THE ABSOLUTE X AND Y COORDINATES FOR THE TWO HOLES
G90
1
2
Page 110
Lesson 10 - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
G90
12
13
14
15
16
17
7
8
9
10
11
Lesson 10 - 7
Page 111
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1
2
3
4
5
6
7
8
9
10
11
12
13
Page 112
Lesson 10 - 8
%
O888
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Lesson 10 - 9
Page 113
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 114
Lesson 10 - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Lesson 10 - 11
Page 115
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 116
Lesson 10 - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
WORK OUT THE ABSOLUTE X AND Y COORDINATES FOR THE TWO HOLES
G90
1
2
Lesson 10 - 13
Page 117
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
12
13
14
15
16
17
7
8
9
10
11
Page 118
G90
Lesson 10 - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1
2
3
4
5
6
7
8
9
10
11
12
13
Lesson 10 - 15
Page 119
%
O003
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
N10 G20
N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
N30
Page 120
Lesson 10 - 16
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Lesson 10 - 17
Page 121
Page 122
Lesson 10 - 18
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Sa
no m
p
t f le
or
CNC PROGRAMMING
WORKBOOK - MILL
APPENDIX
Page 123
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 124
Mill Appendix - 2
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 3
Page 125
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 126
Mill Appendix - 4
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 5
Page 127
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 128
Mill Appendix - 6
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 7
Page 129
Instructions:
Create your own design.
The material size: 6 x 1.5 x .125 Aluminum
The part is held in the vise.
Locate the part flush with the left hand side of the vise jaw.
X0 Y0 is the top left hand corner of the material.
Z0 is the top of the material.
Center Drill is used as an engraving tool to machine the letters.
Spindle Speed: 5000 rpm
Feedrate: 12 in/min
Depth of Cut : -0.025
Center Drill 2 mounting holes using Canned Cycle
Depth of Cut: -0.25
Minimum of five letters
You can use the suggested letter shapes & size or create your own lettering design.
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Suggested Lettering:
Page 130
Mill Appendix - 8
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 9
Page 131
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 132
Mill Appendix - 10
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 11
Page 133
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 134
Mill Appendix - 12
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 13
Page 135
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Drill
Decimal Drill
Decimal
Drill
Decimal Drill
Decimal
.
.
.
.
.
.
.
Size
Equiv.
Size
Equiv.
Size
Equiv.
Size
Equiv.
80 = .0135
43 = .089
8 = .199
25/64 = .3906
79 = .0145
42 = .0935
7 = .201
X = .397
1/64 = .0156
3/32 = .0938
13/64 = .2031
Y = .404
78 = .016
41 = .096
6 = .204
13/32 = .4063
77 = .018
40 = .098
5 = .2055
Z = .413
76 = .020
39 = .0995
4 = .209
27/64 = .4219
75 = .021
38 = .1015
3 = .213
7/16 = .4375
74 = .0225
37 = .104
7/32 = .2188
29/64 = .4531
73 = .024
36 = .1065
2 = .221
15/32 = .4688
72 = .025
7/64 = .1094
1 = .228
31/64 = .4844
71 = .026
35 = .110
A = .234
1/2 = .500
70 = .028
34 = .111
15/64 = .2344
33/64 = .5156
69 = .0292
33 = .113
B = .238
17/32 = .5313
68 = .031
32 = .116
C = .242
35/64 = .5469
1/32 = .0313
31 = .120
D = .246
9/16 = .5625
67 = .032
1/8 = .1250
1/4 (E) = .250
37/64 = .5781
66 = .033
30 = .1285
F = .257
19/32 = .5938
65 = .035
29 = .136
G = .261
39/64 = .6094
64 = .036
28 = .1405
17/64 = .2656
5/8 = .625
63 = .037
9/64 = .1406
H = .266
41/64 = .6406
62 = .038
27 = .144
I = .272
21/32 = .6563
61 = .039
26 = .147
J = .277
43/64 = .6719
60 = .040
25 = .1495
K = .281
11/16 = .6875
59 = .041
24 = .152
9/32 = .2813
45/64 = .7031
58 = .042
23 = .154
L = .290
23/32 = .7188
57 = .043
5/32 = .1563
M = .295
47/64 = .7344
56 = .0465
22 = .157
19/64 = .2969
3/4 = .750
3/64 = .0469
21 = .159
N = .302
49/64 = .7656
55 = .052
20 = .161
5/16 = .3125
25/32 = .7813
54 = .055
19 = .166
O = .316
51/64 = .7969
53 = .0595
18 = .1695
P = .323
13/16 = .8125
1/16 = .0625
11/64 = .1719
21/64 = .3281
53/64 = .8281
52 = .0635
17 = .173
Q = .332
27/32 = .8438
51 = .067
16 = .177
R = .339
55/64 = .8594
50 = .070
15 = .180
11/32 = .3438
7/8 = .875
49 = .073
14 = .182
S = .348
57/64 = .8906
48 = .076
13 = .185
T = .358
29/32 = .9063
5/64 = .0781
3/16 = .1875
23/64 = .3594
59/64 = .9219
47 = .0785
12 = .189
U = .368
15/16 = .9375
46 = .081
11 = .191
3/8 = .375
61/64 = .9531
45 = .082
10 = .1935
V = .377
31/32 = .9688
44 =.086
9 = .196
W = .386
63/64 = .9844
Page 136
Mill Appendix - 14
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Mill Appendix - 15
Page 137
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Page 138
Mill Appendix - 16
CENTER DRILLING
CENTER DRILLING
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
Before most drilling operations take place a starting drill must be programmed to make a small
hole for the larger drill that will follow. The tool used to make the starting hole is known as a
center drill, sizes of center drills vary and the use of the different sizes is governed by the size of the
drill that will be used after. The following is a chart that will assist in choosing the proper size of
the center drill and programming the correct Z depth.
On most engineering drawings the finished depth of the hole will be given from the front edge of
the part to the end of the parallel part of the hole (not including the drill point). This poses a
programming problem because we program from the point of the drill so any Z depth we specify
has to include the length of the drill point. To do this we have a calculation to perform based on
the diameter of the drill and the angle of the drill point (usually 118). Quite simply the
calculation is as follows:
Where DIA. refers to the drill diameter and the constant is stated in the following chart
DRILL ANGLE CONSTANTS
60= 0.866
110= 0.350
75= 0.652
80= 0.596
82= 0.575
118= 0.300
90= 0.500
150= 0.134
100= 0.420
180= 0.000
120= 0.289
135= 0.207
Mill Appendix - 17
Page 139
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n
1. Locate the DVD/CD that came with the workbook (fixed to the back cover).
2. Insert the disc into the DVD/CD ROM tray of your computer.
3. When the AutoPlay window is displayed select Open folder to view files as shown below:
Page 140
Mill Appendix - 18
Sa
no m
p
t f le
or
5. Double-click the Discriminator21017.exe file as shown below. This will start the installation process.
Follow the instructions on the screen to complete the installation.
2. Locate the What you need to complete this course section on this page and click on the
Discriminator link to download the Discriminator installation file. Make sure you save the file to a
place on the hard drive that you can be easily located.
3. Once the file has downloaded locate it and double-click the Discriminator.zip file to extract the
installation files onto your hard drive. Make sure you extract the files into a new folder on your hard
drive and remember where the folder is located.
4. Open the folder the files were extracted to and double click on Discriminator21017.exe.
5. Follow the instructions on the screen.
Mill Appendix - 19
Page 141
Page 142
Sa
no m
p
D t f le
is o
tr r
ib
ut
io
n