CNC Machinist Calculator Ultra

Home › M-codes › Doosan (Fanuc) › M99

M99 End of sub program

Doosan (Fanuc) M-code · Mill and lathe

Indicates the end of the sub-program and returns control to the main program.

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

M99 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucSubprogram end and return
Haas NGCSubprogram return or loop
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
Heidenhain TNC (ISO)Cycle call in a positioning block
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 Doosan (Fanuc) 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 Doosan M-codes

App Store Google Play