Setting the working datum with G10 and using datum shifts such as G54 and G55 when writing a G-Code program on a CNC machine.