Haas CNC Mill G Codes (Preparatory Functions)
This is the cnc mill g-code list for the Haas cnc milling machines. Of course cnc mill programming g codes are the backbone when cnc programmers are on their task to cnc programming a cnc mill.
Related Articles:
- Haas CNC Lathe M-Codes
- Haas CNC Lathe G-Codes
- CNC Lathe Live Tooling Definition and Related Haas CNC M-Codes

Haas CNC Mill G Codes
Haas CNC Milling G code List
Code: Group: Function: G00 01 Rapid Motion G01 01 Linear Interpolation Motion G02 01 CW Interpolation Motion G03 01 CCW Interpolation Motion G04 00 Dwell G09 00 Exact Stop G10 00 Programmable Offset Setting G12 00 CW Circular Pock Milling (Yasnac) G13 00 CCW Circular Pock Milling (Yasnac) G17 02 XY Plane Selection G18 02 ZX Plane Selection G19 02 YZ Plane Selection G20 06 Inch Programming Selection G21 06 Metric Programming Selection G28 00 Return to Machine Zero G29 00 Move to Location Through G29 Reference G31 00 Skip Function G35 00 Automatic Tool Diameter Measurement G36 00 Automatic Work Offset Measurement G37 00 Automatic Tool Length Measurement G40 07 Cutter Comp Cancel G41 07 Cutter Compensation Left G42 07 Cutter Compensation Right G43 08 Tool Length Compensation + G44 08 Tool Length Compensation - G47 00 Engraving G49 08 G43/G44 Cancel G50 11 G51 Cancel G51 11 Scaling G52 12 Select Work Coordinate System G52 (Yasnac) G52 00 Set Local Coordinate System (Fanuc) G52 00 Set Local Coordinate System (HAAS) G53 00 Non-Modal Machine Coordinate Selection G54 12 Select Work Coordinate System l G55 12 Select Work Coordinate System 2 G56 12 Select Work Coordinate System 3 G57 12 Select Work Coordinate System 4 G58 12 Select Work Coordinate System 5 G59 12 Select Work Coordinate System 6 G60 00 Unidirectional Positioning G61 13 Exact Stop Modal G64 13 G61 Cancel G65 00 Macro Subroutine Call G68 16 Rotation G69 16 G68 Cancel G70 00 Bolt Hole Circle (Yasnac) Example1 Example2 Example3 G71 00 Bolt Hole Arc (Yasnac) G72 00 Bolt Holes Along an Angle (Yasnac) G73 09 High Speed Peck Drill Canned Cycle G74 09 Reverse Tap Canned Cycle G76 09 Fine Boring Canned Cycle G77 09 Back Bore Canned Cycle G80 09 Canned Cycle Cancel G81 09 Drill Canned Cycle Example1 Example2 Ex3 Ex4 Ex5 G82 09 Spot Drill Canned Cycle Ex1 G83 09 Peck Drill Canned Cycle Ex1 Ex2 G84 09 Tapping Canned Cycle Example1 Peck Tapping G85 09 Boring Canned Cycle G86 09 Bore/Stop Canned Cycle G87 09 Bore/Manual Retract Canned Cycle G88 09 Bore/Dwell Canned Cycle G89 09 Bore Canned Cycle G90 03 Absolute G91 03 Incremental G92 00 Set Work Coordinates - FANUC or HAAS G92 00 Set Work Coordinates - YASNAC G98 10 Initial Point Return G99 10 R Plane Return G100 00 Disable Mirror Image G101 00 Enable Mirror Image G102 00 Programmable Output To RS-232 G103 00 Block Look ahead Limit G110 12 Select Coordinate System 7 G111 12 Select Coordinate System 8 G112 12 Select Coordinate System 9 G113 12 Select Coordinate System 10 G114 12 Select Coordinate System 11 G115 12 Select Coordinate System 12 G116 12 Select Coordinate System 13 G117 12 Select Coordinate System 14 G118 12 Select Coordinate System 15 G119 12 Select Coordinate System 16 G120 12 Select Coordinate System 17 G121 12 Select Coordinate System 18 G122 12 Select Coordinate System 19 G123 12 Select Coordinate System 20 G124 12 Select Coordinate System 21 G125 12 Select Coordinate System 22 G126 12 Select Coordinate System 23 G127 12 Select Coordinate System 24 G128 12 Select Coordinate System 25 G129 12 Select Coordinate System 26 G136 00 Automatic Work Offset Center Measurement G150 00 General Purpose Pocket Milling G154 P1-P99 12 Replaces G110-G129 on newer machines G187 00 Accuracy Control for High Speed Machining
Haas cnc mill g codes list - Of course cnc mill programming g codes are the backbone when cnc programmers are on their task to cnc programming a cnc mill.