Home › M-codes › Haas NGC › M86
M86 Tool clamp / Automatic door close
Haas NGC M-code · Mill, Lathe
On mills: Tool clamp
Clamps the tool in the spindle.
Format
M86
How it works
Not modal. Acts once on the line where it is commanded.
Example program
M05 (SPINDLE STOP)
M82 (TOOL UNCLAMP)
M86 (TOOL CLAMP)
M82 (TOOL UNCLAMP)
M86 (TOOL CLAMP)
Example is in inch. Check offsets and clearances first.
Watch out for
- Check the tool is fully seated before M86.
On lathes: Automatic door close
Closes the optional auto door.
Format
M86
How it works
Non-modal.
Example program
M10 (CLAMP NEW PART)
M86 (DOOR CLOSE)
G97 S1000 M03 (SPINDLE ON)
M86 (DOOR CLOSE)
G97 S1000 M03 (SPINDLE ON)
Example is in inch. Check offsets and clearances first.
Watch out for
- Make sure the robot or operator is clear of the door path.
Related codes
M86 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Lower a-axis torque skip |
| DMG Mori MAPPS (Fanuc) | Adaptive control mode ON |
| Mazak (EIA) | Steady rest 1 unclamp |
| Okuma OSP | Turret Indexing direction: CW (reverse) |
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 M86 in the app All Haas NGC M-codes