Introduction
The Work Coordinate System (WCS) helps machines know where to start and move when cutting or shaping materials. It sets a clear point so the machine works in the right place.
G54 G55 G56 ... G59
G54 G01 X10 Y10 Z-5 F100
G55 G00 X0 Y0 Z0
G21 ; Set units to millimeters G90 ; Use absolute positioning G54 ; Select work coordinate system 1 G00 X0 Y0 Z5 ; Move above start point G01 Z-2 F50 ; Lower tool to cutting depth G01 X50 Y0 F100 ; Cut in X direction G01 X50 Y50 ; Cut in Y direction G01 X0 Y50 ; Cut back in X G01 X0 Y0 ; Complete square G00 Z5 ; Raise tool M30 ; End program
G54 G01 X10 Y20 F100 G55 G01 X5 Y5 F100
G54 G01 X10 Y10 F150 G60 G01 X20 Y20 F150
Pass the test and this pattern moves unknown