G Code / M Code

G00

Rapid Motion

G01

Straight line cutting motion

G02

CW circular cutting motion

G03

CCW circular cutting motion

G04

Dwell

G09

Exact stop check, one shot

G10

Offset input by program

G17

XY plane selection

G18

XZ plane selection

G19

YZ plane selection

G20

Inch mode

G21

Metric mode

G22

Stored stroke limit instating

G23

Stored stroke limit cancel

G27

Zero return check

G28

Zero return command

G29

Return from zero return

G30

Second reference point return

G31

Skip cutting for probe

G40

Cancel cutter radius comp.

G41

Cutter radius comp. left

G42

Cutter radius comp. right

G43

Instate tool length comp. (+)

G44

Instate tool length comp. (-)

G45

Tool offset expansion

G46

Tool offset reduction

G47

Tool offset double expansion

G48

Tool offset double reduction

G49

Cancel tool length comp.

G50

Cancel scaling

G51

Scaling on

G52

Return to base coord. system

G53

Shift to mach. coord. system

G54

Instate fixture offset #1

G55

Instate fixture offset #2

G56

Instate fixture offset #3

G57

Instate fixture offset #4

G58

Instate fixture offset #5

G59

Instate fixture offset #6

G60

Single direction positioning

G61

Exact stop check mode

G64

Normal cutting (cancel G60 and G64)

G65

Custom macro call

G66

Custom macro modal call

G67

Cancel custom macro call

G68

Coordinate system rotation

G69

Cancel rotation

G73

Chip breaking peck drilling

G74

Left hand tapping cycle

G76

Fine boring with no drag line

G80

Cancel canned cycle

G81

Drilling cycle

G82

Counterboring cycle

G83

Deep hole peck drilling cycle

G84

Right hand tapping cycle

G85

Reaming cycle

G86

Boring cycle

G87

Back boring cycle

G88

Boring cycle

G89

Boring cycle with dwell

G90

Absolute mode

G91

Incremental mode

G92

Program zero designator

G98

Return to initial plane (G73-G89)

G99

Return to rapid plane (G73-G89)

M00

Program stop

M01

Optional stop

M02

End of program (no rewind)

M03

Spindle on forward (CW)

M04

Spindle on reverse (CCW)

M05

Spindle off

M06

Tool change command

M07

Mist coolant

M08

Flood coolant

M09

Coolant off

M19

Spindle orient

M30

End of program (rewinds)

M98

Subprogram call

M99

Subprogram return