Cancel tool offset.
G49 is a G-code used to cancel the tool length offset compensation. Tool length offset compensation is a feature that allows the machine to adjust for the length of the tool in the spindle when performing certain operations. By canceling the tool length offset compensation, the machine will move in a straight line from the programmed point to the point of actual cut, rather than following a path that compensates for the length of the tool.
The G49 command is typically used at the end of a program or a specific operation to cancel any active tool length offset compensation and return the machine to its original reference position.
G49
G49