Home › G-codes › Haas NGC › G141
G141 3D plus cutter compensation
Haas NGC G-code · Mill
Cutter compensation in three dimensions for 5 axis or 3D work. Uses a surface normal vector on each block from CAM.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
G141 D X Y Z [A B] I J K F
Addresses
| Address | What it does |
|---|---|
D | Diameter offset number |
X Y Z A B | End point of the move |
I J K | Surface normal direction vector |
F | Feed rate |
How it works
Modal, cutter comp group 07. Cancel with G40.
Example program
G141 D01 X1. Y1. Z-.1 I0. J0. K1. F20. (3D COMP ON)
X2. I0. J0. K1. (NEXT MOVE)
G40 (COMP OFF)
X2. I0. J0. K1. (NEXT MOVE)
G40 (COMP OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- G141 programs come from CAM. Hand editing the I J K values is not practical.
Related codes
Every G-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G141 in the app All Haas NGC G-codes