Back to GSM Code List

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.

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

Machine: Milling, Turning, Mill-turnRisk: High

Fanuc

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

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 tools