User Tools

Site Tools


mycnc:gcodes_list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
mycnc:gcodes_list [2019/08/26 12:59]
ivan
mycnc:gcodes_list [2019/09/27 09:21] (current)
ivan
Line 1: Line 1:
 ===== G-Codes list ===== ===== G-Codes list =====
 +
 +Below is a list of G-codes currently implemented in the myCNC system.
  
 ^ G-codes ^^^^ ^ G-codes ^^^^
 ^ Code ^ Description ^ Mill (M)\\ Lathe(L)\\ Cutting table (C) ^ Comments ^ ^ Code ^ Description ^ Mill (M)\\ Lathe(L)\\ Cutting table (C) ^ Comments ^
-| G00 | Rapid Positioning | +| G00 | Rapid Positioning ​| | {{:​mycnc:​gcodes-list-003-g0.jpg}} ​|  
-| G01 | Linear Interpolation | +| G01 | Linear Interpolation ​| | {{:​mycnc:​gcodes-list-004-g1.jpg}} ​
-| G02 | Arc CCW Interpolation | +| G02 | Arc CCW Interpolation ​| | {{:​mycnc:​gcodes-list-005-g02.jpg}} ​
-| G03 | Arc CW Interpolation | +| G03 | Arc CW Interpolation ​| | {{:​mycnc:​gcodes-list-006-g3.jpg}} ​|  
-| G04 | Dwell | +| G04 | Dwell | | In milliseconds. Will prevent the axes from moving during the specified time period ​
-| G5.1 | <​del>​Spline ​Inrepolation</​del>​ | +| G5.1 | <​del>​Spline ​Interpolation</​del>​ | 
-| G5.2 | <​del>​Nurbs ​Inrepolation</​del>​ | +| G5.2 | <​del>​Nurbs ​Interpolation</​del>​ | 
-| G5.3 | <​del>​Nurbs ​Inrepolation ​End</​del>​ |+| G5.3 | <​del>​Nurbs ​Interpolation ​End</​del>​ |
 | G10 | [[mycnc:​gcodes_list#​G10 Data Set|Data Set]] | | G10 | [[mycnc:​gcodes_list#​G10 Data Set|Data Set]] |
 | G11 | Mirror Cancel | | G11 | Mirror Cancel |
Line 21: Line 23:
 | G18 | Plane ZX | | G18 | Plane ZX |
 | G19 | Plane YZ | | G19 | Plane YZ |
-| G20 | Unit Inches | | +| G20 | Set Units to Inches | | 
-| G21 | Unit Metric | |+| G21 | Set Units to Metric | |
 | G28 | [[mycnc:​gcodes_list:​g28|G28 Home]] | | G28 | [[mycnc:​gcodes_list:​g28|G28 Home]] |
 | G28.1 | Home Position Set | | G28.1 | Home Position Set |
Line 37: Line 39:
 | G33 | Spindle Synchronization | | G33 | Spindle Synchronization |
 | G33 | Spindle Synchronization | | G33 | Spindle Synchronization |
-| G38.2 | G38.2 Probing |+| G38.2 | G38.2 Probing ​| | Probing codes G38.2-G38.5 are typically not used in myCNC systems, as their functions have been largely replaced and expanded by the PLC commands (specific probing M-codes) ​|
 | G38.3 | G38.3 Probing | | G38.3 | G38.3 Probing |
 | G38.4 | G38.4 Probing | | G38.4 | G38.4 Probing |
 | G38.5 | G38.5 Probing | | G38.5 | G38.5 Probing |
 | G38.9 | Tool Measure | | G38.9 | Tool Measure |
-| G40 | Tool Correction Cancel | +| G40 | Tool Correction Cancel ​| | {{:​mycnc:​gcodes-list-008-g40.jpg}} ​
-| G41 | Tool Correction Left | +| G41 | Tool Correction Left | | {{:​mycnc:​gcodes-list-009-g41.jpg}} ​
-| G42 | Tool Correction Right |+| G42 | Tool Correction Right | | {{:​mycnc:​gcodes-list-010-g42.jpg}} ​|
 | G43 | G43 Tool Length Offset | | G43 | G43 Tool Length Offset |
 | G44 | G44 Tool Length Offset | | G44 | G44 Tool Length Offset |
Line 67: Line 69:
 | G64 | <​del>​Mode Cutting</​del>​ | M | | G64 | <​del>​Mode Cutting</​del>​ | M |
 | G65 | G-code macro | M | | G65 | G-code macro | M |
-| G68 | Rotation Coordinates Mode On | M | 
-| G69 | Rotation Coordinates Mode Off | M | 
 | G73 | Cycle Deep Hole Drilling | M | | G73 | Cycle Deep Hole Drilling | M |
 | G74 | Cycle Left Hand Tapping | M | | G74 | Cycle Left Hand Tapping | M |
Line 93: Line 93:
 | G96 | Lathe Surface Speed | L | (constant surface for lathe) | | G96 | Lathe Surface Speed | L | (constant surface for lathe) |
 | G97 | Set Spindle Speed | L | (revolutions per minute) | | G97 | Set Spindle Speed | L | (revolutions per minute) |
-| G98 | TURN_FEEDRATE_PER_MINUTE | L | +| G98 | Turn Feedrate per Minute ​| L | 
-| G99 | TURN_FEEDRATE_PER_REVOLUTION ​| L | +| G98 | Canned Return Back to initial height ​| M | On mill machines, G98 allows to return the tool back to initial height Z during the canned return process. {{:​mycnc:​gcodes-list-007-g98g99.jpg}} ​
-| G98 | Canned Return Back | M | | +| G99 | Turn Feedrate per Revolution ​
-| G99 | Canned Return R | M | | +G99 Canned Return to a set height ​As opposed to G98, which returns the tool to the initial height ​(height before cutting), G99 returns the tool to some set height Z. {{:​mycnc:​gcodes-list-007-g98g99.jpg}} ​|
-G70 Unit Inches (2) | | +
-| G71 | Unit Metric ​(2| | |+
 | G150 | Tool Correction Radius Set | | G150 | Tool Correction Radius Set |
 ^ Miscellaneous M-codes ^^^^ ^ Miscellaneous M-codes ^^^^
Line 148: Line 146:
 | M101-199 | User defined M-codes (Section 2) | | M101-199 | User defined M-codes (Section 2) |
 | M200-999 | User defined M-codes (Section 3) | | M200-999 | User defined M-codes (Section 3) |
 +| M421 | Tool Length Measure |
 +| M422 | Tool Breakage Check |
 +| M440-M470 | Probing tool macros (locating surface, edges, etc) |
 ^ Misc Macros ^^^^ ^ Misc Macros ^^^^
 ^ Code ^ Description ^ Implementation ^ Comments ^ ^ Code ^ Description ^ Implementation ^ Comments ^
Line 158: Line 159:
 | M136 | Homing C axis | Macro |  | | M136 | Homing C axis | Macro |  |
 | M138 | Homing All axes | Macro |  | | M138 | Homing All axes | Macro |  |
-^ Tool Measure ^^^^ 
-| M131 | Homing X axis | Macro |  | 
-| M132 | Homing Y axis | Macro |  | 
-| M133 | Homing Z axis | Macro |  | 
-| M134 | Homing A axis | Macro |  | 
-| M135 | Homing B axis | Macro |  | 
-| M136 | Homing C axis | Macro |  | 
-| M138 | Homing All axes | Macro |  | 
- 
  
  
mycnc/gcodes_list.1566838749.txt.gz · Last modified: 2019/08/26 12:59 by ivan