Learn

Learn macro programming by writing it

Not videos. You write real macros in the browser and they run on the same control engine that powers our Macro Playground — so when your answer is wrong, you find out the way you would at the machine. Free, no account, works on a phone in the break room.

📘

New to macros? Start here.

Read What Is a CNC Macro?for the plain-English idea — then pick a track below. Not sure which control you have? Start with Fanuc Macro B; the concepts carry across all of them. These tracks assume you can already read basic G-code.

Macro B Fundamentals

beginnerStart here

Write real Fanuc macros in your browser, from your first variable to a probing routine that writes its own work offset. Nine lessons, each one graded against the same engine the Macro Playground runs.

Fanuc · 9 lessons

Haas Macro Programming

beginner

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.

Haas · 9 lessons

Heidenhain Q-Parameters

beginner

Write real Heidenhain Klartext Q-parameter macros in your browser, from your first variable to a bolt circle that centres itself on a probed feature. Eight lessons, each graded against the same TNC engine the Macro Playground runs.

Heidenhain · 8 lessons

SINUMERIK R-Parameters

intermediate

Program a SINUMERIK the way Siemens intended — R-parameters, indirect R[R1] addressing, IF/ENDIF logic and WHILE loops — all graded in your browser against the same engine the Macro Playground runs. Eight lessons that build from a single assignment to a parametric bolt circle.

Siemens · 8 lessons

Okuma OSP Variables

intermediate

Program the Okuma OSP the way it actually reads: common variables that outlive the program, named locals that say what they mean, and IF/GOTO flow over sequence labels. Eight lessons, each graded against the same engine the Macro Playground runs.

Okuma · 8 lessons

Need this for your shop or your students?

We train teams on real machines, and we work with schools and trade programs.

Your progress is saved in this browser only — no account needed, but clearing site data or switching devices starts you fresh.