FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

341

Fanuc 341 - Canned cycle axis error

CANNED CYCLE AXIS ERROR

Fanuc PS program alarm 341: CANNED CYCLE AXIS ERROR. This alarm is triggered by an illegal or incorrectly formatted command in the part program, or a programming condition that the Fanuc control cannot execute.

Root Cause Summary

Alarm 341 occurs when a canned cycle (G73, G74, G76, G80-G89) is programmed with an incorrect axis specification or missing required axis data. The control expects specific axis combinations for drilling/boring cycles and will reject commands that violate these rules, such as specifying a radial axis instead of the programmed plane axis or omitting mandatory depth parameters.

Safety

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Locate the line number shown with the alarm and examine the canned cycle block (G73-G89).

  2. 2

    Verify the current plane selection (G17=XY/Z-depth, G18=ZX/Y-depth, G19=YZ/X-depth) matches the programmed axes.

  3. 3

    Ensure the drilling axis (depth axis) corresponds to the perpendicular axis of the selected plane and radial positioning uses the correct two axes.

  4. 4

    Correct the axis letters in the canned cycle or add the appropriate plane selection code (G17/G18/G19) before the cycle.

Service Recommended confidence

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.