Sales and Support +91 9216 3838 99

M Code/G Code List

    • (G – Codes are written by FANUC)
    • G00 Moves the tool in rapid travel (not necessarily a straight line)
    • G01 Moves the tool using a set feedrate
    • G02 Moves the tool along a clockwise arc path
    • G03 Moves the tool along a counter-clockwise path
    • G04 Sets a dwell time in seconds or revolutions of the spindle
    • G10 Data setting
    • G11 Data setting mode cancel
    • G17 Establishes axis movement in the X and Y axis planes
    • G18 Establishes axis movement in the X and Z axis planes
    • G19 Establishes axis movement in the Y and Z axis planes
    • G20 Values are in Inches
    • G21 Values are in millimeters
    • G28 Return to reference position
    • G30 Second reference position
    • G33 Thread cutting
    • G40 Cancel cutter compensation
    • G41 Cutter compensation left
    • G42 Cutter compensation right
    • G43 Tool length compensation positive
    • G44 Tool length compensation negative
    • G49 Tool length compensation cancel
    • G53 Machine Coordinate move
    • G54 Use workshift offset #1
    • G55 Use workshift offset #2
    • G56 Use workshift offset #3
    • G57 Use workshift offset #4
    • G58 Use workshift offset #5
    • G59 Use workshift offset #6
    • G60 Single direction positioning
    • G65 Macro call
    • G66 Macro modal call
    • G67 Macro modal call cancel
    • G73 Peck drilling cycle
    • G76 Fine boring cycle
    • G80 Canned cycle cancel
    • G81 Drilling cycle or spot boring cycle
    • G82 Drilling cycle or counter boring cycle
    • G83 Peck drilling cycle
    • G84 Tapping cycle
    • G85 Boring cycle
    • G86 Boring cycle
    • G87 Back boring cycle
    • G88 Boring cycle
    • G89 Boring cycle
    • G90 Absolute measurements
    • G91 Incremental measurements
    • G94 Feed per minute
    • G95 Feed per revolution of the spindle
    • G96 Constant surface speed control
    • G97 Constant surface speed control cancel
    • G98 Return to initial point in canned cycle
    • G99 Return to R point is canned cycle
    • M00 Program stop
    • M01 Optional stop
    • M02 End of program
    • M03 Spindle on Clockwise
    • M04 Spindle on Counter-clockwise
    • M05 Spindle stop
    • M06 Tool change
    • M08 Coolant on
    • M09 Coolant off
    • M10 Clamp
    • M11 Unclamp
    • M30 End of program and rewind to beginning of program
    • M98 Call subprogram
    • M99 End subprogram