Complete the code to set the machine to the absolute coordinate system.
G[1] ; Set to absolute positioningG91 sets the machine to relative positioning, but G90 sets it to absolute. Here, the correct code is G90.
Complete the code to set the work coordinate system to G54.
G[1] ; Select work coordinate system G54G54 is the standard code to select the first work coordinate system in CNC programming.
Fix the error in the code to set the coordinate offset at X=10, Y=20.
G92 [1]10 Y20 ; Set coordinate offset
G92 sets the coordinate offset. The correct axis letter before the value 10 is X.
Fill both blanks to set coordinate offset at X=10 and Y=20 correctly.
G92 [1]10 [2]20 ; Set coordinate offset
G92 sets coordinate offsets. X10 and Y20 set offsets on X and Y axes respectively.
Fill all three blanks to create a coordinate system offset dictionary in Python for X=10, Y=20, Z=5.
offsets = { [1]: [2], [3]: 20, 'Z': 5 }The dictionary keys are axis names as strings. Values are their offsets. Here, X:10, Y:20, Z:5.
