Skip to content

G41.2/G42.2: 3D tool radius compensation (5 axes)

3D tool radius compensation for 5-axis machining (type 1); applies the radius correction normal to the surface.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
5 axes
Machine
Milling, Mill-turn
Risk
High
Example
G41.2 D01 / G42.2 D01

How to write it on each control

Example
G41.2 D01 / G42.2 D01
Fanuc · Siemens—

Fanuc: Requires 5-axis option; different from classic G41/G42 2D.

Siemens: Siemens equivalence: 3D compensation with active TRAORI.

Parameters

D
Tool radius offset for 3D compensation.

Machine: Milling, Mill-turn

Sources

  • Official manual: FANUC Series 16i/18i/21i-MB Operator's Manual (B-63534EN/02) · G41.2, G42.2

Other codes in 5 axes

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G41.2/G42.2 mean in a CNC program?

3D tool radius compensation for 5-axis machining (type 1); applies the radius correction normal to the surface. In the catalogue it appears as "3D tool radius compensation (5 axes)", within the 5 axes family.

Can you give me an example of G41.2/G42.2?

G41.2 D01 / G42.2 D01 — 3D tool radius compensation for 5-axis machining (type 1); applies the radius correction normal to the surface.

Which machines use G41.2/G42.2?

G41.2/G42.2 is used in: Milling, Mill-turn.

What should you watch out for with G41.2/G42.2?

High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.

Related apps