CUTTER COMPENSATION (G40, G41, G42)
To turn Cutter Compensation off, program: G40
It’s okay to turn compensation off when it is already off.
It’s an error if:
- A G02/G03 arc move is programmed next after a G40
- The linear move after turning compensation off is less than twice the tool tip radius
To program Cutter Compensation to the left of the programmed tool path (as viewed looking down on the mill), program: G41 D~
To program Cutter Compensation to the right of the programmed tool path (as viewed looking down on the mill), program: G42 D~
- D~ is the tool number associated with the diameter offset to be applied
The D word is optional — if there is no D word, the radius of the currently loaded tool is used. If no tool is loaded and no D word is given, a radius of 0 is used. If supplied, the D word is the tool number to use.
The lead in move must be at least as long as the tool radius. The lead in move can be a rapid move.
It’s an error if:
- The D number is not a valid tool number, or it’s 0
- Cutter Compensation is commanded to turn on when it is already on