FANUC codes
FANUCProgram/G-codeIntermediate5-15 minutes

5228

Fanuc Alarm 5228 - SAME NAME USED

SYSTEM ALARM 5228

Fanuc alarm 5228: SYSTEM ALARM 5228. This alarm indicates a fault condition detected by the Fanuc control. Refer to the alarm number and name to identify the specific system or function involved.

Root Cause Summary

Alarm 5228 SAME NAME USED occurs when attempting to create, rename, or register a file (program, macro, subprogram) with a name that already exists in the current directory or memory storage. This is a file system protection mechanism preventing duplicate file names in the CNC's program memory or storage devices (CF card, USB, internal memory).

Causes and Fixes

  1. 1

    Navigate to the program directory screen (EDIT > PROGRAM or MEMORY mode) and press the [PROG DIR] soft key to display all existing program names and O-numbers in memory.

  2. 2

    Verify the program name or O-number that triggered the alarm against the directory listing. Check both main memory and any mounted storage devices (CF card, USB) by toggling [DEVICE] soft key.

  3. 3

    Either delete the existing program with the duplicate name using the DELETE function, or rename the new program to a unique O-number or file name before attempting to register again.

    Ensure the existing program is not currently in use or required for production before deletion. Back up critical programs to external storage first.

  4. 4

    Re-attempt the file registration or save operation. If using DNC or network transfer, verify the destination path and file naming convention to avoid conflicts with existing files.

DIY Feasiblehigh confidence

Call a technician if:

  • ·Parameter access is password protected
  • ·Persistent alarm after following all steps
  • ·Network/DNC system configuration issues

Prevention

  • Maintain program numbering log
  • Set parameter 3202 bit 0 to 1 for overwrite protection
  • Use consistent numbering conventions
  • Regular program directory cleanup

Common Mistakes

  • Not checking existing programs before transfer
  • Ignoring parameter 3202 overwrite settings
  • Using random program numbers without system
  • Attempting to overwrite protected programs

Related Alarms

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.