Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start the spindle clockwise.
CNC Programming
M3 [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using M5 which stops the spindle.
Using G1 which is a linear move command.
Using F200 which sets feed rate, not spindle speed.
✗ Incorrect
M3 starts the spindle clockwise and S1000 sets the spindle speed to 1000 RPM.
2fill in blank
mediumComplete the code to move the tool to the start point at X10 Y20.
CNC Programming
G0 [1] Y20 Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using Z-5 which moves tool down, not X axis.
Using F100 which sets feed rate, not position.
Using M3 which starts spindle, not moves tool.
✗ Incorrect
G0 is a rapid move command. X10 moves the tool to X=10 coordinate.
3fill in blank
hardFix the error in the feed move command to cut at feed rate 150.
CNC Programming
G1 X30 Y40 F[1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using 300 which is too fast for this task.
Using M3 which is spindle start command.
Using G0 which is rapid move, not feed rate.
✗ Incorrect
F150 sets the feed rate to 150 units per minute during the G1 cutting move.
4fill in blank
hardFill both blanks to define a rectangular pocket from X10 to X50 and Y20 to Y60.
CNC Programming
G1 X[1] Y[2] F100
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping X and Y values.
Using values outside the pocket range.
Using feed rate instead of coordinates.
✗ Incorrect
X50 and Y60 define one corner of the rectangular pocket boundary.
5fill in blank
hardFill all three blanks to create a dictionary of pocket corners with their coordinates.
CNC Programming
pocket = {{'start_x': [1], 'start_y': [2], 'end_x': [3] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up start and end coordinates.
Using Y coordinate for end_x key.
Leaving blanks empty.
✗ Incorrect
The dictionary keys map to the pocket's start and end coordinates correctly.
