G en M codes Flashcards
M00
Program stop
M01
Optional program stop
M02
Program end
M03
Spindle on clockwise
M04
Spindle on counterclockwise
M05
Spindle stop
M06
Tool change
M09
Coolant off
M08
Coolant on
M10
Clamps on
M11
Clamps off
M30
Program end, reset to start
M97
Start local subprogram
M98
Start subprogram
M99
End subprogram
G00
Rapid travel
G02
Circular interpolation, CW
G01
Linear interpolation
G04
Dwell
G03
Circular interpolation, CCW
G17
XY plane
G18
XZ plane
G21
Metric Units
G20
Inch units
G19
YZ plane
G40
Cutter compensation cancel
G41
Cutter compensation left
G42
Cutter compensation right
G43
Tool length compensation (plus)
G44
Tool length compensation (minus)
G49
Tool length compensation cancel
G80
Cancel canned cycles
G81
Drilling cycle
G82
Counter boring cycle
G83
Deep hole drilling cycle
G90
Absolute positioning
G91
Incremental positioning