M23 Thread chamfer on
Fanuc M-code · Lathe
Turns on the pull out chamfer at the end of G92 and G76 threads on many lathes.
Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.
Format
M23
How it works
Modal until M24.
Example program
G97 S900 M03 (CONSTANT RPM)
M23 (THREAD CHAMFER ON, BUILDER CODE)
G92 X.47 Z-.75 F.0769 (THREAD PASS)
M23 (THREAD CHAMFER ON, BUILDER CODE)
G92 X.47 Z-.75 F.0769 (THREAD PASS)
Example is in inch. Check offsets and clearances first.
Watch out for
- The chamfer size itself is set by parameter or by r in G76 P.
- Numbers vary by builder. Check the machine manual.
Related codes
M23 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Chamfer out of thread on |
| Doosan (Fanuc) | Program start check |
| DMG Mori MAPPS (Fanuc) | External output |
| Mazak (EIA) | Robot service call |
| Okuma OSP | Chamfer on |
| Swiss (Citizen Star) | Back spindle forward (Citizen) |
Every M-code for Fanuc 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 M23 in the app All Fanuc M-codes