Bird
0
0
CNC Programmingscripting~20 mins

Machine axes (X, Y, Z for milling) in CNC Programming - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of Machine Axes
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
2:00remaining
What is the resulting position after this move command?
Given the initial tool position at X0 Y0 Z0, what is the tool position after executing the command G01 X10 Y-5 Z3 F100?
CNC Programming
Initial position: X0 Y0 Z0
Command: G01 X10 Y-5 Z3 F100
AX0 Y0 Z0
BX10 Y-5 Z3
CX10 Y0 Z3
DX0 Y-5 Z3
Attempts:
2 left
💡 Hint
G01 moves the tool in a straight line to the specified coordinates.
🧠 Conceptual
intermediate
1:00remaining
Which axis controls the vertical movement in milling?
In a standard 3-axis milling machine, which axis moves the tool up and down?
AZ axis
BY axis
CX axis
DA axis
Attempts:
2 left
💡 Hint
Think about the 3D coordinate system: X and Y are horizontal directions.
📝 Syntax
advanced
1:30remaining
What error occurs with this CNC command?
What error will this CNC command produce? G01 X10 Y Z5
CNC Programming
G01 X10 Y Z5
ANo error, moves to X10 Y0 Z5
BRuntime error: tool collision
CSyntax error due to missing Y coordinate value
DWarning: feed rate missing
Attempts:
2 left
💡 Hint
Every axis coordinate must have a number after the letter.
🚀 Application
advanced
2:00remaining
How many unique positions does this program move through?
Given this CNC program snippet, how many unique positions does the tool move to?
G00 X0 Y0 Z0
G01 X5 Y5 Z-1
G01 X5 Y5 Z-1
G01 X10 Y0 Z-1
G00 X0 Y0 Z0
A2
B4
C5
D3
Attempts:
2 left
💡 Hint
Count unique coordinate sets ignoring repeated positions.
🔧 Debug
expert
3:00remaining
Why does this CNC program cause unexpected Z-axis movement?
This CNC program snippet causes the tool to plunge unexpectedly deep on the Z axis. What is the cause?
G00 X0 Y0 Z5
G01 X10 Y10 Z-5 F200
G01 X20 Y20 Z-10
G00 Z5
AZ coordinate in second G01 is lower than intended causing deep plunge
BG00 command moves too fast causing tool to crash
CMissing feed rate on the second G01 causes default slow plunge
DTool length offset not set causing wrong Z reference
Attempts:
2 left
💡 Hint
Look carefully at the Z values in each move command.