Haas

Haas G-code practice

Haas controls use the same core G-codes and M-codes as any Fanuc-style control, so the basics you learn transfer directly. What is different is a set of Haas-only codes, such as G12/G13 circular pockets, G47 engraving, G187 smoothness control and M97 local subprograms, plus the screens and settings of the control itself.

What carries over from any control

Motion, units, planes, work offsets, tool length and cutter compensation, the drilling and tapping cycles, and the common M-codes all behave on a Haas as the common G-codes page describes. A Haas VF-series mill reads G54 G00 X0. Y0., G43 H01 Z25. and G81 like any other Fanuc-style machine. Learn those first: they are most of every program and most of every test.

Codes you meet on a Haas

These are Haas additions. Availability depends on the machine and its options, so check the Haas manual for your model.

CodeWhat it does on a Haas
G12 / G13Circular pocket milling, clockwise / counterclockwise. A whole round pocket from one line.
G47Text engraving: cuts letters and serial numbers from a line of text.
G150General purpose pocket milling from a subprogram that describes the pocket shape.
G187Smoothness and accuracy control: trades corner accuracy against speed for roughing or finishing.
G103Limits how many blocks the control reads ahead. Used when proving out programs block by block.
M97Calls a subprogram at a sequence number inside the same program, returning at M99.
M88 / M89Through-spindle coolant on / off, on machines with that option.

Habits that help on a Haas

  • Check the active codes page before cycle start: it shows which work offset, plane, units and cycle are active, the same modal state the safety line sets.
  • Prove out with single block and Optional Stop. Put M01 after each tool so a first part can be checked tool by tool.
  • Know where the offsets live. Work offsets (G54 and up) and tool length offsets (H) are on separate pages; a wrong H number is the classic Haas crash, as on any machine.

Quiz: the core codes every Haas program uses

Question 1 of 10Score 0

Mill: what does this code do?

G83

Keep going with saved progress and review of missed codes

More practice hubs

Frequently asked questions

Are Haas G-codes the same as Fanuc?
The core codes are: G00 to G03, G17 to G21, G28, G40 to G43, G54 to G59, G80 to G89, G90 and G91 work the same way, because Haas follows the Fanuc-style standard. Haas adds its own codes, such as G12 and G13 for circular pockets, G47 for engraving and M97 for local subprograms, and some options differ.
What is the difference between the Haas Classic control and the Next Generation Control?
The G-code is the same; the screens, menus and some settings moved. The Next Generation Control (NGC) also changed how some pages and editing tools work. See our guide on Classic versus NGC for the details that matter to an operator.
How do I practise Haas G-code without a machine?
Learn the core codes until you can read a program without looking anything up; that is most of what a Haas operator test asks. Haas also offers a simulator for its control. Running real programs still needs a machine and supervision.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint