Home › G-codes › Haas NGC › G187
G187 Smoothness and accuracy control / Accuracy control
Haas NGC G-code · Mill, Lathe
On mills: Smoothness and accuracy control
Sets how smooth or how accurate high speed cutting is. P1 is rough and fast, P3 is finish and accurate. E sets the largest allowed corner rounding.
Format
Addresses
| Address | What it does |
|---|---|
P | Smoothness level. P1 rough, P2 medium, P3 finish |
E | Largest corner rounding value |
How it works
Modal, group 00. G187 alone returns to the default in Setting 191.
Example program
M98 P1006 (ROUGH THE PART)
G187 P3 E.0005 (FINISHING, ACCURATE)
M98 P1007 (FINISH THE PART)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Use P1 for roughing and P3 for finishing. The level stays until changed.
- A large E value speeds up cycle time but rounds sharp corners.
On lathes: Accuracy control
Sets smoothness and maximum corner rounding for the following moves. Overrides Settings 191 and 85 until canceled.
Format
Addresses
| Address | What it does |
|---|---|
P | Smoothness, P1 rough, P2 medium, P3 finish, or P11 to P20 on newer software |
E | Maximum corner rounding value |
How it works
Group 00. G187 alone returns to the setting defaults.
Example program
G01 Z-1. F.004 (FINISH PASS)
G187 (BACK TO SETTING VALUES)
Example is in inch. Check offsets and clearances first.
Watch out for
- A very small E acts like exact stop and slows the cut.
- Finish mode takes longer. Use it only where you need it.
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 G187 in the app All Haas NGC G-codes