Introduction
Machine axes X, Y, and Z tell the milling machine where to move the tool to cut the material correctly.
G01 X[value] Y[value] Z[value] F[feed_rate]
G01 X10 Y20 Z-5 F100
G01 X0 Y0 Z0 F50
G01 Z-10 F80
G21 ; Set units to millimeters G90 ; Use absolute positioning G01 X0 Y0 Z5 F200 ; Move to start position above the part G01 Z0 F100 ; Lower tool to surface G01 X50 Y0 Z0 F150 ; Move right 50 mm G01 X50 Y50 Z0 F150 ; Move forward 50 mm G01 X0 Y50 Z0 F150 ; Move left 50 mm G01 X0 Y0 Z0 F150 ; Move back to start G01 Z5 F100 ; Raise tool up M30 ; End of program
G01 X5 Y5 Z0 G01 X10 Y5 Z-3 G01 X10 Y10 Z-3
G01 X15 Y10 G01 Z-2 G01 X20 Y15 Z-2
Pass the test and this pattern moves unknown