{
 "name": "CNC G-code and M-code list by controller",
 "description": "G-code and M-code entries with a short meaning, mill or lathe class, category and the controller lists (Haas mill, Haas lathe, LinuxCNC, Mach3 mill, Mach3 turn, and Fanuc headings on HelmanCNC) that carry each one.",
 "source": "https://machiningcharts.com/cnc-g-code-list/",
 "published": "2026-11-20",
 "publisher": "Machining Charts",
 "units": "See the unit in each column name. Lengths are in mm or in as named; 1 in = 25.4 mm exactly.",
 "notes": "Presence of each code from the Haas 2023 mill and lathe operator manuals, the LinuxCNC G-code and M-code documentation, and the Mach3 Mill and Turn 1.84 manuals. Fanuc marks are headings on helmancnc.com, not a Fanuc manual. Names are paraphrased.",
 "columns": [
  "code",
  "kind",
  "meaning",
  "machine",
  "category",
  "controllers",
  "note"
 ],
 "rows": [
  {
   "code": "G00",
   "kind": "G",
   "meaning": "\"Rapid positioning move\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G01",
   "kind": "G",
   "meaning": "\"Straight move at the programmed feed rate\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G02",
   "kind": "G",
   "meaning": "\"Clockwise arc or helix at feed rate\"",
   "machine": "both",
   "category": "\"Arcs and planes\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G03",
   "kind": "G",
   "meaning": "\"Counterclockwise arc or helix at feed rate\"",
   "machine": "both",
   "category": "\"Arcs and planes\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G04",
   "kind": "G",
   "meaning": "\"Dwell: pause for the time in the P word\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"LinuxCNC: P is seconds. Mach3: seconds or milliseconds"
  },
  {
   "code": "G09",
   "kind": "G",
   "meaning": "\"Exact stop at the end of the block\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "G10",
   "kind": "G",
   "meaning": "\"Set offset or tool data\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G12",
   "kind": "G",
   "meaning": "\"Circular pocket milling",
   "machine": " clockwise\"",
   "category": "both",
   "controllers": "\"Motion\"",
   "note": "\"Haas mill; Haas lathe; Mach3 mill\""
  },
  {
   "code": "G13",
   "kind": "G",
   "meaning": "\"Circular pocket milling",
   "machine": " counterclockwise\"",
   "category": "both",
   "controllers": "\"Motion\"",
   "note": "\"Haas mill; Haas lathe; Mach3 mill\""
  },
  {
   "code": "G17",
   "kind": "G",
   "meaning": "\"Select the XY plane\"",
   "machine": "both",
   "category": "\"Arcs and planes\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G18",
   "kind": "G",
   "meaning": "\"Select the XZ plane\"",
   "machine": "both",
   "category": "\"Arcs and planes\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G19",
   "kind": "G",
   "meaning": "\"Select the YZ plane\"",
   "machine": "both",
   "category": "\"Arcs and planes\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G20",
   "kind": "G",
   "meaning": "\"Inch units\"",
   "machine": "both",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G21",
   "kind": "G",
   "meaning": "\"Millimetre units\"",
   "machine": "both",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G28",
   "kind": "G",
   "meaning": "\"Return to the machine zero or reference point\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G29",
   "kind": "G",
   "meaning": "\"Return from the reference point\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "G30",
   "kind": "G",
   "meaning": "\"Return to a second predefined or home position\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G31",
   "kind": "G",
   "meaning": "\"Move until a skip or probe signal\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G32",
   "kind": "G",
   "meaning": "\"Thread cutting",
   "machine": " single pass\"",
   "category": "lathe",
   "controllers": "\"Lathe cycles\"",
   "note": "\"Haas lathe; Mach3 turn; Fanuc (HelmanCNC list)\""
  },
  {
   "code": "G40",
   "kind": "G",
   "meaning": "\"Cancel cutter or tool nose compensation\"",
   "machine": "both",
   "category": "\"Compensation\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G41",
   "kind": "G",
   "meaning": "\"Cutter or tool nose compensation",
   "machine": " left\"",
   "category": "both",
   "controllers": "\"Compensation\"",
   "note": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\""
  },
  {
   "code": "G42",
   "kind": "G",
   "meaning": "\"Cutter or tool nose compensation",
   "machine": " right\"",
   "category": "both",
   "controllers": "\"Compensation\"",
   "note": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\""
  },
  {
   "code": "G43",
   "kind": "G",
   "meaning": "\"Apply tool length compensation (add)\"",
   "machine": "both",
   "category": "\"Compensation\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G44",
   "kind": "G",
   "meaning": "\"Apply tool length compensation (subtract)\"",
   "machine": "mill",
   "category": "\"Compensation\"",
   "controllers": "\"Haas mill; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G49",
   "kind": "G",
   "meaning": "\"Cancel tool length compensation\"",
   "machine": "mill",
   "category": "\"Compensation\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G50",
   "kind": "G",
   "meaning": "\"Cancel scaling\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G50",
   "kind": "G",
   "meaning": "\"Spindle speed limit",
   "machine": " or set global coordinate offset\"",
   "category": "lathe",
   "controllers": "\"Coordinate systems\"",
   "note": "\"Haas lathe\""
  },
  {
   "code": "G51",
   "kind": "G",
   "meaning": "\"Apply scaling\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G52",
   "kind": "G",
   "meaning": "\"Local or temporary coordinate system offset\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G53",
   "kind": "G",
   "meaning": "\"Move in machine coordinates\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G54",
   "kind": "G",
   "meaning": "\"Select work coordinate system 1\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G55",
   "kind": "G",
   "meaning": "\"Select work coordinate system 2\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G56",
   "kind": "G",
   "meaning": "\"Select work coordinate system 3\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G57",
   "kind": "G",
   "meaning": "\"Select work coordinate system 4\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G58",
   "kind": "G",
   "meaning": "\"Select work coordinate system 5\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G59",
   "kind": "G",
   "meaning": "\"Select work coordinate system 6\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G60",
   "kind": "G",
   "meaning": "\"Unidirectional positioning\"",
   "machine": "mill",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "G61",
   "kind": "G",
   "meaning": "\"Exact stop mode\"",
   "machine": "both",
   "category": "\"Motion\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G64",
   "kind": "G",
   "meaning": "\"Path control mode (on Haas",
   "machine": " cancels G61)\"",
   "category": "both",
   "controllers": "\"Motion\"",
   "note": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\""
  },
  {
   "code": "G65",
   "kind": "G",
   "meaning": "\"Macro subprogram call\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "G68",
   "kind": "G",
   "meaning": "\"Rotate the coordinate system\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; Mach3 mill; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G69",
   "kind": "G",
   "meaning": "\"Cancel rotation\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; Haas lathe; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G70",
   "kind": "G",
   "meaning": "\"Bolt hole circle\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "G70",
   "kind": "G",
   "meaning": "\"Finishing cycle after roughing\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; LinuxCNC; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G70",
   "kind": "G",
   "meaning": "\"Inch units (older synonym of G20)\"",
   "machine": "mill",
   "category": "\"Units and distance\"",
   "controllers": "\"Mach3 mill\"",
   "note": "\"The Mach3 manual says G20 and G21 are preferred.\""
  },
  {
   "code": "G71",
   "kind": "G",
   "meaning": "\"Bolt hole arc\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "G71",
   "kind": "G",
   "meaning": "\"Stock removal (roughing) cycle along the part\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; LinuxCNC; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G71",
   "kind": "G",
   "meaning": "\"Millimetre units (older synonym of G21)\"",
   "machine": "mill",
   "category": "\"Units and distance\"",
   "controllers": "\"Mach3 mill\"",
   "note": "\"The Mach3 manual says G20 and G21 are preferred.\""
  },
  {
   "code": "G72",
   "kind": "G",
   "meaning": "\"Bolt holes along an angle\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "G72",
   "kind": "G",
   "meaning": "\"End face stock removal (roughing) cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; LinuxCNC; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G73",
   "kind": "G",
   "meaning": "\"Chip-breaking peck drilling cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G73",
   "kind": "G",
   "meaning": "\"Irregular path (pattern repeating) stock removal cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G74",
   "kind": "G",
   "meaning": "\"Left-hand or reverse tapping cycle\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; LinuxCNC; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G74",
   "kind": "G",
   "meaning": "\"End face grooving or peck drilling cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G75",
   "kind": "G",
   "meaning": "\"Grooving cycle",
   "machine": " outside or inside diameter\"",
   "category": "lathe",
   "controllers": "\"Lathe cycles\"",
   "note": "\"Haas lathe; Fanuc (HelmanCNC list)\""
  },
  {
   "code": "G76",
   "kind": "G",
   "meaning": "\"Multi-pass threading cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; LinuxCNC; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G76",
   "kind": "G",
   "meaning": "\"Fine boring cycle\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G77",
   "kind": "G",
   "meaning": "\"Back bore cycle\"",
   "machine": "mill",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "G77",
   "kind": "G",
   "meaning": "\"Turning canned cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G78",
   "kind": "G",
   "meaning": "\"Facing canned cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G78",
   "kind": "G",
   "meaning": "\"Threading cycle (Fanuc lathe)\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Fanuc (HelmanCNC list)\"",
   "note": "\"Listed on HelmanCNC as a threading cycle for a Fanuc 21 T-B lathe"
  },
  {
   "code": "G80",
   "kind": "G",
   "meaning": "\"Cancel canned cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G81",
   "kind": "G",
   "meaning": "\"Drill cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G82",
   "kind": "G",
   "meaning": "\"Drill cycle with dwell (Haas calls it spot drill)\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G83",
   "kind": "G",
   "meaning": "\"Peck drilling cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G84",
   "kind": "G",
   "meaning": "\"Tapping cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G85",
   "kind": "G",
   "meaning": "\"Boring cycle",
   "machine": " feed out\"",
   "category": "both",
   "controllers": "\"Drilling and boring cycles\"",
   "note": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\""
  },
  {
   "code": "G86",
   "kind": "G",
   "meaning": "\"Bore and stop cycle\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G89",
   "kind": "G",
   "meaning": "\"Bore",
   "machine": " dwell",
   "category": " feed out cycle\"",
   "controllers": "both",
   "note": "\"Drilling and boring cycles\""
  },
  {
   "code": "G07",
   "kind": "G",
   "meaning": "\"Diameter mode for X (lathe)\"",
   "machine": "lathe",
   "category": "\"Units and distance\"",
   "controllers": "\"LinuxCNC\"",
   "note": "\"LinuxCNC only in the sources read. G8 radius mode is the LinuxCNC default at power up.\""
  },
  {
   "code": "G08",
   "kind": "G",
   "meaning": "\"Radius mode for X (lathe)\"",
   "machine": "lathe",
   "category": "\"Units and distance\"",
   "controllers": "\"LinuxCNC\"",
   "note": "\"\""
  },
  {
   "code": "G90",
   "kind": "G",
   "meaning": "\"Absolute distance mode\"",
   "machine": "both",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G90",
   "kind": "G",
   "meaning": "\"Turning cycle",
   "machine": " outside or inside diameter\"",
   "category": "lathe",
   "controllers": "\"Lathe cycles\"",
   "note": "\"Haas lathe; Fanuc (HelmanCNC list)\""
  },
  {
   "code": "G90.1",
   "kind": "G",
   "meaning": "\"Absolute arc center (I J K) mode\"",
   "machine": "mill",
   "category": "\"Arcs and planes\"",
   "controllers": "\"LinuxCNC; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G91",
   "kind": "G",
   "meaning": "\"Incremental distance mode\"",
   "machine": "both",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G91.1",
   "kind": "G",
   "meaning": "\"Incremental arc center (I J K) mode\"",
   "machine": "mill",
   "category": "\"Arcs and planes\"",
   "controllers": "\"LinuxCNC; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G92",
   "kind": "G",
   "meaning": "\"Set coordinate offset (shift)\"",
   "machine": "both",
   "category": "\"Coordinate systems\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G92",
   "kind": "G",
   "meaning": "\"Threading cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G93",
   "kind": "G",
   "meaning": "\"Inverse time feed mode\"",
   "machine": "mill",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill\"",
   "note": "\"\""
  },
  {
   "code": "G94",
   "kind": "G",
   "meaning": "\"Feed per minute\"",
   "machine": "both",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G94",
   "kind": "G",
   "meaning": "\"End facing cycle\"",
   "machine": "lathe",
   "category": "\"Lathe cycles\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G95",
   "kind": "G",
   "meaning": "\"Feed per revolution\"",
   "machine": "both",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G95",
   "kind": "G",
   "meaning": "\"Live tooling rigid tap",
   "machine": " face\"",
   "category": "lathe",
   "controllers": "\"Drilling and boring cycles\"",
   "note": "\"Haas lathe\""
  },
  {
   "code": "G96",
   "kind": "G",
   "meaning": "\"Constant surface speed on\"",
   "machine": "lathe",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas lathe; LinuxCNC\"",
   "note": "\"\""
  },
  {
   "code": "G97",
   "kind": "G",
   "meaning": "\"Constant surface speed off (RPM mode)\"",
   "machine": "lathe",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas lathe; LinuxCNC\"",
   "note": "\"\""
  },
  {
   "code": "G98",
   "kind": "G",
   "meaning": "\"Feed per minute (Haas lathe)\"",
   "machine": "lathe",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"On the Haas lathe G98 and G99 set the feed mode. Everywhere else in these sources they set the canned cycle return level.\""
  },
  {
   "code": "G98",
   "kind": "G",
   "meaning": "\"Canned cycle returns to the starting position\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G99",
   "kind": "G",
   "meaning": "\"Feed per revolution (Haas lathe)\"",
   "machine": "lathe",
   "category": "\"Feed and speed\"",
   "controllers": "\"Haas lathe; Fanuc (HelmanCNC list)\"",
   "note": "\"\""
  },
  {
   "code": "G99",
   "kind": "G",
   "meaning": "\"Canned cycle returns to the R plane\"",
   "machine": "both",
   "category": "\"Drilling and boring cycles\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "G390",
   "kind": "G",
   "meaning": "\"Absolute position command (Haas lathe)\"",
   "machine": "lathe",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "G391",
   "kind": "G",
   "meaning": "\"Incremental position command (Haas lathe)\"",
   "machine": "lathe",
   "category": "\"Units and distance\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M00",
   "kind": "M",
   "meaning": "\"Program stop\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M01",
   "kind": "M",
   "meaning": "\"Optional program stop\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M02",
   "kind": "M",
   "meaning": "\"Program end\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M30",
   "kind": "M",
   "meaning": "\"Program end and reset\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"LinuxCNC also exchanges pallet shuttles at M30. Mach3 rewinds the file.\""
  },
  {
   "code": "M03",
   "kind": "M",
   "meaning": "\"Spindle clockwise\"",
   "machine": "both",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M04",
   "kind": "M",
   "meaning": "\"Spindle counterclockwise\"",
   "machine": "both",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M05",
   "kind": "M",
   "meaning": "\"Spindle stop\"",
   "machine": "both",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M06",
   "kind": "M",
   "meaning": "\"Tool change\"",
   "machine": "both",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas mill; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"Not in the Haas lathe M-code table.\""
  },
  {
   "code": "M19",
   "kind": "M",
   "meaning": "\"Orient the spindle\"",
   "machine": "both",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC\"",
   "note": "\"\""
  },
  {
   "code": "M07",
   "kind": "M",
   "meaning": "\"Shower coolant on\"",
   "machine": "mill",
   "category": "\"Coolant\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M07",
   "kind": "M",
   "meaning": "\"Mist coolant on\"",
   "machine": "both",
   "category": "\"Coolant\"",
   "controllers": "\"LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"The Mach3 manuals contradict themselves: the M-code summary table lists M7 as mist"
  },
  {
   "code": "M08",
   "kind": "M",
   "meaning": "\"Coolant on\"",
   "machine": "both",
   "category": "\"Coolant\"",
   "controllers": "\"Haas mill; Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M08",
   "kind": "M",
   "meaning": "\"Flood coolant on\"",
   "machine": "both",
   "category": "\"Coolant\"",
   "controllers": "\"LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"The Mach3 summary table lists M8 as flood"
  },
  {
   "code": "M09",
   "kind": "M",
   "meaning": "\"Coolant off\"",
   "machine": "both",
   "category": "\"Coolant\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M88",
   "kind": "M",
   "meaning": "\"Through-spindle coolant on\"",
   "machine": "mill",
   "category": "\"Coolant\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M88",
   "kind": "M",
   "meaning": "\"High-pressure coolant on\"",
   "machine": "lathe",
   "category": "\"Coolant\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M89",
   "kind": "M",
   "meaning": "\"Through-spindle coolant off\"",
   "machine": "mill",
   "category": "\"Coolant\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M89",
   "kind": "M",
   "meaning": "\"High-pressure coolant off\"",
   "machine": "lathe",
   "category": "\"Coolant\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M10",
   "kind": "M",
   "meaning": "\"Engage 4th axis brake\"",
   "machine": "mill",
   "category": "\"Machine options\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M10",
   "kind": "M",
   "meaning": "\"Chuck clamp\"",
   "machine": "lathe",
   "category": "\"Machine options\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M11",
   "kind": "M",
   "meaning": "\"Release 4th axis brake\"",
   "machine": "mill",
   "category": "\"Machine options\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M11",
   "kind": "M",
   "meaning": "\"Chuck unclamp\"",
   "machine": "lathe",
   "category": "\"Machine options\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M21",
   "kind": "M",
   "meaning": "\"Tailstock advance\"",
   "machine": "lathe",
   "category": "\"Machine options\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M22",
   "kind": "M",
   "meaning": "\"Tailstock retract\"",
   "machine": "lathe",
   "category": "\"Machine options\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M133",
   "kind": "M",
   "meaning": "\"Live tool forward\"",
   "machine": "lathe",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M134",
   "kind": "M",
   "meaning": "\"Live tool reverse\"",
   "machine": "lathe",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M135",
   "kind": "M",
   "meaning": "\"Live tool stop\"",
   "machine": "lathe",
   "category": "\"Spindle and tool\"",
   "controllers": "\"Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M47",
   "kind": "M",
   "meaning": "\"Rerun the program from its first line\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M48",
   "kind": "M",
   "meaning": "\"Enable feed and spindle overrides\"",
   "machine": "both",
   "category": "\"Machine options\"",
   "controllers": "\"LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M48",
   "kind": "M",
   "meaning": "\"Check the program suits the loaded pallet\"",
   "machine": "mill",
   "category": "\"Machine options\"",
   "controllers": "\"Haas mill\"",
   "note": "\"\""
  },
  {
   "code": "M49",
   "kind": "M",
   "meaning": "\"Disable feed and spindle overrides\"",
   "machine": "both",
   "category": "\"Machine options\"",
   "controllers": "\"LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M97",
   "kind": "M",
   "meaning": "\"Local subprogram call\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe\"",
   "note": "\"\""
  },
  {
   "code": "M98",
   "kind": "M",
   "meaning": "\"Subprogram call\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  },
  {
   "code": "M99",
   "kind": "M",
   "meaning": "\"Subprogram return or loop\"",
   "machine": "both",
   "category": "\"Program flow\"",
   "controllers": "\"Haas mill; Haas lathe; LinuxCNC; Mach3 mill; Mach3 turn\"",
   "note": "\"\""
  }
 ]
}
