Introduction to CNC Code - 6: Address Words
VMS Forum | Library | Start Page | Previous Page| Next Page

The Address code is the single letter character (A-Z) at the beginning of each word that defines what the computer should do with the numerical data that follows. A list of the Addresses codes is shown here: (Note that a few of the Address codes have multiple definitions)

Although these are the most commonly used Address code definitions for milling and turning, it is possible that definitions may vary for different computer controllers. Always consult the operator's manual for the specific controller being used.

Two of the Address codes are considered major codes. The two major codes are G-codes and M-codes. These codes are expanded to include a multitude of functions that will be defined later.

VMS Forum | Library | Start Page | Previous Page| Next Page
Adress Codes for Milling and Drilling

A Angular dimension around X axis
B Angular dimension around Y axis
C Angular dimension around Z axis
D Cutter compensation register number
E Angular dimension for special axis
F Feed rate
G Preparatory function (G-codes)
I X axis arc center location
J Y axis arc center location
K Z axis arc center location
L Loop count repeat for canned cycles
N Block number
O Program number OR subroutine number
P Dwell time
Q Canned cycle repeat dimension
R Arc radius OR z-axis retract distance
S Spindle speed
T Tool selection number
X primary X motion dimension
Y primary Y motion dimension
Z primary Z motion dimension

Adress Codes for Turning

A Fourth axix rotary motion
B Linear B axis motion
C Fifth axis rotary motion
D First pass cut depth for threading
E Feed rate
F Feed rate
G Preparatory function (G-codes)
I X axis arc center location
J Canned cycle data
K Z axis arc center location
L Loop count repeat for canned cycles
N Block number
O Program number OR subroutine number
P Dwell time
Q Canned cycle repeat dimension
R Arc radius OR z-axis retract distance
S Spindle speed
T Tool selection number
U Incremental Z axis motion
V Macro parameter
W Incremental Z axis motion
X primary X motion dimension
Y primary Y motion dimension
Z primary Z motion dimension

label:CNC, character,word, block, program, address word, g codes, m codes

WARNING: Machine tools present a safety hazard. Improper operation can result in severe injury. These topics are for non-laboratory study only and are not to be used in conjunction with the operation of any tool or machine described herein. Never use a machine tool without the supervision of a qualified instructor.