CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M52

M52 Built in M code relay 2 on

Haas NGC M-code · Lathe

Turns on built in M code relay 2 and leaves it on. Use M62 to turn it off. Used for customer added devices.

Format

M52

How it works

Modal until M62 or RESET.

Example program

M52 (RELAY 2 ON, CUSTOM DEVICE)
G04 P1. (WAIT 1 SECOND)
M62 (RELAY 2 OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M62 · M59 · M121

M52 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Front splash guard door open
Mazak (EIA)Error detect ON
LinuxCNC TormachAdaptive feed control
Swiss (Citizen Star)Coolant on (Citizen)

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

App Store Google Play