Bird
0
0
CNC Programmingscripting~10 mins

Pocket milling (rectangular) in CNC Programming - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the spindle clockwise.

CNC Programming
M3 [1]
Drag options to blanks, or click blank then click option'
AM5
BF200
CG1
DS1000
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.
2fill in blank
medium

Complete 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'
AZ-5
BX10
CF100
DM3
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.
3fill in blank
hard

Fix 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'
A150
BG0
C300
DM3
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.
4fill in blank
hard

Fill 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'
A10
B60
C20
D50
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping X and Y values.
Using values outside the pocket range.
Using feed rate instead of coordinates.
5fill in blank
hard

Fill 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'
A10
B20
C50
D60
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up start and end coordinates.
Using Y coordinate for end_x key.
Leaving blanks empty.