Zappettini Consulting
Home
About
Services
Our ProcessWikiLearn
Offerings
SchoolsCNC MerchCritLink
Schedule a Call
Learn→Haas

Haas Macro Programming

The same macro layer with Haas's own accent: G154 additional work offsets, M97 local subprograms, and the #20000 settings mirror. Nine lessons, each graded on the Playground's Fanuc-compatible Macro B engine — always confirm Haas-specific behaviour on your own control.

Start the track
  1. 1Variables & AssignmentStore numbers in macro variables and compute one from the others.
  2. 2Arithmetic & TrigDo trigonometry in a Haas macro and know that trig is in degrees.
  3. 3Reading a G154 OffsetRead a Haas additional work offset (G154 P1) out of its system variables.
  4. 4Reading a Setting & BranchingRead a setting from the #20000 mirror and take a different path based on it.
  5. 5Loops & AccumulationAdd up a series with a WHILE loop instead of copying blocks.
  6. 6M97 Repeats, as a LoopModel an M97 L-repeat with a WHILE loop that steps across a G154 offset.
  7. 7Arguments & G65Read the values a G65 call passes in, and know which letter lands in which variable.
  8. 8Alarms & GuardsStop the machine deliberately when a measurement is out of tolerance.
  9. 9Writing Back: Touch OffWrite a G154 additional offset from a probe result — the pattern behind every probing routine.

Progress is kept in this browser only — no account, nothing to sign up for.

Zappettini Consulting

Company

HomeOur ProcessContactAbout

Services

CNC Turnkey - Concept to CuttingCAM - parts, fixtures, assembliesTraining - CAD/CAM/Machine

Resources

WikiLearn CNC MacrosMacro PlaygroundStandard OfferingsSchools & EducationITAR ComplianceCNC Merch

Help and Support

contact@zappettiniconsulting.com+1 (480) 334-0806

Follow Us

InstagramLinkedIn

Copyright © 2026 Zappettini Consulting - All Rights Reserved.

ITAR Registered