Mach3 Mach4 G-code list
78 G-codes. Pick a code for the format, the addresses, an example program and what to watch out for.
| Code | Meaning | Machine |
|---|---|---|
| G0 | Rapid move | Mill |
| G1 | Linear feed move | Mill |
| G2 | Clockwise arc | Mill |
| G3 | Counterclockwise arc | Mill |
| G4 | Dwell | Mill |
| G9 | Exact stop, one block | Mill |
| G10 | Set offsets from the program | Mill |
| G12 | Circle or pocket, clockwise | Mill |
| G13 | Circle or pocket, counterclockwise | Mill |
| G15 | Polar coordinates off | Mill |
| G16 | Polar coordinates on | Mill |
| G17 | XY plane | Mill |
| G18 | XZ plane | Mill |
| G19 | YZ plane | Mill |
| G20 | Inch units | Mill |
| G21 | Metric units | Mill |
| G28 | Return to home through a point | Mill |
| G28.1 | Reference axes, Mach3 | Mill |
| G30 | Return to second home | Mill |
| G31 | Probe move | Mill |
| G32 | Threading move, Mach4 | Mill |
| G40 | Cutter comp cancel | Mill |
| G41 | Cutter comp left | Mill |
| G42 | Cutter comp right | Mill |
| G43 | Tool length offset | Mill |
| G44 | Tool length offset minus | Mill |
| G49 | Tool length offset cancel | Mill |
| G50 | Scaling cancel | Mill |
| G51 | Scaling and mirror | Mill |
| G52 | Local coordinate shift | Mill |
| G53 | Move in machine coordinates | Mill |
| G54 | Work offset 1 | Mill |
| G54.1 | Extra work offsets, Mach4 | Mill |
| G55 | Work offset 2 | Mill |
| G56 | Work offset 3 | Mill |
| G57 | Work offset 4 | Mill |
| G58 | Work offset 5 | Mill |
| G59 | Work offset 6 and extra offsets | Mill |
| G60 | One direction approach, Mach4 | Mill |
| G61 | Exact stop mode | Mill |
| G64 | Constant velocity mode | Mill |
| G65 | Macro call, Mach4 | Mill |
| G66 | Modal macro call, Mach4 | Mill |
| G67 | Modal macro cancel, Mach4 | Mill |
| G68 | Rotate coordinates | Mill |
| G69 | Rotation cancel | Mill |
| G70 | Inch units, Mach3 | Mill |
| G71 | Metric units, Mach3 | Mill |
| G73 | High speed peck drill | Mill |
| G74 | Left hand tapping, Mach4 | Mill |
| G76 | Fine boring, Mach4 | Mill |
| G80 | Canned cycle cancel | Mill |
| G81 | Drill cycle | Mill |
| G82 | Drill with dwell | Mill |
| G83 | Deep hole peck drill | Mill |
| G84 | Tapping cycle | Mill |
| G84.2 | Rigid tapping right hand, Mach4 | Mill |
| G84.3 | Rigid tapping left hand, Mach4 | Mill |
| G85 | Bore, feed out | Mill |
| G86 | Bore, spindle stop, rapid out | Mill |
| G87 | Back boring | Mill |
| G88 | Bore, manual retract | Mill |
| G89 | Bore, dwell, feed out | Mill |
| G90 | Absolute mode | Mill |
| G90.1 | Absolute arc centers | Mill |
| G91 | Incremental mode | Mill |
| G91.1 | Incremental arc centers | Mill |
| G92 | Set position offset | Mill |
| G92.1 | Cancel G92 offset | Mill |
| G92.2 | Clear G92, keep values, Mach3 | Mill |
| G92.3 | Restore G92 from parameters, Mach3 | Mill |
| G93 | Inverse time feed | Mill |
| G94 | Feed per minute | Mill |
| G95 | Feed per revolution | Mill |
| G96 | Constant surface speed, Mach4 | Mill |
| G97 | Constant RPM, Mach4 | Mill |
| G98 | Cycle return to initial point | Mill |
| G99 | Cycle return to R plane | Mill |
Take the list to the machine. The app searches every code by number or shop word and decodes a whole program line by line.
Open the G-code list Mach3 Mach4 M-codes