CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M95

M95 Sleep mode

Haas NGC M-code · Mill, Lathe

On mills: Sleep mode

Puts the machine into sleep mode for a set time, then wakes it up. Used to warm up the spindle before a shift. The time goes in a comment.

Format

M95 (HH:MM)

Addresses

AddressWhat it does
(HH:MM)Sleep time in hours and minutes inside a comment

How it works

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

Example program

G91 G28 Z0. (Z HOME)
M95 (02:00)
M98 P9000 (SPINDLE WARM UP AFTER WAKING)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Sleep mode

A long dwell. The comment right after M95 gives the sleep time in hours and minutes. Follow it with warm up moves.

Format

M95 (hh:mm)

Addresses

AddressWhat it does
(hh:mm)Sleep time in hours and minutes in a comment

How it works

Non-modal.

Example program

M95 (12:30) (SLEEP 12 HOURS 30 MINUTES)
G97 S500 M03 (WARM UP SPINDLE)
G04 P600. (RUN 10 MINUTES)
M05 (SPINDLE STOP)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M30

M95 on other controls

The same number can mean something different on another control.

ControlMeaning
DMG Mori MAPPS (Fanuc)Chip removal coolant OFF
Centroid CNC12 AcornTurn PLC request bit off
FadalFeed forward cancel

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

App Store Google Play