CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G98

G98 Canned cycle initial point return / Feed per minute

Haas NGC G-code · Mill, Lathe

On mills: Canned cycle initial point return

After each hole the tool returns to the Z height it was at before the canned cycle started. Use it to clear clamps between holes.

Format

G98

How it works

Modal, return group 10.

Example program

G43 H03 Z1. (INITIAL POINT Z1)
G81 G98 Z-.5 R.1 F10. (DRILL, RETURN TO Z1)
X3. (CLEARS THE CLAMP ON THE WAY)
G80 (CANCEL)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Feed per minute

Makes F inches per minute, or mm per minute in metric. Needed for live tool milling and G112 since the main spindle is not turning.

Format

G98

How it works

Modal, group 10. Cancel with G99.

Example program

T1111 (LIVE END MILL)
G98 (FEED PER MINUTE)
M133 P2000 (LIVE TOOL FORWARD)
G01 Z-.1 F8. (8 IPM)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G99 · G81 · G83 · G112

G98 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCanned cycle return to initial level
Mazak (EIA)Canned cycle return to initial point
Mitsubishi M70 M80Canned cycle return to start level
Brother SpeedioCanned cycle return to initial point
Heidenhain TNC (ISO)Set label
Fagor 8055 8065Return to initial plane
LinuxCNC TormachCycle retract to start height
Mach3 Mach4Cycle return to initial point
Centroid CNC12 AcornCanned cycle return to start height
Hurco WinMax (NC)Cycle return to initial point
FadalFixed cycle return to start plane
Swiss (Citizen Star)Feed per minute

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 G98 in the app All Haas NGC G-codes

App Store Google Play