# Part Program 150

This class introduces the major code groups used in a CNC part program. Includes an Interactive Lab.

details Other tabs

## Class Details

Class Name:
Part Program 150
Description:
This class introduces the major code groups used in a CNC part program. Includes an Interactive Lab.
Version:
1.0
Difficulty:
Beginner
Number of Lessons:
14
Spanish, Chinese
Related 2.0 Class:
Basics of G Code Programming 231

## Class Outline

• Objectives
• What Is the Part Program?
• The Part Programmer
• From Blueprint to Program Coding
• Programming Standards
• Block Numbering
• G Codes
• X, Y, and Z Codes
• F and S Codes
• T and M Codes
• Blocks in Sequence
• Computer Assisted Programming
• Summary

## Objectives

• Describe the role of a part program.
• Describe the role of the part programmer.
• Identify the major steps in program creation.
• Identify how standards impact CNC programs.
• Identify the components of a program.
• Define the function of N codes.
• Define the function of G codes.
• Define the function of coordinate codes.
• Define the function of F codes.
• Define the function of S codes.
• Define the function of T codes.
• Define the function of M codes.
• Describe a toolpath.
• Describe computer assisted programming.

## Certifications

SME
• CMfgT
MSSC
• MSSC Manufacturing Processes and Production

## Glossary

Vocabulary Term Definition
absolute coordinates A series of numerical positions that are calculated from a fixed point of origin.
address The letter used within a word that signals the essential function of the word.
axes An imaginary line that passes through the center of an object. Axes are used to measure the distances of objects in the Cartesian coordinate system.
block A single line of the part program that consists of words.
blueprint A design representing the dimensions of a specific workpiece that is used to create the part program.
Cartesian coordinate system The numerical system that describes the location of an object by numerically expressing its distance from a fixed position along three linear axes.
computer-aided manufacturing CAM. The use of computer software that facilitates the development of part programs. These software applications create an image of the workpiece and develop the program code from information that the programmer inputs.
conversational interface An interface that asks the user a series of questions to gain data about a workpiece design. Then, it translates the user's answers into programmable code.
cutter offset A predetermined distance from the surface of the workpiece that allows for the safe and rapid movement of the cutting tool between cutting operations.
dry run A trial run of the part program without any parts or cutting fluids.
Electronics Industries Association An organization that sets standards for technology industries.
F code A word that determines the feed during a cutting operation.
feed The rate that the cutting tool travels along the surface of the workpiece.
G code A word that determines the type of operation performed on the machine.
incremental coordinates A series of numerical positions that use the previous position as the point of origin.
M code A word used to signal an action from a miscellaneous group of commands. M codes change cutting tools, turn on or turn off the coolant, spindle, or workpiece clamps, etc.
machining center A mill that is controlled by a computer running programs driven by numerical data. Machining centers are also capable of performing a wide range of hole-making operations.
modal Stays in effect until it is either cancelled or substituted with another function. G00 and G01 are modes of motion for a CNC machine.
N code A word that acts as the name or title for a program block.
non-modal Stays in effect only in the program block where it occurs.
operator The person responsible for running the CNC machine on the shop floor.
part program A series of numerical instructions used by a CNC machine to perform the necessary sequence of operations to machine a specific workpiece.
part programmer The person responsible for the creation of a part program. The part programmer translates the workpiece design into program instructions for the CNC machine.
program zero The position that acts as the origin for the part program of a particular workpiece. This position is unique to each workpiece design, and it is selected by the part programmer.
S code A word that determines the speed during a cutting operation.
speed The rate at which the cutting edge of the tool moves past the workpiece surface at the point of contact.
T code A word that determines which specific cutting tool will be selected during a tool change.
toolchanger A device on a machining center that arranges multiple cutting tools in order and then positions these cutting tools for replacement.
toolpath A series of program blocks that describes the movements of a single cutting tool.
turning center A lathe that is controlled by a computer running programs driven by numerical data. Sophisticated turning centers can also perform a variety of drilling and milling operations.
turret The component of a lathe that holds a number of cutting tools. The turret rotates to place tools in the cutting position.
word The pairing of a letter address and a numerical value.
X code A word that describes a specific position along the X-axis.
X-axis The linear axis representing motions and positions that travel the longest distance parallel to the worktable.
Y code A word that describes a specific position along the Y-axis.
Y-axis The linear axis representing motions and positions that travel the shortest distance parallel to the worktable.
Z code A word that describes a specific position along the Z-axis.
Z-axis The linear axis that represents motions and positions perpendicular to the worktable. The Z-axis is always parallel to the spindle.