Skip to content

G66.1: Modal macro B call

Activates the modal macro call (type B): the macro runs at the start of every motion block until G67.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Macros
Machine
Milling, Turning, Mill-turn
Risk
High
Example
G66.1 P9010 A10 / G0 X10 / X20 / G67

How to write it on each control

Example
G66.1 P9010 A10 / G0 X10 / X20 / G67
Fanuc—

Different from G66 (type A); check the macro B manual and variable compatibility.

Machine: Milling, Turning, Mill-turn

Sources

  • Official manual: FANUC Series 0i-MODEL F Operator's Manual, Machining Center System (B-64604EN-2/01) · G66.1
  • Official manual: FANUC Series 0i-MODEL F Operator's Manual, Lathe System (B-64604EN-1/01) · G66.1

Other codes in Macros

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G66.1 mean in a CNC program?

Activates the modal macro call (type B): the macro runs at the start of every motion block until G67. In the catalogue it appears as "Modal macro B call", within the Macros family.

Can you give me an example of G66.1?

G66.1 P9010 A10 / G0 X10 / X20 / G67 — Activates the modal macro call (type B): the macro runs at the start of every motion block until G67.

Which machines use G66.1?

G66.1 is used in: Milling, Turning, Mill-turn.

What should you watch out for with G66.1?

High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.

Related apps