Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to set the vise jaw opening to 50 mm.
CNC Programming
G54 ; Select work coordinate system M06 T01 ; Tool change to tool 1 S1200 M03 ; Spindle on clockwise at 1200 RPM G00 X0 Y0 Z50 ; Rapid move to safe height M08 ; Coolant on G01 Z[1] F100 ; Move down to clamp height
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using a positive value which moves the tool up instead of down.
Setting too large a negative value causing collision.
✗ Incorrect
The vise jaw opening height is set by moving the tool down to -5 mm at a controlled feed rate.
2fill in blank
mediumComplete the code to activate the vise clamp after positioning.
CNC Programming
G00 X0 Y0 Z10 ; Move to safe position M[1] ; Activate vise clamp G04 P1 ; Dwell for 1 second to ensure clamp
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using M08 which turns coolant on instead of clamping.
Using M06 which is tool change.
✗ Incorrect
M09 is commonly used to activate the vise clamp in CNC programs.
3fill in blank
hardFix the error in the code to correctly set the vise jaw position to 30 mm.
CNC Programming
G01 X[1] F200 ; Move vise jaw to position Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using negative values which move the jaw in the wrong direction.
Using values too large for the machine limits.
✗ Incorrect
The vise jaw position should be set to 30 mm, a positive value for correct positioning.
4fill in blank
hardFill both blanks to set the vise jaw speed and position correctly.
CNC Programming
G01 X[1] F[2] ; Move vise jaw
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Setting feed rate too high causing unsafe movement.
Setting position too large causing mechanical issues.
✗ Incorrect
The jaw position is 25 mm and the feed rate is 100 mm/min for safe movement.
5fill in blank
hardFill all three blanks to complete the vise setup sequence.
CNC Programming
G54 ; Select work coordinate system G00 X[1] Y[2] Z[3] ; Move to safe position
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Setting Z too low causing collision.
Setting X or Y to non-zero causing misalignment.
✗ Incorrect
Moving to X=0, Y=0, Z=50 mm is a safe position before starting milling.