CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M79

M79 Alarm if skip signal not found

Haas NGC M-code · Mill, Lathe

On mills: Alarm if skip signal not found

Used after a G31 move. Alarms if the probe skip signal was not found, which means the probe missed the part.

Format

M79

How it works

Not modal. Acts once on the line where it is commanded.

Example program

G90 G54 G00 X-1. Y0. (LEFT OF THE PART)
G31 X0. F10. (PROBE TOWARD THE PART)
M79 (ALARM IF THE PROBE DID NOT TRIP)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Alarm if skip signal not found

Alarms if the last G31 move did not receive a probe signal. Use when contact is expected, so no hit means a missing part or bad position.

Format

M79

How it works

Non-modal.

Example program

G31 Z-1. F10. (PROBE THE FACE)
M79 (ALARM IF NO CONTACT)
G00 Z.5 (RETRACT)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M78

M79 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Tail stock quill retract
Okuma OSPSteady rest clamp

Every M-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 M79 in the app All Haas NGC M-codes

App Store Google Play