Gianni Estepan
04/28/25
Name ________________________________________
Date _____________
Class __________________________
CHAPTER
22
CNC Programming
Basics
Complete the following questions after carefully reading the corresponding textbook chapter.
1. Identify an advantage of the advances in CNC programming.
CNC
program have been greatly simplified.
_________________________________________________________________________________________
Advances
in computing power and software have made it easier for operators to
_________________________________________________________________________________________
create
CNC programs without requiring an in-depth knowledge of control codes.
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
Print
of the part
___________________________
D
_______
2. In order to develop a CNC program, a programmer needs a copy of a part’s
_____.
3. In addition to the print, the programmer determines the necessary machining
processes based on a review of the print and the _____.
A. feed rate
B. spindle speed
C. condition and size of the stock
D. color-coding
4. How does color-coding a print help a programmer develop a CNC program?
Color-coding
allows the programmer to readily associate tooling and processes with
_________________________________________________________________________________________
the
colors of the features on the drawing.
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
B
_______
5. All of the following programming methods are used to generate CNC machine
code except _____.
A. manual data input (MDI)
B. paper tape programming
C. conversational language programming
D. CAM programming
Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website.
115
116
Machining Fundamentals Workbook
6
_______
6. The programming method that involves typing code directly into a machine’s
control is _____.
A. manual data input (MDI)
B. offline programming
C. conversational language programming
D. CAM programming
7. What are three advantages of conversational language programming compared to manual
data input?
1.
Enter information into the MCU without the tedious practice of typing the
_________________________________________________________________________________________
program
using programming codes.
_________________________________________________________________________________________
2.
Ease of inputting multiple programs in a job shop 407 environment.
_________________________________________________________________________________________
3.
In-depth knowledge of programming is not required
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
Thickness
___________________________
8. If a 2D CAD file is used as the basis for programming, the programmer must
specify the _____ of the part.
9. What is post-processing?
When
CAM software converts t he CAM program into a language that the CNC
_________________________________________________________________________________________
machine
control unit can understand.
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
10. What style of programming does the ANSI/EIA 274D code format use?
word address format
_________________________________________________________________________________________
_________________________________________________________________________________________
Block
___________________________ 11. A single line of code is called a(n) _____.
A
_______
12. The positioning of the machining cutter is controlled by _____.
A. G-codes
B. F-codes
C. M-codes
D. S-codes
M
_______
13. Machine functions, such as starting and stopping, are controlled by _____.
A. G-codes
B. F-codes
C. M-codes
D. S-codes
Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website.
Estepab
Name _Gianni
_____________________________________________________________
Chapter 22 CNC Programming Basics
117
D
_______
14. Codes that have the same application no matter what control is being used are
called _____.
A. temporary codes
B. permanent codes
C. unassigned codes
D. assigned codes
S
_______
15. In CNC codes, the number following the letter _____ determines the rpm of the
spindle.
A. G
B. F
C. M
D. S
Modal
Commands
___________________________
16. Once they have been activated, _____ commands remain activated until another
command is activated.
17. What happens when the G00 command is activated?
Activates
the rapid travel setting for all of
_________________________________________________________________________________________
the
positioning axes on the machine.
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
Linear Interpolation
___________________________
18. In CNC programming, straight-line movement is called _____.
Address
___________________________
19. Every line of code that calls for a linear interpolation move should include a
_____ specification.
C
_______
20. Which of the following commands signals circular movement in a counterclockwise direction?
A. G00
B. G02
C. G03
D. G20
21. How are I and J addresses used in combination with the G02 and G03 commands?
Method
of specifying the center point for the arc to be machined is to use l and J
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website.
118
Machining Fundamentals Workbook
B
_______
22. Which of the following commands sets the control’s units to millimeters?
A. G20
B. G21
C. G90
D. G91
23. What is the main disadvantage of incremental positioning if a program has to be modified?
Programs
are not commonly written using incremental positioning because doing
_________________________________________________________________________________________
so
increases the chance that damage could occur as a result of accidentally leaving
_________________________________________________________________________________________
out
negative signs or making mistakes on coordinate values.
_________________________________________________________________________________________
_________________________________________________________________________________________
_________________________________________________________________________________________
Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website.