18/05/2026
CNC Drill Program β Short Explanation
%
00006 (DRILL);
G17 G40 G80 G21 ;
G91 G28 Z0. ;
G28 Y0. ;
#1=12 ;
T #1 M6 ;
G0 G90 G54 X-135. Y172. S1380 T10 ;
G43 Z100. H #1 M3 ;
G98 G83 Z-2. R5. Q1.5 F128 ;
M96 ;
G80 M9 M5 ;
G91 G28 Z0. ;
G0 G90 G54 X0. ;
G28 Y0. ;
M30 ;
%
π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»
Thank you everyone for the support! π
Your stars β follows π₯ likes β€οΈ comments π¬ and shares π give me motivation to keep creating CNC content every day.
Letβs continue learning and growing together in the CNC world! π§βοΈ
π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»
This is a CNC Milling / Drill Program using G83 Peck Drilling Cycle.
Program Start
G17 G40 G80 G21
Meaning
G17 β XY plane selection
G40 β Cancel tool compensation
G80 β Cancel canned cycle
G21 β Metric unit (mm)
Return Home
G91 G28 Z0.
G28 Y0.
Meaning
Machine returns safely to home position
Z0 first for safety
Tool Selection
#1=12
T #1 M6
Meaning
Variable #1 = Tool number 12
M6 β Tool change
Move to Position
G0 G90 G54 X-135. Y172. S1380 T10
Meaning
G0 β Rapid move
G90 β Absolute mode
G54 β Work offset
Tool moves to drilling position
S1380 β Spindle speed
Tool Length Compensation
G43 Z100. H #1 M3
Meaning
G43 β Tool length compensation ON
H #1 β Uses tool offset 12
M3 β Spindle clockwise
Z100 β Safe height
Peck Drilling Cycle
G98 G83 Z-2. R5. Q1.5 F128
Important Part
G83
Peck drilling cycle
Tool drills little by little to break chips.
Z-2
Final drilling depth
R5
Retract plane
Tool returns to Z5
Q1.5
Peck amount
Drills 1.5 mm each step.
F128
Feed rate
Coolant
M96
β Coolant ON (machine dependent)
Cancel Cycle
G80 M9 M5
Meaning
G80 β Cancel drilling cycle
M9 β Coolant OFF
M5 β Spindle stop
Program End
M30
β End and reset program
Simple Summary
This program:
Selects drill tool
Moves to hole position
Starts spindle
Uses G83 peck drilling
Breaks chips during drilling
Stops spindle and ends program
CNC Drill Program β Short Explanation
This is a CNC Milling / Drill Program using G83 Peck Drilling Cycle.
Program Start
G17 G40 G80 G21
Meaning
G17 β XY plane selection
G40 β Cancel tool compensation
G80 β Cancel canned cycle
G21 β Metric unit (mm)
Return Home
G91 G28 Z0.
G28 Y0.
Meaning
Machine returns safely to home position
Z0 first for safety
Tool Selection
#1=12
T #1 M6
Meaning
Variable #1 = Tool number 12
M6 β Tool change
Move to Position
G0 G90 G54 X-135. Y172. S1380 T10
Meaning
G0 β Rapid move
G90 β Absolute mode
G54 β Work offset
Tool moves to drilling position
S1380 β Spindle speed
Tool Length Compensation
G43 Z100. H #1 M3
Meaning
G43 β Tool length compensation ON
H #1 β Uses tool offset 12
M3 β Spindle clockwise
Z100 β Safe height
Peck Drilling Cycle
G98 G83 Z-2. R5. Q1.5 F128
Important Part
G83
Peck drilling cycle
Tool drills little by little to break chips.
Z-2
Final drilling depth
R5
Retract plane
Tool returns to Z5
Q1.5
Peck amount
Drills 1.5 mm each step.
F128
Feed rate
Coolant
M96
β Coolant ON (machine dependent)
Cancel Cycle
G80 M9 M5
Meaning
G80 β Cancel drilling cycle
M9 β Coolant OFF
M5 β Spindle stop
Program End
M30
β End and reset program
Simple Summary
This program:
Selects drill tool
Moves to hole position
Starts spindle
Uses G83 peck drilling
Breaks chips during drilling
Stops spindle and ends program
π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»π°π·β¨οΈπ»
Thank you everyone for the support! π
Your stars β follows π₯ likes β€οΈ comments π¬ and shares π give me motivation to keep creating CNC content every day.
Letβs continue learning and growing together in the CNC world! π§βοΈ