CNC Program Codes Mill

  1. G0
    Rapid Move
  2. G1
    ____ Interpolation
    Linear Interpolation (Feed Move)
  3. G2
    ____ Interpolation
    Circular Interpolation CW
  4. G3
    ____ Interpolation
    Circular Interpolation CCW
  5. G4
    G4 P1.7
    • Dwell (seconds)
    • ex. G04 P1.7
  6. G9
    Exact stop check mode
  7. G10
    Data Entry
  8. G17
    ___ Plane Selection
    XY Plane
  9. G20
    Units: Inch/Metric
    Inch Programming
  10. G21
    Units: Inch/Metric
    Metric Programming
  11. G28 [Fanuc]
    Return to ___
    Return to Reference Position (Home)
  12. G30 [Fanuc]
    Return to ___
    Return to 2nd Reference Position
  13. G40
    Cutter Compensation ____
    Cutter Radius Compensation Cancel
  14. G41
    Cutter Compensation ____
    Cutter Radius Compensation Left
  15. G42
    Cutter Compensation ____
    Cutter Radius Compensation Right
  16. G43 [Fanuc]
    G43 H06
    • Tool length compensation loading
    • G43 H#
  17. G49 [Fanuc]
    Tool length compensation Cancel
  18. G54 [Fanuc]
    • Work offset
    • Example: ... G54 P4 X0 Y0 ...
  19. G55 [Fanuc]
    • Work offset
    • Example: ... G55 P25 X0 Y0 ...
  20. G56 [Fanuc]
    • Work offset
    • Example: ... G54 P16 X0 Y0 ...
  21. G57 [Fanuc]
    • Work offset
    • Example: ... G57 P37 X0 Y0 ...
  22. G58 [Fanuc]
    • Work offset
    • Example: ... G58 P48 X0 Y0 ...
  23. G59 [Fanuc]
    • Work offset
    • Example: ... G59 P1 X0 Y0 ...
  24. G60
    Single Direction Approach (Option)
  25. G61
    Exact Stop Check Mode (Modal)
  26. G64
    Cutting Mode (Cancels G9 & G61)
  27. G65
    Macro Calling (One Shot)
  28. G66
    Macro Calling (modal)
  29. G68
    __ __ Rotation
    Coordinate System Rotation
  30. G69
    __ __ Rotation
    Coordinate System Rotation Cancel
  31. G73
    Canned Cycle
    Canned Cycle (High Speed Pecking)
  32. G76
    Canned Cycle
    Canned Cycle (Fine Boring)
  33. G80
    Canned Cycle
    Canned Cycle CANCEL
  34. G81
    Canned Cycle
    Canned Cycle (Drilling)
  35. G82
    Canned Cycle
    Canned Cycle (Counterboring w Dwell)
  36. G83
    Canned Cycle
    Canned Cycle (Peck Drilling)
  37. G84
    Canned Cycle
    Canned Cycle (Tapping)
  38. G85-G89
    Canned Cycle
    Canned Cycle (Boring)
  39. G90
    ____ Programming
    Absolute Programming
  40. G91
    ____ Programming
    Incremental Programming
  41. G94
    Feed ____
    Feed per minute
  42. G95
    Feed ____
    Feed per Revolution
  43. G98
    Return to ...
    Return to initial Point (in Canned Cycle) [Fanuc]
  44. G99
    Return to ...
    Return to "R" point (in Canned Cycle) [Fanuc]
  45. M0
    Program Stop
  46. M1
    Optional Program Stop
  47. M2
    Program End & Rewind
  48. M3
    Spindle ____
    Spindle On CW
  49. M4
    Spindle ____
    Spindle On CCW
  50. M5
    Spindle ____
    Spindle Off
  51. M6
    Tool Change
  52. M7
    Coolant
    Coolant Thru Spindle [Doosan, Daewoo]
  53. M8
    Coolant
    Coolant On (Flood)
  54. M9
    Coolant
    Coolant Off
  55. M19
    Spindle Orientation
  56. M29
    Rigid Tapping [Daewoo, Doosan]
  57. M30
    Program End and Reset
  58. M60
    Pallet ...
    Pallet Change
  59. M61
    Pallet ...
    Pallet #1 Change and Check
  60. M62
    Pallet ...
    Pallet #2 Change and Check
  61. M98
    Call Sub-Program [Fanuc]
  62. M99
    Return to Main Program [Fanuc]
  63. Rapid Move
    G_
    G0
  64. Linear Interpolation (Feed Move)
    G_
    G1
  65. Circular Interpolation CW
    G_
    G2
  66. Circular Interpolation CCW
    G_
    G3
  67. Dwell (seconds)
    G_
    G4
  68. Exact stop check mode
    G_
    G9
  69. Data Entry
    G_
    G10
  70. XY Plane
    G_
    G17
  71. Inch Programming
    G_
    G20
  72. Metric Programming
    G_
    G21
  73. Return to Reference Position (Home)
    G_
    G28 [Fanuc]
  74. Return to 2nd Reference Position
    G_
    G30 [Fanuc]
  75. Cutter Radius Compensation Cancel
    G_
    G40
  76. Cutter Radius Compensation Left
    G_
    G41
  77. Cutter Radius Compensation Right
    G_
    G42
  78. Tool length compensation loading
    G_
    G43 [Fanuc]
  79. Tool length compensation Cancel
    G_
    G49 [Fanuc]
  80. Work offset
    G_
    G54 to G59 [Fanuc]
  81. Single Direction Approach (Option)
    G_
    G60
  82. Exact Stop Check Mode (Modal)
    G_
    G61
  83. Cutting Mode (Cancels G9 & G61)
    G_
    G64
  84. Macro Calling (One Shot)
    G_
    G65
  85. Macro Calling (modal)
    G_
    G66
  86. Coordinate System Rotation
    G_
    G68
  87. Coordinate System Rotation Cancel
    G_
    G69
  88. Canned Cycle (High Speed Pecking)
    G_
    G73
  89. Canned Cycle (Fine Boring)
    G_
    G76
  90. Canned Cycle CANCEL
    G_
    G80
  91. Canned Cycle (Drilling)
    G_
    G81
  92. Canned Cycle (Counterboring w Dwell)
    G_
    G82
  93. Canned Cycle (Peck Drilling)
    G_
    G83
  94. Canned Cycle (Tapping)
    G_
    G84
  95. Canned Cycle (Boring)
    G_
    G85-G89
  96. Absolute Programming
    G_
    G90
  97. Incremental Programming
    G_
    G91
  98. Feed per minute
    G_
    G94
  99. Feed per Revolution
    G_
    G95
  100. Return to initial Point (in Canned Cycle) [Fanuc]
    G_
    G98
  101. Return to "R" point (in Canned Cycle) [Fanuc]
    G_
    G99
  102. Program Stop
    M_
    M0
  103. Optional Program Stop
    M_
    M1
  104. Program End & Rewind
    M_
    M2
  105. Spindle On CW
    M_
    M3
  106. Spindle On CCW
    M_
    M4
  107. Spindle Off
    M_
    M5
  108. Tool Change
    M_
    M6
  109. Coolant Thru Spindle [Doosan, Daewoo]
    M_
    M7
  110. Coolant On (Flood)
    M_
    M8
  111. Coolant Off
    M_
    M9
  112. Spindle Orientation
    M_
    M19
  113. Rigid Tapping [Daewoo, Doosan]
    M_
    M29
  114. Program End and Reset
    M_
    M30
  115. Pallet Change
    M_
    M60
  116. Pallet #1 Change and Check
    M_
    M61
  117. Pallet #2 Change and Check
    M_
    M62
  118. Call Sub-Program [Fanuc]
    M_
    M98
  119. Return to Main Program [Fanuc]
    M_
    M99
Author
joshuacassel
ID
348065
Card Set
CNC Program Codes Mill
Description
G and M Codes for the CNC class at the Center (Linamar)
Updated