Approach and retract moves help the tool safely reach and leave the workpiece. This avoids crashes and keeps the tool and part safe.
Starting a cut on a new workpiece to move the tool close without touching.
Finishing a cut and moving the tool away safely before stopping.
Changing tools and moving the tool to a safe position.
Avoiding collisions with clamps or fixtures during tool movement.
Syntax
CNC Programming
G00 X... Y... Z... ; Rapid move to approach or retract position
G01 X... Y... Z... F... ; Controlled feed move for cutting or precise approach/retract
G00 is used for fast, non-cutting moves (approach/retract).
G01 is used for cutting moves or slow, controlled approach/retract.
Examples
This example shows retracting the tool up, moving to start, then slowly approaching the part.
CNC Programming
G00 Z5.0 ; Retract tool 5 mm above the part
G00 X10 Y10 ; Move rapidly to start position
G01 Z-1.0 F100 ; Approach the part slowly to start cutting
Retract to a safe height, move home, then approach the part slowly.
CNC Programming
G00 Z10 ; Retract to safe height
G00 X0 Y0 ; Move to home position
G01 Z-2 F50 ; Approach the part for cutting
Sample Program
This program shows a typical approach and retract sequence. The tool lifts up, moves to start, lowers slowly to cut, then lifts up again after cutting.
CNC Programming
G21 ; Set units to millimeters
G90 ; Use absolute positioning
; Retract move - lift tool up safely
G00 Z10
; Move to start position rapidly
G00 X20 Y30
; Approach move - lower tool slowly to start cutting
G01 Z-5 F150
; Cutting move example
G01 X50 Y30 F300
; Retract move - lift tool up after cut
G00 Z10
M30 ; End of program
OutputSuccess
Important Notes
Always use retract moves to avoid crashing the tool into the part or clamps.
Approach moves should be slow and controlled to prevent tool damage.
Use absolute positioning (G90) to keep moves predictable.
Summary
Approach moves bring the tool safely close to the workpiece.
Retract moves lift the tool away safely after cutting.
Use G00 for fast moves and G01 for slow, controlled moves.
Practice
(1/5)
1. What is the main purpose of an approach move in CNC programming?
easy
A. To change the tool automatically
B. To lift the tool away from the workpiece after cutting
C. To speed up the cutting process
D. To bring the tool safely close to the workpiece before cutting
Solution
Step 1: Understand approach move function
Approach moves bring the tool safely close to the workpiece before starting the cut.
Step 2: Differentiate from retract move
Retract moves lift the tool away after cutting, so they are not approach moves.
Final Answer:
To bring the tool safely close to the workpiece before cutting -> Option D
Quick Check:
Approach move = safe tool approach [OK]
Hint: Approach = move close before cutting [OK]
Common Mistakes:
Confusing approach with retract moves
Thinking approach moves lift the tool
Assuming approach moves speed up cutting
2. Which G-code is typically used for a fast approach move in CNC programming?
easy
A. G00
B. G02
C. G01
D. G03
Solution
Step 1: Identify G-code for fast moves
G00 is used for rapid, fast moves to position the tool quickly.
Step 2: Differentiate from controlled moves
G01 is for slow, controlled cutting moves, not fast approach moves.
G00 is for fast moves and should not be used to move down into the workpiece (Z negative).
Step 2: Identify incorrect use of G00
Line G00 Z-2 moves tool down fast, which is unsafe and incorrect for approach.
Final Answer:
Using G00 to move down into the workpiece -> Option A
Quick Check:
Fast moves (G00) should not move tool down into material [OK]
Hint: Never use G00 to move tool down into workpiece [OK]
Common Mistakes:
Using G00 for cutting moves
Ignoring safe approach/retract rules
Assuming feed rate needed on retract moves
5. You want to safely approach a workpiece at X=50, Y=50, then cut down to Z=-3 slowly, and finally retract quickly. Which sequence of commands is correct?
hard
A. G01 Z-3 F100 G00 X50 Y50 G01 Z5 F100
B. G01 X50 Y50 F200 G00 Z-3 G01 Z5 F100
C. G00 X50 Y50 G01 Z-3 F100 G00 Z5
D. G00 Z-3 G01 X50 Y50 F150 G00 Z5
Solution
Step 1: Approach move with fast positioning
Use G00 to move quickly to X50 Y50 before cutting.
Step 2: Slow controlled cut down
Use G01 with feed rate to move down to Z=-3 slowly and safely.
Step 3: Retract move with fast lift
Use G00 to quickly lift tool away to Z=5 after cutting.
Final Answer:
G00 X50 Y50 G01 Z-3 F100 G00 Z5 -> Option C
Quick Check:
Fast approach, slow cut, fast retract = G00 X50 Y50 G01 Z-3 F100 G00 Z5 [OK]
Hint: Fast XY move (G00), slow Z down (G01), fast Z up (G00) [OK]
Common Mistakes:
Using G01 for fast XY moves
Using G00 to move tool down into material
Mixing feed rates on retract moves
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.