Challenge - 5 Problems
Straight Turning Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediateOutput of a simple straight turning G-code
What is the final diameter of the workpiece after executing this G-code snippet for a straight turning operation?
G00 X50 Z5
G01 Z-40 F0.2
G01 X30
CNC Programming
G00 X50 Z5
G01 Z-40 F0.2
G01 X30Attempts:
2 left
💡 Hint
Remember that X values in turning represent radius positions, so diameter is twice the X value.
✗ Incorrect
The final X position is 30 mm radius, so diameter = 2 * 30 = 60 mm. Initial X was 50 mm radius (diameter 100 mm). The tool moves to X30, so the diameter after turning is 60 mm.
🧠 Conceptual
intermediatePurpose of G00 and G01 in straight turning
In a straight turning operation, what is the main difference between the G00 and G01 commands?
Attempts:
2 left
💡 Hint
Think about how the tool moves when positioning versus cutting.
✗ Incorrect
G00 is a rapid positioning command used to move the tool quickly without cutting. G01 is a linear interpolation command that moves the tool at a specified feed rate to perform cutting.
📝 Syntax
advancedIdentify the syntax error in this turning operation code
What error will this G-code produce when running a straight turning operation?
G01 X20 Z-30 F0.15 G01 X10 Z-40 G00 X50 Z5
CNC Programming
G01 X20 Z-30 F0.15
G01 X10 Z-40
G00 X50 Z5Attempts:
2 left
💡 Hint
Feed rate does not need to be repeated if unchanged.
✗ Incorrect
The feed rate set in the first G01 line remains active for subsequent G01 moves unless changed. No syntax error exists. The code runs correctly.
🔧 Debug
advancedWhy does this straight turning code cause a tool crash?
Given this G-code snippet for straight turning, why might the tool crash into the workpiece?
G00 X40 Z5 G01 Z-50 F0.2 G01 X30
CNC Programming
G00 X40 Z5
G01 Z-50 F0.2
G01 X30Attempts:
2 left
💡 Hint
Consider the physical meaning of X values in turning and the tool path.
✗ Incorrect
The initial X is 40 mm radius, then the tool moves along Z, followed by G01 X30 (smaller radius, closer to center). This deeper cut into the material can cause a tool crash if the depth exceeds the remaining material or desired dimension.
🚀 Application
expertCalculate total machining time for a straight turning operation
A straight turning operation moves the tool from X50 to X20 at a feed rate of 0.25 mm/rev. The spindle speed is 800 RPM. How long in seconds does the cutting move take?
Assume the tool moves only in X direction during cutting.
Assume the tool moves only in X direction during cutting.
Attempts:
2 left
💡 Hint
Calculate the distance moved, then divide by feed rate and spindle speed to find time.
✗ Incorrect
Distance moved = 50 - 20 = 30 mm. Feed rate = 0.25 mm/rev. Number of revolutions = 30 / 0.25 = 120 revs. Spindle speed = 800 RPM. Time = 120 / 800 * 60 = 9 seconds.
