CNC G-codes

G17

XY plane selection

G20

Inch coordinate

G40

Cutter Compensation

G49

Tool Length Compensation

G80

Cancel canned cycle

G90

Absolute Positioning

G91

Incremental Positioning

M0

Program stop

M1

Optional program stop

M5

Spindle stop

M8

Coolant on

M9

Coolant off

M30

Program End and Reset

G0

Rapid Positioning Motion

G1

Linear interpolation Motion

G2

Circular Interpolation Motion CW

G3

Circular Interpolation Motion CCW

G54

Work coordinate offset 1

G98

Canned Cycle Initial Point Return

G99

Canned Cycle R Plane Return

M3

Spindle on clockwise

M4

Spindle On Counterclockwise

M6

Tool Change