Challenge - 5 Problems
Pocket Milling Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate2:00remaining
Output of a simple rectangular pocket milling G-code
What is the final position of the tool after executing this G-code snippet for a rectangular pocket milling?
G90 G00 X0 Y0 Z5 G01 Z-2 F100 G01 X50 Y0 F200 G01 X50 Y30 G01 X0 Y30 G01 X0 Y0 G00 Z5
CNC Programming
G90 G00 X0 Y0 Z5 G01 Z-2 F100 G01 X50 Y0 F200 G01 X50 Y30 G01 X0 Y30 G01 X0 Y0 G00 Z5
Attempts:
2 left
💡 Hint
Look at the last move command and the Z height it sets.
✗ Incorrect
The last command is G00 Z5, which moves the tool up to Z=5 at the current XY position (which is X0 Y0). So the final position is X0 Y0 Z5.
🧠 Conceptual
intermediate1:30remaining
Understanding step-over in rectangular pocket milling
In rectangular pocket milling, what does the term step-over refer to?
Attempts:
2 left
💡 Hint
Think about how the tool covers the entire rectangular area.
✗ Incorrect
Step-over is the sideways distance the tool moves between passes to ensure the entire pocket is milled without gaps.
🔧 Debug
advanced2:30remaining
Identify the error in this rectangular pocket milling G-code
This G-code is intended to mill a rectangular pocket 40mm wide and 20mm deep. What error will occur when running it?
G90 G00 X0 Y0 Z5 G01 Z-20 F100 G01 X40 Y0 F200 G01 X40 Y20 G01 X0 Y20 G01 X0 Y0 G00 Z5
CNC Programming
G90 G00 X0 Y0 Z5 G01 Z-20 F100 G01 X40 Y0 F200 G01 X40 Y20 G01 X0 Y20 G01 X0 Y0 G00 Z5
Attempts:
2 left
💡 Hint
Consider typical machining practice for depth of cut.
✗ Incorrect
Cutting 20mm deep in a single pass is usually too deep and can cause tool breakage or machine crash. Depth should be taken in multiple passes.
🚀 Application
advanced2:00remaining
Calculate number of passes for rectangular pocket milling
You want to mill a rectangular pocket 48mm wide using a 10mm diameter tool with a 40% step-over. How many passes are needed to cover the width?
Attempts:
2 left
💡 Hint
Calculate step-over distance and divide pocket width by it, then round up.
✗ Incorrect
Step-over distance = 10mm * 0.4 = 4mm. Number of passes = ceil(48 / 4) = 12 passes.
📝 Syntax
expert1:30remaining
Identify the syntax error in this rectangular pocket milling G-code snippet
Which option contains a syntax error that will cause the CNC machine to reject the program?
G90 G00 X0 Y0 Z5 G01 Z-5 F100 G01 X40 Y0 F200 G01 X40 Y20 G01 X0 Y20 G01 X0 Y0 G00 Z5
Attempts:
2 left
💡 Hint
Check if all commands have correct syntax and parameters.
✗ Incorrect
Option D ('G01 X40 Y0 F') has F without a numerical value, which is a syntax error that will cause the CNC machine to reject the program.
