CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4 › G98

G98 Cycle return to initial point

Mach3 Mach4 G-code · Mill

After each hole the cycle returns to the Z height it started from. Use it to hop over clamps.

Format

G98

Addresses

AddressWhat it does
G98No address words

How it works

Modal, return mode group.

Example program

G0 G20 G90 G54 G17 G40 G49 G80 (SAFE START, INCH)
T1 M6 (TOOL CHANGE)
S2500 M3 (SPINDLE ON)
G43 H1 Z1.0 (START ABOVE CLAMPS)
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G99 · G81

G98 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucCanned cycle return to initial level
Haas NGCCanned cycle initial point return
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
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 Mach3 Mach4 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 Mach3 Mach4 G-codes

App Store Google Play