Home › G-codes › Haas NGC › G200
G200 Index on the fly
Haas NGC G-code · Lathe
Moves away by U and W, changes tools while moving, then rapids to X and Z with the new tool offsets. Saves time on tool changes.
Format
G200 T [U] [W] [X] [Z]
Addresses
| Address | What it does |
|---|---|
T | Tool and offset, required |
U | Incremental X move away before the change |
W | Incremental Z move away before the change |
X | Final X position |
Z | Final Z position |
How it works
Group 00.
Example program
T0101 (OD TOOL)
G01 Z-1. F.01 (TURN)
G200 T0202 U.5 W.5 X8. Z2. (INDEX ON THE FLY TO TOOL 2)
G00 X1.1 Z.1 (APPROACH WITH TOOL 2)
G01 Z-1. F.01 (TURN)
G200 T0202 U.5 W.5 X8. Z2. (INDEX ON THE FLY TO TOOL 2)
G00 X1.1 Z.1 (APPROACH WITH TOOL 2)
Example is in inch. Check offsets and clearances first.
Watch out for
- U and W are from the current position. If you jog close to the tailstock and restart, W can drive into it.
- Prove the program at 5 percent rapid first.
- The turret moves toward the spindle a little when it unclamps. Do not use it right next to jaws.
Related codes
G200 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Heidenhain TNC (ISO) | Drilling cycle |
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 G200 in the app All Haas NGC G-codes