Cutter location (cutter radius compensation)
Cutter location is the topic of where to locate the cutter in order to achieve the desired contour (geometry) of the workpiece, given that the cutter's size is non-zero. The most common example is cutter radius compensation (CRC) for endmills, where the centerline of the tool will be offset from the target position by a vector whose distance is equal to the cutter's radius and whose direction is governed by the left/right, climb/conventional, up/down distinction. In most implementations of G-code, it is G40 through G42 that control CRC (G40 cancel, G41 left/climb, G42 right/conventional). The radius values for each tool are entered into the offset register(s) by the CNC operator or machinist, who then tweaks them during production in order to keep the finished sizes within tolerance. Cutter location for 3D contouring in 3-, 4-, or 5-axis milling with a ball-endmill is handled readily by CAM software rather than manual programming. Typically the CAM vector output is postprocessed into G-code by a postprocessor program that is tailored to the particular CNC control model. Some late-model CNC controls accept the vector output directly, and do the translation to servo inputs themselves, internally.







