Skip to main content
CNC.wiki

G07.1 Cylindrical Interpolation on Siemens SINUMERIK CNC: G-Code Guide

Master G07.1 (G107) cylindrical interpolation for Fanuc, Siemens, and Mitsubishi. Learn to set parameters, prevent Alarm 14800, and avoid collisions.

Hakan Gündoğdu
Hakan Gündoğdu

CNC CARE Co-founder

Introduction

An incorrect cylinder radius commanded in a G07.1 block will immediately distort the calculated tool path. If this coordinate mismatch occurs while machining stock clamped in the workpiece chuck or a dedicated vise jaw, the physical tool tip will sweep along an incorrect spatial trajectory. The cutter will either plunge too deep, converting raw material into a ruined scrap part, or trigger a devastating hard collision where the tool carrier and turret crash straight into the revolving chuck, a fixture clamp, or the tailstock. Proper coordination of rotary axis dimensions is critical to prevent mechanical damage and ensure part quality during cylindrical transformations.

To eliminate these risks, CNC controllers support G07.1 (or G107) cylindrical interpolation. This command acts as a mathematical bridge, wrapping flat 2D coordinate paths onto the cylindrical surface of a workpiece. By dynamically translating standard Cartesian coordinates into synchronized linear and rotary motions, programmers can treat the curved surface as a standard flat coordinate plane. This simplifies the coding of helical oil grooves, rotary contours, and winding cam tracks without complex manual calculations.

Technical Summary

SpecificationDetails
Command CodeG07.1 (G107)
Modal GroupGroup 18 / Modal (ISO Dialect Mode)
Brands SupportedFanuc, Siemens, Mitsubishi
Critical ParametersRotary axis name (A, B, C) and physical cylinder radius (r)
Main ConstraintG07.1 must be programmed in an independent block with no other commands. Tool length compensation must not be activated within the G07.1 modal.

Quick Read

  • Match the programmed radius in the G07.1 block exactly to the physical stock radius clamped in the chuck.
  • Switch the compiler to ISO Dialect mode (G291) on Siemens controls before calling G07.1.
  • Establish all tool radius compensations (G41/G42) and length offsets prior to initiating G07.1.
  • Program the activation and cancellation of cylindrical interpolation in independent blocks.
  • Declare a new non-zero feedrate F when starting the cycle, as G07.1 shifts the system to feed per minute (G94) mode.
  • Configure channel-specific parameter MD24120 to define the rotary axis mapping for Siemens TRACYL transformation.
  • Test coordinate sweeps in the air using dry run settings to ensure the tool clears all physical workholding clamps.

Basic Concepts

Cylindrical interpolation acts as an essential mathematical bridge that simplifies the programming of rotary contours, helical oil grooves, and winding cam tracks. The practical programming effect is that programmers can treat a three-dimensional curved surface as a standard flat coordinate plane, letting the controller dynamically resolve axis synchronization. The controller automatically translates the flat coordinate commands into a synchronized movement of a physical linear axis and a rotary axis, such as the C-axis.

During setup and execution, operators must be extremely cautious of the physical relationship between the tool and the workpiece. If the cylindrical radius commanded with G07.1 does not match the actual physical radius of the stock clamped in the workpiece chuck or a dedicated vise jaw, the control will calculate a distorted tool path. This error can drive the tool too deep, turning the raw material into a ruined scrap part, or crash the tool carrier and turret straight into the revolving chuck, a fixture clamp, or the tailstock, resulting in a devastating hard collision.

Common failures also stem from feedrate unit transitions and active compensations. Because starting G07.1 automatically establishes asynchronous feed per minute (G94) as the default cutting mode, any previous feedrate per revolution (G95) becomes inactive. If an operator fails to declare a new feedrate value F upon starting the cycle, the feedrate will drop to zero, immediately triggering Alarm 14800 and leaving a deep dwell mark on the surface of a scrap part.

Tool radius compensations (G41/G42) and length offsets must also be fully established before starting the cylindrical interpolation. Attempting to activate tool length compensations within the G07.1 modal is strictly prohibited, generating an immediate preprocessor alarm code that interrupts automatic operation for safety. To ensure safe runs, operators must utilize dry run settings to test the coordinate sweeps in the air and verify that the tool tip safely clears all physical workholding clamps.

Command Structure and Syntax

Activating cylindrical interpolation requires a dedicated command block that specifies the target rotary axis and the physical radius of the cylinder. When the control parses G07.1, it establishes a virtual plane where the rotary axis acts as an unwrapped linear axis. All programmed linear interpolations and circular arcs on the cylindrical surface are calculated using this virtual coordinate mapping.

To cancel the cylindrical transformation, G07.1 must be called with a radius of zero. This instructs the compiler to return the rotary axis to standard positioning behavior. The start and cancel commands must reside in independent blocks, meaning no coordinate movements, spindle commands, or auxiliary M-codes should be programmed in the same line.

