Mazak G code list for cnc machinists who work on MAZAK machining centers.
Mazak G Code List
G Code | Function |
---|---|
G00 | Positioning |
G01 | Linear interpolation |
G01.1 | Threading with C-axis interpolation |
G02 | Circular interpolation (CW) |
G03 | Circular interpolation (CCW) |
G02.1 | Spiral interpolation (CW) |
G03.1 | Spiral interpolation (CCW) |
G04 | Dwell |
G05 | High-speed machining mode |
G06.1 | Fine spline interpolation |
G06.2 | NURBS interpolation |
G07 | Virtual-axis interpolation |
G07.1 | Cylindrical interpolation |
G09 | Exact-stop check |
G10 | Data setting mode ON |
G10.1 | Command address OFF |
G11 | Data setting mode OFF |
G12.1 | Polar coordinate interpolation ON |
G13.1 | Polar coordinate interpolation OFF |
G17 | X-Y plane selection |
G18 | Z-X plane selection |
G19 | Y-Z plane selection |
G20 | Inch command |
G21 | Metric command |
G22 | Pre-move stroke check ON |
G23 | Pre-move stroke check OFF |
G27 | Reference point check |
G28 | Reference point return |
G29 | Return from reference point |
G30 | Return to 2nd, 3rd and 4th reference points |
G31 | Skip function |
G31.1 | Multi-step skip 1 |
G31.2 | Multi-step skip 2 |
G31.3 | Multi-step skip 3 |
G33 | Thread cutting (straight, taper) |
G34 | Variable lead thread cutting |
G34.1 | Hole machining pattern cycle (on a circle) |
G35 | Hole machining pattern cycle (on a line) |
G36 | Hole machining pattern cycle (on an arc) |
G37.1 | Hole machining pattern cycle (on a grid) |
G37 | Automatic tool length measurement |
G38 | Vector selection for tool radius compensation |
G39 | Corner arc for tool radius compensation |
G40 | Nose R/Tool radius compensation OFF |
G41 | Nose R/Tool radius compensation (left) |
G41.2 | 3-D tool radius compensation (left) |
G42 | Nose R/Tool radius compensation (right) |
G42.2 | 3-D tool radius compensation (right) |
G43 | Tool length offset (+) |
G43.4 | Tool tip point control (Type 1) ON |
G43.5 | Tool tip point control (Type 2) ON |
G44 | Tool length offset () |
G45 | Tool position offset, extension |
G46 | Tool position offset, reduction |
G47 | Tool position offset, double extension |
G48 | Tool position offset, double reduction |
G49 | Tool position offset OFF |
G92 | Coordinate system setting/Spindle clamp speed setting |
G50 | Scaling OFF |
G51 | Scaling ON |
G50.1 | Mirror image OFF |
G51.1 | Mirror image ON |
G50.2 | Polygonal machining mode OFF |
G51.2 | Polygonal machining mode ON |
G52 | Local coordinate system setting |
G53 | Machine coordinate system selection |
G54 | Selection of workpiece coordinate system 1 |
G55 | Selection of workpiece coordinate system 2 |
G56 | Selection of workpiece coordinate system 3 |
G57 | Selection of workpiece coordinate system 4 |
G58 | Selection of workpiece coordinate system 5 |
G59 | Selection of workpiece coordinate system 6 |
G54.1 | Additional workpiece coordinate systems |
G54.2 | Selection of fixture offset |
G60 | One-way positioning |
G61 | Exact stop mode |
G61.1 | High-accuracy mode (Geometry compensation) |
G62 | Automatic corner override |
G63 | Tapping mode |
G64 | Cutting mode |
G65 | User macro single call |
G66 | User macro modal call A |
G66.1 | User macro modal call B |
G67 | User macro modal call OFF |
G68 | Programmed coordinate rotation ON |
G69 | Programmed coordinate rotation OFF |
G68 | 3-D coordinate conversion ON |
G69 | 3-D coordinate conversion OFF |
G270 | Finishing cycle |
G271 | Longitudinal roughing cycle |
G272 | Transverse roughing cycle |
G273 | Contour-parallel roughing cycle |
G274 | Longitudinal cut-off cycle |
G275 | Transverse cut-off cycle |
G276 | Compound thread-cutting cycle |
G80 | Fixed cycle OFF |
G283 | Front driling cycle |
G284 | Front tapping cycle |
G284.2 | Front synchronous tapping cycle |
G285 | Front boring cycle |
G287 | Outside driling cycle |
G288 | Outside tapping cycle |
G288.2 | Outside synchronous tapping cycle |
G289 | Outside boring cycle |
G290 | Fixed cycle A (Longitudinal turning cycle) |
G292 | Threading cycle |
G294 | Fixed cycle B (Transverse turning cycle) |
G71.1 | Fixed cycle (Chamfering cutter 1, CW) |
G72.1 | Fixed cycle (Chamfering cutter 2, CCW) |
G73 | Fixed cycle (High-speed deep-hole drilling) |
G74 | Fixed cycle (Reverse tapping) |
G75 | Fixed cycle (Boring 1) |
G76 | Fixed cycle (Boring 2) |
G77 | Fixed cycle (Back spot facing) |
G78 | Fixed cycle (Boring 3) |
G79 | Fixed cycle (Boring 4) |
G81 | Fixed cycle (Spot drilling) |
G82 | Fixed cycle (Drilling) |
G83 | Fixed cycle (Deep-hole drilling) |
G84 | Fixed cycle (Tapping) |
G84.2 | Fixed cycle (Synchronous tapping) |
G84.3 | Fixed cycle (Synchronous reverse tapping) |
G85 | Fixed cycle (Reaming) |
G86 | Fixed cycle (Boring 5) |
G87 | Fixed cycle (Back boring) |
G88 | Fixed cycle (Boring 6) |
G89 | Fixed cycle (Boring 7) |
G90 | Absolute data input |
G91 | Incremental data input |
G92.5 | Workpiece coordinate system rotation |
G93 | Inverse time feed |
G96 | Constant peripheral speed control ON |
G97 | Constant peripheral speed control OFF |
G94 | Feed per minute (asynchronous) |
G95 | Feed per revolution (synchronous) |
G98 | Initial point level return in fixed cycles |
G99 | R-point level return in fixed cycles |
G109 | Single program multi-system control |
G110 | Cross machining control ON |
G111 | Cross machining control OFF |
G112 | M, S, T, B output to opposite system |
G113 | Hob milling mode OFF |
G114.3 | Hob milling mode ON |
G16 | Polar coordinate input ON |
G15 | Polar coordinate input OFF |
G10.9 | Selection between diameter and radius data input |
G130 | Tornado cycle |
G136 | Measurement macro, workpiece/coordinate measurement |
G137 | Compensation macro |