G and M code list for the FANUC21iT CNC control.
G00 Positioning (Rapid Traverse)
G01 Linear Interpolation (Feed)
G02 Circular Interpolation CW
G03 Circular Interpolation CCW
G04 Dwell
G20 Inch Data Input
G21 Metric Data Input
G28 Reference Point Return
G40 Tool Nose Radius Compensation Cancel
G41 Tool Nose Radius Compensation Left
G42 Tool Nose Radius Compensation Right
G50 Work Co-ordinate Change/Max. Spindle Speed setting
G7Ø Finishing Cycle
G71 Stock Removal in Turning - X
G72 Stock Removal in Facing - Z
G73 Pattern Repeating
G74 Peck Drilling in Z Axis
G75 Grooving in X Axis
G76 Multiple Thread Cutting Cycle
G81 Deep hole drilling
G90 Diameter Cutting Cycle A (Outer/Inner)
G92 Thread Cutting Cycle
G94 Cutting Cycle B (End Face Cycle)
G96 Assessed Surface Speed Control
G97 Assessed Surface Speed Control Cancel
G98 Feed Per Minute
G99 Feed Per Revolution
M00 Program stop
M01 Optional stop
M02 End of program
M03 Spindle forward (clockwise)
M04 Spindle reverse (counter clockwise)
M05 Spindle stop
M06 Automatic tool change
M08 Coolant on
M09 Coolant off
M10 Chuck open
M11 Chuck close
M13 Spindle forward and coolant on
M14 Spindle reverse and coolant on
M30 Program stop and reset
M98 Sub program call
M99 Sub program end and return