0
0
CNC Programmingscripting~10 mins

First article inspection 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 first article inspection program.

CNC Programming
M98 P[1]
Drag options to blanks, or click blank then click option'
A2002
B3003
C1001
D4004
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong subprogram number.
Forgetting the M98 command.
2fill in blank
medium

Complete the code to measure the part diameter during inspection.

CNC Programming
G65 P[1] Q1 R[2]
Drag options to blanks, or click blank then click option'
A5100
B5000
C5200
D5300
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect macro program number.
Confusing parameter Q and R.
3fill in blank
hard

Fix the error in the code to correctly probe the part surface.

CNC Programming
G31 X[1] Y0 Z0 F100
Drag options to blanks, or click blank then click option'
A50
B100
C0
D-50
Attempts:
3 left
💡 Hint
Common Mistakes
Using positive X value causing no probe contact.
Setting zero which does not move the probe.
4fill in blank
hard

Fill both blanks to set the inspection tolerance limits.

CNC Programming
IF [#[1] GT [2]] THEN M30
Drag options to blanks, or click blank then click option'
A100
B200
C0.05
D0.1
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong variable number.
Confusing tolerance value.
5fill in blank
hard

Fill all three blanks to create a dictionary of inspection results with conditions.

CNC Programming
results = [1]: [2] for [3] in measurements if measurements[[3]] <= 0.1}
Drag options to blanks, or click blank then click option'
A'feature'
Bmeasurements[feature]
Cfeature
Dmeasurement
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong variable names causing syntax errors.
Misplacing the condition in comprehension.