Home › G-codes › Heidenhain TNC (ISO) › G200
G200 Drilling cycle
Heidenhain TNC (ISO) G-code · Mill
Drilling with optional pecking. Each peck retracts to set-up clearance. Klartext: CYCL DEF 200 DRILLING.
Format
G200 Q200 Q201 Q206 Q202 Q210 Q203 Q204 Q211
Addresses
| Address | What it does |
|---|---|
Q200 | Set-up clearance above surface |
Q201 | Depth, negative into the part |
Q206 | Plunging feed rate |
Q202 | Plunging depth per peck |
Q203 | Surface coordinate |
Q204 | 2nd set-up clearance for moves between holes |
Q210 Q211 | Dwell at top and at depth |
How it works
DEF active. Runs only with G79, M99 or M89.
Example program
N50 G200 DRILLING
Q200=2 ;SET-UP CLEARANCE
Q201=-15 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGNG
…
Q200=2 ;SET-UP CLEARANCE
Q201=-15 ;DEPTH
Q206=250 ;FEED RATE FOR PLNGNG
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Depth Q201 is from the surface Q203. A positive depth can be blocked or reversed, so keep it negative.
- If Q202 equals the depth the hole is drilled in one plunge.
Related codes
G200 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Index on the fly |
Every G-code for Heidenhain TNC (ISO) 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 Heidenhain TNC G-codes