G Code 1
G Code 2
M Code
Variables
Vocabulary
100

Code for Cutter Comprehension cancel

What is G40?

100

Code for Tool Length Compensation

What is G43?

100

Code for Optional Stop

What is M01?

100

Identifies a program.  The very first word in the program and is used in conjunction with a four digit number.

What is O?

100

Preparatory codes because they place the machine in a particular operating mode.

What are G Codes?

200

Code for Exact Stop Check

What is G09?

200

Code for Metric Programming

What is G21?

200

Code for Coolant On

What is M08?

200

Identifies a coordinate position along the horizontal axis. New machine controllers use this word with a decimal format.

What is X?

200

This means that a code is active when the machine power is turned on.

What is Initialized?

300

Code for Absolute Positioning

What is G90?

300

Code for XZ Plane Selection

What is G17?

300

Code for Program end/reset

What is M30?

300

Replaces the letter X when doing incremental moves

What is U?

300

This means that an event occurs one time.

What is Nonmodal?

400

Code for Inch Programming

What is G20?

400

Code for Tool Length Compensation Cancel

What is G49?

400

Code for Tool Change

What is M06?

400

Designates a sequence number, line number or block number in a program.

What is N?

400

A group of words that tells the computer to act upon a complete statement of instructions.

What is a Block?

500

Code for Initial Plane Return

What is G98?

500

Code for Cancel Canned Cycle

What is G80?

500

Code for Spindle On CW

What is M03?

500

Identifies a preparatory function. Preparatory codes set various modes in a program.

What is G?

500

Consists of words which are a combination of alpha characters (letters) and numerical data.

What is Word Address Format?

M
e
n
u