Canned Cycle (Fixed Cycle)
A canned cycle is a single G-code command that makes the CNC perform a standard multi-move operation, such as drilling, peck drilling, tapping or boring, at each programmed position until the cycle is cancelled.
Instead of programming every approach, feed, dwell and retract move, the programmer calls a cycle once with its parameters, then lists hole positions. On FANUC-style milling controls, G81 is a basic drilling cycle, G83 a peck drilling cycle, G84 a tapping cycle and G80 cancels the active cycle, with parameters such as the final depth, the retract or R plane, the peck increment and a dwell time. Lathe controls provide multiple repetitive cycles for roughing, finishing, grooving and threading from a profile definition.
Canned cycles shorten programs, reduce programming errors and make hole patterns easy to edit at the machine. CAM post-processors often output canned cycles rather than expanded moves so operators can adjust depths and feeds directly at the control.
Cycle codes and parameter meanings vary between control families; some controls use named cycles with parameter lists instead of numbered G-codes. Return-level settings determine whether the tool retracts to the initial plane or the R plane between holes, which matters for clamps and fixtures. Synchronised tapping usually requires a rigid tapping mode, and all cycle behaviour should be checked against the control manual.
Key points
- One command performs a complete drilling, tapping or boring sequence
- G81, G83, G84 and G80 are common FANUC-style milling cycle codes
- Parameters include depth, retract plane, peck increment and dwell
- Cycle codes and parameters differ between control families
Where AiVibe comes in
AiVibe designs and manufactures the AiAmbA AI Factory: edge devices plus AI agents that let people talk to CNC, PLC and robot controllers in plain language. Agents only propose changes, and a trained operator confirms each one.