Master Your Skills with Our Expert-Curated Free Resources

Industrial Practice Assets:
Master CNC with Pro Drawings & Code Charts

Practice Drawings (PDFs)

G-Code & M-Code Charts

Software Setup & Guides

Address Function Machine Description:

O,Program Number :Unique identification number for a specific part program (e.g., O1234)
N, Sequence Number: Block identification number used to organize the program step-by-step.
G,Preparatory Function: Prepares the machine controller for specific types of movement or logic.
X, Y, Z,Coordinate Axis: Defines the exact spatial position of the tool (Length, Width, and Depth).
F, Feed Rate:Specifies the speed at which the tool moves during a cutting operation.
S,Spindle Speed: Defines the rotational speed of the cutter in Revolutions Per Minute (RPM).
T,Tool Selection: Commands the machine to select or change a specific tool from the magazine.
M, Misc. Function:Controls auxiliary machine functions like Coolant ON/OFF or Spindle Stop.
R, Radius / RetractDefines arc radius or the safety height for tool retraction in canned cycles.
A, B, C Rotary Axis : Commands rotation around the X, Y, and Z axes for 4th and 5th axis work.
P, Q Parameter / Dwell: Defines waiting time (Dwell) or peck depth for drilling operations.

Section 2: Canned Cycles (Drilling & Tapping)

Section 2: Machine Functions (M-Codes)