; Cylindrical Interpolation Activation and Cancellation Syntax
G07.1 A (B, C) r ;  Activate mode on rotary axis A, B, or C with physical radius r
...
G07.1 A (B, C) 0 ;  Deactivate cylindrical interpolation mode

The Siemens control system utilizes specific channel-specific and general machine parameters to configure external compiling and translation characteristics:

ParameterDescriptionValue Range
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1Channel-specific machine data that defines the rotary axis and its physical name used as the reference axis for the cylindrical transformation.Reference axis name
MD18800 $MN_MM_EXTERN_LANGUAGEGeneral machine data parameter required to activate the external language compiling system to process G07.1 commands.Enabled / disabled
MD20734 $MC_EXTERN_FUNCTION_MASKControls external translator features, where Bit 3 regulates the ISO Dialect scanner error check and Bit 2 dictates the time interpretation of G04 dwells.Bitmask

Brand Applications

Fanuc

— (no source)

— (no source)

  • Parameters: — (no source)
  • Alarms: — (no source)
  • Versions: — (no source)

Siemens

Siemens controls implement G07.1 by mapping it to the native TRACYL kinematic transformation engine, which dynamically links geometry axes via channel-specific parameter MD24120. Additionally, the control features a bilingual compilation architecture via G290 and G291 to transition from ISO Dialect to native mode.

Under ISO Dialect Mode (G291), Siemens activates cylindrical interpolation via G07.1 C[radius] and deactivates it via G07.1 C0.

CategorySystem Details
ParametersMD24120 (defines reference axis), MD18800 (enables external compiler), MD20734 (controls dwell scaling and scanner checks)
AlarmsAlarm 14800 (programmed path velocity is zero), Alarm 61800 (external CNC system missing), Alarm 61102 (no spindle direction programmed)
VersionsSINUMERIK 840D sl supports multi-edge turning commands G51.2/G50.2, which are unsupported on the 802D sl.

Warning: Attempting to activate tool length compensations within the G07.1 modal is strictly prohibited, generating an immediate preprocessor alarm code that interrupts automatic operation.

Mitsubishi

— (no source)

— (no source)

  • Parameters: — (no source)
  • Alarms: — (no source)
  • Versions: — (no source)

Brand Comparison

TopicFanucSiemensMitsubishi
Kinematic engine mapping— (no source)Maps G07.1 directly to its native TRACYL kinematic transformation engine.— (no source)
Bilingual mode transition— (no source)Proprietary bilingual transition architecture via G290 and G291 to run native Siemens cycles.— (no source)
Dwell scaling configurabilityStrict, non-configurable time structures.Configurable via MD20734 Bit 2 to scale G04 dwells in seconds or spindle revolutions when G95 is active.Strict, non-configurable time structures.

Technical Analysis

Several distinct behaviors clearly differentiate Siemens SINUMERIK cylindrical interpolation from Fanuc and Mitsubishi controls. Siemens maps G07.1 directly to its native TRACYL kinematic transformation engine. Rather than executing a simple, rigid axis-mapping loop, TRACYL acts as a sophisticated kinematic solver that dynamically links physical geometry axes using highly detailed channel-specific parameters, such as MD24120. This allows the control to support advanced features like slot side compensation to machine perfect perpendicular grooves even when using undersized cutters.

Siemens features a proprietary bilingual transition architecture via G290 and G291. While other brands require completely separate setups to run different program formats, Siemens allows a standard ISO G-code stream containing G07.1 to seamlessly switch into native Siemens mode (G290) to execute highly optimized Siemens technological cycles, such as CYCLE832 for high-speed dynamic tolerances or surface compressors, and then return to the ISO path.

Siemens features parameter-configurable dwell scaling, governed by MD20734 Bit 2, which dynamically scales the G04 countdown in seconds or spindle revolutions when G95 is active. In contrast, Fanuc and Mitsubishi maintain strict, non-configurable time structures that cannot scale dwell periods dynamically based on active feed modes.

Program Examples

Fanuc Example

; Fanuc G07.1 Example
; — (no source)

Dry run: — (no source)

Siemens Example

; Siemens G07.1 Example
G291 ; Switch to ISO Dialect mode
G07.1 C45.0 ; Activate cylindrical interpolation on C-axis, radius 45.0 mm
G01 G42 Z47.5 F100 C60.0 ; Linear interpolation with tool radius compensation (G42)
G03 Z40.0 C249.549 R7.5 ; Counterclockwise circular arc on unwrapped cylinder
G07.1 C0 ; Cancel cylindrical interpolation mode
G290 ; Switch back to native Siemens mode

Dry run: To perform a dry run, set the feedrate override to a low value and execute the program in single-block mode. The tool should perform the motions in the air, allowing the operator to verify that the C-axis rotation and Z-axis movements coordinate correctly. Verify that G42 tool radius compensation activates successfully before the first cutting path and is cancelled via G40 before G07.1 C0 is commanded. Check that the cutter remains clear of the chuck, tailstock, vise jaws, and all workholding clamps.

Mitsubishi Example

; Mitsubishi G07.1 Example
; — (no source)

