G12/G13: Circular pocket
Circular interpolation cycle to machine pockets or circular patterns according to control.
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
- Milling cycles
- Machine
- Milling, Mill-turn
- Risk
- Medium
- Example
- G12 I10 F200
G12 I10 F200Parameters
- I
- Radio del primer círculo (o radio final si no hay K). · mm
- K
- Radio final de la cajera circular (Haas). · mm
- Q
- Incremento de radio entre pasadas. · mm
- Z
- Profundidad de la pasada (con L, incremento por repetición). · mm
- D
- Corrector de radio de la fresa.
- L
- Número de repeticiones en Z.
- F
- Avance de corte. · mm/min con G94, mm/vuelta con G95 (en torno suele ser el modo por defecto)
Machine: Milling, Mill-turnRisk: Medium
Haas
G12/G13 I... K... Q... F...- Widely used in Haas for circular pockets; review meaning and parameters.
Fanuc
- Available only on some controls/options; do not assume universal support.
Frequently Asked Questions (FAQ)
What does G12/G13 mean in a CNC program?
Circular interpolation cycle to machine pockets or circular patterns according to control. In the catalogue it appears as "Circular pocket", within the Milling cycles family.
How is G12/G13 written on each control?
Haas: G12/G13 I... K... Q... F.... The exact syntax depends on the control version and the machine parameters: always confirm with the manufacturer's manual.
Can you give me an example of G12/G13?
G12 I10 F200 — Circular interpolation cycle to machine pockets or circular patterns according to control.
Which machines use G12/G13?
G12/G13 is used in: Milling, Mill-turn.
What should you watch out for with G12/G13?
Medium risk: it rarely breaks anything on its own, but a wrong value shows up on the part. Check the block before running the batch.
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.