New to CNC Programming? Start Here


First G Codes to Learn


G01 CNC G Code

G codes do a variety of things including setting many modes. Find the most commonly used G codes here.

First M Codes to Learn


M00 CNC M Code

M codes are second to only G codes in how often they get used. We lay out the most often used M codes.

Codes for Speeds and Feeds


S Code – Spindle Speed


S CNC Code

Learn the ins and outs of using the S code to set your spindle speed.

F Code – Feedrate


Figure out feeds with our guide to the F code.

Types of Codes


Modal Codes


on and off switch symbols on a blue background

G codes do a variety of things including setting many modes. Find the most commonly used G codes here.

Safety Codes


a danger triangle icon with an exclamation point on a blue background

Make sure your CNC to set the correct modes using modal commands.

Spindle Codes


a cnc spindle icon on a blue background

Learn how to control your CNCs spindle with all of the available spindle command codes

Coolant Codes


a faucet with a water drop icon on a blue background

Clear chips, turn down the heat and lubricate the cut using these coolant commands

Quick Guide to Subprograms


an icon with a code screen

Tips and tricks for working with CNC subprograms.

Full Code Lists


A-Z Codes


G and M codes might be the most used codes but don’t forget about all the other codes you can use. Don’t worry, we’ve got you covered.

G Codes


G54 CNC G Code

A complete guide to every G code there is. Includes tips and tricks for using them and not crashing your machine in the process.

M Codes


M30 CNC M Code

A complete guide to every M code. Learn what part of your machine these codes control. Includes tips for using each code.