Bird
0
0
CNC Programmingscripting~20 mins

Machine home and reference point in CNC Programming - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Master of Machine Home and Reference Point
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate
1:30remaining
What is the output of the G28 command in CNC programming?
In CNC programming, the G28 command is used to move the machine to a specific position. What position does the machine move to when executing G28 without any additional coordinates?
CNC Programming
G28
AMoves the machine to the current tool position without change.
BMoves the machine to the machine home position (reference point).
CMoves the machine to the program zero point (work coordinate zero).
DMoves the machine to the last saved position before the program started.
Attempts:
2 left
💡 Hint
Think about where the machine physically resets or references its position.
🧠 Conceptual
intermediate
1:30remaining
Difference between Machine Home and Work Coordinate Zero
Which statement correctly describes the difference between the machine home position and the work coordinate zero in CNC machining?
AMachine home is set by the user; work coordinate zero is the machine manufacturer default.
BMachine home changes with each program; work coordinate zero is always fixed.
CMachine home is a fixed physical location; work coordinate zero is set by the user for the part.
DMachine home is the tool tip position; work coordinate zero is the spindle center.
Attempts:
2 left
💡 Hint
Consider which position is fixed and which is adjustable.
📝 Syntax
advanced
2:00remaining
Identify the correct G-code to move to machine home via an intermediate point
Which G-code line correctly moves the CNC machine first to an intermediate position at X0 Y0, then to the machine home position?
AG28 X0 Y0
BG30 X0 Y0
CG28.1 X0 Y0
DG28.2 X0 Y0
Attempts:
2 left
💡 Hint
G28 moves to home via an intermediate point; check the syntax for G28.
🔧 Debug
advanced
1:30remaining
Why does this G28 command cause a runtime error?
Given the G-code line G28 X Y, the CNC machine throws an error. What is the most likely cause?
CNC Programming
G28 X Y
ACoordinates must have numeric values; 'X' and 'Y' alone are invalid.
BG28 cannot be used with any coordinates.
CThe machine home position is not set, causing the error.
DThe command is missing a feed rate (F) value.
Attempts:
2 left
💡 Hint
Coordinates need numbers, not just letters.
🚀 Application
expert
2:00remaining
Calculate the final position after G28 command with intermediate point
A CNC machine is currently at position X100 Y50. The program executes G28 X0 Y0. What will be the final position of the machine after this command completes?
AX0 Y0 (machine home position)
BX100 Y50 (current position, no move)
CX0 Y0 then machine home position (which may differ from 0,0)
DMachine home position, which is not necessarily X0 Y0
Attempts:
2 left
💡 Hint
Remember that machine home is a fixed point and may not be at X0 Y0.