Machine control · Haas
Haas CNC control: G54/G154 offsets, tool lengths, G187 and the settings that catch people out
The Haas dialect (close to Fanuc) for mills: G54–G59, G110–G129 and G154 P1–P99 offsets, G43 and Setting 15, G187 contouring accuracy, G47 engraving and a first-part routine.
Haas machining centers and lathes are everywhere in Quebec shops, from schools to job shops. The control speaks a Fanuc-style dialect with codes and Settings of its own. Haas’s public documentation (online manuals, programming workbook) is among the most complete on the market: use it.
What is specific to Haas
| Item | Haas | Note |
|---|---|---|
| Standard offsets | G54–G59 | Same as Fanuc |
| Extra offsets | G110–G129 then G154 P1–P99 | G154 adds 99 offsets (recent software versions) |
| Tool length | G43 H.. | Setting 15 enforces H = tool number (alarm otherwise) |
| High-speed accuracy | G187 with E | E from 0.0001 to 0.25; Setting 85 sets the default |
| Block look-ahead | G103 P.. | Limits how many blocks are read ahead |
| Text engraving | G47 | Text and serial numbers (macro variable #599) |
First-part routine (mill)
- Pick the Haas post in CAM (Fusion, Mastercam and the other common CAM packages offer Haas posts; take the one matching the machine and its version).
- Measure tools (setter or probe) and check each
Thas its matchingHlength. - Set the work offset in Handle Jog on the offset page, or with the probe.
- Load and verify: graphics, then single block with reduced feed and rapid.
- Adjust tool wear (not geometry) to correct a size.
%
O00010 (BRACKET OP10)
G00 G17 G20 G40 G49 G80 G90
T1 M06
G00 G90 G54 X-1.5 Y2.5
S2500 M03
G43 Z1. H01 M08
G187 E0.001 (contouring accuracy)
...
G187 (back to default)
G28 G91 Z0.
M30
%
Error codes and alarms
Codes taken only from public manuals and official documents, with the source under each table. Exact numbers and meanings can vary with software version and machine builder: when in doubt, your machine’s manual wins.
Haas — Haas control (NGC and Classic) 19
On the NGC, axis alarms read axis.alarm: 1.108 = alarm 108 on the X axis (1 = X, 2 = Y, 3 = Z, 5 = A, 6 = B, 7 = C).
| Code | Meaning | What to check |
|---|---|---|
107 | EMERGENCY STOPAn emergency stop button is pressed. Haas asks you to confirm alarm 107 appears during the monthly test of each e-stop. | Find the cause, release the e-stop, then RESET. |
103 / 104 / 105 | SERVO ERROR TOO LARGEFollowing error too large on an axis (Classic control). Haas lists poor ballscrew lubrication first; rough motion or noise when jogging. | Check ballscrew lubrication; inspect screw, nut and coupling. |
108 (CHC) · 1.108 (NGC) | X SERVO OVERLOAD / X AXIS SERVO OVERLOADX-axis servo overload. On the NGC, 108 covers every axis: 2.108 = Y, 3.108 = Z, 5.108 = A, 6.108 = B, 7.108 = C (Classic control: 109 Y, 110 Z, 111 A, 188 B, 271 C). | Haas lists a dull or damaged tool and ballscrew misalignment; overcurrent alarms that follow point to a crash. |
253 | ELECTRONICS OVERHEATElectrical cabinet temperature reached the limit (the “Electronics Overheat” icon warns first). | Clean or replace the cabinet air filters; check the fans. |
314 | SUBPROGRAM NOT IN MEMORYThe called subprogram (e.g. a G150 P###) is not found internally or externally. | Check the P or N number and that the subprogram is loaded. |
332 | H AND T NOT MATCHEDSetting 15 (H & T code agreement) is on and the H number does not match the T. | Fix the H in the program (or review Setting 15). |
339 | MULTIPLE CODESManual example: an M-code placed before G65 on the same line (M14 G65 P1000). | Put the M-code after G65 (G65 P1000 M14). |
370 | POCKET DEFINITION ERRORG150 pocket badly defined: open contour or X-Y start point outside the boundary. | Close the subprogram contour; start inside it. |
467 | (G02/G03 avec réglages 188–190)With Settings 188–190 in effect, only linear G01 is allowed; a G02 or G03 triggers alarm 467. | Turn those settings off or replace the arcs. |
973 | FIXTURE CLAMP INCOMPLETEFixture clamp monitoring (M90, Setting 276) is on and the spindle was commanded while the clamp input is not confirmed (#709 = 1). | Check the clamp and its sensor; M91 turns monitoring off. |
2062 | TCPC OR DWO INCOMPATIBLE CODEWrong call order: G268/G269 used with G234 without calling G268 first. | Call G268 before G234. |
2073 | AXIS LUBRICATION PRESSURE NOT DETECTEDHaas Liquid Grease: pressure not detected for 5 consecutive lube cycles. | Refill grease; check manifold, lines, fittings and pressure switch. |
2075 | AXIS LUBRICATION RESERVOIR IS EMPTYLiquid grease: pressure drops below 4 psi before 15 s for 5 cycles. | Refill with Haas grease or an approved equivalent. |
2082 | RESIDUAL PRESSURE DETECTED PRIOR TO AXIS LUBRICATION CYCLEResidual pressure before the cycle: blockage in the grease circuit. | Inspect orifices, lines, fittings and manifolds; purge clogged lines. |
4030 | AUTOFEED MINIMUM THRESHOLD REACHEDAutofeed reached its minimum feed. | Reduce cutting load or review Autofeed settings. |
9300 | BROKEN TOOL DETECTEDBroken Tool Detection: tool length before and after use differs; the BTD page opens with both photos. | Inspect the tool and the part before resuming. |
1.9930 | X SERIAL ENCODER COMMUNICATION FAULTHaas example of the NGC axis-alarm format: X-axis serial encoder communication fault. | In the alarm viewer, search for “9930” only. |
9100.018 | NON RESETTABLE Software ErrorHaas example of the “alarm.sub-alarm” format: the part after the point narrows the cause. | Note the full number for Haas service. |
20000–20017 | (messages d’information)Information messages, mostly at power-up, shown only in the history; e.g. 20016 Touchscreen not detected. | Normally no action needed. |
Sources: Haas — Mill Operator’s Manual, Next Generation Control (96-8210, rév. V, déc. 2025); Haas — Ballscrew Troubleshooting Guide (TG0038); Haas — Axis Assignments, NGC (RD0003); Haas — Haas Liquid Grease Troubleshooting Guide (TG0079); Haas — Alarm Search Help Guide (RD0002) · consulted November 26, 2026
Common mistakes
- Programming
G154 P5but setting the zero inG54: the part is cut in the air, or in the vise. - Leaving a very tight
G187 Eduring roughing: needlessly long cycle time. - Copying a Fanuc program that uses
G54.1 P..: Haas usesG154 P... Re-post instead of hand-fixing. - Forgetting to check machine-specific option M-codes (through-spindle coolant, chip conveyor).
Checklist
- Software version known (some features like
G154depend on it) - Setting 15 on if the shop enforces
H=T - Program units = machine units (setting)
- Offset called by the program = offset set (
G54,G110,G154 Pn) G187reset to default after a fine finish
FAQ
Are Haas and Fanuc the same?
No. The G-code base is very close, but extended offsets, several cycles and all Settings are Haas-specific. Use a Haas post.
Where is the official code list?
In Haas’s online operator’s manual (G-codes, M-codes and Settings sections) and the mill programming workbook (PDF).
How many work offsets can I use?
Six standard, twenty more with G110–G129, then 99 with G154 P1–P99 on versions that offer it.
Sources
- Haas — Mill Programming Workbook (PDF): offsets G54–G59, G110–G129, G154 P1–99; Setting 15;
Ewith G187; G103; G47. Consulted November 26, 2026. - Haas — Mill operator’s manual: G-codes.
One guide a week, French-first
New guides, used equipment in Quebec and price moves. No third-party ads.