Introduction
The CNC machine coordinate system helps the machine know exactly where to move and cut. It is like a map for the machine to follow.
G54 G55 ... G59
G54
G55
G54 G01 X50 Y50 Z0 F100
G21 ; Set units to millimeters G90 ; Use absolute positioning G54 ; Select first coordinate system G00 X0 Y0 Z5 ; Move quickly to start position above part G01 Z-1 F50 ; Move down to cut depth at feed rate 50 G01 X50 Y0 F100 ; Cut straight line in X direction G01 X50 Y50 ; Cut line in Y direction G01 X0 Y50 ; Cut line back in X G01 X0 Y0 ; Complete square G00 Z5 ; Lift tool up M30 ; End program
G54
G01 X10 Y20 F100G59
G01 X-5 Y10 F150Pass the test and this pattern moves unknown