Siemens SINUMERIK codes
Siemens SINUMERIKServo/AxisIntermediate30-120 minutes

6585

Siemens 840D 6585 - NC external memory limit reached

NC external memory limit reached

Siemens SINUMERIK alarm 6585: NC external memory limit reached. This alarm indicates a fault or error condition on the SINUMERIK 840D control. Refer to the Siemens SINUMERIK alarm documentation for the complete description and remedy.

Root Cause Summary

Alarm 6585 fires when the external DRAM file system (typically the external drive or compact flash storage used for part program execution) exceeds its capacity limit. This prevents the NCK from loading or executing additional NC programs, subroutines, or auxiliary data files required for job processing.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Access the HMI or Engineering Terminal and navigate to Diagnostics > File System or use MDI command DIR to list contents of the external drive (/external or /mnt/nandflash depending on SINUMERIK version).

  2. 2

    Identify and delete obsolete or redundant NC programs. Use the file manager to remove backup copies, temporary files, or archived G-code. Target deletion of files >10MB if storage is constrained.

    Do not delete active job programs or system files in /system/ or /param/ directories.

  3. 3

    Verify free space now exceeds the threshold specified in MD 10820 (typically 5-10% of total external memory). Use DIR command to confirm available capacity.

  4. 4

    Clear the alarm by pressing the RESET button on the control panel or issuing a soft reset via HMI. Re-attempt the job execution.

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.