Dry run: — (no source)

Error Analysis

Brand & Alarm CodeTrigger ConditionOperator SymptomRoot Cause / Fix
Siemens Alarm 14800Contour movement commanded with F0 or modal feedrate evaluating to zero when G07.1 is active.Program execution halts, cycle start turns red, and the control displays the alarm.G07.1 automatically switches feed modes from G95 to G94. If no feedrate F is declared, the feedrate drops to zero. Fix: Program a non-zero feedrate F in the first motion block after G07.1.
Siemens Alarm 61800Encountering a G07.1 command during automatic program execution when external compiling is disabled.The program preprocessor halts compile operations and displays the alarm.Machine data MD18800 or option 19800 is disabled. Fix: Enable MD18800 or option 19800 in the control parameters.
Siemens Alarm 61102Invoking a fixed cycle on the cylinder surface without active spindle rotation.Machining cycle halts and the control displays the alarm.Spindle rotation commands (M03 or M04) were omitted. Fix: Program M03 or M04 prior to calling the cycle.
Fanuc Alarms— (no source)— (no source)— (no source)
Mitsubishi Alarms— (no source)— (no source)— (no source)

Application Note

A mismatch between the programmed radius in G07.1 and the physical cylinder dimensions clamped in the workpiece chuck or a dedicated vise jaw causes immediate tool path distortion. Since the control resolves linear displacements on the unwrapped cylinder surface into rotary steps, a smaller or larger physical radius will scale the angular moves incorrectly. The operator will observe the tool plunge deeper than programmed, ruining the stock into scrap parts, or causing a hard collision where the tool carrier or turret crashes directly into the revolving chuck, tailstock, or workholding clamps. Operators must load all tool radius compensations (G41/G42) and length offsets prior to activating G07.1, as attempting to activate tool length compensations within the G07.1 modal is strictly prohibited and triggers a preprocessor alarm.

Additionally, the transition between feedrate units must be managed. Entering G07.1 forces the control into feed per minute (G94) mode, making any active feed per revolution (G95) settings inactive. Failing to declare a new feedrate F will immediately drop path velocity to zero, triggering Alarm 14800 and leaving a deep dwell mark on the workpiece. Perform air cuts using dry run mode to verify that the coordinate sweeps safely clear all fixtures before cutting raw stock.

Related Command Network

  • g01-linear-interpolation: Performs linear cutting moves along the unwrapped cylindrical profile.
  • g04-dwell: Introduces programmed dwell periods, with timing scaled by Siemens machine data MD20734 Bit 2 when G95 is active.
  • G290 / G291: Toggles the compiler between native Siemens commands (G290) and the external ISO Dialect interpreter (G291) required for G07.1.
  • TRACYL: The native Siemens command that activates cylindrical surface transformations directly without switching compiler modes, configured using md-machine-data-structure and axis settings like md10000-siemens-axis-names.
  • G19: Plane selection code that defines the Y-Z coordinate plane for cylinder surface wrapping.

Conclusion

Successful implementation of G07.1 cylindrical interpolation on Siemens controls requires precise alignment between physical workholding geometry and programmed parameters. Programmers must establish tool compensations and feedrates prior to initiating the cycle to prevent preprocessor halts. Integrating native Siemens cycle benefits with legacy ISO dialect files ensures robust, collision-free machining through systematic dry run procedures.

Frequently Asked Questions

Why does the Siemens control trigger Alarm 14800 during cylindrical interpolation?

Siemens Alarm 14800 triggers because G07.1 shifts the system into feed per minute (G94) mode. If no feedrate value F is declared in the motion blocks, the controller interprets the feedrate as zero, halting axis movement. Program a non-zero F-word in the first motion block following G07.1 activation to resolve the error.

Can I activate tool length compensation after initiating cylindrical interpolation?

No, attempting to activate tool length offsets or offsets within G07.1 mode is strictly prohibited and causes an immediate preprocessor halt. Always activate all tool length compensations and tool radius compensations (G41/G42) before calling G07.1.

What is the difference between G07.1 and the native Siemens TRACYL command?

The G07.1 code is an ISO Dialect command that calls the TRACYL kinematic transformation engine internally. While G07.1 acts as a standard wrapping code, TRACYL supports advanced kinematic parameters like MD24120 and features like slot side compensation to machine accurate perpendicular walls with undersized tools. Configure MD24120 to define the rotary axis mapping.

Still not resolved?

Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

Ask AI Assistant
Hakan Gündoğdu
Hakan Gündoğdu
  • CNC CARE Co-Founder (May 2025 - Present)
  • Mitsubishi Electric NC Sales & Service Section Manager (2008 - 2025)
  • Reis CNC Service Engineer (2003 - 2008)
  • Ören Kalıp CNC Mold Line Team Leader (1999 - 2002)

With over 25 years of experience working in all areas of the CNC machine industry, I continue my activities as a co-founder of CNC CARE, where we offer brand-independent consulting, engineering, and original spare parts services.

Related Articles

Other articles on this topic