Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start a G-code program with the correct program number.
CNC Programming
O[1] (Start of program) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using G-codes or M-codes instead of a program number.
Omitting the program number after 'O'.
✗ Incorrect
The program number starts with 'O' followed by a number, like 1001.
2fill in blank
mediumComplete the code to set the machine to absolute positioning mode.
CNC Programming
[1] (Set absolute positioning) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using G91 which is relative positioning.
Confusing spindle start codes with positioning codes.
✗ Incorrect
G90 sets the machine to absolute positioning mode.
3fill in blank
hardFix the error in the code to properly end the program.
CNC Programming
M[1] (End of program) Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using M00 which pauses but does not end the program.
Using spindle start codes like M03 instead of end codes.
✗ Incorrect
M30 is the standard code to end and rewind the program.
4fill in blank
hardFill both blanks to move the tool rapidly to X=50 and Y=25.
CNC Programming
G[1] X[2] Y25
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using G01 which is linear feed move instead of rapid.
Mixing up coordinate values for X and Y.
✗ Incorrect
G00 is rapid move, and X coordinate is 50.
5fill in blank
hardFill all three blanks to set spindle speed to 1200 RPM and start clockwise rotation.
CNC Programming
S[1] M[2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using M05 which stops spindle instead of starting it.
Confusing spindle speed with feed rate codes.
✗ Incorrect
S1200 sets spindle speed to 1200 RPM, M03 starts spindle clockwise.
