Challenge - 5 Problems
Depth of Cut & Step-over Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
Calculate total passes for depth of cut
A CNC program sets a total depth of cut of 12 mm with a depth of cut per pass of 3 mm. How many passes will the machine make to complete the cut?
Attempts:
2 left
💡 Hint
Divide total depth by depth per pass.
✗ Incorrect
Total passes = total depth / depth per pass = 12 / 3 = 4 passes.
💻 Command Output
intermediate1:30remaining
Calculate step-over distance in a CNC milling operation
If the tool diameter is 10 mm and the step-over is set to 40% of the tool diameter, what is the step-over distance?
Attempts:
2 left
💡 Hint
Step-over = tool diameter × step-over percentage.
✗ Incorrect
Step-over distance = 10 mm × 0.4 = 4 mm.
📝 Syntax
advanced2:00remaining
Identify the correct G-code for setting depth of cut
Which of the following G-code lines correctly sets a depth of cut of 5 mm in a CNC milling program?
Attempts:
2 left
💡 Hint
G01 is linear feed move; negative Z moves down.
✗ Incorrect
G01 moves the tool linearly at feed rate; Z-5.0 moves down 5 mm for cutting.
🚀 Application
advanced2:00remaining
Calculate total machining time with depth of cut and step-over
A CNC milling operation uses a tool diameter of 8 mm, step-over of 50%, depth of cut per pass of 10 mm, and total depth of 10 mm. The feed rate is 200 mm/min and the cut length per pass is 100 mm. How long will the machining take (in minutes), assuming only linear cutting time?
Attempts:
2 left
💡 Hint
Calculate passes for depth, passes for step-over, then total passes and time.
✗ Incorrect
Depth passes = 10/10 = 1; step-over passes = 100/(8*0.5) = 25; total passes = 1*25=25; time = (25*100)/200 = 12.5 minutes.
🔧 Debug
expert2:30remaining
Find the error in this CNC depth of cut loop script
This pseudo-code loops through depth passes but produces an infinite loop. What is the error?
```
depth = 10
depth_per_pass = 2
current_depth = 0
while current_depth < depth:
print(f"Cutting at depth {current_depth} mm")
```
CNC Programming
depth = 10 depth_per_pass = 2 current_depth = 0 while current_depth < depth: print(f"Cutting at depth {current_depth} mm")
Attempts:
2 left
💡 Hint
Check if the loop variable changes inside the loop.
✗ Incorrect
Without updating current_depth inside the loop, the condition never becomes false, causing an infinite loop.
