Siemens CYCLE81 Centering and Drilling Cycle: CNC Programming Guide
Learn how to program the Siemens CYCLE81 and G81 centering cycles. Prevent tool collisions, resolve alarm 61101, and master modal MCALL programming.
Introduction
A rapid traverse plunge directly into the workpiece or a clamping chuck, followed by the deafening sound of a shattered carbide drill and an emergency spindle halt—this catastrophic collision is the immediate consequence of failing to cancel a modal MCALL centering command on a Siemens SINUMERIK control. When a programmer omits the standalone MCALL deselection block, the control treats every subsequent coordinate movement as another instruction to plunge the drill. The physical result is ruined workpieces, bent spindle axes, and severe tool turret damage on the shop floor. To prevent these costly mechanical failures and maintain process security, programmers must master the precise coordinate structures and safety parameters of the Siemens CYCLE81 centering and drilling cycle.
Correct configuration of this canned cycle eliminates the most common source of dimensional deviations during centering operations. By consolidating complex approach, feed-in, and rapid retraction movements into a single modal command, CYCLE81 minimizes manual programming errors and optimizes cycle times. While deep drilling cycles require complex peck steps, centering relies on a precise, single-pass motion to create a solid guide path. The success of all subsequent hole-making operations depends entirely on how accurately the start coordinates and retraction planes are defined in the initial block.
Technical Summary
| Specification | Value / Description |
|---|---|
| Command Codes | CYCLE81 (Native Siemens), G81 (ISO Dialect M compatibility) |
| Modal Group | Drilling Canned Cycles / Modal |
| Supported Brands | Siemens |
| Critical Parameters | RFP (Reference Plane), SDIS (Safety Clearance) |
| Main Constraint | Safety clearance SDIS must be entered as a positive, signless value; active spindle rotation (M03/M04) and feedrate must be active prior to cycle call. |
Quick Read
- Cancel Modal States: Always program a standalone
MCALLblock immediately after completing your coordinate list to deselect CYCLE81 and avoid uncommanded plunges. - Input Signless Clearance: Input the safety clearance <SDIS> parameter as a positive, signless value to prevent incorrect depth calculations and kinematic alarms.
- Verify Spindle and Feed: Ensure spindle rotation (M03/M04) and an active feedrate are programmed before the cycle call to prevent cycle aborts and Alarm 61003.
- Match Planes to Parts: Set the retraction plane <RTP> and reference point <RFP> absolute values carefully to prevent the tool from colliding with clamps during rapid traversals.
- Utilize Diameter Centering: Set the tens digit of <_GMODE> to 10 to program a target centering diameter directly, allowing the control to calculate the depth based on the tool's tip angle.
- Default to CYCLE82 for Editor Patterns: Remember that SINUMERIK Operate prevents CYCLE81 from integrating with graphical position pattern templates, requiring the use of CYCLE82 instead.
Basic Concepts
The primary programming benefit of centering and single-pass drilling cycles is the creation of highly precise starting points or complete holes in a single plunge. Centering is essential to prevent subsequent long drills from walking off-center, which would result in out-of-round bores or broken tooling. Proper clearance and coordinate plane setup are universal requirements to avoid rapid movement crashes.
The practical programming effect of the Siemens CYCLE81 centering and drilling cycle is the automated execution of straightforward hole-making operations. When invoked, the machine commands the tool to traverse at rapid traverse to the safety clearance above the reference plane, then plunge into the workpiece at the active feedrate until it reaches either the programmed absolute depth or the calculated centering diameter. Once the target depth is achieved, the spindle executes the specified dwell time at the bottom of the hole before the cutting tool retracts back to the predefined plane.
Proper definition of the retraction plane and safety clearance is critical; failing to establish an adequate clearance plane can cause the tool to strike the workpiece or clamping chuck during rapid transition movements between holes, resulting in a hard collision or a scrap part. Programmers and operators must strictly manage machine states to ensure safe use and prevent cycle failures.
Command Structure
To configure a native Siemens centering operation, programmers must program a complete parameter list within the CYCLE81 call block. This conversational syntax explicitly defines the coordinate planes, safety clearances, and depth parameters. The cycle relies on absolute coordinates for retraction and reference planes, while allowing either absolute or incremental depths.
When executing programs in ISO Dialect M mode, the control provides compatibility through the standard G81 command. When an ISO G81 block is executed, the control does not run a rigidly hardcoded macro, but instead routes the coordinates and parameters through an underlying shell cycle backend named CYCLE381M to dynamically translate and trigger the native CYCLE81 execution engine.
Conversational Native Syntax:
CYCLE81(<RTP>, <RFP>, <SDIS>, <DP>, <DPR>, <DTB>, <_GMODE>, <_DMODE>, <_AMODE>)
ISO Dialect M Compatibility Syntax:
G81 X... Y... Z... R... F... K... ;
| Parameter | Data Type | Description | Value Range / Units |
|---|---|---|---|
| <RTP> | REAL | Retraction plane (absolute). Coordinate the tool retracts to after reaching final depth. | Absolute Z coordinate |
| <RFP> | REAL | Reference point / reference plane (absolute). Top surface of the workpiece. | Absolute Z coordinate |
| <SDIS> | REAL | Safety clearance. Distance added to RFP where feed rate starts. Entered without a sign. | Positive REAL value |
| <DP> | REAL | Absolute drilling depth or centering diameter (abs), depending on _GMODE. | Absolute coordinate or diameter |
| <DPR> | REAL | Incremental drilling depth. Measured from the reference plane RFP. | REAL value |
| <DTB> | REAL | Dwell time at final drilling depth. | Seconds or revolutions |
| <_GMODE> | INT | Geometrical mode. Tens digit defines centering type: 0 = depth centering, 1 = diameter centering. | 0 (depth) or 10 (diameter) |
| <_DMODE> | INT | Display mode. Machining plane (0: compatibility, 1: G17, 2: G18, 3: G19). | 0, 1, 2, or 3 |
| <_AMODE> | INT | Alternative mode. Controls depth absolute/incremental mode and dwell time units. | INT bits |
Brand Applications
Siemens
Siemens SINUMERIK controls run the native centering cycle via CYCLE81, which manages Z-axis plunges using the parameters RP (<RTP>) and Z0 (<RFP>). This cycle automatically handles safety clearances and retraction paths using these absolute coordinates, providing high flexibility in milling operations.
To execute centering in native SINUMERIK programs or ISO Dialect mode, programmers use the following program blocks:
CYCLE81(110, 100, 2, 35) ; Native depth centering call
G81 X10. Y20. Z-15. R5 F1000 ; ISO Mode centering call
| Specification / Parameter | Meaning / Type | Value Range / Details |
|---|---|---|
| <RTP> | RP (Retraction plane) | REAL absolute value |
| <RFP> | Z0 (Reference point) | REAL absolute value |
| <SDIS> | SC (Safety clearance) | REAL positive signless value |
| <DP> | Z1/Ø (Depth/Diameter) | REAL value |
| Alarm 61101 | Reference plane incorrectly defined | Triggered if RFP contradicts final depth or is geometrically impossible. |
| Alarm 61003 | No feedrate programmed in cycle | Triggered by underlying shell cycle CYCLE381M if no active F word exists. |
| Alarm 61808 | Final drilling depth missing | Triggered in ISO mode if Z or Q is omitted in the initial G81 block. |
| SINUMERIK Operate | Drilling pattern position restriction | CYCLE81 cannot be parameterized using graphical position patterns. Use CYCLE82 softkey instead. |
| Native vs ISO Mode | Backend processing translation | ISO mode G81 calls are routed through the CYCLE381M shell cycle backend. |
Warning: Omitting active tool compensation or running the cycle with an active modal cycle without an explicit MCALL cancel block will cause the tool to execute unexpected rapid plunges, colliding with chucks or fixtures and ruining the workpiece.
Brand Comparison
| Feature / Control Series | SINUMERIK 808D | SINUMERIK 828D | SINUMERIK 840D / 840D sl |
|---|---|---|---|
| Syntax & Cycle Execution | Supports standard conversational CYCLE81 and ISO compatibility G81 mode. | Full CYCLE81 conversational support and G81 ISO mode via CYCLE381M shell. | Standard native CYCLE81, full ISO dialect support, and multi-channel synchronization. |
| Operator HMI & Graphical Support | Basic text-based editing, limited graphical position pattern assistance. | SINUMERIK Operate with full interactive parameter screens; defaults centering to CYCLE82 HMI softkey. | SINUMERIK Operate HMI, advanced user screens, and customizable coordinate patterns via PLC. |
| Diameter-based Centering | Supported via basic geometry inputs. | Fully supported via _GMODE parameter and active tool tip angle calculation. | Advanced diameter calculations integrated with centralized tool database and real-time compensation. |
| Shell Cycle Translation | Basic software translation. | Executed via robust CYCLE381M shell cycle backend. | Dynamic multi-channel translation via advanced shell cycles. |
Technical Analysis
The underlying execution architecture of SINUMERIK controls shows significant variation between control series and programming modes. On the SINUMERIK 808D, the system prioritizes basic, direct G-code execution with standard parameter mapping, keeping hardware memory usage minimal. When you transition to the mid-range SINUMERIK 828D and high-end SINUMERIK 840D sl platforms, the control runs the full SINUMERIK Operate environment, where native CYCLE81 parameters are monitored in real time. On these advanced models, the control utilizes dynamic GUD (Global User Data) system variables and advanced diagnostic registers to track tool coordinates and clearances.
Another key difference lies in the HMI software restrictions. While standard SINUMERIK Operate on the 828D and 840D sl supports a wide range of canned cycles through graphical drilling pattern positioning, native CYCLE81 is deliberately excluded. The program editor restricts the positioning templates from referencing CYCLE81 directly; instead, the control logic expects operators to use the CYCLE82 (Drilling, centering) softkey for visually guided hole patterns. Additionally, the high-performance 840D sl allows multi-channel program structures, meaning that ISO dialect G81 commands are translated in parallel channels via CYCLE381M shell cycles, a capability that the single-channel 808D lacks.
Program Examples
; SIEMENS NATIVE CYCLE81 EXAMPLE
G90 G17 G54 F150 S1200 M03 ; Absolute coordinates, XY plane, work offset, technology values
T1 M06 ; Tool call and tool change
D1 ; Activate tool offset
G00 X50.0 Y50.0 Z110.0 ; Approach first position and Z retraction plane (RTP=110)
MCALL CYCLE81(110, 100, 2, 35) ; Modal call with RTP=110, RFP=100, SDIS=2, absolute Depth=35
X100.0 Y50.0 ; Move to second hole coordinate (modal cycle triggers automatically)
X150.0 Y100.0 ; Move to third hole coordinate (modal cycle triggers automatically)
MCALL ; Standalone MCALL block cleanly cancels the modal drilling cycle
G00 Z150.0 M05 ; Retract Z axis and spindle stop
M30 ; End of program
dry run Verification Procedure:
To perform a safe dry run of the Siemens CYCLE81 program, first remove the physical workpiece and clamps from the machining table, and retract the tool to a high Z-axis coordinate to ensure a safe visual buffer. Enable the Single Block mode and dry run Feedrate on the SINUMERIK control panel.
When you execute the program block-by-block, the machine first activates the coordinate offsets and spindle rotation (M03) in the startup block. The next blocks perform the tool change (M06) and activate the tool compensation (D1). The tool then traverses at rapid rate to the starting position at X50.0, Y50.0, and descends to the retraction plane Z110.0.
When the MCALL block is read, the modal state is initialized. The Z-axis immediately plunges at rapid traverse to the safety clearance plane (Z102.0, calculated as Reference Plane RFP=100 + Safety Clearance SDIS=2), then transitions to the feedrate of F150. The tool plunges to the absolute final depth of Z35.0 (Depth=35). At the bottom of the plunge, the tool executes any programmed dwell before rapidly retracting to the retraction plane Z110.0.
As you execute the subsequent block X100.0 Y50.0, the control performs a lateral rapid motion to the new coordinates and automatically repeats the plunge sequence. The same occurs at the third coordinate X150.0 Y100.0. Finally, the empty MCALL block must be executed; this deselects the modal cycle. If this cancel command is omitted, the machine will plunge at rapid rate on the subsequent G00 Z150.0 motion block, resulting in a severe crash. Verify that the modal active indicator on the screen clears before returning to automatic mode.
Error Analysis
| Control | Alarm Code | Trigger Condition | Operator Symptom | Root Cause / Fix |
|---|---|---|---|---|
| Siemens | 61101 | Reference plane RFP incorrectly defined in the cycle call parameters. | Cycle aborts immediately before Z-axis movement; red alarm light on the operator panel. | RFP is geometrically below or contradicts the final drilling Z-depth. Fix: Edit the CYCLE81 block and ensure RFP is numerically above Z depth. |
| Siemens | 61003 | No active feedrate programmed prior to or within the cycle call. | The program execution stops at the shell cycle initialization; screen displays "No feedrate programmed in cycle". | The underlying CYCLE381M shell cycle logic found no active F word in the NC buffer. Fix: Add a valid F-word (e.g., F150) in or before the cycle block. |
| Siemens | 61808 | Final drilling depth Z or single peck depth Q is missing in ISO mode. | The control halts execution instantly on the G81 block, locking the tool turret. | The ISO compatibility macro did not receive the required Z-depth address. Fix: Edit the block to include a valid absolute Z depth or incremental depth. |
Application Note
A severe mechanical crash or fractured tool turret is the direct consequence of forgetting to program an explicit, empty MCALL block immediately after completing your coordinate list in SINUMERIK programs. When CYCLE81 is called modally, the control retains the drilling state in its memory buffer; if an operator then commands a linear motion to clear the tool or return to the machine reference point, the control will interpret these clearance coordinates as the next hole position and rapidly plunge the tool straight down. To prevent this, the modal state must be deselected via a standalone MCALL command. Furthermore, programmers must strictly enforce the positive, signless configuration of safety clearance <SDIS> (typically 2 mm). Entering <SDIS> with a negative sign causes the shell cycle CYCLE381M to miscalculate the entry plane, plunging the drill at rapid rate directly into the workpiece instead of switching to feedrate. Spindle speed rotation (M03 or M04) must also be enabled prior to calling the cycle, or the machine will plunge a non-rotating drill into hard alloy, instantly shattering the carbide insert.
Related Command Network
- G80 (Canned Cycle Cancellation): Deactivates modal canned cycles and prevents uncommanded rapid Z plunges during subsequent positioning blocks.
- G81-G82 (Standard Drilling Cycles): Executes direct single-pass drilling and counterboring. CYCLE82 is the standard visual centering softkey in SINUMERIK Operate.
- G83 (Deep-Hole Peck Drilling Cycle): Deep hole peck-drilling cycle that utilizes full retracts to the reference plane for chip extraction.
- MCALL (Modal Subroutine Call): Siemens native command used to call and execute CYCLE81 modally across multiple coordinates.
Conclusion
Achieving zero-defect centering operations on Siemens SINUMERIK machines depends on rigorous modal state management and precise plane parameterization. Programmers must enforce clean, explicit modal cancellations via empty MCALL blocks before any tool retraction or indexing. Calibrating the absolute reference plane and safety clearance values is non-negotiable for protecting high-speed spindle hardware from expensive collision damage. By standardizing these verification checks in your CNC post-processors and operator checklists, you establish a bulletproof workflow that secures tight tolerances and keeps your production floor running continuously.
FAQ
How do you resolve Siemens Alarm 61101 "Reference plane incorrectly defined" in CYCLE81?
Alarm 61101 occurs when the absolute coordinate of the reference plane RFP is geometrically impossible relative to the final Z depth, such as specifying an RFP of Z-50.0 but a Z-depth of Z0. **Action:** Open your program editor, locate the CYCLE81 block, and verify that the second parameter RFP is numerically higher than the Z-depth parameter, ensuring the Z-axis feeds in the correct negative direction.
Why does executing an ISO G81 block on a SINUMERIK control throw Alarm 61003?
Alarm 61003 indicates that the control has no active cutting feedrate in its buffer. When the control routes the G81 command through the CYCLE381M shell cycle backend, the cycle logic checks the active F-register. If no feedrate has been declared, it aborts execution to prevent tool breakage. **Action:** Insert a valid feedrate command (e.g., F150.0 for mm/min or F0.15 for mm/rev depending on G94/G95) in the startup line or directly within the G81 calling block.
How can you graphically program centering positions on SINUMERIK Operate since CYCLE81 is restricted?
The HMI in SINUMERIK Operate intentionally restricts CYCLE81 from the graphical drilling pattern editor. If you attempt to use it visually, the control will not allow position template integration. **Action:** Pivot your programming to the CYCLE82 (Drilling, centering) softkey within the HMI, which fully supports graphical position patterns and provides identical centering capabilities by simply entering a zero dwell time if none is needed.
Still not resolved?
Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

- CNC CARE Co-Founder (May 2025 - Present)
- Mitsubishi Electric NC Sales & Service Section Manager (2008 - 2025)
- Reis CNC Service Engineer (2003 - 2005)
- Ö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
Siemens CYCLE800 G-Code: Swivel Planes & Tool Alignment
Master Siemens CYCLE800 for 3+2 axis machining. Learn plane swiveling, tool alignment, parameter setup, and how to troubleshoot Alarm 61190 and 61153.
Siemens CYCLE72 Contour Milling: Guide to Sinumerik Path Milling
Master Siemens CYCLE72 for contour milling on Sinumerik CNC controls. Learn parameter setup, avoid simulation alarm 61123, and prevent machine collisions.
Siemens CYCLE952 Contour Turning Cycle Programming Guide
Master Siemens CYCLE952 contour turning on Sinumerik CNC controls. Learn parameter lists, resolve Alarm 61051, and configure balance cutting.
Siemens SLOT1 and SLOT2 Slot Milling Cycles Programming Guide
Master slot milling on Siemens Sinumerik controls using SLOT1 and SLOT2 cycles. Learn parameter configurations, alarm 61000 prevention, and optimal tool paths.