Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to start the CNC spindle at the correct speed.
CNC Programming
M3 S[1] ; Start spindle at speed Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using a negative number for spindle speed.
Using letters instead of numbers.
✗ Incorrect
The spindle speed is set with S followed by a positive number. 5000 is a valid speed.
2fill in blank
mediumComplete the code to move the tool to X=10, Y=20 in manual mode.
CNC Programming
G0 X[1] Y20 ; Rapid move to position Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing X and Y values.
Using zero instead of 10.
✗ Incorrect
The command moves the tool to X=10, so 10 is the correct value.
3fill in blank
hardFix the error in the manual move command to Y=30.
CNC Programming
G1 X10 Y[1] F100 ; Linear move with feed rate
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using letters instead of numbers.
Using negative numbers.
✗ Incorrect
Y=30 is the correct coordinate. Letters or negative values cause errors.
4fill in blank
hardFill both blanks to set feed rate and spindle speed correctly.
CNC Programming
G1 X50 Y50 F[1] S[2] ; Move with feed and spindle speed
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping feed rate and spindle speed values.
Using too low spindle speed.
✗ Incorrect
Feed rate (F) is 500 and spindle speed (S) is 3000 for proper machining.
5fill in blank
hardFill all three blanks to create a dictionary of tool names and speeds for CNC.
CNC Programming
tools = {"[1]": [2], "[3]": 1500} Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using numbers as keys instead of strings.
Mixing up tool names and speeds.
✗ Incorrect
The dictionary maps 'drill' to 2000 and 'mill' to 1500 spindle speeds.
