CNC Machinist Calculator Ultra

Home › M-codes › Heidenhain TNC (ISO) › M99

M99 Cycle call in a positioning block

Heidenhain TNC (ISO) M-code · Mill

Calls the last defined cycle once at the end of the positioning block. Klartext and ISO both use M99.

Format

X Y M99

Addresses

AddressWhat it does
X YHole position in the same block

How it works

Non-modal. Acts at end of block.

Example program

N130 G98 L1 *
N140 G79 *
N150 G91 X+20 M99 *
N160 Y+20 M99 *
…

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

Watch out for

Related codes

G79 · M89 · G98

M99 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSubprogram end and return
Haas NGCSubprogram return or loop
Doosan (Fanuc)End of sub program
DMG Mori MAPPS (Fanuc)Sub-program end Repeat program
Mazak (EIA)EIA → EIA Return to main EIA program
Okuma OSPSubprogram return (Lathes & Mills)
Mitsubishi M70 M80Subprogram end and return
Brother SpeedioSubprogram end
LinuxCNC TormachFanuc style subprogram return
Mach3 Mach4Subprogram return
Centroid CNC12 AcornReturn from subprogram or macro
Hurco WinMax (NC)Subprogram return
FadalEnd of subprogram, or line jump
Swiss (Citizen Star)Subprogram return or program loop

Every M-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 M99 in the app All Heidenhain TNC M-codes

App Store Google Play