💻 G & M-Code Reference

Quick reference for common G-codes and M-codes. Fanuc-compatible — codes may vary by controller.

G-Codes (Preparatory)
CodeDescriptionNotes
M-Codes (Miscellaneous)
CodeDescriptionNotes

Why a G-Code Reference Matters

G-codes and M-codes are the language of CNC machines. Even experienced programmers need a quick reference — especially when switching between Fanuc, Haas, and other controls where codes can behave differently or have different modal groups.

Related Tools

Stay Sharp

New tools, machining tips, and shop math — straight to your inbox. No spam.

Unsubscribe anytime. We respect your inbox.