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
G66.1 P9010 A10 / G0 X10 / X20 / G67Machine: 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 codesFrequently 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
CNC G-code Simulator
CNC IDE: editing with G/M tooltips, line inspector, conversion between controls and 2D/3D toolpath.
CNC Alarms Guide
CNC Alarms and Solutions Guide. Enter the error code or symptom to find the cause and how to repair it at the machine.
Calculate cycle time
Estimate CNC turning and milling cycle time from G-code. Calculate parts per hour with a breakdown of cutting, rapids, canned cycles and tool changes.