Home › G-codes › Haas NGC › G242
G242 Radial spot drill canned cycle
Haas NGC G-code · Lathe
Spot drills into the diameter with a radial live tool, dwells for P, then rapids out.
Format
G242 X R P F [Z] [C] [Y]
Addresses
| Address | What it does |
|---|---|
X | Diameter at the bottom of the hole |
R | R plane, diameter |
P | Dwell at the bottom |
F | Feed rate |
Z | Z position of the hole |
C | C axis angle |
Y | Y position, Y axis lathes |
How it works
Modal, group 09. Cancel with G80.
Example program
T1010 (RADIAL SPOT DRILL, LIVE)
G98 (FEED PER MINUTE)
M133 P1500 (LIVE TOOL FORWARD 1500 RPM)
G00 G54 X3.5 Z-.75 C0 M08 (ABOVE 3.0 DIAMETER)
…
G98 (FEED PER MINUTE)
M133 P1500 (LIVE TOOL FORWARD 1500 RPM)
G00 G54 X3.5 Z-.75 C0 M08 (ABOVE 3.0 DIAMETER)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- P is modal inside the cycle.
- X is the diameter at the bottom of the hole and R is a diameter too.
- Use G98 feed per minute and start the live tool with M133 P.
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 G242 in the app All Haas NGC G-codes