ShopDocs · Glossary Definition

Canned Cycle

A canned cycle is a predefined CNC control routine that executes a repetitive machining pattern from a single G-code command, commonly used for drilling, tapping, boring, reaming, and similar repeated features. It allows the programmer to define motion once and repeat it at multiple coordinates without writing every plunge, retract, and feed move individually. The cycle remains modal until canceled with G80, ensuring consistent motion across parts.

In practical shop-floor use, a canned cycle lets the programmer define the motion once, then repeat it across multiple coordinates without writing every plunge, retract, and feed move individually. On mills, this is most often used for holemaking: the operator selects the plane, calls the cycle, sets parameters such as depth, retract height, feed, and dwell if needed, then repeats the cycle at each X/Y location until the pattern is complete. The main value in CNC cell production is reduced code length, faster programming, and more consistent motion because the controller executes the same stored sequence each time. Many controls require cancellation with G80 after the last hole or feature, because the cycle remains active until explicitly cleared. The cycle acts relative to the active plane, and the retract value is defined along the axis perpendicular to that plane, which matters when switching between XY, YZ, or XZ operations.

Operational Failure Matrix
Risk LevelOperational Pitfall Description
⚠️ Warning 1Forgotten cancellation: If the cycle is not canceled with G80, subsequent blocks can be interpreted as still inside the active canned cycle, sending the tool into unintended holes and creating scrap or crash risk.
⚠️ Warning 2Incorrect retract or depth: A wrong R plane or depth value can cause the tool to retract too low, colliding with clamps or the part, or fail to clear the surface before traversing, leading to undersized or damaged holes.
⚠️ Warning 3Plane or coordinate mismatch: An incorrect active plane or mistaken absolute vs. incremental positioning causes the cycle to cut in the wrong axis or repeat incorrectly, especially dangerous in dense hole patterns and multi-side setups.
Technical FAQs
Is a canned cycle the same as a macro?

No. A canned cycle is a built-in controller cycle for standard repetitive operations, while a macro is a programmable custom routine; canned cycles are standardized shortcuts.

What operations are most commonly handled by canned cycles?

Standard drilling, spot drilling, counterboring/countersinking, peck drilling, tapping, and boring are the most common milling applications.

Why are canned cycles valuable in production machining?

They reduce programming time, shorten code, improve readability, and help keep repetitive holemaking consistent across parts and shifts.

Software that works like your best tools.

This Glossary is maintained by Ryxen — focused software tools that solve specific operational friction points for Canadian small businesses. No ERP bloat, no per-user pricing, no demo calls.