G-code reference
G07.1 G-Code: Cylindrical Interpolation
Cylindrical Interpolation — Fanuc function that lets you program a profile on the surface of a cylinder as if it were flat: the rotary axis (C or A) is programmed in arc-length units on…
| Property | Value |
|---|---|
| Code | G07.1 |
| Function | Cylindrical Interpolation |
| Modal group | 18 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Mills and lathes |
| Syntax | G07.1 C_ (radius) … G07.1 C0 (cancel) |
What does G07.1 do?
Fanuc function that lets you program a profile on the surface of a cylinder as if it were flat: the rotary axis (C or A) is programmed in arc-length units on the unrolled surface. It is used for cam grooves and slots wrapped around shafts.
G07.1 is modal: once programmed it remains in effect for the following blocks until another code from modal group 18 replaces it or the control is reset.
Syntax and parameters
G07.1 C_ (radius) … G07.1 C0 (cancel)| Address | Meaning |
|---|---|
C (or A) | Radius of the cylinder; C0 cancels the mode |
G07.1 example program
G19 G07.1 C20.0 (cylinder radius 20)
G01 G42 Z-10.0 C30.0 F200.
Z-25.0 C60.0
G40 Z0 C80.0
G07.1 C0▶ Open this example in the G-code viewer
Tips and common mistakes
- On Fanuc lathes in G-code system A the same function is G107.
- Cutter compensation works in the unrolled plane.
Controller compatibility
G07.1 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.