G Codes 1
G Codes 2
M & G Codes
Variables 1
Variables 2
100

Rapid traverse, moves the table at maximum speed available for the machine

What is G00?

100

Straight cutting motion, moves the table in a straight line at a programmed feedrate

What is G01?

100

Spindle Off

What is M05?

100

Replaces the letter Y when doing incremental moves.

What is W?

100

This letter has two purposes. First, it designates the radius value in a circular movement. Second, it specifies the rapid plane height for a canned cycle command.

What is R?

200

Dwell command, causes axis motion to pause for a specific amount of time

What is G04?

200

A two part command that ultimately sends the machine home.

What is G28?

200

Coolant Off

What is M09?

200

Specifies the peck depth for each pass in a peck drilling canned cycle

What is Q?

200

Used to program spindle speed.

What is S?

300

Non-Modal work coordinates

What is G53?

300

YZ Plane Selection

What is G19?

300

Spindle On CCW

What is M04?

300

Used to select a tool station.

What is T?

300

Calls for a variety of miscellaneous functions.  Act like on/off switches that control systems such as spindle rotation and coolant flow.

What is M?

400

Circular cutting motion clockwise

What is G02?

400

Circular cutting motion counter-clockwise

What is G03?

400

Work coordinates #1

What is G54?

400

Specifies tool length compensation offset

What is H?

400

Specifies cutter radius compensation offset.

What is D?

500

Metric Programming

What is G21?

500

R Plane retract return

What is G99?

500

Inch Programming

What is G20?

500

Specifies the location of the arc center when making a circular move.  This variable refers to the distance and direction in the Z axis.

What is K?

500

This letter has two purposes. It is used to specify the location of the arc center when making a circular move.  It also specifies the amount of tool back away at the bottom of a fine boring cycle.

What is I?