M-code reference
M23 M-Code: Thread Chamfer (Pull-Out) On — Lathe
Thread Chamfer (Pull-Out) On — Lathe — Common Fanuc lathe builder code that enables the gradual pull-out (chamfering) at the end of G92/G76 threads. M24 turns it off for threads that run into a…
| Property | Value |
|---|---|
| Code | M23 |
| Function | Thread Chamfer (Pull-Out) On — Lathe |
| Used on | Lathes |
What does M23 do?
Common Fanuc lathe builder code that enables the gradual pull-out (chamfering) at the end of G92/G76 threads. M24 turns it off for threads that run into a shoulder or groove.
M23 example
M23
G92 X11.3 Z-20.0 F1.75
M24Tips
- Builder specific; on some machines the pull-out is set only by a parameter.
M-codes vary between machine builders. Codes from M00 to M09, M30 and M98/M99 are nearly universal; most others are defined by the machine builder. Always check the M-code list in your machine manual.
Related codes
- M24 — Thread Chamfer (Pull-Out) Off — Lathe
- G76 — Threading Cycle (Lathe) / Fine Boring (Mill)
- G92 — Coordinate System Setting (Mill) / Threading Cycle (Lathe)
Most-used M-codes
| Code | Function |
|---|---|
M00 | Program Stop |
M01 | Optional Stop |
M03 | Spindle On Clockwise |
M04 | Spindle On Counter-Clockwise |
M05 | Spindle Stop |
M06 | Tool Change |
M08 | Flood Coolant On |
M09 | Coolant Off |
M30 | Program End and Rewind |
M98 | Subprogram Call |
M99 | Subprogram Return / Loop |
Frequently asked questions
What does M23 mean on a CNC machine?
M23 is Thread Chamfer (Pull-Out) On — Lathe. Common Fanuc lathe builder code that enables the gradual pull-out (chamfering) at the end of G92/G76 threads. M24 turns it off for threads that run into a shoulder or groove.