Siemens SINUMERIK codes
Siemens SINUMERIKServo/AxisIntermediate30-120 minutes

6584

Siemens 840D 6584 - NC memory limit TMP reached

NC memory limit TMP reached

Siemens SINUMERIK alarm 6584: NC memory limit TMP 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 6584 fires when the NCK temporary file system (TMP partition in DRAM) exceeds its allocated capacity, preventing new program blocks, variables, or intermediate data from being written. This typically occurs during complex program execution, subroutine nesting, or when local variables and work offsets accumulate in memory without being cleared.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Access Diagnostics menu: Press DIAG → NCK → Memory → check TMP usage percentage. Compare current value against MD 20100 (NCK memory configuration). Document exact percentage to determine remaining free space.

  2. 2

    Review NC program structure in editor: identify subroutine call depth using CALL statements. Reduce nesting levels and consolidate local variable declarations using G-code scope parameters. Replace recursive subroutines with iterative loop constructs where possible.

    Verify subroutine parameter passing via MD 20050 (variable memory allocation) does not exceed 50% of available TMP.

  3. 3

    Check machine data MD 22000 (local variable memory) and MD 22100 (work offset memory). If local variable range is set >2000 words, reduce allocation and reallocate freed memory back to global data space via MD 20000.

  4. 4

    Clear residual TMP data: cycle power OFF for 30 seconds (full DRAM discharge), then restart NCK. Verify alarm clears on next program load. If alarm persists immediately, TMP partition is structurally full.

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.