mycnc:gcodes_list
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:gcodes_list [2019/08/19 13:47] – ivan | mycnc:gcodes_list [2020/05/28 15:26] – 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 |
- | | G01 | Linear Interpolation | | + | | G01 | Linear Interpolation |
- | | G02 | Arc CCW Interpolation | | + | | G02 | Arc CCW Interpolation |
- | | G03 | Arc CW Interpolation | | + | | G03 | Arc CW Interpolation |
- | | G04 | Dwell | | + | | G04 | Dwell | | In milliseconds. Will prevent the axes from moving during the specified time period |
- | | G5.1 | < | + | | G5.1 | < |
- | | G5.2 | < | + | | G5.2 | < |
- | | G5.3 | < | + | | G5.3 | < |
| G10 | [[mycnc: | | G10 | [[mycnc: | ||
| 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 | G28 Home | | + | | G28 | [[mycnc: |
| G28.1 | Home Position Set | | | G28.1 | Home Position Set | | ||
| G28.2 | Home Position #1 Save | | | G28.2 | Home Position #1 Save | | ||
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 |
| 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 |
- | | G41 | Tool Correction Left | | + | | G41 | Tool Correction Left | | {{: |
- | | G42 | Tool Correction Right | | + | | G42 | Tool Correction Right | | {{: |
| 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 | < | | G64 | < | ||
| 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 |
- | | G99 | TURN_FEEDRATE_PER_REVOLUTION | + | | G98 | Canned Return Back to initial height |
- | | G98 | Canned Return Back | M | | | + | | G99 | Turn Feedrate per Revolution |
- | | G99 | Canned Return R | M | | | + | | G99 | Canned Return to a set height |
- | | G70 | Unit Inches (2) | | | | + | |
- | | G71 | Unit Metric | + | |
| G150 | Tool Correction Radius Set | | | G150 | Tool Correction Radius Set | | ||
^ Miscellaneous M-codes ^^^^ | ^ Miscellaneous M-codes ^^^^ | ||
Line 135: | Line 133: | ||
| M64 | Turn On binary output pin | PLC | | | | M64 | Turn On binary output pin | PLC | | | ||
| M65 | Turn Off binary output pin | PLC | | | | M65 | Turn Off binary output pin | PLC | | | ||
- | | M71 | Start Cutting | PLC | Cutting Tables | | + | | M71 | Start Cutting |
| M72 | Begin Plasma Marking Section | PLC | Cutting Tables | | | M72 | Begin Plasma Marking Section | PLC | Cutting Tables | | ||
| M73 | End Plasma Marking Section | PLC | Cutting Tables | | | M73 | End Plasma Marking Section | PLC | Cutting Tables | | ||
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.txt · Last modified: 2023/09/29 14:15 by ivan