CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M56

M56 Built in M code relay 6 on

Haas NGC M-code · Lathe

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

Format

M56

How it works

Modal until M66 or RESET.

Example program

M56 (RELAY 6 ON, CUSTOM DEVICE)
G04 P1. (WAIT 1 SECOND)
M66 (RELAY 6 OFF)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M66 · M59 · M121

M56 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Tapping mode select
Mazak (EIA)Front door open
Okuma OSPTailstock spindle advance
Swiss (Citizen Star)Part count (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 M56 in the app All Haas NGC M-codes

App Store Google Play