CNC Machinist Calculator Ultra

Home › G-codes › Mach3 Mach4

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.

CodeMeaningMachine
G0Rapid moveMill
G1Linear feed moveMill
G2Clockwise arcMill
G3Counterclockwise arcMill
G4DwellMill
G9Exact stop, one blockMill
G10Set offsets from the programMill
G12Circle or pocket, clockwiseMill
G13Circle or pocket, counterclockwiseMill
G15Polar coordinates offMill
G16Polar coordinates onMill
G17XY planeMill
G18XZ planeMill
G19YZ planeMill
G20Inch unitsMill
G21Metric unitsMill
G28Return to home through a pointMill
G28.1Reference axes, Mach3Mill
G30Return to second homeMill
G31Probe moveMill
G32Threading move, Mach4Mill
G40Cutter comp cancelMill
G41Cutter comp leftMill
G42Cutter comp rightMill
G43Tool length offsetMill
G44Tool length offset minusMill
G49Tool length offset cancelMill
G50Scaling cancelMill
G51Scaling and mirrorMill
G52Local coordinate shiftMill
G53Move in machine coordinatesMill
G54Work offset 1Mill
G54.1Extra work offsets, Mach4Mill
G55Work offset 2Mill
G56Work offset 3Mill
G57Work offset 4Mill
G58Work offset 5Mill
G59Work offset 6 and extra offsetsMill
G60One direction approach, Mach4Mill
G61Exact stop modeMill
G64Constant velocity modeMill
G65Macro call, Mach4Mill
G66Modal macro call, Mach4Mill
G67Modal macro cancel, Mach4Mill
G68Rotate coordinatesMill
G69Rotation cancelMill
G70Inch units, Mach3Mill
G71Metric units, Mach3Mill
G73High speed peck drillMill
G74Left hand tapping, Mach4Mill
G76Fine boring, Mach4Mill
G80Canned cycle cancelMill
G81Drill cycleMill
G82Drill with dwellMill
G83Deep hole peck drillMill
G84Tapping cycleMill
G84.2Rigid tapping right hand, Mach4Mill
G84.3Rigid tapping left hand, Mach4Mill
G85Bore, feed outMill
G86Bore, spindle stop, rapid outMill
G87Back boringMill
G88Bore, manual retractMill
G89Bore, dwell, feed outMill
G90Absolute modeMill
G90.1Absolute arc centersMill
G91Incremental modeMill
G91.1Incremental arc centersMill
G92Set position offsetMill
G92.1Cancel G92 offsetMill
G92.2Clear G92, keep values, Mach3Mill
G92.3Restore G92 from parameters, Mach3Mill
G93Inverse time feedMill
G94Feed per minuteMill
G95Feed per revolutionMill
G96Constant surface speed, Mach4Mill
G97Constant RPM, Mach4Mill
G98Cycle return to initial pointMill
G99Cycle return to R planeMill

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

App Store Google Play