Tcposam
Tcposam
Tcposam
Important Information
About This Course Curriculum
This Manual Includes:
Getting Started With The Turning Center Curriculum
Putting It All Together - Getting Ready To Teach
Course Outline For Turning Center Curriculum
Hard copy of Review.ppt slide presentation
Answer Book For Turning Center Curriculum
Final Test For Turning Center Curriculum
Answers To Final Test For Turning Center Curriculum
One CD-rom disk including:
PowerPoint Slide Shows With Guidance
PowerPoint Slide Shows Without Guidance
PowerPoint Viewer
All Written Documentation In Adobe Acrobat (.PDF) Format
Adobe Acrobat Reader
Special note: All materials contained in this document are
included on the CD-rom disk in the Written Documentation
folder. Materials are in Adobe Acrobat (.PDF) format and can be
freely printed/copied & distributed to other instructors. In addition,
you may want to print/copy the final test that students will take.
44 Little Cahill Road
Cary, IL 60013
Ph: (847) 639-8847
Fax: (847)639-8847
Email: lynch@cncci.com
Web: www.cncci.com
Lesson 1
This series of slides helps you describe the various components of CNC turning centers.
On this slide, were emphasizing the work holding device commonly a three jaw chuck.
Upcoming slides help you describe other major components, including the tailstock and the
turret.
Getting Started
Page 1
Getting Started
Page 2
reasoning can be applied to any form of CNC machine tool. Once the student
understands this reasoning, then you will show specific techniques needed to apply the
key concept to one very popular CNC control.
By the way, all of the specific examples we give in the student manual and during the
slide shows are in the format for a Fanuc control. We chose Fanuc as our sample control
since it is the most popular control in the industry, and since several control
manufacturers (Mitusbishi Meldas, Mazatrol, Yasnac, HAAS, Fadal, and others) claim to
be Fanuc-compatible. However, you must be prepared for the possibility that your
students will be working with a control made by a manufacturer that is not Fanuccompatible. Again, rest assured that the ten key concepts apply to every current CNC
control on the market. Only the specific techniques needed to apply each key concept
must change.
These same ten key concepts can be applied to any form of CNC machine tool. We
actually have available three course curriculums for three popular forms of CNC machine
tools for metal cutting, the CNC machining center and CNC turning center for
woodworking, the CNC router (three separate curriculums). The same ten key concepts
are applied to all three curriculums, and can also be applied to wire EDM machines, CNC
turret punch presses, CNC lasers, and any other type of CNC. This makes it quite easy to
teach courses for different machine types, or even include more than one machine type in
a give course.
Yet another benefit (from an instructors standpoint) of the key concepts approach is that
the course can end at any time once students understand the key concepts. One major
problem in any training program is the limited time available for training. While
manufacturing companies may have the luxury of extending a course if students are slow
in picking up the material, technical schools commonly work on a very rigid time frame.
If students are slow in picking up the material and getting bogged down with the details
of CNC machine utilization (asking many time consuming questions), the course may end
before you get through all the material. While this presents a problem even with the key
concepts approach, the effects of the problem can be minimized. As long as students
understand the reasoning behind each key concept, it will be just a matter of time until
they figure out the details. Given our extensive and highly tutorial course manual, any
student with motivation will eventually figure out the details (possibly even after the
course ends).
One last benefit well mention for the key concepts approach is that it makes reviewing
the material easy. Since there are only ten key concepts, they are easy to remember. You
can simply restate each key concept (using the review slide presentation) and ask
pertinent questions to confirm your students retention of material previously presented.
In the lesson plans, instructor notes, audio guidance, student manuals, and course outline,
you will find detailed explanations of what must be presented at each key point in the
course. Here we simply list the ten key concepts.
Getting Started
Page 4
26
27
28
view/print them, you must have Adobe Acrobat Reader installed on your computer. We
also provide this software on disk one in the folder Adobe Acrobat Reader.
Note that all written documentation provided on the CD-rom can be freely printed, copied
and distributed. So if you have additional instructors, you can print this information
yourself.
Hard copy of manuals:
One copy of the To The Instructor manual and the Instructor Notes manual is included
with the curriculum. Again, these materials help you prepare when you dont have a
computer available to actually view the slide shows. If you need extra copies, they can be
printed from the Adobe Acrobat files on the CD, or you can purchase additional copies
from CNC Concepts, Inc. Current pricing is provided on our website (www.cncci.com).
PowerPoint Slide shows:
Slide shows with and without audio guidance (over 5,000 slides in each!) Each lesson
includes a slide show to provide the visuals you need to teach. They are all computer
generated graphics and animations that really help you make your points during the class.
To help you prepare to teach, we provide one set of slide shows with audio guidance. On
selected slides, youll find an instructor icon that if clicked, will activate an audio
narration that explains our intentions at this point in the course. Note that this audio
guidance is not intended for students. Its aimed at instructors that will be teaching the
course. Some of the slide shows with guidance are very long and will take some time to
load. For this reason, we also provide another (identical) set of slide shows without
guidance. You can use them to minimize loading time (as is important when teaching)
once you get familiar with the course.
Presentation links slide Every lesson includes this special slide. It will always be
located immediately after the lesson plan. And every slide will have a return button in the
lower left corner that returns you to this slide. This slide lists the topic headings to be
covered by the lesson. When you click on a topic, the presentation will skip to the slide
that begins that topic. This can help in three ways. First, it provides a very interactive
way to get to topics of interest (you will be clicking on topics during your presentation) as
you teach. Second, you will be able to easily skip topics that you dont want to cover.
Just remember that once you click on a topic, the presentation will simply continue from
the slide that begins the topic. If you get into another topic (that you dont want to cover),
simply click the return button in the lower left corner. And third, this special slide should
really help when reviewing. It makes an excellent list of bullet points that you can review
in a nice logical order. And of course, if students are having problems, you can easily
click on the trouble-causing topic and re-present the information related to the topic.
Fly in text boxes In addition to graphics and animations throughout the slide shows, we
also include fly-in text boxes on most slides to help you understand where the presentation
is going. In some cases, the fly-in text box will remind you to make some important point
about the topic at hand. In other cases, they are included at a change of pace in the
Getting Started
Page 7
presentation, and provide the next few words of your presentation. In all cases, they will
help you stay on track and minimize the amount of preparation you must do to get ready
to teach.
Review slide presentation Located in the folder named Slide presentations without
guidance on disk one, this special presentation named review.ppt is intended to help you
review material throughout the course. As stated, at least ten percent of each session
should be spent reviewing information that you previously presented. This presentation is
made up of at least two slides for each key concept. The first slide for each key concept
shows the key concept name and the lesson/s related to the key concept. This is followed
by a list of bullet points for each lesson in the key concept. Each list of bullet points is
identical to the presentation links slide for the lesson. So if students are having problems
during the review, you can easily call up the related lesson, go to the presentation links
slide, and click on the topic of interest.
All presentation files are aptly named. In the folder named Slide presentations without
guidance (on disk one), youll find files named Lesson1.ppt through lesson24.ppt. In the
folder named Slide presentations with guidance 1-12 of 24 (on disk one), youll find files
named lesson1g.ppt through lesson12g.ppt. In the folder named Slide presentations with
guidance 13-24 (on disk two), youll find files named lesson13g.ppt through
lesson24.ppt.
PowerPoint Viewer software:
All slideshows are prepared in PowerPoint 2000. In order to view/display/print the slide
shows, you must either have the actual PowerPoint software (PowerPoint 95 or above) or
the PowerPoint Viewer. We provide the PowerPoint Viewer on disk one. Since the
PowerPoint Viewer does not let you modify slides, and since it requires that slide shows
always start from the first slide (not very convenient when youre trying to get to a slide
in the middle of a lengthy presentation), we urge you to get the actual PowerPoint
software. It can be purchased separately, and it comes with most versions of Microsoft
Office.
What you still need:
In order to show the PowerPoint slide presentations to a group of people, you need the
following items.
A computer with Windows 95 (or higher) - Just about any current model computer will
work. For best results, a Pentium class is recommended (minimum 64 megs internal). If
using a desktop computer, you can easily watch the monitor of the computer (facing your
audience) to see the slide show while slides are displayed behind you by the projection
system. Since the left mouse button advances the slides, you even have a remote slide
advance button (though you may prefer a true remote mouse designed for making
presentations, as can be supplied by a company like MindPath). If portability is an issue,
keep in mind that many of the notebooks and sub-notebooks have ample power to run the
presentation software. However, be careful in your selection. Many notebooks do not
Getting Started
Page 8
allow you to send data out through the VGA port and see the slide show on the LCD
screen of the notebook at the same time. Without this ability, you may have to turn
around to see your slides, which can be distracting to your audience.
Microsoft PowerPoint Software (PowerPoint 2000 was used to create the slide shows) Though you can display all presentations with PowerPoint Viewer (included with this
curriculum), you will need Microsoft PowerPoint (PowerPoint 95 or above) if you intend
to modify the slide shows given in this curriculum. We highly recommend that you have
this ability. This software can be found in any computer store for a price of about
$250.00 (it also comes with Microsoft Office). You will find this to be a very powerful
presentation generating program; one you can use to develop your own slide shows for
other courses (or again, modify those in this course curriculum).
A way of displaying the screen show - You have several alternatives in this regard. All
involve using a device that takes data from the VGA port of your personal computer.
First, many schools already have a projection system that can display information from a
personal computer. Basically, anything that can be shown on the computer screen can be
displayed through the projection system. Second, you can use a device that sits on top of
an overhead projector to display your screen shows. In essence, this device makes a
transparency of what ever is on the display screen of the computer (we dont like this kind
of device because of its brightness it can really hurt your eyes if you try to use it as a
normal overhead projector). Third, and especially if price is a concern, you can use a
simple scan converter (about $200.00 - $300.00) and display your screen show on any
television that has a video in connector (as most do). If you must use the RF connector of
the television (where an antenna plugs in), an RF converter must be purchased. Since
there are so many alternatives for displaying your slide shows, we welcome phone calls
(847) 639-8847 if you have questions about your alternatives.
Getting Started
Page 9
Tell them what you told them - The lesson summary (included in the slide show for each
lesson) will let you summarize the key points of each lesson.
After you finish each lesson:
Assign and check practice exercises - The students responses to the practice exercises
makes an excellent way to gauge your students understanding of the subject matter. If
you find that students are not doing well, it should be taken as a signal that you must
review key information. If students are doing well, be sure to praise them.
As you get deeper into the course:
Review often - No student will retain every word of every presentation you make during a
course as lengthy as these. On average, you should spend about 10% to 20% of your
session time in review, depending upon how well your students are doing. The more
problems they are having, the more time you should spend on review. One excellent way
to review is to question students from the previous exercises to confirm their retention.
Let students know where they stand - Be sure everyone knows how they are doing as
they progress through the course. Assign special exercises and labs for those students
having the most problems. Push those students doing well to go further.
Getting Started
Page 11
Getting Started
Page 12
Slide
1
2
13
18
25
27
98
102
107
117
122
127
134
139
142
144
149
165
169
172
174
Description
Lesson number one - Machine configurations
Key concept number one - know your machine
Lesson structure for key concept number one
Basic machining practice related to turning
Machine configurations
Universal slant bed turning centers
Chucking style slant bed turning centers
Twin spindle horizontal bed turning centers
Sub-spindle turning centers
Vertical single spindle turning centers
Twin spindle vertical turning centers
Mill/turn machines
Gang style turning centers
Sliding headstock turning centers
Programmable features
Turret programming
Spindle programming
Feedrate programming
Coolant programming
Other programmable features
Lesson summary
1
2
7
18
29
38
40
43
1
2
6
7
14
25
2
7
16
19
56
1
2
3
34
67
73
78
97
Page 1
Course Outline
36
68
91
98
102
103
109
114
125
134
136
147
152
156
Z word
C word
R word
I, J, & K words
P word
L word
F word
S word
T word
M word
Slash code (/)
EOB (End of block)
Lesson summary
1
2
3
9
18
38
43
57
87
89
96
1
2
7
8
37
42
47
61
78
123
1
2
8
14
41
51
55
1
2
8
11
19
Page 2
58
1
2
8
27
55
72
74
2
8
30
59
84
97
103
1
2
3
9
13
28
31
47
59
76
81
1
2
7
61
125
1
2
3
7
9
26
43
Course Outline
50
Lesson summary
25
Lesson summary
2
8
19
65
80
108
137
174
178
1
2
8
46
113
117
120
1
2
9
32
49
62
76
85
92
111
1
2
9
13
24
27
75
92
1
2
7
9
10
12
13
16
22
23
2
9
57
68
86
158
169
189
Page 3
Course Outline
341
Lesson summary
2
10
37
49
60
67
92
105
112
Page 4
PROGRAMMING:
Lesson Min. Description
Lesson 1 20 Machine configurations
Lesson 2 20 Spreeds and feeds
Lesson 3 20 Visualizing program execution
Lesson 4 10 Flow of programming process
Lesson 5 22 Understanding program zero
Lesson 6 20 Two was to assign program zero
Lesson 7 18 Assigning program zero
Lesson 8 20 Introduction to programming words
Lesson 9 20 Preparation for programming
Lesson 10 20 Types of motion
Lesson 11 16 Introduction to compensation
Lesson 12 20 Dimensional tool offsets
Lesson 13 20 Geometry offsets
Lesson 14 20 Tool nose radius compensation
Lesson 15 20 Program formatting
Lesson 16 20 The four kinds of program format
Lesson 17 20 One-pass canned cycles
Lesson 18 20 Multiple repetitive cycle (G71 and
G70)
Lesson 19 20 More mult. rep. cycles (G72-G75)
Lesson 20 20 Threading multiple rep. cycle (G76)
Lesson 21 20 Subprogramming techniques
Lesson 22 16 Control model differences
Lesson 23 40 Other special features for programming
SETUP & OPERATION:
Lesson 24 30 Setup versus operation tasks
Lesson 25 40 The two operation panels
Lesson 26 20 Three modes of operation
Lesson 27 60 Key sequences of operation
Lesson 28 40 Verifying new programs safely
Turning Center
Programming & Operation
Turning Center
Programming & Operation
Course Review
Key Concept
Number One
1: Machine configurations
!Machine configurations
!Understanding speeds & feeds
!General flow of the programming process
!Visualizing the execution of a CNC program
!Understanding program zero
!Locating program zero
!The two ways to assign program zero
Key concept #1
Basic machining practice
Machine configurations
Programmable features
Turret
Spindle
Feedrate
Coolant
Calculating RPM
Constant surface speed
Benefits of constant surface speed
Limitations of constant surface speed
Two times when RPM mode must be used
Example commands
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
Program make-up
Sequential order of execution
Machinist vs programmer
Advantage of machinist
Programmers disadvantage
Sequence numbers
Word order in a command
Decimal point usage
Modal words
Initialized words
Common mistakes
Absolute vs incremental
Absolute
Example
Incremental
Comparison
More on polarity
in XY
in Z
in XY
in Z
Manual machinist
CNC programmer
7
10
Key Concept
Number Two
R rapid plane
I K directional vectors
O program number
Q peck depth
() messages
P pause time
N sequence number
L number of executions
G preparatory function
F feedrate
X X axis designator
S spindle speed
Z Z axis designator
T turret indexing
Decimal format (XZ)
M miscellaneous functions
Related words (XZ)
C Rotary axis designator / - block delete
11
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
12
Key Concept
Number Three
Preparation steps
Study & mark up print
Develop the machining process
Do the math
Number all points
Develop a coordinate sheet
Plan the setup
Conclusion
13
14
Key Concept
Number Four
Circular motion
G02 or G03?
Specifying arc size
With R word
Example
Warning about R word
With Directional vectors
! 11 What is compensation?
! 12 Geometry offsets
! 13 Wear offsets
! 14 Tool nose radius comp.
Rapid motion
Examples
Linear motion
Examples
15
16
Key concept #4
Analogies
Marksman analogy
Related to CNC compensation
Understanding offsets
Offset tables
Wear offsets
Geometry offsets
Work shift offset
Trial machining
17
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
18
Key Concept
Number Five
20
! 15 - Program formatting
! 16 - Four kinds of program format
Efficiency improvements
21
Key Concept
Number Six
22
Program formats
Using geometry offsets
Using G50 in the program
Example program
Points about example program
23
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
24
26
28
29
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
30
Key Concept
You must understand the
Number Seven
machine from an
operators viewpoint
31
32
33
Key Concept
Number Eight
34
35
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
36
Key Concept
Number Nine
Procedure importance
Manual procedures
Start machine
Zero return
Start spindle
Jog axes
Use handwheel
Load tools
Activate coolant
Reset axis displays
Enter offsets
MDI procedures
37
Key Concept
Number Ten
Index turret
Start spindle
Activate coolant
Zero return
Setup procedures
Program manipulation procedures
Load programs
Punch programs
Directory of programs
Delete programs
Call up a program
Search within a program
Alter, insert, and delete
38
As you get deeper into the course, use this presentation to quickly review what you have
already covered. If students are having trouble with a review topic, simply recall the
presentation for the lesson, go to the presentation links slide for that lesson, and click on the
topic in question to repeat the related presentation.
40
Turning Center
Programming and Operation
Answers
FANUC
10T
O
X
I
F
M
X00.0000
Z00.0000
POWER
ON
OFF
N
Y
J
D
S]
V
PAGE
G
Z
K
H
T
P
Q
R
L
EOB)
A
B
C
#
/
8 9
5 6
2 3
0
=
7
4
1
+
Sp
RESET
START
CALC
CAN
INPUT
CURSOR
NC/PC
SHIFT
AUX
CYCLE
START
FEED
HOLD
MDI
JOG
AUTO
EDIT
MODE
100%
OFF
DRY
RUN
0%
X-
EMERGENCY
STOP
200%
FEEDRATE
OVERRIDE
ON
OFF
SPINDLE
0%
100%
130%
RAPID
OVERRIDE
0%
SLOW
100%
5
4
3
FAST
130%
OD
OPTIONAL
STOP
BLOCK
DELETE
ORIGIN
ON
MEMORY
PROTECT
Z+
JOYSTICK
MACHINE
LOCK
100%
10%
SINGLE
BLOCK
OFF
50%
25%
X+
Z-
X1
Z
X10
X100
9 10 11
12
TURRET INDEX
ID
AXIS LOAD
SPINDLE LOAD
CHUCK
ON
HANDLE
ZERO
RETURN
CLAMP
DIRECTION
TAILSTOCK
Contents:
Practice Exercises . . . . . . . . . . . . . . . . . . . . . 1
Programming Activities. . . . . . . . . . . . . . . . . 57
Published By:
To the grader
This answer booklet provides answers to all of the exercises and programming activities given in the workbook. It is formmated in exactly the
same way as the workbook, which should make it very easy to do the
grading.
The exercises consist of true/false questions, multiple choice questions,
and questions students must answer. While there are many kinds of
CNC turning centers, and there are many ways to use certain CNC features, the answers we provide reflect the presentations in the student
manual. Since our methods are safe and proven, we recommend not
allowing students to stray too far from the answers we provide.
If you are holding this course in a live environment, be on the look-out for
students having problems. Though its rather obvious, special help
should be offered (or students themselves should ask for it) to anyone
having problems doing well with the exercises.
Every exercise and programming activity is worth one hundred points. We
simply divide one hundred by the number of possible answers to determine how much each answer is worth. When it comes to the programs
that students write completely on their own (programming activities
seven through twelve), it is likely that students will not perfectly match
the number of commands we show. To score these programming activities, start the student off with one hundred points and subtract for
each wrong command. (Instead of starting at zero and adding up correct commands.)
The inside back cover of this booklet provides you with a scoring sheet.
You can use it to track the progress of your students.
To students using this as a self-study course
Grading your own exercises can be a little difficult. While we provide the
answers to exercises in this booklet, we do nothing more. If you have
some problems during the course and score poorly on one or more of
the exercises, youll have no one but yourself to turn to for help. Rest
assured that all information were testing you on is included in the student manual, but youll have to dig it out.
Machine configurations
Name:
Date:
q false
10) A boring bar should be used for all facing operations because turning
tools will have the tendency to bend as they machine in a facing mode.
q true
q true
5) Most right hand tools require that the spindle be rotating in a reverse direction.
q true
n false
13) The act of cutting off a workpiece in a bar feed operation is called.
q a. facing
q b. rough turning
n c. parting
q d. grooving
Machine configurations (5.545 points each)
14) The most popular style of turning center is the universal-style slant
bed turning center.
n true
q false
15) When it comes to motion directions (axes), turning centers have radically different names and directions from one turning center style to
another.
6) High speed steel tools commonly have carbide inserts to form their cutting edges.
q true
n false
n true
n false
q false
q true
n false
16) Name three of the turning center types described in lesson one.
n false
7) You are drilling a 0.375 in diameter blind hole (not a through hole) with
a 118 degree twist drill. The hole is specified on the print as 0.75 in
deep. Knowing that you must add the drill point to the hole depth in order to machine the hole to the proper depth, what hole depth would you
specify in the program?
q a. 0.8125
n b. 0.8625
q c. 0.750
q d. 0.7954
8) Name the two kinds of peck drilling and describe when they must be
used.
a. Peck drilling to break chips when material are gummy.
17) Name and describe the two most common directions of motion (axes)
for a universal slant bed turning center.
a. The X axis is the motion direction perpendicular to the
Page 1
18) Explain which way is plus for the two most basic axes found on turning
centers..
a. X plus (for most machines) is the direction opposite
the spindle centerline (getting bigger in diameter)
b. Z plus is the direction opposite the chuck face
19) Name the letter address used for turret indexing and explain its format.
The T word has a four digit format. The first two digits
specify the tool station number. The second two digits
specify the wear offset number.
20) Name and describe the three M codes used for spindle activation.
M03 - spindle on forward
M04 - spindle on reverse
M05 - spindle off
Page 2
Date:
in per-revolution fashion
4) Give the formula to calculate rpm.
rpm = sfm times 3.82 divided by cut diameter
5) Name the two ways to specify spindle speed for CNC turning centers
and give the G codes used to invoke them.
a. in surface feet per minute (or meters per minute): G96
b. in rpm: G97
14) Name the feedrate mode that should be used for almost all machining
operations performed on turning centers.
per revolution mode (G99)
15) Name the only time when feedrate should be programmed in
per-minute fashion and give an example.
When you want to make a feedrate movement with the
spindle stopped. Drawing out the bar during bar feed,
6) Name the two ways to specify feedrates for CNC turning centers and
give the G codes used to invoke them
a. in per-revolution fashion (ipr or mmpr): G99
b. in per-minute fashion (ipm or mmpm): G98
7) Constant surface speed mode should be used whenever diameters are
changing during the machining operation.
q false
17) What will happen if you have the inches per minute feedrate mode selected when you specify a feedrate in inches per revolution?
The machine will barely creep along, taking your programmed
11) Give the command needed to turn the spindle on in the reverse direction at 550 rpm.
q true
12) Name three benefits of using the constant surface speed mode.
n true
q false
10) Give the command needed to turn the spindle on in the forward direction at 400 sfm
G96 S400 M03
Page 3
Page 4
Date:
10 points each
1) If a company has more than one turning center, what kind of criteria determines which of the machines should be used for a given production
run?
q a. Which of similar machines q b. An accuracy advantage of
becomes available first.
one of the machines.
q c. Capacity specification ad- n d. All of the above.
vantages of one machine
over the others.
2) Why is it important to develop a machining process and order tooling
before the CNC program is written?
q a. To ensure that all tooling is q b. To keep the programmer
available when the program
from forgetting an important
is ready to run.
machining operation.
q c. To minimize the potential n d. Al of the above.
for mistakes in processing.
3) Name two ways to load programs into the controls memory.
a. Type program into the control using control keyboard.
b. Type program off line and load via communications port.
4) Which of the two ways given in question three is better? Why?
Loading via communications port. This way, the machine can
be running production as the program is typed, saving
production time.
q false
6) All CNC programs, and especially those written by beginning programmers, must be cautiously verified.
n true
q false
n true
q false
10) Name two things that should be included with setup documentation.
Answers could include tool list, work holding setup drawing,
Offset lists, and written setup instructions.
Extension questions:
11) You work in a job shop that hardly ever sees the same job twice. Is it
really necessary to save a copy of the program for future use? Why or
why not?
While a case could be made for not keeping copies of previous
work if jobs will never be seen again, it is still wise to keep
copies of all programs run if for no other reason than to help
people remember how problems were handled when similar
problems are faced in the future.
12) If you currently work for a company that uses CNC turning centers,
name the person (or position of the person) in your company that handles each of these tasks:
Note that each company will have different answers. You
must come up with these answers on your own.
Develops the machining process:
Checks/designs and orders tooling:
Writes the program:
Types the program:
Makes setup documentation:
7) Even if the program runs exactly as intended, modifications to the program will likely be made for optimizing purposes.
n true
9) In some companies one person will perform all steps discussed in this
lesson.
5) The setup should be made before the CNC program is run on the machine tool.
n true
q false
Runs production:
Saves the program for future use:
Page 5
Page 6
Date:
10 points each
1) Why is it more difficult (even for an experienced programmer) to develop a CNC program to perform an operation than it is for a person
performing the operation manually.
11) Relate what was presented in lesson one about the importance of understanding basic machining practice to being able to visualize the
movements of the machine during the execution of a CNC program.
the CNC program must do so with only print, pen, and paper.
q false
3) For most controls, words can be in any order within a command and the
control will interpret the command in exactly the same way.
n true
q false
q false
n false
above the hole to tap. With the spindle running cw, the tool
reversed and the tool fed out of the hole. Finally the spindle
is reversed again to its original direction.
13) If you work in a company that currently uses CNC turning centers, investigate to find out what machining operations you will be performing
on a regular basis. Describe them here.
This set of answers will vary with company. The instructor
of this course can compare the students answers with
q false
First the tool will move into the hole center position, just
is fed into the hole. At the hole bottom, the spindle is
4) The CNC control will almost always execute the commands of your
program in step-by-step, sequential order.
n true
12) Visualize and write down what you would want a tap to do as it machines a hole.
n false
Page 7
Page 8
Date:
5 points each
1) The rectangular coordinate system makes it easy to specify positioning
movements in a CNC turning center program.
n true
q false
2) The horizontal and vertical baselines can be likened to the X and Z axis
of a turning center.
n true
q false
3) The least input increment in the inch mode for most turning centers is:
q a. 0.00001 in
n b. 0.0001 in
q c. 0.0010 in
q d. 0.0100 in
4) The least input increment in the metric mode for most turning centers
is:
q a. 0.00001 mm
q b. 0.0001 mm
n c. 0.0010 mm
q d. 0.0100 mm
n false
a. U word
7) The origin of a coordinate system on a turning center is called the program zero point.
n true
14) What two words specify that you want motions to be made in the incremental mode?
q false
8) How do you determine where to place the program zero point in the Z
axis?
q a. It should be placed in the q b. It should be placed at the mamiddle of the workpiece.
chines home position.
n c. It should be placed at the q d. It should be placed on a surlocation from which dimenface that has been machined in
sions are taken on the print.
a previous operation.
b. W word
15) Any series of motions can be performed in either the incremental or
absolute mode.
n true
q false
9) In the X axis program zero should always be placed at the center of the
workpiece.
n true
q false
Page 9
Program zero
zero point location, give the X/Y coordi
Point
0.375
0.5
-0.0625
0.375
-0.625
0.75
-0.625
1.0
-1.625
1.0
-2.625
1.25
-2.625
1.5
-2.75
10
1.5
-3.125
11
2.0
-3.125
Page 10
Date:
n false
q false
5) The assignment of program zero marries the work holding setup with
the program.
n true
6) A program zero assignment is required for each tool in the program because
q a. some tools are made of hss q b. each tool has a different cutwhile others are made of carting edge
bide
q c. some tools dont cut as n d. each tool will be in a different
well as others
location.
7) Name the three ways to determine program zero assignment values.
b. by manually measuring them
c. by calculating them
q false
9) Give the steps to manually measure the X axis program zero assignment value for a turning tool.
10) Give the steps to manually measure the Z axis program zero assignment value for a turning tool. Right end of part is program zero.
a. Make workholding setup and load a workpiece
b. Load cutting tools into turret & select tool to measure
c. Load cutting tools into turret & select tool to measure
d.Using jog & handwheel, skim cut face of workpiece to Z0
e. Without moving Z back the tool away in Z
f. Make the Z value on the relative page (W) read zero
g. Send the machine to its zero return position in Z
h. The value shown in the W register of relative display screen
page will be the Z axis program zero assignment value.
i.
Page 11
11) The control feature that eliminates the need for making calculations
when manually measuring program zero assignment values is
q a. the work shift function
q b. the floating zero system
n c. the measure function
q d. geometry offsets
Coordinate sheet:
12) The control feature that allows you to work from a consistent Z surface
(like the chuck face) when determining Z axis program zero assignment values is
n a. the work shift function
q b. the floating zero system
q c. the measure function
q d. geometry offsets
13) What machine device eliminates many of the tedious tasks related to
program zero assignment? How does it help?
The tool touch-off probe. It eliminates calculations and
entries for program zero assignment values and minimizes
the potential for mistakes with program zero assignment.
Each value is worth 1 point
13) Fill in the coordinate sheet for each numbered point on this print. Program zero is the center of the workpiece in X and the right end of the finished workpiece in Z.
Extention questions:
14) What do you think would happen if the setup person makes a mistake
when measuring or entering program zero assignment values?
15) How can measurements for the purpose of determining program zero
assignment values be eliminated for tools used in the previous setup
(still in the turret)?
As long as Z measurements are taken to the face of the
Page 12
Date:
5 points each
1) The method of assigning program zero that is most error prone, cumbersome and dangerous is
q a. geometry offsets
q b. with a tool touch-off probe
n c. from within the program q d. with trial and error techniques
2) The method of assigning program zero that involves the measure function is
n a. geometry offsets
q b. with a tool touch-off probe
q c. from within the program q d. with trial and error techniques
3) The method of program zero that also takes into consideration the deviation between measuring and cutting is
q a. geometry offsets
n b. with a tool touch-off probe
q c. from within the program q d. with trial and error techniques
4) When program zero is assigned from within the program what G code is
used?
11) When a tool touch-off probe is used to measure and assign program
zero, a work shift value must be entered.
n true
q false
12) When a tool touch-off probe is used to assign program zero, what values go into the geometry offsets for each tool?
q a. the distance from program n b. the distance from the tool tip
at the zero return position to the
zero to the face of the chuck
face of the chuck
q c. the distance from program q d. the distance from the tool
zero to the tool tip at the zero
touch-off probe stylus to proreturn position
gram zero
13) When tool touch-off probes are used to assign program zero, every
tool in every setup must be touched to the probe stylus surfaces to determine the program zero position.
q true
n false
14) The use of tool touch-off probes will vary from one machine tool
builder to another (and possibly from one machine to another).
n true
q false
Page 13
Coordinate sheet:
Point
0.275
0.375
-0.05
0.375
-0.44
0.495
-0.5
0.650
-0.5
0.75
-0.55
0.75
-0.75
1.25
-1.5
10
1.25
-2.44
11
1.37
-2.5
12
1.5
-2.5
13
1.75
-2.625
14
1.75
-3.125
Page 14
Date:
n false
3) You must memorize every word introduced in lesson eight before you
can write CNC programs.
q true
n false
4) All controls allow you to place as many compatible G codes in a command as you wish.
q true
n false
13) For each of the following descriptions, give the correct letter address
used as the CNC word type. (0.769 points each)
Designates the radius of a circular command:
R
Specifies an absolute coordinate in the Z axis:
Z
q false
Page 15
Extension questions
15) If you work for a company that currently has turning centers, find the M
codes list of your programming manual and list any M codes (as well
as their meanings) not shown in this lesson.
-4.0
1.0
-3.5
1.25
-3.5
1.25
-3.0
1.5
-3.0
1.5
-2.5
2.0
-0.5
2.0
-0.05
2.1
10
2.57
11
3.0
-0.09
will likely find that your own turning centers have several
other programmable functions, like automatic doors and
chip conveyer.
16) What do you think will happen if the you include more three compatible G codes in a command for a control that only allows three?
The control will only execute the last three of the G codes
in the command. Any prior to them will be ignored.
17) What do you think will happen if you specify two incompatible G codes
in one command (say G20 and G21).
Though some controls may generate an alarm in this case,
most will simply execute the latter of the two. The first will
be ignored.
Page 16
Date:
q false
q false
q false
n false
q false
10) Name two things you should check about the cutting tools needed for
your CNC program.
1) That the tool is available
2) That the tool is capable of machining as required
11) You need not plan the work holding setup prior to writing the CNC
program since only the setup person will be concerned with the setup.
q true
n false
12) Name two things you should mark up on your print that help with the
programming process.
1) The location of program zero
2) Any workholding components (jaws, collet, etc.)
5) Motion mistakes, and especially small motion mistakes, are the most
deadly since the machine will not move in the desired manner.
n true
q false
n false
Page 17
Extension questions:
14) If you work for a company that currently has CNC turning centers, who
in your company does the processing of the specific machining operations to be performed on them?
We cannot provide the answer to this question
Coordinate sheet:
Point
-1.25
0.5
-0.5
0.75
-0.5
0.75
-0.07
0.89
Point
11
12
-0.062
13
-0.062
0.1
14
1.125
0.1
15
1.25
16
1.25
-0.0625
1.75
17
1.25
-1.5
2.0
-0.125
18
1.5196
-1.5
2.0
-0.75
19
1.625
-1.5
2.25
-0.75
20
1.625
-3.0
10
2.5
-0.875
21
2.0
-3.0
Page 18
10
Date:
5 points each
1) Almost all axis movements made by CNC machine tools fall into one of
three categories.
n true
q false
n false
3) All CNC control manufacturers always include all interpolation (including polar coordinate interpolation) types as standard features of their
controls.
q true
n false
5) For center cutting tools (drills, taps, reamers, etc.), you program the
tool tip (center in X and the point in Z).
n true
q false
6) For single point turning tools and boring bars, you program the extreme cutting edges of the tool in X and Z.
n true
q false
7) The control feature that allows you to ignore (for the most part) the
small radius on the tip of single point tools is
q a. geometry offsets
q b. interpolation
n c. tool nose radius compen- q d. rapid motion
sation
8) The point you program most commonly programmed on a grooving
tool is the extreme tip of the tool in X and
n a. the extreme left-most tip of q b. the extreme right-most tip of
the tool in Z
the tool in Z
q c. the face of the chuck in Z q d. the face of the turret in Z
n false
q false
n false
16) Once a desired motion type is selected (by G00, G01, G02, or G03), it
need not be programmed again until the motion type changes.
n true
q false
Page 19
17) As a beginning programmer, how far should you rapid approach your
tools from qualified surfaces?
q a. 0.050
n b. 0.100
q c. 0.250
q d. 0.500
18) How far should you rapid approach your tools from un-qualified surfaces (like cast surfaces)?
q a. 0.050
q b. 0.100
n c. 0.250
q d. 0.500
19) It is easier to use directional vectors than the radius word to specify arc
size for circular motions.
q true
n false
20) If directional vectors are used to specify arc size in circular commands, the letter address used to specify the distance and direction
from the start point to the center of the arc in the Z axis is
q a. I
q b. J
n c. K
q d. R
26) From programming activity number one, rewrite all circular commands to use directional vectors instead of R words.
N175 G03 X0.75 Z-0.125 K-0.125 (24)
N185 G02 X0.936 Z-1.0 I0.093
N195 G03 X1.25 Z-1.0625 K-0.0625
N210 G03 X1.5 Z-1.8125 K-0.0625
N225 G03 X1.75 Z-2.3125 K-0.0625
Extension questions
23) If you work for a company that currently has CNC turning centers, do
you have any motion types other than rapid, straight-line, and circular?
If so, what are they and what do you use them for?
We cannot provide an answer to this question.
24) What will happen if you forget the appropriate G code (G02 or G03) in
a circular motion command?
It depends upon the currently instated motion type. If
G01 straight line motion is instated, the control will continue
to move along straightly, even though a radius may be
included in the command.
25)When using the R word to specify arc size, what will happen if the values programmed in a circular command do not match the radius size
specified?
The R word is quite forgiving on most controls. Its likely that
the control will do something (not generate an alarm), but
the surface machined will not be correct.
Page 20
11
What is compensation?
Name:
Date:
q false
2) It is always possible to set cutting tools in such a way that they will machine perfectly the very first time they machine the workpiece.
q true
a. geometry offsets
b. wear offsets
c. tool nose radius compensation
n true
q false
12) The compensation type that allows you to fine tune the way a cutting
tool machines the workpiece is
n wear offsets
q geometry offsets
q tool nose radius compensa- q circular interpolation
tion
For question twelve, geometry offset can also be used for this purpose, but wear offsets are more commonly used.
n false
q true
q false
13) The compensation type that allows you to assign program zero for
each tool is
q wear offsets
n geometry offsets
q tool nose radius compensa- q circular interpolation
tion
14) The compensation type that allows you compensate for the small radius on the tool tip is
q wear offsets
q geometry offsets
n tool nose radius compensa- q circular interpolation
tion
15) Do programming activity number two (see page 57 for programming
activities).
n false
7) How many registers are there per offset in the geometry offset table?
q a. one
q b. two
q c. three
n d. four
8) Trial machining involves
q a. a special power-up proce- n b. setting the offset prior to madure that helps ensure machining in such a way that exchining accuracy.
cess stock is left on a surface by
a cutting tool.
q c. a chance to see the q d. All of the above.
workpiece being cut on the
display screen of the CNC
control.
Extension questions:
14) If your company currently uses CNC turning centers, how many offsets are on the machines you will be working with?
We cannot provide an answer to this question.
Page 21
Page 22
12
Geometry offsets
Name:
Date:
n false
2) For each tool using geometry offsets, the program zero assignment values are placed in the X and Z registers of the geometry offset.
n true
q false
n false
4) The geometry offset Z value should be specified as the distance from the
tool tip at the zero return position to the chuck face (or some other consistent Z surface).
n true
q false
n false
10) You should clear (set to zero) all geometry offsets as part of making a
new setup.
q true
n false
11) If geometry offsets are not available on one or more of your machines,
how must program zero be assigned for each tool?
With G50 commands in the program at the beginning of
each tool
3) The geometry offset number is selected by the last two digits of the T
word.
q true
12) The work shift value is much more critical when machining the second
end of the workpiece because
q a. it will control the length of q b. when machining the first
the workpiece being maend, there will be plenty of extra
stock left for the second end
chined
q c. the overall length of the n d. all of the above
workpiece after the first end
is machined is not very critical
13) Look at the drawing in programming activity number three. If geometry offsets are used to assign program zero, and if theyre taken from the
chuck face, to what should you set the work shift value?
q a. 1.6125
n b. 2.0125
q c. 2.125
q d. none of the above
14) If all cutting tools remain in the same turret stations from one job to the
next, only one offset value (the work shift value) must be remeasured
and entered.
n true
q false
15) What will happen if you forget to enter a geometry offset value for a tool
just placed in the turret?
The tool will not move correctly as the program is executed.
If the tools geometry offsets are zero (you cleared them
as you removed the last tool held in this station), the
machine will likely overtravel in the plus direction (no damage)
since the control would think the zero return position is
the program zero point for the tool.
16) Do programming activity number three. (See page 57 for programming activities.)
q false
Page 23
Page 24
13
Wear offsets
Name:
Date:
n false
4) If wear offsets must be canceled, this is the word that does so.
n a. T0
q b. H0
q c. D0
q d. P0
5) You need not cancel wear offsets in the program if geometry offsets are
used to assign program zero.
n true
q false
q false
12) One of the tools in a job performs a critical finish boring operation.
What can you do prior to running the tool to ensure that the boring bar
will not machine the hole too large on its very first cut?
q a. increase its wear offset by n b. decrease its wear offset by
0.010 or so
0.010 or so
q c. increase the programmed q d. decrease the programmed
dimensions by 0.010 or so
dimensions by 0.010 or so
13) While an initial adjustment to get a surface on size is commonly made
in a tools wear offset, give a reason why it might be better made in the
tools geometry offset.
If the tool will dull during the production run and need to be
replaced, the operator must set the wear offset back to
11) You measure an outside diameter and find it to be 3.2232. The target
value for this dimension is be 3.2238. What must you do to get the dimension properly adjusted?
n a. increase the wear offset it q b. decrease the wear offset by
by 0.0006
0.0006
q c. perform a dry run
q d. decrease the programmed
dimension for this diameter by
0.0006
Page 25
q false
17) Name two times when youll need more than one offset per tool.
a. For tools used on both ends of the same workpiece
machined in the same program (flip jobs)
b. Whenever tool pressure (deflection) is different in one area
of the workpiece than another and this difference is affecting
workpiece size differently. Unwanted taper, when grooving,
and two or more critical diameters are specific examples.
18) Do programming activity number four. (See page 57 for programming
activities.)
Page 26
14
Date:
10) Name the word needed to instate tool nose radius compensation for
the following examples.
n false
2) The tool nose radius will not affect the quality of machining for straight
faces and straight turns.
n true
a. G42
q false
3) Tool nose radius compensation is required to keep the tool tip radius
perfectly tangent (in contact with) all surfaces being machined.
n true
q false
4) Tool nose radius compensation allows the programmer to use print dimensions as programmed points for single point turning tools.
n true
b. G41
q false
7) Name and describe the two G codes used to instate tool nose radius
compensation
G41 - tool is on left side of surface during machining
G42 - tool is on right side of surface during machining
q false
Page 27
16) What programming command allows the programmer to automatically enter the values from question 13 from within the program?
G10
Extension questions
17) If the programmer is absolutely sure that the tool nose radius will not
vary during the production run, what can be done to eliminate the need
for the setup person to enter tool nose radius compensation values
during setup.
Two ways are possible. If manual programming, the
programmer can include a G10 in the program for each tool
using tool nose radius compensation. If programming with
a CAM system, they can have the CAM system output
motions that take into consideration the planned tool nose
radius.
Page 28
15
Program formatting
Name:
Date:
q false
2) CNC controls have progressed so far that you can write your program in
any manner you wish and the control will figure out what you intend to
do.
q true
n false
3) Our entry level formats will make your machines perform as efficiently
as possible.
q true
n false
4) Safety should be your primary concern as you begin writing your own
programs.
n true
n false
12) Name two things that may make it necessary to modify the formats we
show.
Answers could include:
a. G code numbering style (standard or special)
b. M codes for various machine functions
q false
5) Name the three reasons why you must learn to format you programs in a
strict manner.
6) Of the answers given in question five, which one is the most important?
to be able to rerun tools
7) The program format offered in this course will provide you with a crutch
to use until you eventually have the formats memorized.
n true
n false
9) You have written a five tool program. During the verification of tool
number four, a mistake is found. After correcting the mistake, you
would
q a. run the entire program q b. skip to tool five.
from the beginning to get
back to tool four.
n c. restart the program from q d. turn the power off to clear the
the beginning of tool four.
commands instated by tools
one through three.
Extension questions
15) If your turning center has more than one spindle range, what M codes
specify the various ranges?
q false
8) CNC operators can use the same procedures to run the CNC program,
regardless of how the program is formatted.
q true
16) If your turning center has a tailstock, what M codes specify its activation?
No answers can be provided.
Page 29
17) What M codes are used to specify the clamping and unclamping of the
chuck.
No answers can be provided.
Page 30
16
Name:
Date:
q false
q false
4) Look at the example program on page 5-17 through 5-19 using geometry offsets to assign program zero. Notice in line N080, the constant
surface speed mode (G96) is selected. Notice also that its repeated in
line N120, even though the speed mode has not changed from tool
three to tool four. Is the G96 in line N120 absolutely necessary? Why
or why not?
Yes the G96 is necessary if you expect to be able to run
the 3/4 finish boring bar by itself. If the G96 is not in line
N120, the control will start the spindle in what ever mode
(rpm or css) it happens to be in. If the 7/8 drill had just been
run, the spindle would start at 400 rpm in stead of 400
sfm.
9) What command will limit the spindle to 2,000 rpm for an entire program?
q a. G97 S2000 M03
q b. G96 S2000 M03
n c. G50 S2000
q d. M05 S2000
10) Though constant surface speed is a great feature, name and describe
one time when it can waste program execution time.
When the tool change position in X is at a large diameter.
The spindle will be constantly accelerating and decelerating
as each tool approaches and retracts. Since the spindle
6) Where should you make the tool change position (at least for a while) if
youll be assigning program zero in the program with G50s?
q a. the program zero position n b. the zero return position
q c. three inches away from the q d. ten inches from the face of
workpiece in X and Z
the chuck
stop switch.
12) What is the code used to end a program for most controls?
q a. M01
q b. M00
q c. G40
n d. M30
Page 31
19) Name two things that could be done to increase the efficiency for the
formats given in this lesson.
Answers could include:
a. include spindle activation within approach movements
b. better formatting of constant surface speed
c. including all M codes within motion commands
d. turning spindle off as the last tool retracts
e. confirming the proper spindle range
f. minimizing spindle reversals
N115
15) Prior to rerunning the tool from the pick up block given in question
number 16, what on/off switch would you turn on to confirm that the
machine will stop after the tool is finished?
The optional stop switch
Extension question
17) Which of the two machine format types (assigning program zero with
geometry offsets or G50s) will you use with your own programming
methods (ask your instructor or an experienced programmer in your
company).
We cannot provide an answer to this question.
18) You have written a program in the inch mode. However, you did not
include the G code (G20) in your program to select this mode. Earlier
in the day, someone ran a program that used the metric mode (G21).
What will happen when you run your inch-mode program? How could
you correct this problem?
The control would misinterpret ALL values in your program.
A value of 1.0 inch would be taken as 1.0 millimeter. You can
correct this problem by including a G20 or G21 to select the
appropriate measurement system at the beginning of all
programs (G20 for inch programs, G21 for metric
programs).
Page 32
17
Date:
10 points each
1) One pass canned cycles will allow you to completely rough machine the
workpiece based upon one command
q true
n false
9) Describe the major limitation of the simple canned cycle for turning and
boring as compared to the multiple repetitive cycle for rough turning
and boring.
The one-pass turning and boring cycle provides no help for
chamfers, radii, and tapers. It is almost as difficult to use
as G00 and G01 in this regard.
10) Describe the major limitation of the simple canned cycle for threading
as compared to the multiple repetitive cycle for threading.
when finished
6) Define the convenient starting position for the one-pass turning cycle.
n a. flush with the stock diame- q b. flush with the face in Z and
clear of the diameter in X
ter in X and clear of the face in
Z
q c. On the spindle centerline q d. Clear of the diameter in X and
in X and and clear of the
clear of the face in Z
workpiece in Z
7) Define the convenient starting position for the one-pass facing cycle.
q a. flush with the stock diame- n b. flush with the face in Z and
ter in X and clear of the face in
clear of the diameter in X
Z
q c. On the spindle centerline q d. Clear of the diameter in X and
clear of the face in Z
in X and and clear of the
workpiece in Z
8) Define the convenient starting position for the one-pass threading cycle.
q a. flush with the stock diame- q b. flush with the face in Z and
clear of the diameter in X
ter in X and clear of the face in
Z
q c. On the spindle centerline n d. Clear of the diameter in X and
in X and and clear of the
clear of the face in Z
workpiece in Z
Page 33
Page 34
G71 and G70 multiple repetitive cycles for turning & boring
Name:
Date:
q false
2) Define the convenient starting position for the G71 cycle when it used
for rough turning.
n a. flush with the stock diame- q b. flush with the face in Z and
ter in X and clear of the face in
clear of the diameter in X
Z
q c. On the spindle centerline q d. Clear of the diameter in X and
in X and and clear of the
clear of the face in Z
workpiece in Z
3) Define these words used in the G71 command:
D: depth of cut
q false
6) A G00 cannot be placed in the first command of the finish pass definition.
n false
7) Any feedrate the control sees during the finish pass definition will be
used by the rough turning cycle.
q true
n false
12) Why must you use the same convenient starting position for finishing
as was used for roughing?
Because the finishing tool will return to this position after
the finish pass is made. If this is the same position as the
5) The command following the G71 should be the starting block for the
finish pass definition
q true
10) How does G71 used for internal work differ from external work.
q a. the U word must be nega- q b. the finish pass definition
tive
must be done in a boring mode
q c. the convenient starting po- n d. all of the above
sition in X is the hole size instead of the stock diameter
q true
n true
9) When the control is finished with the G71 command it will execute
q a. the command beginning n b. the command after the last
the finish pass definition
command of the finish pass
definition
q c. the finishing movements q d. the command after the next
optional stop
11) When using G71 to rough, G70 requires that you use the same tool to
finish.
n true
n true
18
n false
13) Optimizing is easy when using G71, since you can change the depth of
cut for the entire roughing cycle by changing one word.
n true
q false
Phase one: The tool will machine in each pass until it contacts
Page 35
Page 36
19
Date:
6) Describe the basic movements for the peck drilling cycle (G74).
1) G72 should be used for roughing in a facing mode for large diameter,
rather short workpieces.
n true
q false
4) Describe the meaning of the words D, I, and K when used in the pattern
repeating cycle.
b. this cycle wont help if the groove is wider than the grooving
tool (it will not make multiple passes)
Page 37
Page 38
20
Date:
q false
2) Describe the convenient starting position when threading with the G76
command.
n false
11) You can offset as many times in the X axis as you want (and rerun the
threading tool), but unless you can offset in increments of the thread
pitch in Z, you cannot offset the Z axis and rerun the tool.
n true
q false
12) Name three control functions that are modified when a G76 threading
command is being executed.
3) How do you calculate the pitch for a thread designated in inch?
q a 0.5 times the number of n b. one divided by the number of
threads per inch
threads per inch
q c. the pitch is designated as q d. 0.75 times the thread length
part of the thread specification
4) How do you determine the thread depth (specified with K for most controls)?
Since most design engineers do not specify this value, you
must reference a machining handbook. Some programmers
will approximate, making the thread depth 75% of the pitch.
5) If thread chamfering is off (or its amount is set to zero), the threading
tool will actually chamfer the end of the thread prior to machining it.
q true
n false
6) The word used to specify the depth-of-cut for the first threading command (for most controls) is
q a. A
n b. D
q c. P
q d. I
7) The word used to specify the taper amount when machining taper
threads (for most controls) is
q a. A
q b. D
q c. P
n d. I
8) The word that specifies the tool angle (for most controls) is
n a. A
q b. D
q c. P
q d. I
Page 39
Page 40
21
Subprogramming techniques
Name:
Date:
q false
n false
a. part families
b. control programs
c. utilities
c. utilities
13) What do you think will happen if the subprogram you specify in your
subprogram calling command is not in the controls memory?
the control will go into alarm state and alert you that the
program is missing
Extension questions
q false
14) Other than the specific applications shown in lesson 21, can you think
of any other subprogramming applications for turning centers that fall
into the category of repeating machining operations?
examples could include grooving, threading, hole machining,
Page 41
Page 42
22
Date:
q false
2) If calling a subprogram one time, the format is the same for all Fanuc
and Fanuc compatible controls.
n true
q false
Page 43
Page 44
23
Date:
9) The word used with automatic corner rounding and chamfering to specify a chamfer as the tool comes up a face is
q a. I
q b. J
n c. K
q d. R
n false
3) The most basic function for optional block skip is to give the operator a
choice between one of two possibilities.
n true
10) The word used with automatic corner rounding and chamfering to
specify a radius is
q a. I
q b. J
q c. K
n d. R
11) Automatic corner rounding and chamfering will only word with 90 degree faces and turns.
n true
q false
4) If the optional block skip switch is off when the control reads the optional block skip code in the program, all information to the right of the
code in the command will be skipped.
q true
n false
q false
q true
n false
14) Write a command that would cause the machine to pause for two seconds.
c. G04 P2000
there are other applications, but these are the three named
6) Sequence numbers must be included in every line of your CNC program.
q true
n false
7) Name three times when you should include messages in your program
for documentation reasons.
answers could include: a. at every tool change to name the
tool. b. to document general information relative to the
program (header). c. to document what should be done at
every program stop. d. to document changes made after
a dispute. e. to document anything out of the ordinary.
16) The word used to set offset values from within a CNC program is
q a. G04
n b. G10
q c. G90
q d. H
17) The word used to command that the machine move to its second reference position is
q a. G28
q b. G40
n c. G30
q d. G17
n false
Page 45
Page 46
24
Date:
q false
n true
q false
15) What technique will help ensure that tools machining close tolerance
dimensions will cut properly?
q a. dry running
n b. trial machining
q c. showing a tool path display q d. assigning program zero
2) Workpiece loading
q setup n maintaining production
3) Adjusting offsets to hold size
16) What machine function will help you confirm that each tool will approach the workpiece without mishap?
q a. dry run
q b. single block
q c. feed hold
n d. all of the above
17) What machine function will let you see how much further the machine
will move in a given command?
q a. dry run
q b. single block
n c. distance-to-go
q d. feed hold
7) Boring jaws
adjusted during the tools life to allow for tool wear, they
19) Name five rudimentary tasks a beginning operator must master before
they will be able to run CNC machining centers.
n false
n false
Page 47
21) Describe the two most basic axis motions of a turning center. Which
direction is plus? Which direction is minus?
The X axis is the diameter controling axis. Plus is the
direction getting bigger in diameter on most machines.
The Z axis is the length controling axis, parallel to the
Extension questions
26) Describe the tasks you will be responsible for as a CNC operator in
your own company. Note: Youll have to talk to your instructor or an
experienced person to learn your responsibilities.
We cannot provide answers to these questions.
28 How will you be assigning program zero (with G50s in the program or
with geometry offsets)?
Page 48
25
Date:
2) Which display screen key lets you display and edit programs in memory?
q a. position
q b. offset
q c. program check
q d. alarm
n e. program
q f. setting
3) Which display screen key provides the most help when verifying programs?
q a. position
q b. offset
n c. program check
q d. alarm
q e. program
q f. setting
4) Which display screen key lets you show the location of each axis?
n a. position
q b. offset
q c. program check
q d. alarm
q e. program
q f. setting
5) Which display screen key lets you modify the wear offsets?
q a. position
n b. offset
q c. program check
q d. alarm
q e. program
q f. setting
6) Which key is used to enter new words and commands into CNC programs?
q a. the input key
n b. the insert key
q c. the delete key
q d. the plus key
7) Which key is used to enter offset values?
n a. the input key
q b. the insert key
q c. the delete key
q d. the plus key
zero return
11) Which mode switch position lets you run programs from the controls
memory?
memory or auto
12) Which mode switch position give you the most precise manual control of axis movement?
the handwheel mode
13) This conditional switch allows you to step through the program command by command.
q a. dry run
n b. single block
q c. optional stop
q d. machine lock
14) This conditional switch allows you to take control of motion rate during the execution of a program.
n a. dry run
q b. single block
q c. optional stop
q d. machine lock
15) Name the switch that lets you take change the machines rapid rate.
rapid override
16) Name the switch that lets you change the programs feedrate during
the execution of a program.
feedrate override
17) This button should be considered as your first panic button.
10) Which mode switch positions allows you to manually send each axis
to its reference position?
feed hold
18) What mode switch position must be used to command functions that
cannot be done manually?
manual data input (MDI) mode
Page 49
Extension questions
19) Do any of the controls you will be working with utilize soft keys on the
display screen?
We cannot provide answers to this question.
20) Do any of your machines allow complete manual control of the spindle
(on/off, direction, and speed)?
We cannot provide answers to this question.
Page 50
26
Date:
n false
10) Name the three most basic program editing keys and describe their
functions.
b. handwheel
c. zero return
2) Name the two mode switch positions related to the manual data input
mode.
a. MDI
b. edit
3) Name the most common mode switch position related to the program
operation mode.
memory or auto
4) If your turning center does not allow complete manual control of the turret index function, what mode must you use to make manual turret indexes?
11) The most basic reason why you must use the MDI mode is
q a. to run programs that are n b. to manually execute functoo long to fit in the controls
tions that there are no manual
memory.
push buttons and switches to
execute.
q c. to be able activate CNC q d. to be able to edit CNC proprograms.
grams.
12) What will happen if you have the mode switch in the wrong position
when you attempt to perform the desired function?
q a. an alarm will sound.
q b. an over travel will occur.
q c. the control will hang-up. n d. nothing
13) What mode switch position must you select before activating a CNC
program from the controls memory?
MDI
5) Related to question four, what command must you give with most machines to index to station number six?
memory or auto
T0600
6) If your machine does not allow complete manual control of the spindle,
what command would you give to turn the spindle on in the forward direction at 400 rpm?
G97 S400 M03
7) What command could you give to return both axes to the zero return position?
G28 U0 W0
8) Name the two most popular ways to cause manual axis movement.
a. with the jog (or manual) mode using the joy-stick or pushbuttons.
b. with the handwheel
Page 51
Page 52
27
Date:
10 points each
9) What should you do if you must perform procedures not given in our
operation handbooks?
e. setup sequences
10) The procedures given in the operation handbooks will work for all machines, even those built by different machine tool builders.
q true
n false
7) How can you quickly get to the beginning of a specific tool in your program?
Follow the procedure to search to specific words within
CNC programs.
Page 53
Page 54
28
Date:
10 points each
1) Name the three safety priorities (in order of importance).
a. operator safety
b. machine safety
c. workpiece safety
2) CAM system generated CNC programs tend to have fewer program formatting mistakes than manual programs.
n true
q false
q false
10) Almost every new program will require modification, even if only for
the purpose of optimizing.
n true
q false
q false
4) Though a new CNC program is harder to verify than a proven CNC program, name three things that could be wrong that would cause a proven
program to fail.
a. program zero assignment
b. tool length compensation offsets
c. cutter radius compensation offsets
5) Name the four most basic kinds of mistakes that can be made with CNC
programs.
a. syntax mistakes
b. motion mistakes
c. setup mistakes
d. mistakes of omission
6) In addition to verifying programs, beginners must run the program (before making workpieces) enough times to get familiar with the cycle.
n true
q false
Page 55
Page 56
Answers To
Programming Activities
Page 57
Name:
Date:
Operation description
Tool
Station
Speed
Feedrate
Rough face & turn. Leave 0.03 stock on side (0.06 on dia.) and
0.005 on faces.
80 degree diamond
600 sfm
0.012 ipr
55 degree diamond
700 sfm
0.006 ipr
Tool paths:
Page 58
Coordinate Sheet:
Point
2.1
0.005
-0.0625
0.005
-0.0625
0.1
1.81
0.1
1.81
-3.045
2.0
-3.045
2.0
0.1
1.56
0.1
1.56
-2.245
10
1.81
-2.245
11
1.31
0.1
12
1.31
-1.745
13
1.56
-1.745
14
1.06
0.1
15
1.06
-0.995
16
1.31
-0.995
17
0.81
0.1
18
0.81
-0.995
19
1.01
20
-0.062
21
-0.062
0.1
22
0.5
0.1
23
0.5
24
0.75
-0.125
25
0.75
-0.907
26
0.936
-1.0
27
1.125
-1.0
28
1.25
-1.0625
29
1.25
-1.75
30
1.375
-1.75
31
1.5
-1.8125
32
1.5
-2.25
33
1.625
-2.25
34
1.75
-2.3125
35
1.75
-3.05
36
2.0
-3.05
Page 59
Page 60
Page 61
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Second, study the
tool paths and fill in the coordinate sheet for tool positions
needed by the program. Again, all clearance positions are intended to be 0.1 inch away from surfaces. Third, fill in the blanks
in the program with the appropriate G codes, spindle speeds,
feedrates, and axis positions. This exercise stresses the same
skills as programming activity number one.
Coordinate Sheet:
Point
Print:
2.2
0.005
-0.062
0.005
-0.062
0.1
0.1
-2.2
1.19
0.1
1.19
-1.37
0.875
-1.37
0.875
0.1
10
1.375
0.1
11
1.375
12
1.25
-0.0625
13
1.25
-1.375
14
1.1
-1.375
15
1.0
-1.425
16
1.0
-2.0
17
0.8
-2.0
18
0.8
0.1
19
2.075
20
1.05
21
1.05
0.1
22
1.75
0.1
23
1.75
24
1.875
-0.0625
25
1.875
-1.0
26
2.2
-1.0
Process:
Seq
.
Operation description
Tool
Station
Speed
Feedrate
80 degree diamond
400 sfm
0.012 ipr
350 rpm
0.008 ipr
350 srm
0.007 ipr
Finish bore
400 sfm
0.005 ipr
Page 62
Tool paths:
Page 63
Page 65
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Notice that this is
the opposite end of the workpiece you worked on in programming activity number two. Also note that the same tools are used
(with the exception of the 7/8 drill). Second, study the tool paths
and fill in the coordinate sheet for tool positions needed by the
program. Again, all clearance positions are intended to be 0.1
inch away from surfaces. Third, fill in the blanks in the program
with the appropriate G codes, spindle speeds, feedrates, and axis
positions.
Print:
2.2
0.005
0.8
0.005
.08
0.1
1.8725
0.1
1.8725
0.005
2.0
-0.625
1.315
0.1
1.315
-0.245
0.8
-0.245
10
0.8
0.1
11
1.5
0.1
12
1.5
13
1.375
-0.0625
14
1.375
-0.25
15
1.1
-0.25
16
1.0
-0.3
17
0.8
-0.3
18
0.8
0.1
19
2.0125
20
1.175
21
1.175
0.1
22
1.8125
0.1
23
1.8125
24
1.9375
-0.625
25
1.9375
-0.913
26
2.1375
-0.913
Process:
Seq
.
Operation description
Tool
Station
Speed
Feedrate
Rough face and turn (leave 0.060 on dia, and 0.005 on faces)
80 degree diamond
400 sfm
0.012 ipr
350 sfm
0.007 ipr
Finish bore
350 sfm
0.005 ipr
Finish turn
55 degree diamond
450 sfm
0.005 ipr
Page 66
Tool paths:
N050 M01
(3/4" rough boring bar)
N055 T0303 M41
N060 G96 S350 M03
N065 G00 X1.315 Z0.1 M08 (7)
N070 G01 Z-0.245 F0.007 (8)
N075 X0.8 (9)
N080 G00 Z0.1 (10)
N085 X6.0 Z5.0
N090 M01
(3/4" finish boring bar)
Page 67
Page 68
Page 69
Name:
Date:
Instructions: First study the print and process to ensure you understand what the program will be doing. Second, calculate the
mean value for each uneven tolerance and write it close to the dimension on the print. Third, study the tool path drawings and fill
in the coordinate sheet. Fourth, fill in the blanks in the practice
program.
Point
13
1.3115
-0.745
14
0.88
0.1
15
0.88
16
1.0
-0.06
17
1.0
-0.75
18
1.1315
-0.75
1.7495
19
1.2515
-0.81
20
1.2515
-1.7515
21
1.38
-1.7515
22
1.5
-1.8115
23
1.5
-3.0
24
1.6295
-3.0
25
1.7495
-3.06
26
1.7495
-3.5
27
1.9
-3.5
28
2.0
-3.55
29
1.7
-2.501
30
1.15
-2.501
31
1.7
-2.532
32
1.5
-2.532
33
1.438
-2.501
34
1.7
-2.47
35
1.5
-2.47
36
1.2
-0.5
37
0.65
-0.5
38
1.2
-0.531
39
1.0
-0.531
40
0.938
-0.5
41
1.2
-0.469
42
1.0
-0.469
1.2515
1.7515
Coordinate Sheet:
Process
Point
1.8095
0.1
1.8095
-3.495
2.0
-3.495
2.0
0.1
1.56
0.1
1.56
-2.995
1.8095
-2.995
1.3115
0.1
1.3115
-1.7465
10
1.56
-1.7465
11
1.06
0.1
12
1.06
-0.745
Seq.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
450 sfm
0.012 ipr
Finish turn
55 degree diamond
500 sfm
0.007
400 sfm
0.005
Page 70
Page 71
Page 73
Name:
Date:
Point
2.2
0.005
-.0.062
0.005
-0.062
0.1
1.81
0.1
1.81
0.005
1.935
-0.245
1.935
-0.495
2.06
-0.745
0.1
10
-2.1875
11
1.19
0.1
12
1.19
-0.4325
13
0.94
-1.1825
14
0.94
0.1
15
1.5
0.1
16
1.5
17
1.25
-0.125
18
1.25
-0.4375
19
1.0
-1.1875
20
0.8
-1.1875
21
0.8
0.1
22
1.95
23
1.15
24
1.15
0.1
25
1.75
0.1
26
1.75
27
1.875
-0.25
28
1.875
-0.5
29
2.0
-0.75
30
2.2
0.75
Process:
Seq.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
450 sfm
0.012 ipr
1" drill
380 rpm
0.009 ipr
400 sfm
0.008 ipr
450 sfm
0.005 ipr
55 degree diamond
500 sfm
0.007 ipr
Page 74
Tool paths:
Geometry offsets:
#4 - R: 0.031 T: 2
#5 - R: 0.031 T: 3
O0005 (Program number)
(Rough face and turn tool)
N005 T0101 M41
N010 G96 S450 M03
N015 G00 X2.2 Z0.005 M08 (1)
N020 G01 X-0.062 F0.012 (2)
N025 G00 Z0.1 (3)
CNC Concepts, Inc.
Page 75
Page 76
Page 77
Name:
Date:
Point
1.45
-0.062
-0.062
0.1
1.025
0.1
1.025
1.125
-0.05
1.125
-1.05
1.45
-1.05
0.1
10
-1.21
11
0.6625
0.1
12
0.6625
13
0.5625
-0.05
14
0.5625
-1.03
Print:
15
0.4
-1.03
16
0.4
0.1
17
1.45
-1.125
18
1.025
-1.125
19
1.45
-1.075
20
1.125
-1.075
21
0.44
-1.125
Process:
Seq
.
Description
Tool
Station
Speed
Feedrate
Bar stop
12
none
none
80 degree diamond
550 sfm
0.008 ipr
1/2" drill
740 rpm
0.007 ipr
Finish bore
300 sfm
0.004 ipr
450 sfm
0.005 ipr
Page 78
Tool paths:
Page 79
Page 80
Page 81
Name:
Date:
8.2
0.005
-0.062
0.005
-0.062
0.1
8.2
0.1
8.2
-0.12
4.06
-0.12
4.06
0.005
8.2
-0.245
7.06
-0.245
10
6.06
-0.12
11
8.2
-0.37
12
7.06
-0.37
13
0.1
14
-1.8425
15
1.69
0.1
16
1.69
-0.495
Process:
Seq
.
Description
Tool
Station
80 degree diamond
1-3/8" drill
80 degree diamond
Page 82
Speed
Feedrate
Coordiant sheet:
Point
Point
17
1.375
-0.995
31
8.0
-0.455
18
1.375
0.1
32
7.84
-0.375
19
1.94
0.1
33
7.0
-0.375
20
1.95
-0.495
34
7.0
-0.25
21
2.125
0.1
35
6.0
-0.125
22
2.125
36
4.0
-0.125
23
2.0
-0.0625
37
4.0
-0.0625
24
2.0
-0.5
38
3.875
25
1.75
-0.5
39
-0.062
26
1.5
-1.0
27
1.75
-1.5
28
1.55
-1.5
29
1.55
0.1
30
8.2
-0.455
Page 83
N145 M01
(Rough boring bar)
N150 T0303 M41
N155 G96 S400 M03
N160 G00 X1.69 Z0.1 M08 (15)
N165 G01 Z-0.-495 F0.008 (16)
N170 X1.375 Z-0.995 (17)
N175 G00 Z0.1 (18)
N180 X1.94 (19)
N185 G01 Z-0.495 (20)
N190 X1.69 (16)
N195 G00 Z0.1 (15)
N200 X10.0 Z5.0
N205 M01
(Finish boring bar)
N210 T0404 M42
N215 G96 S450 M03
N220 G00 G41 X1.94 Z0.1 M08 (21)
N225 G01 Z0 F0.005 (22)
N230 G02 X2.0 Z-0.0625 R0.0625 (23)
N235 G01 Z-0.5 (24)
N240 X1.75 (25)
N245 X1.5 Z-1.0 (26)
N250 Z-1.5 (27)
N255 X1.55 (28)
N260 G00 Z0.1 (29)
N265 G40 X10.0 Z5.0
N270 M01
(Finish facing tool)
N275 T0505 M42
N280 G96 S500 M03
N285 G00 G41 X8.2 Z-0.455 M08 (30)
N290 G01 X8.0 F0.007 (31)
Page 85
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Second, use the tool
path drawings to fill in the coordinate sheet. Third, write the program to machine this workpiece. Use the single pass canned cycles to rough face, rough turn, and rough bore (dont do it with
G00 and G01).
Print
2.2
0.1
0.8
0.005
2.0
0.1
1.81
-0.745
1.0
0.1
1.19
-0.995
1.35
0.1
1.35
1.25
-0.05
10
1.25
-1.0
11
0.8
-1.0
12
1.35
0.1
13
1.35
14
1.65
15
1.75
-0.05
16
1.75
-0.75
17
2.2
-0.75
Process:
Seq
.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
500 sfm
0.012 ipr
450 sfm
0.008 ipr
500 sfm
0.005 ipr
80 degree diamond
600 sfm
0.007 ipr
Page 86
Tool paths:
Page 87
Page 88
Page 89
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Second, study the
tool paths and fill in the coordinate sheet. Note that we are not
supplying you with tool paths for finish boring and finish turning, since youll be using the G70 cycle and basing movements
on the values calculated for G71. While you are missing two or
three points for the finish turning operation, you should be able
to easily determine these points on your own. Third, write the
program for this workpiece using G71 to rough turn and bore and
G70 to finish turn and bore. Remember to use tool nose radius
compensation for the finishing operations.
Print:
Point
4.2
0.005
-0.062
0.005
-0.062
0.1
4.0
0.1
3.15
0.1
3.15
3.25
-0.05
3.25
-0.125
3.5
-1.0
10
3.5
-1.25
11
3.65
-1.25
12
3.75
-1.3
13
3.75
-1.5
14
4.0
-1.5
15
0.1
16
-2.25
17
1.25
0.1
18
2.85
0.1
19
2.85
20
2.75
-0.05
21
2.75
-0.125
22
2.5
-0.25
23
2.25
-0.25
24
2.0
-0.375
25
2.0
-.05
26
1.5
-1.5
27
1.5
-1.75
28
1.25
-1.75
Process:
Process:
Seq
.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
500 sfm
0.012 ipr
1-1/4 drill
270 rpm
0.009 ipr
450 sfm
0.008 ipr
500 sfm
0.005 ipr
80 degree diamond
600 sfm
0.007 ipr
Page 90
Tool Paths:
Page 91
Page 93
10
Name:
Date:
8.2
0.1
8.2
-1.25
8.0
-1.25
6.5
-1.0
6.5
-0.875
6.25
-0.75
5.75
-0.75
5.5
-0.625
5.5
-0.5
10
4.5
-0.25
11
4.125
-0.25
12
4.0
-0.1875
13
4.0
-0.09
14
3.82
15
-0.062
16
-0.062
0.1
17
0.1
18
-2.33
19
1.0
0.1
20
3.1
0.1
21
3.1
22
3.0
-0.05
Seq
.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
500 sfm
0.012 ipr
1.0 drill
270 rpm
0.009 ipr
Rough bore (leave 0.06 on dia, 0.005 on face), 0.1 depth of cut
450 sfm
0.008 ipr
500 sfm
0.005 ipr
80 degree diamond
600 sfm
0.007 ipr
Page 94
Tool pahths
Coordinate sheet:
Point
23
3.0
-0.245
24
2.74
-0.375
25
2.6
-0.375
26
2.5
-0.425
27
2.5
-0.81
28
2.12
-1.0
29
1.95
-1.0
30
1.75
-1.1
31
1.75
-1.44
32
1.87
-1.5
33
1.35
-1.5
34
1.25
-1.55
35
1.25
-2.1
36
1.0
-2.1
Note: The machine has a maximum speed of 4,000 rpm and this
workpiece does not require spindle limitation.
Page 95
(1.0 drill)
N120 T0202 M41
N125 G97 S270 M03
N130 G00 X0 Z0.1 M08 (17)
N135 G01 Z-2.33 F0.009 (18)
N140 G00 Z0.1 (17)
N145 X10.0 Z5.0
N150 M01
(Rough boring bar)
N155 T0303 M41
N160 G96 S450 M03
N165 G00 X1.0 Z0.1 M08 (19)
N170 G71 P175 Q255 U-.06 W.005 D1000
F0.008
N175 G00 X3.1 (20)
N180 G01 Z0 (21)
N185 X3.0 Z-0.05 (22)
N190 Z-0.245 (23)
N195 G03 X2.74 Z-0.375 R0.13 (24)
Page 96
Page 97
11
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Second, study the
tool path drawings and fill in the coordinate sheet. Third, write
the program for this workpiece using G76 to machine the thread.
Print
2.1
0.005
-0.062
0.005
-0.062
0.1
2.0
0.1
0.8
0.1
0.8
1.0
-0.1
1.0
-0.5
1.35
-0.5
10
1.5
-0.575
11
1.5
-1.375
12
2.0
-1.375
13
1.2
14
-0.062
15
-0.062
0.1
16
2.0
0.1
17
1.7
-1.275
18
1.5
-1.375
19
1.3
-1.375
20
1.7
-0.33
21
1.4168
-1.335
Process:
Seq
.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
400 sfm
0.013 ipr
55 degree diamond
500 sfm
0.007 ipr
550 sfm
0.005 ipr
1146 rpm
0.0555 ipr
Page 98
Tool paths:
Page 99
Page 100
Page 101
12
Name:
Date:
Instructions: First, study the print and process to gain an understanding of what the program will be doing. Notice the four identical reliefs. These (or something like them) could be grind
reliefs to be machined by the 55 degree diamond shaped finish
turning tool (after finishing rest of the workpiece with G70).
You might even have the same grind relief to machine on several
workpieces. Second, study the tool path drawings and fill in the
coordinate sheet. Third, write the subprogram to the motions
needed to machine one of the grind reliefs (do so incremental).
Fourth, write the main program that uses the subprogram. Use
the first position of the grind relief as a kind of convenient starting position in the main program. Rapid the tool to this position
(for each recess) using absolute positions, and then call the
subprogram.
Print:
2.0
0.1
0.9
0.1
0.9
1.0
-0.05
1.0
-0.75
1.15
-0.75
1.25
-0.8
1.25
-1.75
1.4
-1.75
10
1.5
-1.8
11
1.5
-2.5
12
1.65
-2.5
13
1.75
-2.55
14
1.75
-3.375
15
2.0
-3.375
16
2.0
0.1
17
1.95
-3.175
18
1.7
-2.3
19
1.45
-1.55
20
1.2
-0.55
21
U-0.2
W0
22
U-0.12
W-0.11
23
U0
W-0.09
24
U0.12
W0
25
U0.2
W0.2
Process:
Seq.
Description
Tool
Station
Speed
Feedrate
80 degree diamond
400 sfm
0.013 ipr
Finish turn
55 degree diamond
500 sfm
0.007 ipr
Page 102
Tool paths:
N006 M99
O0012 (Main program)
(Rough turning tool)
N005 G20 G23 G40
N010 G50 S5000
N015 T0101 M41
N020 G99 G96 S400 M03
N025 G00 X2.1 Z0.1 M08 (1)
N030 G71 P035 Q095 U.06 W.005 D1250
F0.013
Page 103
N195 M30
student
initials
11
12
21
15
22
25
16
17
2
3
6
7
8
9
1
4
5
10
13
20
18
24
23
14
19
26
on son son son son son son son son son son son son son son son son son son son son son son son son son 27
s
les
les les
les
les les
les
les les
les
les
les
les
les
les
les
les
les
les
les
les
les
les
les
les
les son
8
les 2
Scores
Tool paths:
Date:
9) What mode switch position lets you move the machine axes
manually?
q A) Jog
q D) Edit
q B) Auto
q E) Zero return
q C) MDI (manual data Input)
10) Which on/off switch works in conjunction with a slash code in
the program?
q A) Dry Run
q D) Single Block
q B) Optional Stop q E) Machine Lock
q C) Optional Block Skip/Block Delete
11) Which on/off switch works in conjunction with an M01 in the
program?
q A) Dry Run
q D) Single Block
q B) Optional Stop q E) Machine Lock
q C) Optional Block Skip/Block Delete
12) Which on/off switch makes the control activate one command in
the program at a time and then stop?
q A) Dry Run
q D) Single Block
q B) Optional Stop q E) Machine Lock
q C) Optional Block Skip/Block Delete
13) The Feedrate Override switch lets the operator control the machines movement rate during cutting commands.
q True q False
14) The button used to activate a CNC program is:
q A) Reset
q D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
15) The button used to temporarily stop the CNC cycle is:
q A) Reset
q D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
16) The button that will reactivate the CNC program after temporary
stoppage is:
q A) Reset
q D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
17) The button that will clear data in the look-ahead buffer after a
temporary program stoppage is:
q A) Reset
q D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
Final Test
General CNC Questions (continued)
18) The button that will actually turn off the power to the machine
tool is:
q A) Reset
q D) Cycle Start
q B Emergency Stop q E) Feed Hold
q C) Coolant On
19) The display screen mode that lets the operator actually see the
CNC program is the:
q A) Offset page
q D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
20) The display screen mode that lets the operator enter tooling related data is the:
q A) Offset page
q D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
21) The display screen mode that lets the operator most easily see
axis data is the:
q A) Offset page
q D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
30) As you are verifying a new program that has never run before,
you find what you consider to be a serious mistake in the programs motions. You should:
q A) do your best to fix the mistake and continue
q B) notify your supervisor so the programmer can be
contacted
q C) assume that the program has been well checked by
the programmer and run the program as it is
23) The display screen page that allows the operator to see a the
distance-to-go in the current CNC command is the:
q A) Offset page
q D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
24) Say your machine does not allow manual control of the spindle,
yet you must start the spindle during setup. You must:
q A) contact the machine tool builder to have them fix the
machine
q B) write a CNC program that starts the spindle at your
desired speed
q C) use the MDI mode to activate the spindle
q D) give up. There is no way to start the spindle
25) As part of the machine start up procedure, you must send the
machine to its zero return (home) position.
q True q False
26) Proven CNC programs (those run before) require no program
verification procedures.
q True q False
27) There is always some way to adjust offsets to ensure that every
tool in every program will machine with a little excess stock,
33) While running a new program, the machine goes into alarm
state and shows alarm number 41 with the message Overcutting
will occur during cutter radius compensation. You should:
q A) restart the program and try again
q B) turn on single block and cautiously run the next few
commands
q C) consult the alarm list in the operation manual to further diagnose the alarm
34) After diagnosing an alarm it is possible that you must:
q A) change a tool offset value
q B) edit commands in the program
q C) press the reset button to cancel the alarm
q D) all of the above
Final Test
Section Two: Turning Center Questions
35) A turning centers diameter controlling axis is its X axis.
q True q False
36) Spindle speed for a turning center can be specified in:
q A) only RPM
q B) only surface feet per minute (SFM)
q C) both RPM and SFM
q D) inches per revolution
37) Feedrate can be specified in:
q A) only feed per revolution (IPR in inch mode)
q B) only feed per minute (IPM in inch mode)
q C) both feed per minute and feed per revolution
q D) RPM
38) For almost all turning centers, program zero must be assigned
for every tool. These numbers almost always represent:
q A) the distance between program zero and the chuck face
q B) the distance between program zero and the machines
zero return (home) position
q C) the largest diameter and length the machine can turn
q D) the distance from the floor to the spindle centerline
39) Once the program zero assigning values are determined for
each tool, they must be placed:
q A) in the program at the beginning of each tool in a G50
command (G92 on some machines)
q B) in the corresponding geometry offsets
q C) in tool wear offsets
q D) A or B, depending on the method of program zero assignment
40) You need to index the turret to station number five. However,
the machine has no manual buttons and switches to allow turret
indexing. You must:
q A) contact the machine tool builder to fix the machine
q B) write a short program to make the turret index
q C) use the MDI mode to command the turret to index using program-like commands
q D) you cannot manually activate the turret index on this
machine
41) You are verifying a new program, cautiously allowing each tool
to approach the workpiece using single block and dry run. Tools
one and two run just fine. However, you are worried that tool
number three will not stop in its proper approach position, so
when the tool comes within about one inch of the workpiece in Z,
you press feed hold and check the DISTANCE-TO-GO page on
the display screen. Sure enough, the distance to go page reads a
distance of -3.5057 inches. It is likely that:
q A) the Z axis geometry offset for tool three is incorrect
q B) the programmed approach coordinate is incorrect
q C) the Z axis work shift value is incorrect
q D) any of the above
42) You are running the first workpiece with a proven program (one
that has run before). Tool number two is a finish turning tool
that machines a 3.0000 in +- 0.0005 diameter. After running
tool number two and find this diameter to be 3.0020 in. You
must
q A) increase tool number twos wear offset in X by 0.0020
q B) decrease tool number twos wear offset in X by
0.0020
q C) increase tool number twos wear offset in Z by 0.0020
q D) decrease tool number twos wear offset in Z by
0.0020
q E) change the program to make the tool cut 0.0020 in
smaller
43) After the problem described in question number 53 is corrected,
you must rerun tool number two. You must:
q A) rerun the entire program to get to tool number two
q B) you cannot rerun tools once they have cut
q C) write a small program just for tool number two
q D) turn on the optional stop switch, scan to the beginning block of tool number two, and run the program
from there
44) You are running the first workpiece in a new setup with a proven
program. You notice a very close tolerance on an outside diameter that is to be finish turned by tool number three. You should:
q A) simply run the finish turning tool. If the geometry offset and the programmed coordinates are correct, the
workpiece will come out right to size.
q B) increase tool number threes wear offset by a small
amount to force it to leave some excess stock on the diameter. Let tool three cut an measure what it does. Adjust the wear offset accordingly and rerun tool three.
q C) there is no way to ensure that this diameter will be
machined perfectly for the first workpiece.
q D) adjust the Z offset so the tool stays away from the
surface being machined.
45) As the finish turning tool described in question 55 continues to
machine workpieces, it will eventually begin to wear. What will
you have to do several times during the tools life in order to
keep the tool machining the workpiece to the proper diameter?
q A) Reduce the tools wear offset value in X.
q B) Reduce the tools wear offset value in Z.
q C) Increase the tools wear offset value in X.
q D) Increase the tools wear offset value in Z.
46) Eventually the insert in the finish turning tool described in
question 55 must be replaced (or indexed). When this is done,
you must also:
q A) increase the X offset back to its original value
q B) decrease the X offset back to its original value
q C) increase the Z offset back to its original value
q D) decrease the Z offset back to its original value
Date:
9) What mode switch position lets you move the machine axes
manually?
n A) Jog
q D) Edit
q B) Auto
q E) Zero return
q C) MDI (manual data Input)
10) Which on/off switch works in conjunction with a slash code in
the program?
q A) Dry Run
q D) Single Block
q B) Optional Stop q E) Machine Lock
n C) Optional Block Skip/Block Delete
11) Which on/off switch works in conjunction with an M01 in the
program?
q A) Dry Run
q D) Single Block
n B) Optional Stop q E) Machine Lock
q C) Optional Block Skip/Block Delete
12) Which on/off switch makes the control activate one command in
the program at a time and then stop?
q A) Dry Run
n D) Single Block
q B) Optional Stop q E) Machine Lock
q C) Optional Block Skip/Block Delete
13) The Feedrate Override switch lets the operator control the machines movement rate during cutting commands.
n True q False
14) The button used to activate a CNC program is:
q A) Reset
n D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
15) The button used to temporarily stop the CNC cycle is:
q A) Reset
q D) Cycle Start
q B) Emergency Stop n E) Feed Hold
q C) Coolant On
16) The button that will reactivate the CNC program after temporary
stoppage is:
q A) Reset
n D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
17) The button that will clear data in the look-ahead buffer after a
temporary program stoppage is:
n A) Reset
q D) Cycle Start
q B) Emergency Stop q E) Feed Hold
q C) Coolant On
Final Test
General CNC Questions (continued)
18) The button that will actually turn off the power to the machine
tool is:
q A) Reset
q D) Cycle Start
n B Emergency Stop q E) Feed Hold
q C) Coolant On
19) The display screen mode that lets the operator actually see the
CNC program is the:
q A) Offset page
n D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
20) The display screen mode that lets the operator enter tooling related data is the:
n A) Offset page
q D) Program page
q B) Position page q E) Program Check page
q C) Alarm page
21) The display screen mode that lets the operator most easily see
axis data is the:
q A) Offset page
q D) Program page
n B) Position page q E) Program Check page
q C) Alarm page
30) As you are verifying a new program that has never run before,
you find what you consider to be a serious mistake in the programs motions. You should:
q A) do your best to fix the mistake and continue
n B) notify your supervisor so the programmer can be
contacted
q C) assume that the program has been well checked by
the programmer and run the program as it is
23) The display screen page that allows the operator to see a the
distance-to-go in the current CNC command is the:
q A) Offset page
q D) Program page
q B) Position page n E) Program Check page
q C) Alarm page
24) Say your machine does not allow manual control of the spindle,
yet you must start the spindle during setup. You must:
q A) contact the machine tool builder to have them fix the
machine
q B) write a CNC program that starts the spindle at your
desired speed
n C) use the MDI mode to activate the spindle
q D) give up. There is no way to start the spindle
25) As part of the machine start up procedure, you must send the
machine to its zero return (home) position.
n True q False
26) Proven CNC programs (those run before) require no program
verification procedures.
q True n False
27) There is always some way to adjust offsets to ensure that every
tool in every program will machine with a little excess stock,
33) While running a new program, the machine goes into alarm
state and shows alarm number 41 with the message Overcutting
will occur during cutter radius compensation. You should:
q A) restart the program and try again
q B) turn on single block and cautiously run the next few
commands
n C) consult the alarm list in the operation manual to further diagnose the alarm
34) After diagnosing an alarm it is possible that you must:
q A) change a tool offset value
q B) edit commands in the program
q C) press the reset button to cancel the alarm
n D) all of the above
Final Test
Section Two: Turning Center Questions
35) A turning centers diameter controlling axis is its X axis.
n True q False
36) Spindle speed for a turning center can be specified in:
q A) only RPM
q B) only surface feet per minute (SFM)
n C) both RPM and SFM
q D) inches per revolution
37) Feedrate can be specified in:
q A) only feed per revolution (IPR in inch mode)
q B) only feed per minute (IPM in inch mode)
n C) both feed per minute and feed per revolution
q D) RPM
38) For almost all turning centers, program zero must be assigned
for every tool. These numbers almost always represent:
q A) the distance between program zero and the chuck face
n B) the distance between program zero and the machines
zero return (home) position
q C) the largest diameter and length the machine can turn
q D) the distance from the floor to the spindle centerline
39) Once the program zero assigning values are determined for
each tool, they must be placed:
q A) in the program at the beginning of each tool in a G50
command (G92 on some machines)
q B) in the corresponding geometry offsets
q C) in tool wear offsets
n D) A or B, depending on the method of program zero assignment
40) You need to index the turret to station number five. However,
the machine has no manual buttons and switches to allow turret
indexing. You must:
q A) contact the machine tool builder to fix the machine
q B) write a short program to make the turret index
n C) use the MDI mode to command the turret to index using program-like commands
q D) you cannot manually activate the turret index on this
machine
41) You are verifying a new program, cautiously allowing each tool
to approach the workpiece using single block and dry run. Tools
one and two run just fine. However, you are worried that tool
number three will not stop in its proper approach position, so
when the tool comes within about one inch of the workpiece in Z,
you press feed hold and check the DISTANCE-TO-GO page on
the display screen. Sure enough, the distance to go page reads a
distance of -3.5057 inches. It is likely that:
q A) the Z axis geometry offset for tool three is incorrect
q B) the programmed approach coordinate is incorrect
q C) the Z axis work shift value is incorrect
n D) any of the above
42) You are running the first workpiece with a proven program (one
that has run before). Tool number two is a finish turning tool
that machines a 3.0000 in +- 0.0005 diameter. After running
tool number two and find this diameter to be 3.0020 in. You
must
q A) increase tool number twos wear offset in X by 0.0020
n B) decrease tool number twos wear offset in X by
0.0020
q C) increase tool number twos wear offset in Z by 0.0020
q D) decrease tool number twos wear offset in Z by
0.0020
q E) change the program to make the tool cut 0.0020 in
smaller
43) After the problem described in question number 53 is corrected,
you must rerun tool number two. You must:
q A) rerun the entire program to get to tool number two
q B) you cannot rerun tools once they have cut
q C) write a small program just for tool number two
n D) turn on the optional stop switch, scan to the beginning block of tool number two, and run the program
from there
44) You are running the first workpiece in a new setup with a proven
program. You notice a very close tolerance on an outside diameter that is to be finish turned by tool number three. You should:
q A) simply run the finish turning tool. If the geometry offset and the programmed coordinates are correct, the
workpiece will come out right to size.
n B) increase tool number threes wear offset by a small
amount to force it to leave some excess stock on the diameter. Let tool three cut an measure what it does. Adjust the wear offset accordingly and rerun tool three.
q C) there is no way to ensure that this diameter will be
machined perfectly for the first workpiece.
q D) adjust the Z offset so the tool stays away from the
surface being machined.
45) As the finish turning tool described in question 55 continues to
machine workpieces, it will eventually begin to wear. What will
you have to do several times during the tools life in order to
keep the tool machining the workpiece to the proper diameter?
n A) Reduce the tools wear offset value in X.
q B) Reduce the tools wear offset value in Z.
q C) Increase the tools wear offset value in X.
q D) Increase the tools wear offset value in Z.
46) Eventually the insert in the finish turning tool described in
question 55 must be replaced (or indexed). When this is done,
you must also:
n A) increase the X offset back to its original value
q B) decrease the X offset back to its original value
q C) increase the Z offset back to its original value
q D) decrease the Z offset back to its original value
Instructors Notes
Slide #: 1
Lesson 1
Turning Center
Programming And Operation
Lesson One:
Machine Configurations
Copyright 2002, CNC Concepts, Inc.
Note that we provide a presentation named Introduction to let you introduce some
important points about the course. In this presentation, were digging in to subject
matter.
Lesson one is the first of seven consecutive lessons related to key concept number
one. In this lesson you will introduce students to the various types of turning
centers available, and to their most common programmable features.
Instructors Notes
Lesson 1
Slide #: 2
10T
O
X
I
F
M
X00.0000
Z00.0000
OFF
N
Y
J
D
S]
V
P AGE
G P A
Z Q B
K R C
H L #
T EOB /
Sp
8 9
5 6
2 3
0
=
7
4
1
+
RESET
START
CALC
CAN
INPUT
CURSOR
NC/PC
SHIFT
AUX
CYCLE
START
FEED
HOLD
MDI
JOG
AUTO
EDIT
100%
ON
HANDLE
OFF
DRY
RUN
ZERO
MODE RETURN
X+
0%
X-
200%
ON
OFF
SPINDLE
OPTIONAL
STOP
BLOCK
DELETE
ORIGIN
ON
MEMORY
PROTECT
7
X1
Z
X10
X100
9 10 11
12
5
4
3
SLOW
FAST
TURRET INDEX
100%
100%
0%
RAPID
OVERRIDE
FEEDRATE
OVERRIDE
JOYSTICK
EMERGENCY
STOP
MACHINE
LOCK
OFF
100%
10%
Z+
Z-
SINGLE
BLOCK
50%
25%
130%
0%
130%
OD
ID
AXIS LOAD
SPINDLE LOAD
CLAMP
DIRECTION
Key concept #1
CHUCK
TAILSTOCK
Instructors Notes
Slide #: 3
Lesson 1
3
Seven Lessons
!Machine configurations
!Understanding turning center feeds and speeds
!General flow of CNC Usage
!Visualizing the execution of a CNC program
!Understanding program zero
!Determining program zero assignment values
!Three ways to assign program zero
We begin each key concept by listing the lessons related to the key concept. Here
are the seven lessons related to key concept number one.
Instructors Notes
Lesson 1
Slide #: 17
17
!
!
Programmable functions
1 1
Each lesson begins with a lesson plan to help you introduce the main topics of the
lesson. Here is the lesson plan for lesson number one. Note that each lesson plan
will also point out the page number at which the lesson begins in the student manual
(in upper right corner).
Instructors Notes
Slide #: 18
Lesson 1
18
Presentation links
Key concept #1
Basic machining practice
Machine configurations
Universal slant bed
Chucker
Twin spindle horizontal
Sub-spindle
Single spindle vertical
Twin spindle vertical
Mill / turn
Gang style
Sliding headstock
Programmable features
Turret
Spindle
Feedrate
Coolant
This slide (with underlined topics) provides hypertext links to each of the topics. Notice the return
button at the lower left hand corner of each slide. Clicking on it at any time will return you to this
slide. This will provide you with several ways to make presentations.
1) Make the entire presentation
You can simply skip this slide (advance to the next slide) if you want to make the entire presentation.
Just remember that if you get into an area that youd not like to cover at the present time, you can
always click the return button to come back to this slide.
2) Skipping topics
To skip topics all together, simply click on the topic at which youd like to start. When finished,
click the return button to come back to this page. This makes a great way to get around if you ended
the last session at the end of one of the topics.
3) Use the elevator bar to get to a specific slide.
Remember that in the full version of PowerPoint (not just the viewer), you can click on the elevator
bar and move it to bring the presentation to a specific slide. The slide numbers at the top of each of
these pages (instructor notes) match slide numbers in the actual presentation.
4) Bullet points for reviews
Having this slide available when you review will allow you remember to recap all important topics.
If students are confused during your review, you can quickly jump to the topic in question and represent the material.
Instructors Notes
Slide #: 19
Lesson 1
19
We assume that students entering this course already know basic machining practice
as it relates to turning centers. Here we simply list those things the student should
already know. Depending upon the level of your own students, you may have to
dive deeper, explaining more about basic machining practice. However, if students
know little in this area, it should be taken as a signal that they should take a course
specifically for basic machining practice.
We do provide a lengthy presentation in the student manual about the kinds of
machining operations turning centers can perform. While this will acquaint students
with many important points about those things a student must know to complete this
course, it is not intended to replace a full course on basic machining practices.
Instructors Notes
Slide #: 26
Lesson 1
26
Machine Configurations
This series of slides helps you explain the various types of turning centers available.
However, you may wish to minimize how much you present to avoid confusing
newcomers with too many machine types. We recommend showing just those
machine types that you know your students will be working with in class (and in the
near future). Generally speaking, this means two axis universal slant bed turning
centers.
Instructors Notes
Slide #: 27
Lesson 1
27
Here is a list of machine types that we provide introductions to. Again, (using the
presentation links slide) you may want to show only the style of machine that you
know students will be working with.
Instructors Notes
Lesson 1
Slide #: 33
Turret
This is the last slide in a series that helps you introduce the most basic components
(headstock, chuck, tailstock, and turret).
Instructors Notes
Slide #: 34
Lesson 1
34
This slide helps you explain why this machine type is called a universal style.
Instructors Notes
Lesson 1
Slide #: 35
Z Axis
The next series of slides is an animation that helps you illustrate the Z axis. After
that, we show the X axis.
Instructors Notes
Slide #: 95
Lesson 1
+
If you want to turn a 3.0 inch diameter
3.000
X Axis
X is DIAMETER
X3.0
X3.0 will be the commanding word
Also be sure to point out that, for most turning centers, the X axis specifies the
diameter of the workpiece being machined.
Instructors Notes
Slide #: 96
Lesson 1
96
X Axis
X is DIAMETER
Once again:
3.000
X is always the diameter-controlling axis
Z is always the length controlling axis
Also:
X+: always gets bigger in diameter
Z+: always away from the spindle
X3.0
Upcoming slides help you illustrate all other popular forms of CNC turning centers.
Point out that they all share two things in common. X always controls diameter Z
always control workpiece length. And X plus is always getting bigger in diameter
Z plus is the direction away from the spindle face.
Instructors Notes
Lesson 1
Slide #: 100
Same basic components, but
Headstock
Chuck
Turret
NO Tailstock!
We do the same things for chucker style, twin spindle horizontal style, single
spindle vertical style, and all other styles of CNC turning centers. First we
introduce the main components - and then we introduce the axes (including
polarity).
Instructors Notes
Slide #: 130
Lesson 1
130
Instructors Notes
Slide #: 143
Lesson 1
143
Programmable Features
This series of slides helps you describe the most popular programmable features of
turning centers.
Instructors Notes
Slide #: 144
Lesson 1
144
Jaw open/close
Tailstock positioning
Door open/close
Others?
Here are the most popular programmable features. With upcoming slides, youll be
introducing them one by one.
Instructors Notes
Slide #: 147
Lesson 1
147
Turret index:
Four digit T word
T0101
Turret station number &
geometry offset number
With most turning centers, the turret will simply
take the shortest direction to the commanded
station (bi-directional turrets)
In this series of slides, you explain that the turret of a turning center is
programmable. A T word specifies the turret index and with most machines, it is a
four digit word. The first two digits specify the station number and geometry offset
number. The second two digits specify the wear offset number.
Instructors Notes
Slide #: 151
Lesson 1
151
Spindle activation:
Spindle is programmable in four ways:
1) Speed type
2) Speed
3) Direction
4) Range
Point out that the spindle is programmed in four ways. Upcoming slides help you
illustrate each way.
Instructors Notes
Slide #: 167
Lesson 1
167
Feedrate:
You can specify the feedrate for
cutting motions in one of two ways
G98 In per minute fashion
Inches or millimeters
per minute
or
G99 In per revolution fashion
Inches or millimeters
per revolution
Instructors Notes
Slide #: 171
Lesson 1
171
Coolant:
Two more M codes control flood coolant:
M08: Turn flood coolant on
M09: Turn flood coolant off
Coolant is, of course, used to cool and
lubricate the cutting operation
Instructors Notes
Slide #: 173
Lesson 1
173
Some turningThese
centers
have additional
functions are almost
programmable
features
always
handled with M codes
Jaw open/close
Tailstock positioning
Door open/close
Others?
Be sure students understand that turning centers vary when it comes to how many
programmable features they have.
Turning Center
Programming And Operation
Second Edition
FANUC
10T
O
X
I
F
M
X00.0000
Z00.0000
POWER
ON
OFF
N
Y
J
D
S]
V
PAGE
G
Z
K
H
T
P
Q
R
L
EOB)
A
B
C
#
/
8 9
5 6
2 3
0
=
7
4
1
+
Sp
RESET
START
CALC
CAN
INPUT
CURSOR
NC/PC
SHIFT
AUX
CYCLE
START
FEED
HOLD
MDI
JOG
AUTO
OFF
DRY
RUN
ZERO
EDIT
MODE RETURN
100%
0%
X-
200%
FEEDRATE
OVERRIDE
EMERGENCY
STOP
ON
OFF
SPINDLE
0%
100%
130%
RAPID
OVERRIDE
0%
SLOW
100%
5
4
3
FAST
130%
OD
OPTIONAL
STOP
BLOCK
DELETE
ORIGIN
ON
MEMORY
PROTECT
Z+
JOYSTICK
MACHINE
LOCK
100%
10%
SINGLE
BLOCK
OFF
50%
25%
X+
Z-
X1
Z
X10
X100
9 10 11
12
TURRET INDEX
ID
AXIS LOAD
SPINDLE LOAD
CHUCK
ON
HANDLE
CLAMP
DIRECTION
TAILSTOCK
Published By:
NOTICE!!
This manual is protected by copyright laws of the
United States Government. No part of this manual
may be reproduced without the written consent of CNC
Concepts, Inc. Additional copies of this document
must be directly purchased from CNC Concepts, Inc.
(847) 639-8847
Document number S00015 rev 5
Code
Description
G00
G01
G02
G03
G04
Rapid motion
Straight line cutting motion
CW circular cutting motion
CCW circular cutting motion
Dwell
Std
Std
Std
Std
Std
Yes
No
No
No
No
Yes
Yes
Yes
Yes
No
G70
G71
G72
G73
G74
Finishing cycle
Rough turn/bore cycle
Rough facing cycle
Pattern repeating cycle
Peck drilling cycle
Std
Std
Std
Std
Std
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
G09
G10
G17
G18
G19
Std
Opt
Std
Std
Std
No
No
Yes
No
No
No
No
Yes
Yes
Yes
G75
G76
Grooving cycle
Threading cycle
Std
Std
No
No
Yes
Yes
G20
G21
G22
G23
G27
Inch mode
Metric mode
Stored stroke limit instating
Stored stroke limit cancel
Zero return check
Std
Std
Opt
Opt
Std
Yes
No
No
Yes
No
Yes
Yes
Yes
Yes
No
G80
G81
G82
G83
G84
Std
Std
Std
Std
Std
Yes
No
No
No
No
Yes
Yes
Yes
Yes
Yes
G28
G29
G30
G31
G40
Std
Std
Opt
Opt
Std
No
No
No
No
Yes
No
No
No
No
Yes
G85
G86
G87
G88
G89
Reaming cycle
Boring cycle
Back boring cycle
Boring cycle
Boring cycle with dwell
Std
Std
Std
Std
Std
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
G41
G42
G50
G54
Std
Std
Std
Std
Std
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
G90
G92
G94
G96
G97
Std
Std
Std
Std
Std
No
No
No
No
Yes
Yes
Yes
Yes
Yes
Yes
G55
G56
G57
G58
G59
Std
Std
Std
Std
Std
No
No
No
No
No
Yes
Yes
Yes
Yes
Yes
G98
G99
Std
Std
No
Yes
Yes
Yes
G61
G64
G65
G66
G67
Std
Opt
Opt
Opt
Opt
No
No
No
No
Yes
Yes
Yes
No
Yes
No
Common M codes
Code Description
M00
M01
M02
M03
M04
Program stop
Optional stop
End of program (no rewind)
Spindle on forward (CW)
Spindle on reverse (CCW)
Std
Std
Std
Std
Std
No
No
No
No
No
No
No
No
Yes
Yes
____
____
____
____
____
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
M05
M06
M07
M08
M09
Spindle off
Bar feeder command
Mist coolant
Flood coolant
Coolant off
Std
Std
Opt
Std
Std
No
No
No
No
Yes
Yes
No
Yes
Yes
Yes
____
____
____
____
____
___
___
___
___
___
___
___
___
___
___
___
___
___
___
___
M30
M98
M99
Std
Std
Std
No
No
No
No
No
No
____
____
____
____
________________________
________________________
________________________
________________________
___
___
___
___
___
___
___
___
___
___
___
___
As with G codes, M code numbers vary dramatically from one machine tool builder to another. Be sure
to check the M codes list that comes with your machine to see what other M codes you may have.
Table of Contents
Part One: Programming, 1-1
Key concept number one - know your machine, 1-1
Lesson 1 - Machine configurations, 1-1
Basic machining practice related to turning centers, 1-1
External versus internal operations, 1-2
Right hand versus left hand tools, 1-3
High speed steel (hss) versus carbide insert tools, 1-4
Carbide insert tools, 1-4
Chip breaker, 1-4
Clamp and retaining pin, 1-4
Clearance angle, 1-5
Cutting edge, 1-5
Insert, 1-5
Lead angle, 1-5
Holder, 1-5
Nose radius, 1-5
Tool life, 1-5
Chatter (vibration), 1-6
Part finish, 1-6
Rake angle and relief angle, 1-6
Seat, 1-6
Square shank versus round shank, 1-6
Understanding tool geometry, 1-6
How carbide inserts are specified, 1-6
First letter (shape):, 1-7
Second letter (relief angle):, 1-7
Third letter (tolerances):, 1-8
Forth letter (type of insert), 1-8
First digit (size of insert), 1-9
Second digit (thickness), 1-9
Third digit (tool nose radius), 1-9
Tool holder types, 1-9
Diamond shaped carbide insert turning tools, 1-9
Eighty degree diamond shaped insert turning tools, 1-10
Positive lead angle 80 degree tool holders, 1-11
Positive lead angle 80 degree facing tool holder, 1-13
Eighty Degree Profiling Tool, 1-13
Fifty-five degree diamond turning tool holders, 1-14
Thirty-five degree diamond tools, 1-16
Triangular shaped insert turning tool holders, 1-17
Turning tool holders for round inserts, 1-18
Carbide insert grooving tools, 1-20
Contour grooving, 1-22
Cut-off tools (also called parting tools), 1-23
Single point threading tools, 1-23
Internal machining operations on turning centers, 1-25
Drilling, 1-25
Boring Bars, 1-28
Clearance angle, 1-29
Page One
Insert, 1-29
Lead angle, 1-29
Nose angle, 1-29
Nose radius, 1-29
Protrusion, 1-30
Rake angle and relief angle, 1-30
Shank diameter, 1-30
Shank support, 1-30
Rough boring, 1-30
Back boring bars, 1-34
Internal grooving tools, 1-35
Internal threading tools, 1-36
Roughing versus semi-finishing versus finishing, 1-36
Conclusion to turning center machining operations, 1-37
Machine configurations, 1-39
The two most basic directions of motion, 1-39
Any other axes?, 1-39
Universal slant bed turning centers, 1-40
Chucking style slant bed turning centers, 1-41
Twin spindle horizontal bed turning centers, 1-41
Vertical single spindle turning centers, 1-42
Twin spindle vertical turning centers, 1-42
Engine lathe style CNC turning centers, 1-43
Gang style turning centers, 1-44
Programmable functions of turning centers, 1-44
Turret indexing (tool changing), 1-44
Spindle speed and activation, 1-45
Feedrate specification, 1-45
Spindle range changing, 1-45
Coolant, 1-46
Tailstock, 1-46
Bar feeders and chuck activation, 1-46
Part catchers, 1-46
Programmable steady rests, 1-47
Live tooling and rotary devices, 1-47
Exceptions to X axis, 1-47
Two turrets on the same cross slide, 1-47
Center cutting axis, 1-47
Tool touch off probes , 1-48
Automatic tool changing devices, 1-48
Lesson 2, 1-49
Understanding turning center speeds and feeds, 1-49
The two ways to select spindle speed, 1-49
Two times when rpm mode must be used, 1-51
The two ways to specify feedrate, 1-51
Warning about feedrate modes, 1-52
Lesson 3, 1-53
General flow of CNC usage, 1-53
Company types that use CNC turning centers, 1-53
Product-producing companies, 1-53
Workpiece-producing companies, 1-53
Tooling-producing companies, 1-53
Page Two
Page Three
Page Four
Page Five
Page Six
Page Seven
Page Eight
Page Nine
Page Ten
Program , 8-24
Offset, 8-24
Program check, 8-24
Setting and parameter , 8-24
Letter Keys, 8-25
The shift key, 8-25
The slash key (/), 8-25
Number keys, 8-25
Decimal point key, 8-25
Arithmetic operator keys, 8-25
The input key, 8-25
Cursor control keys, 8-25
Program Editing Keys, 8-26
Insert key, 8-26
Alter key, 8-26
Delete key, 8-26
Reset button, 8-26
Other keys on the control panel, 8-26
I/O keys, 8-26
Graphic control keys, 8-27
Soft keys, 8-27
Buttons and switches found on the machine panel, 8-27
Mode switch, 8-27
Edit mode, 8-28
Memory or auto, 8-28
Tape mode, 8-28
Manual data input (MDI) mode, 8-28
Manual or jog mode, 8-28
Cycle start, 8-29
Feed hold, 8-29
Feedrate override, 8-29
Rapid traverse override, 8-30
Emergency stop, 8-30
Conditional switches, 8-30
Dry run, 8-30
Single block, 8-31
Machine lock, 8-31
Optional block skip (also called block delete), 8-31
Optional stop, 8-32
Manual controls, 8-32
Handwheel controls, 8-32
Jog controls, 8-32
Turret index controls , 8-33
Spindle control, 8-33
Indicator lights and meters, 8-33
Spindle horsepower meter, 8-33
Axis drive horsepower meter, 8-33
Cycle indicator lights, 8-33
Zero return position indicator lights, 8-33
Optional stop indicator light, 8-33
Handwheel indicator light, 8-33
Other buttons and switches on the machine panel, 8-34
Page Eleven
Key concept number eight - The three modes of machine operation, 9-1
Lesson 26, 9-1
Three modes of operation, 9-1
The manual mode, 9-1
The manual data input mode, 9-1
The manual data input position of the mode switch, 9-2
The edit position of the mode switch, 9-3
Entering a new program, 9-3
Modifying a previously entered program, 9-4
The program operation mode, 9-4
The memory (or auto) mode switch position, 9-5
The tape mode switch position, 9-5
Page Twelve
The first key concept is that you must understand the basic make-up of the CNC machine tool you will be
working with. Though this may sound like a simplistic statement, there are actually two vantage points
from which you must understand the CNC turning center. To become fully versed with the machine, you
must understand the machine from the programmers viewpoint as well as from the operators viewpoint.
Since key concept number one is related to programming, we will discuss those things about the CNC turning center that the programmer must comprehend. Much later, in key concept number seven, we will discuss those things about a CNC turning center a setup person or operator must know.
Lesson 1 - Machine configurations
Page 1-1
not trying to eliminate the need for you to learn more about basic machining practices. We are simply going
to review the specific cutting tools and machining operations we assume you understand throughout this
course.
1.1.1. External versus internal operations
With but one exception, turning centers will cause machining by rotating the workpiece while a stationary
cutting tool is brought into contact with it. As the cutting tool is forced into the spinning workpiece material, this contact will cause the tool to shear material. The drawing shows how a stationary turning tool
shears material from a rotating workpiece held in the chuck of the turning center.
Page 1-2
External work
Internal work
Drawing illustrates the difference between a right hand and a left hand turning tool
The decision as to which style of tool you use is closely related to how cutting forces will be distributed during machining operations. Most machine tool builders recommend that, for powerful roughing operations,
you use the style of tooling that forces the power of the cut to be driven against the machines rigidity. For
most slant bed turning centers, this means using left hand tools and running the spindle in a reverse direction.
Page 1-3
Page 1-4
If a retaining pin is utilized in the holder, it will either be an eccentric pin that will pivot around its centerline
and hold the insert from the side of the pin or the pin may act like a screw and hold the insert down from the
top.
It is important for the operator to be very careful when indexing or changing carbide inserts to place the new
insert (or new side of the same insert) in the holder in the same manner each time. They should take care to
always tighten clamps for eccentric pins in the same direction, ensuring that the insert is seated against the
same tool holder surfaces. This will ensure consistent positioning of the inserts cutting edge, which in turn
will make the tool machine the next workpiece in a consistent fashion.
1.1.4.3. Clearance angle
This angle determines the ability the turning tool has to plunge into a recess. The smaller this angle the more
restricted the tool will be related to machining recesses. But this angle also has a lot to do with the strength
of the tool. Generally speaking the smaller this angle, the stronger the tool.
This angle also provides the clearance on the back side of the tool as it is turning a part, keeping it from
scraping or rubbing on this surface.
1.1.4.4. Cutting edge
This is the surface of the tool that is capable of machining. Many carbide insert turning tools have more than
one cutting edge. The same tools can do two or more types of turning operations. For example, the tool depicted above has the ability to turn and to face. More on this a little later.
1.1.4.5. Insert
This is the carbide insert itself. There can be many different configurations of carbide inserts, but the most
basic shapes are round, square, diamond and triangular.
Also, there are many grades of carbide to choose from based on the material to be machined. The grade of
the insert determines, among other things, its resistance to breaking down during machining operations.
Some inserts are even coated with a titanium nitride material to allow longer tool life for machining harder
materials. Others are intentionally un-coated for machining softer materials.
1.1.4.6. Lead angle
In a similar way to the clearance angle, the lead angle has a lot to do with what the tool is capable of machining. For tools with two cutting edges (as the tool shown above), the lead angle and the clearance angle can
actually reverse, depending on the direction the tool is cutting. When switching from turning to facing, for
example, the lead angle and clearance angle are reversed.
1.1.4.7. Holder
The turning holder is the tools shank, and can come in many different configurations. Depending on the
application of the turning tool, the holder could be designed to hold the carbide insert in a turning manner,
facing manner, face profiling manner, or any way that allows the insert to be secured for machining.
1.1.4.8. Nose radius
ALL turning tools will have some nose radius on the very point of the tool. The size of the nose radius determines many things about how the tool will perform. The basic purpose of the nose radius is to increase tool
life. If there were no radius at all, the tool would soon dull.
Carbide inserts have standard nose radius sizes to choose from. The choices are 1/64 (.015), 1/32 (.031),
3/64 (.047), and 1/16 (.062). While you can buy inserts with other nose radius sizes, they are usually specials.
Here are some generalizations related to how the size of a tools nose radius affects machining.
1. Tool life
Generally speaking, the larger the nose radius, the longer the tool will last. Small nose radius tools 1/64 or
smaller) should only be used if the workpiece specification dictates it. Unless the design engineer has spe-
Page 1-5
cifically stated that an inside radius on the part be very small, it is wise to choose a tool with a larger nose radius (1/32 or bigger).
2. Chatter (vibration)
The size of the nose radius on a turning tool has a lot to do with how prone the tool will be to vibration (commonly called chatter). Generally speaking, the larger the nose radius, the more prone the tool will be to chatter.
3. Part finish
Generally speaking, the size of the turning tools radius has an impact on the finish at a given feedrate. That
is, a larger radius will have the tendency to provide a better finish. However, this is assuming that no chatter
or vibration occurs during machining. To attain a good finish with a smaller tool nose radius will require a
slower feedrate, which in turn, takes more time.
1.1.4.9. Rake angle and relief angle
The cutting edge of a carbide turning tool is determined by the combination of the rake angle and the relief
angle. The sharper (more positive) the rake angle, the more tendency the tool will have to freely shear material from the workpiece. The relief angle supplies clearance under the tool, ensuring that the insert does not
rub on the workpiece being machined. Many turning tools, especially roughing tools, have negative rake
angles (as the tool shown in our example). While this doesnt make for easy machining (more power is required), it does lengthen tool live. Note that many tool holders are designed to have negative rake angles,
but the actual insert placed into the holder has a positive rake angle ground into its cutting edge. Again,
there are many variations for rake angle and relief angle. Generally speaking, the softer the material being
machined, the larger (more positive) the rake angle can be without fear of premature breakdown.
1.1.4.10. Seat
The seat in any carbide insert turning holder supplies a nice quality, flat surface for the insert to locate
against. Also, if the tool holder is damaged due to a mishap, many times, only the seat must be replaced.
1.1.4.11. Square shank versus round shank
The shank of most carbide insert turning holders is square. This allows the tool holder to be secured in the
machine by several methods (wedge clamps, set screws, etc.).
Everything weve just seen with carbide insert turning tools applies directly to carbide insert boring bars
(tools used for internal machining). The only real difference is the shank configuration. Boring bars have
round shanks.
1.1.5. Understanding tool geometry
Tool geometry refers to the general size and shape of the tool holder and insert combination. It determines
what surfaces the tool will be capable of machining. Novices to turning center basic machining practice
commonly have problems determining the best style of tool to use for a given operation. Admittedly,
theres a lot to think about.
For example, a general purpose 80 degree included angle carbide insert might do the job just fine for low
production. But as production quantities grow, the general purpose 80 degree included angle tool will wear
more quickly than desired. The company could save money by using a more special tool.
This determination is related to the geometry of the tool. By geometry, we mean the shape of the tool holder,
the manner in which the tool holder holds the insert, and the shape of the insert itself. These three factors determine the tools machining capability.
1.1.5.1. How carbide inserts are specified
While carbide inserts come in many shapes and sizes, there is a high degree of standardization among tooling manufacturers when it comes to carbide insert specifications. We are most interested in those inserts
that apply to turning operations, but the discussions we give also includes inserts used for other purposes
(like milling).
Page 1-6
Page 2-1
Without preparation, the programmer will be constantly backtracking to repair problems during programming and rewriting programming commands. And when the program is finally finished, it must be verified
at the machine. If the programmer was ill prepared to write the program, chances are there will be many
problems yet to present themselves at the machine. And if an experienced programmer would have problems programming without preparation, the ill-prepared novice will be doomed to failure.
2.0.1. Preparation and safety
When a CNC program is executed, you can rest assured that the CNC machine tool will follow your programs instructions to the letter. While the control may go into an alarm state if it cannot recognize one
command or another, it will give absolutely no special consideration to incorrectly specified motion commands. The severity of problems encountered due to motion mistakes range from relatively minor to catastrophic.
Minor motion mistakes usually do not result in any damage to the machine or tooling, and the operator is not
exposed to a dangerous situation. However, the workpiece may not come out correctly.
For example, say a programmer intends to drill a hole at feedrate word of F.015" (0.015 ipr) in the drilling
command. But when writing the program, they place the decimal point in the wrong place. If they specify
the F word as F0.0015" instead of F0.015", the control will run the drill at a much slower feedrate than intended. Its likely that no damage to the tool or machine would result, but at the very least, the machining
cycle time would be much longer than necessary.
Catastrophic mistakes, on the other hand, can result in damage to the machine, workpiece, & cutting tools,
and injury to the operator. For example, a programmer intends to position a tool at the machines rapid rate
to clearance diameter position to get ready to face the end of the workpiece. Say the command they intend is
N015 G00 X3.2 Z0.005
But again, the decimal point is misplaced (for the X word) and this command is given instead
N015 G00 X.32 Z0.005
In this case, the control would crash the tool right into the workpiece at the machines very fast rapid rate.
Its likely that the workpiece, cutting tool, and possibly the machine will be damaged. And if the workpiece
comes flying out of the workholding device (as it probably would), the operator could be injured.
This is not being stated to scare novice programmers. There are several verification procedures that, if followed, almost guarantee no that crash will occur. The setup person will find the mistakes during these program verification procedures. (Program verification procedures are shown during key concept number
ten.) However, as a CNC turning center programmer, you must recognize the potential for dangerous situations. This recognition should lead to your being as careful as possible when developing programs and doing everything possible to avoid mistakes. Adequately preparing to write CNC programs is the single-most
important thing you can do to avoid mistakes.
In a joking way, we say there are two kinds of CNC operators - those that have had a crash and those that are
going to! It seems inevitable that someday every operator will have a mishap of one sort or another, just as it
seems inevitable that anyone who drives an automobile every day will eventually be involved in an accident.
But all joking aside, there is never an excuse for having a crash. Again, during the operation section of this
course (in key concept number ten), well show several verification procedures that will help the setup person find mistakes in a CNC program before a crash can occur.
We cannot over-emphasize the importance of preparation for the purpose of avoiding mistakes. Just as the
well prepared speaker is less apt to make mistakes during the delivery of their speech, so will the well prepared CNC programmer be less apt to make mistakes while writing the CNC program.
Page 2-2
Page 2-3
outside diameter (machined prior to drilling and rough boring) will not be concentric to the inside diameter
(machined after drilling and rough boring).
Here is a revised machining process that eliminates the problems caused by workpiece shifting. Notice that
the finishing operations are done last (after any shifting that occurs).
1) Rough face and rough turn
2) Drill a 2.0 diameter hole in the center of the workpiece
3) Rough bore
4) Finish bore
5) Finish face and turn
Notice the difference in this improved process. In the second process, the part is completely rough machined before any finishing starts. Most experienced machinists will agree that this is better machining
practice.
Whether you agree with the machining process-related points in this specific example is not the point. The
real point to this discussion is that you must be able to develop a workable process before you can write a
CNC turning center program. In our specific example, if the programmer decides to develop the process
while writing the program (and makes the processing mistake), they may not discover the mistake until the
program is run at the machine. And at this point, its too late. A great deal of machine time will be wasted as
the program is changed to match an improved process.
Developing your machining process before the program is written will actually serve several purposes (in
addition to helping avoid mistakes with processing). When it comes to dividing the seemingly complex
task of programming into smaller pieces, processing up-front will allow you to separate the task of processing from programming. Youll be able to concentrate on basic machining practice skills as you develop the
process and programming skills as you write the program. If you use a processing form similar to the one
shown in Figure 2.1, it will allow you to document your process for all to see. This form will become the
English version of your program. As youll see while we discuss the processing form in greater detail, processing up-front will also force you to think about other important programming information (like cutting
tools and cutting conditions) before you start writing the program.
Page 2-4
Page 2-5
Figure 2.1 shows an example planning form that can help you organize your process. This form also provides documentation for others to see about the machining process for the workpiece being programmed. If
this will be a long running job (repeated many times over the next few months or years), its likely that
someone else will have to work on your program. Engineering revisions, optimization, and changes to
available cutting tools are among reasons why CNC programs must be changed on a somewhat regular basis.
We offer one more reason to develop your process prior to programming. If you use a form similar to the
one shown in Figure 2.1, it will provide you with a checklist of the operations that must be performed. As
stated earlier, novice programmers tend to make mistakes of omission. Its not unlikely, for example, for a
novice to forget to drill a hole before rough boring it! With a checklist of operations already written, youll
be less likely to make such a basic mistake.
2.0.3. Check the required tooling
The planning form shown in Figure 2.1 has space to write down what kind of cutting tool will be used for
each operation. There are, of course, several basic machining practice considerations related to your cutting tool choices. As discussed in lesson one, tool holder style, cutting edge material, tool nose radius, and
other tool geometry factors will affect the machining operations being performed by the tool. The cutting
tool choices you make are very important. Once youve decided which cutting tools to use, youll want to
confirm that they are available.
You must also be sure that each tool is capable of machining the surfaces you expect them to machine. A recess may require a turning tool with a small nose angle an large clearance angle. An inside radius designation on the print may require an small tool nose radius insert to be used. Grooving tools must be equal to or
narrower than the groove to be machined. And so on.
2.0.4. Develop the needed cutting conditions
Notice that the form shown in Figure 2.1 has room to write the speed and feed for each operation. It is helpful to come up with the various cutting conditions needed in the program before actually writing the program. This will keep the you from having to break out of your train-of-thought while programming. While
the form we offer does not show it, it may also be wise to determine other cutting conditions-related criteria
before writing your program. These criteria can include depth-of-cut-per-pass and finishing allowance for
roughing operations.
2.0.5. Do the math
How dimensions are described on the part print will determine how much math is required for your program. Progressive companies have their design engineering departments supplying all dimensions with
datum surface dimensioning. When this technique is used, each dimension on the print will be taken from
only one position in each axis. While this may reduce the need to do calculations, it does not completely
eliminate the need for doing math. Youll see why in just a bit.
Of course, not all design engineers use datum surface dimensioning techniques. You may be expected to do
a great deal of math in order to determine X and Z coordinates required in the CNC program. Regardless of
how much math is required to determine program coordinates, it is wise to perform these calculations before you write the program. This will keep you from having to break out of your train-of-thought to calculate coordinates as you write the program.
If you have been doing the practice exercises that accompany this course, youve already done some coordinate calculations. Youve also seen our method of numbering points (dot-to-dot) and placing each points
X and Z values on an easy-to-read coordinate sheet. (If you havent been doing the practice exercises, we
have an example showing these techniques coming right up.) However, our practice exercises have only required that you calculate positions that are right on workpiece surfaces. And weve provided the points for
you to calculate. In reality, there will be many times when coordinates required in the program will not actually be on the workpiece (especially for clearance positions and when finishing stock must be allowed).
And youll be on your own to determine which positions are required in the program. Once again, this
brings up the need to understand basic machining practice. You must be able to plan each cutting tools
movement path (commonly called the tool path) in order to plot the points needed for your program. This
drawing show a cross section of a workpiece to be machined.
Page 2-6
Page 3-1
Page 3-2
Second, all motion types require that you specify the end point for the motion. The control will assume the
axes are at the start point as the motion is commanded. For this reason, you can think of motion commands
as a series of connect-the-dots or point-to-point motions.
Third, all motion commands allow you to work in either the absolute or incremental mode. As you know
from key concept number one, the absolute mode should be your positioning mode of choice. In the absolute mode, all coordinates will be specified from the program zero point. For most controls, absolute coordinates are specified with the letter addresses X and Z. Incremental departure distances are specified with
letter addresses U and W. While it may not be of immediate importance, its nice to know that you can combine incremental and absolute motions in a command. The command including
U0.002 Z-1.5
will cause the cutting tool to increase in diameter by 0.002 inch (incrementally) while moving to a position
of 1.5 to the negative side of the program zero point in the Z axis.
Fourth, all motion types allow you to leave out a non-moving axis. If youre simply turning a diameter (requiring only a Z axis motion), the X axis specification can be left out of the command. If youre facing a
workpiece (requiring only X axis motion), you can leave out the Z specification. The control will not attempt to move the tool in an axis left out of the motion command.
And fifth, current CNC controls allow leading zeros to be left out of the motion-invoking G code. For rapid
motion, G00 or G0 can be used. For linear motion, G01 or G1 can be used. For clockwise circular motion,
G02 or G2 can be used. And for counterclockwise circular motion, G03 or G3 can be used.
3.1.1.2. Understanding the programmed point of each cutting tool
In order to generate accurate motions with your cutting tools, you must know the location on each cutting
tool you are actually programming. In some cases, you will have to modify your programmed coordinates
to allow for some cutting tool-related criteria.
Hole-machining tools like drills, taps, and reamers will all have a certain amount of lead that must be compensated when Z axis coordinates are calculated. As is discussed in lesson number one, you can n calculate
the lead for a 118 degree twist drill by multiplying 0.3 times the drill diameter. This lead must be added to
the holes depth when plunging through holes.
Unfortunately cutting tool manufacturers vary when it comes to how much lead there will be on certain
hole-machining tools. A tap, for example, may have two, three, or four imperfect crests at the cutting end of
the tap. Reamer lead will vary with reamer size. Youll have to be quite familiar with the hole-machining
tools your company uses in order to accurately program hole depths.
Single point tools, like turning tools, boring bars, and grooving tools will have a
small radius on the cutting edge. For the
most part, youll be programming the extreme edges of these tools in the X and Z
axes. The drawing shows an example of
this.
Point programmed
Page 3-3
Workpiece center
The tool nose radius for single point tools will actually affect almost every positioning movement. A feature called tool nose radius compensation will let you to program workpiece coordinates and, for the most
part, allow you to ignore the tool nose radius as you calculate coordinates. Well discuss tool nose radius
compensation during key concept number four.
There is another common time you must compensate your programmed coordinates based on tooling criteria that we wish to acquaint you with. It has to do with grooving tools. Most programmers
will program the leading edge (chuck side cutting edge) of grooving
tools. The drawing shows the point most programmers use for programming grooving tools.
Point programmed
All movements the grooving tool makes must be based on the point
programmed. The drawing shows the positions required for grooving when chamfers must be machined on the outside corners of the
groove.
1 3 7
4
8
9
5
6
10
Page 3-4
Point programmed
Page 3-5
3.2.
Rapid motion, commanded by G00 (or G0), will cause the machine to move at its fastest possible rate.
Rapid motion is used in programs whenever the tool will not be machining anything during the motion.
Generally speaking, if the tool wont be cutting, it should be moving at rapid. Rapid motions are used for
approaching the workpiece, making quick motions internal to the machining operation that are not cutting
(like moving back into position for another roughing pass), and when retracting the tool to the tool change
position.
Current model turning centers have extremely fast rapid rates. Some can rapid at rates well over 1,200
inches per minute. Even older turning centers have pretty fast rapid rates (at least 300 ipm). With these extremely fast rapid rates, you must be very careful when allowing the turning center to move at rapid. Turning center manufacturers offer two feature that give you control over the machines rapid rate.
First, the rapid override function will allow you to slow the rapid rate any time you wish. However, machine tool builders vary with regard to how much control they provide with the rapid override switch. Some
allow you to slow the machine in large increments. With one popular style, youll have a four-position
switch that allows 100%, 50%, 25%, and 10% of the rapid rate. While this is nice, 10% of rapid can still be
quite fast. For example, if your turning center has a 1,200 ipm rapid rate, youll only be able to slow the
rapid rate to 120 ipm (10% of 1,200). This is still too fast to catch rapid motion mistakes. Other turning center manufacturers provide more of a rheostat for rapid override control. With this kind of machine, your
rapid override function will allow you to slow motion to a crawl.
Second, the dry run function allows you to use a special multi-position switch to control all motions the machine makes (including rapid motions). This function also lets you slow motion to a crawl, but is only necessary if you dont have adequate control of rapid rate with rapid override. Well discuss more about how
you take control of machine motions for the purpose of program verification during key concept number
ten. For now, just rest assured that youll be able to keep the machine from moving at its very fast (and
scary) rapid rate while youre getting familiar with the machine.
The G code G00 (or G0) is used to specify rapid mode. Since all motion types are modal, you need only include a G00 in the first of consecutive rapid motion commands. Also included in the G00 command will be
the X and/or Z end points for the motion.
If both axes will be moving together in a rapid motion, it is important to know how the motion will be made.
Each axis will be allowed to move at its rapid rate (some turning centers have a slower rapid rate for the X
axis) until it reaches its destination. If the motions arent equal distances, or if each axis has a different rapid
rate, one axis will reach its destination before the other. This means that straight motion will not occur. The
motion will appear as a dog-leg or hockey stick.
Figure 3.3 shows a drawing well be using to demonstrate the points weve made so far.
Page 3-6
Types of Compensation
Introduction to compensation
Before digging in too deep, we must ensure that you understand the word compensation. When you compensate for something, you are allowing for some unpredictable (or nearly unpredictable) variation. A race
car driver must compensate for track conditions as they negotiate a turn. A airplane pilot must compensate
for wind velocity and direction as they set headings. A marksman must compensate for the distance to the
target before they can fire a shot. The marksman analogy is remarkably similar to what happens with most
forms of CNC compensation. Lets take it further.
Before a marksman can fire a rifle, they must gauge the distance to the target. The quality of their first shot
will be directly related to how well they can gauge this distance. Once the distance is estimated, they adjust
rifles sight accordingly. But its likely that this first sight adjustment will not be perfect. Even if the distance to the target is perfectly judged, for example, some other unpredictable variation (like wind) may also
affect the quality of the first shot. When the marksman actually fires the first shot, they will be able to better
judge how well the sight is adjusted. Probably some fine tuning of the sight will be necessary. In most cases,
the second shot will be closer to the targets middle than the first. Depending upon the marksmans skill
level, it may be necessary to repeat the sight adjustment several times to get it perfectly adjusted.
When it comes to CNC turning center compensation types, the setup person will do their best to judge and
adjust the machine during setup in a way that allows it to machine acceptable workpieces. But until the first
workpiece is machined, they will not know for sure whether their adjustments are correct. During the machining of the first workpiece, its likely that theyll need to make further adjustments to their original settings to machine acceptable workpieces.
With the compensation type youve already been exposed to (geometry offsets), for example, someone
(usually the setup person) must determine the precise distances in X and Z between the program zero point
and each cutting tool tip while the machine is resting at the zero return position (techniques for doing so are
discussed in key concept number one). While they do their best to measure these distances, they will not
know for sure whether their measurements are correct until the tool machines the first workpiece. And even
if their original measurements are perfect, some other unpredictable variation, like tool pressure, may affect the quality of the machining operation. During machining of the first workpiece, its likely theyll need
to fine tune their original geometry offset settings.
4.0.1. What is trial machining?
The tolerances on turned workpieces are usually quite small, especially on turned diameters and bored
holes. Its not unusual for a company to hold tolerances smaller than 0.001 inch overall (plus or minus
0.0005 inch) on CNC turning centers. There is very little margin for error for cutting tools used to machine
surfaces with these tight tolerances. If the tool is mis-positioned by just a tiny amount, it will not machine
the surface correctly. This, of course, will result in the tool machining the surface too large or too small, depending upon the direction of mis-positioning. Its possible that the workpiece can be saved by
re-machining, or the workpiece might be beyond repair (scrap). And under normal circumstances, you
wont know which condition will exist until you machine the workpiece, in which case, it may be too late.
The more expensive the workpiece being machined, the more companies try to minimize scrap workpieces,
even for the very first workpiece being machined. While companies vary with regard to how much effort
theyll put into minimizing scrap workpieces machined coming from turning centers, there is a technique
called trial machining that will help setup people minimize scrap during the machining of the first
workpiece. Though this technique is not perfect, it does greatly increase the potential for making each critical cutting tool machine perfectly to size (or at least somewhere in its tolerance band), and almost guaran-
Page 4-1
tees that the first workpiece being machined will be an acceptable one. Of course, correctly adjusted cutting
tools is but one important factor contributing to making good workpieces. There are other problems that
could cause scrap workpieces to be machined (incorrect movements in the program, improper cutting conditions, bad process, etc.). Our discussions in this key concept relative to making the first workpiece an acceptable one are limited to what you can control with the compensation types. We assume the program,
cutting conditions, and process are correct.
Trial machining involves modifying the original adjustment for each critical tool (like finishing tools that
machine close tolerances) in such a way that a small amount of excess stock is left on the workpiece when
the tool machines for the first time. Once the tool has machined the workpiece, critical surfaces can be measured to determine precisely how much excess stock is on the workpiece. A second, more precise adjustment can then be made and the tool will be run again. The second time the tool machines, it will machine
critical surfaces within their tolerance bands.
While trial machining is most important for finishing tools that machine critical surfaces (surfaces with the
tightest tolerances), it can also be helpful for roughing tools since the amount of stock to be left by the
roughing tool for finishing is usually quite important. How the finishing tool machines, of course, has a lot
to do with the amount of stock its removing.
Admittedly, trial machining takes time. And there are those in this industry (especially those that machine
relatively inexpensive workpieces) that feel the additional time a setup person spends performing trial machining operations for several tools during setup is wasteful. Theyll gladly scrap the first workpiece or two
as long as they eventually learn enough to adjust each tool in an acceptable manner. This assumes of course,
that they have extra pieces of raw material. Regardless of workpiece cost, we feel it is important that all
CNC setup people and operators have the ability to perform trial machining operations. Someday, youll be
faced with the task of machining a given number of workpieces without the benefit of extra (practice)
workpieces.
This brings up an important benefit of tool touch-off probes (introduced in key concept number one). If
properly calibrated, current model tool touch-off probes all but eliminate the need for trial machining. With
just a little trial and error (during the probes calibration), the tool touch-off probe can be adjusted to perfectly measure program zero assignment values, even taking into consideration deviations caused by tool
pressure during machining operations. If one or more of your machines has tool touch-off probes, you
shouldnt have to do much trial machining. Unfortunately, there are a number of turning centers being used
(by far, the majority) that do not have tool touch-off probes. For them, youll be using trial machining techniques on a regular basis if you expect to machine your first workpiece to size. Most of the presentations we
give relative to holding size assume your machine/s do not have a tool touch-off probe.
4.0.2. Compensation commonalties
The three kinds of compensation used on turning centers are:
Geometry offsets - used to assign program zero
Wear offsets - used for fine tuning or sizing purposes
Tool nose radius compensation - used to compensate for the small radius on single
point tools
4.0.2.1. What are offsets?
All compensation types involve offsets. Offsets are storage registers for numerical values. Theyre used to
specify the value (adjustment amount) related to each compensation type. From the marksman analogy,
you can think of CNC offsets as being like the amount of adjustment required for the sight. With geometry
offsets, theyre used to store the program zero assignment values for each tool. With wear offsets, theyre
used to store the fine-tuning values needed as tools wear. With tool nose radius compensation, theyre used
to store the insert radius and tool type for the single point tool.
Once entered, offsets remain in the control until they are changed or cleared (set to zero). You can turn off
the power to the machine without fear of losing offset data.
You access offsets through the offset display screen page. Here is the geometry offset page as used on one
popular Fanuc model.
Page 4-2
Types of Compensation
10T
FANUC
(GEOMETRY)
TOOL OFFSET
NO.
G01
G02
G03
G04
G05
G06
G07
G08
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
Z
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
O0040 N00000
R
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
0
0
0
0
0
0
0
0
OFFSET
PRG_CHK
10T
FANUC
(WEAR)
TOOL OFFSET
NO.
W01
W02
W03
W04
W05
W06
W07
W08
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
Z
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
O0040 N00000
R
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
00.0000
0
0
0
0
0
0
0
0
OFFSET
PRG_CHK
Page 4-3
radius compensation values. However, we recommend entering tool nose radius compensation values on
the geometry offset page (more on why and the usage of wear offsets as we discuss each compensation
type).
Notice that offsets are specified with numbers (offset number one, offset number two, offset number three,
etc.). In this sense, theyre much like the memories of an electronic calculator. When making calculations
on a calculator, if you want to store a commonly needed value for use during calculations, you can place it in
memory number one. Whenever you need to recall the value, you simply recall memory number one. In
similar fashion, youll be invoking offsets by offset number.
When selecting offset numbers, we strongly recommend that you match the offset number to the tool station
number using it. Make tool station number one, for example, use offset number one. Tool number two
should use offset number two. And so on. The offset number is invoked in the program as part of the T word.
For most controls, the first two digits of the T word specify the tool station number (for turret indexing) and
the geometry offset number to be used. The second two digits specify the wear offset number. For example,
in the command
T0707
The first two digits tell the control to index to station number seven and invoke geometry offset number
seven. The second two digits invoke wear offset number seven. As stated, most applications are easily handled with one offset per tool. For the most part, this single offset will allow any adjustments needed to make
the tool hold size, and well refer to it as the primary offset. However, there are a few times when it is impossible to hold size with but only one offset per tool. Tool pressure, for example, may be different for one surface being machined than it is for another. In these rare cases, a second offset (well call a secondary offset)
may be required. More on applications for secondary offsets will be given as we discuss wear offsets in
greater detail.
Control models vary with regard to how many offsets they provide. For most applications, only one offset
will be required for each tool. If your turret can hold twelve tools, you shouldnt need more than twelve offsets in most cases. Its not uncommon for machine tool builders to equip their turning centers with at least
thirty-two offsets, meaning youll have more than enough offsets.
STOP!! Do practice exercise number:
11
Page 4-4
Types of Compensation
Lesson 12
Geometry offsets
You know from key concept number one that current model Fanuc controls are equipped with geometry
offsets that are used to assign program zero. But you should also know that if your turning center was manufactured prior to about 1988, its likely that it does not have geometry offsets. If it does not (you can tell by
pressing the offset key several times), you must assign program zero in the program with a G50 command
for each tool (as is shown in key concept number one). If your machine/s dont have geometry offsets, you
can skip this lesson.
4.0.3. Reasons for using geometry offsets to assign program zero
As stated in key concept number one, there are several advantages to using geometry offsets as compared to
assigning program zero within the program. Here is a quick list of the major advantages shown in key concept number one.
Program zero assignment is separated from the program (improved ease of use)
Only two values must be entered for each tool (as opposed to four)
If the control is equipped with the measure function, error prone calculations and offset
entries are eliminated (safety is improved)
With the feature work shift, redundant Z measurements for cutting tools left in the turret
from job to job can be eliminated (improved efficiency)
The turret can be in any location at the beginning of the program (improved efficiency
and ease of use)
The turret can be in any location when picking up in the middle of the program to re-run a
tool (improved efficiency and ease of use)
For tool changing, the turret can be sent to any safe index point (improved efficiency)
4.0.4. How geometry offsets work
As you know from key concept number one, the control must know the distances in X and Z from the cutting
tool tip while the machine is resting at its zero return position to the program zero point. Weve been calling
these distances the program zero assignment values. And in key concept number one, we show several
ways to actually determine and enter these values, so we wont repeat the presentation here.
You also know that each cutting tool will have a different set of program zero assignment values. When geometry offsets are used, program zero assignment values (one set per tool) are placed in each tools geometry offset. The geometry offset number will match the tool station number, so the program zero assignment
values for tool number six will be placed in geometry offset number six.
You can get a better understanding of how geometry offsets actually work by monitoring the absolute position page (with X and Z) during power up. While monitoring this page, and having just turned on the power,
manually send the machine to its zero return position in both axes. When the machine is resting at its zero
return position, youll notice that the absolute position display page will display X00.0000 and Z00.0000.
At this point, the control actually thinks the zero return position is the program zero point!
When a geometry is invoked (with the first two digits of the T word) the distances from the tool tip at the
zero return position to program zero will be transferred to the absolute position display screen registers. If
the machine is at the zero return position, the absolute position displays values (X and Z) will match the
tools geometry offset values (though theyll be plus instead of minus). If the machine is not at the zero return position when a geometry offset is invoked, the control will take into consideration the machines current position (relative to zero return) as it updates the absolute position display page. If a work shift value is
being used, the control will also take it into consideration as it updates the absolute position display screen
page.
Warning about the machine lock feature: This brings up an important point about a feature called machine lock. Machine lock will keep the machines axes from moving. It can be used during verification to
Page 4-5
allow the control to scan a questionable (new) program for syntax mistakes. With machine lock turned on,
you can run the program an let the control check for mistakes. The control will go through the program,
thinking the machines axes are moving when in fact, they are is not.
While machine lock is helpful for finding mistakes, it can cause major problems with geometry offsets.
When turning off the machine lock switch after completing the machine lock dry run, if the axes are not in
exactly the same location they were when the machine lock switch was turned on, the control will not know
the true location of the axes. This can result in a crash when the program is run again. To re-calibrate the
absolute position displays, do another manual zero return. When the machine gets to its zero return position, the X and Z values on the absolute position display must each be zero. Many current model turning
centers are not equipped with the machine lock function due to this potential for catastrophic problems.
4.0.5. Minimizing program zero assignment measurements from job to job
This drawing shows the method of program zero assignment we recommend when geometry offsets are
used.
Values related to program zero assignment when geometry offsets are used
X geometry offset
(diameter)
Work shift
With this method, the spindle center (in X) and the chuck face (in Z) is used as one point of reference for the
geometry offset X and Z values. Since both remain consistent from job to job, so will the program zero assignment values remain consistent for any cutting tool left in the turret from job to job.
Notice that the setup person must specify a work shift value representing the distance from the chuck face to
the programmers chosen program zero point. In most cases, this distance can be easily measured with a
common depth gauge. This illustration shows the work shift page.
Page 4-6
Program Formatting
Page 5-1
Our templates will guide you through program startup, tool ending, tool startup, and program ending formats. Though youll be completely on your own to develop the machining commands for each tool, a large
percentage of all CNC programs is nothing more than format information.
5.1.1.2. Consistency
If youve been doing the programming activities, youve surely noticed the high degree of consistency from
program-to-program and from tool-to-tool within each program. Doing things in a consistent manner will
help you repeat past successes. What works for one program will work for another and what works for one
tool within the program will work for another.
Our program formats facilitate a high degree of consistency from one program to the next. This not only
makes it easier to develop programs, it makes it easy for anyone having to work with your CNC programs.
If programs are consistently formatted, setup people and operators will get comfortable with the manner by
which programs are written. This consistency should carry over from one programmer to another within the
company. Though it can be difficult to get two experienced programmers to agree on all aspects of program
formatting, the more consistent the CNC programs within a company, the easier it will be for everyone involved.
5.1.1.3. Rerunning tools
CNC setup people and operators will have the constant need to rerun tools within the program. During our
discussion of wear offsets in key concept number four, for example, we discuss the need for trial machining. As you know, this technique can be used when you question whether a tool will machine some
workpiece surface to its intended size. You first adjust an offset in such a way that excess stock is left on the
surface. You let the tool run to machine the surface/s with excess stock. After the tool is finished, you stop
the machine and measure the surface/s machined. It will have excess stock, so you fine tune the offset adjustment, and rerun the tool. The second time the tool machines, you can rest assured the surface will be
within its tolerance band.
Trial machining is but one of several times when tools must be rerun. You may for example, be testing a
new program when you discover that the fifth tool (of eight) in the program has done something wrong.
You stop the machine and correct the mistake. At this point, it would be wasteful to run the entire program
again just to get to tool number five. Instead, youll want to start from tool number five.
In order to allow setup people and operators to rerun tools, all information necessary to get the machine up
and running must be included at the beginning of every tool. This commonly requires including some
redundant words at the beginning of each tool: words that would not be needed if the program is run in its
entirety, but are required if the machine is to run from the beginning of a specific tool.
If youve been doing the programming activities, you may have noticed some of the seemingly redundant
words were talking about. Heres the five-tool program from programming activity number five.
O0005 (Program number)
(Rough face and turn tool)
N005 T0101 M41
N010 G96 S450 M03
N015 G00 X2.2 Z0.005 M08 (1)
N020 G01 X-0.062 F0.012 (2)
N025 G00 Z0.1 (3)
N030 X1.810 (4)
N035 G01 Z0.005 (5)
N040 X1.935 Z-0.245 (6)
N045 Z-0.495 (7)
N050 X2.06 Z-0.745 (8)
N055 G00 X6.0 Z5.0
Page 5-2
Program Formatting
N060 M01
(1" drill)
N065 T0202 M41
N070 G97 S380 M03
N075 G00 X0 Z0.1 M08 (9)
N080 G01 Z-2.8175 F0.009 (10)
N085 G00 Z0.1 (11)
N090 X6.0 Z5.0
N095 M01
(Rough boring bar)
N100 T0303
N105 G96 S400 M03
N110 G00 X1.19 Z0.1 M08 (11)
N115 G01 Z-0.4325 F0.008 (12)
N120 X0.94 Z-1.1825(13)
N125 G00 Z0.1 (14)
N130 X6.0 Z5.0
N135 M01
(Finish boring bar)
N140 T0404 M41
N145 G96 S450 M03
N150 G41 G00 X1.5 Z0.1 (15)
N155 G01 Z0 F0.005 M08 (16)
N160 G02 X1.25 Z-0.125 R0.125 (17)
N165 G01 Z-0.4375 (18)
N168 X1.0 Z-1.1875 (19)
N170 X0.8 (20)
N175 G00 Z0.1 (21)
N180 G40 X6.0 Z5.0 (Cancel tnr comp)
N185 M01
(Finish turn)
N190 T0505 M42
N195 G96 S500 M03
N200 G00 X1.95 Z0 M08 (22)
N205 G01 X1.15 F0.007 (23)
N210 G00 Z0.1 (24)
N215 G42 X1.75 (25, instate comp)
N220 G01 Z0 (26)
N225 X1.875 Z-0.25 (27)
Page 5-3
Page 5-4
Program Formatting
G77
G78
G79
G94
G95
G90
G91
Again, most of these differences simply require that you translate a G code number (G92 instead of G50, for
example) if your machine/s require the special G code specifications. However, notice that how incremental and absolute motions are commanded. With the standard G code specification (that weve been using),
X and Z specify absolute positions. U and W specify incremental motions. With the special G code specification, G90 specifies incremental mode and G91 specifies incremental mode. With both special G codes, X
and Z are used to specify motion. The command
G90 G00 X1.0 Z1.0
tells the control to rapid to a position (relative to program zero) of one inch in X and one inch in Z. On the
other hand, the command
G91 G00 X1.0 Z1.0
Page 5-5
tells the control to rapid from its current position one inch up (positive) in diameter, and one inch positive in
the Z direction.
For most machines, the only other functions affected by the G code numbering are feedrate modes and simple canned cycles (discussed in key concept number six).
5.1.3.2. M code numbering
As you know, M codes specify a series of miscellaneous or machine functions. M code number selection is
left completely to the machine tool builder, and no two builders seem to be able to agree on the numbering of
all M codes. While there is some consistency when it comes to basic M code functions, you must look in
your machine tool builders programming manual to determine which M codes are related to specific machine functions. Here is a list of the M codes and their functions that almost all turning center manufacturers
adhere to.
M00 - Program stop
M01 - Optional stop
M03 - Spindle on in forward direction
M04 - Spindle on in reverse direction
M05 - Spindle off
M08 - Coolant on
M09 - Coolant off
M30 - End of program
M98 - Subprogram call
M99 - Return from subprogram
But there are many other turning center accessories that are programmed with M codes, and machine tool
builders do not agree with the M code numbering of these functions. Spindle range selection, for example,
is commonly programmed (as our course shows) with
M41 - low range
M42 - high range
But we know of one machine tool builder that uses M23 for low range selection and M25 for high range selection.
Here are some other functions commonly programmed with M codes, but not consistently numbered by
machine tool builders. Weve left a blank next to each M code number. Using your machine tool builders
programming manual fill in the blanks for machine functions equipped on your CNC turning center/s.
_______ - Coolant on and spindle on forward (together)
_______ - Coolant on and spindle on reverse (together)
_______ - Open chuck jaws
_______ - Close chuck jaws
_______ - Open machine door
_______ - Open machine door
_______ - Tailstock body forward
_______ - Tailstock body back
_______ - Tailstock quill forward
_______ - Tailstock quill back
_______ - Activate bar feeder
_______ - Deactivate bar feeder
_______ - Activate tool touch-off probe
_______ - Deactivate tool touch-off probe
Page 5-6