Siemens SINUMERIK Data Backup and Archive Creation: Setup Guide
Learn to create and manage backups on Siemens SINUMERIK controls. Avoid tool crashes and Alarm 150413 with proper SRAM and NCK archive configurations.
Introduction: The Cost of Outdated Archive Restorations
A single unverified coordinate register or an outdated offset parameter loaded from a restored system backup can instantly send a high-speed spindle plunging blindly into a hardened vise jaw, a stationary fixture clamp, or a rotating chuck. This trajectory miscalculation causes a devastating hard collision, crushes the carbide insert, bends the toolholder, and generates a scrap part, leading to expensive mechanical repair downtime. Safeguarding these assets requires robust, multi-layered data backup and archiving strategies. In Siemens SINUMERIK systems, this involves understanding the precise synchronization between volatile memory, permanent system archives, and automated background backup cycles.
Technical Summary of Siemens Data Archiving
| Specification | Details |
|---|---|
| Command Codes | CYCLE755 (AST Backup/Restore), CTRL+ALT+S (Forced Archive), CTRL+ALT+D (Diagnostics Backup), Save data (SRAM Save) |
| Modal Group | System Archive / Programmatic Backup |
| Compatible Brands | Siemens SINUMERIK |
| Critical Parameters | MD9119 $MM_ENABLE_AUTO_SAVE_DATA_ARCHIVE, MD11210 $MN_UPLOAD_MD_CHANGES_ONLY |
| Main Kinematic Constraint | SRAM volatile memory holding current offset shifts must be permanently saved using the "Save data" HMI softkey before system shutdown. Scheduled automatic backups require all NC channels to be idle and in a Reset state; running a part program aborts the backup and triggers Alarm 150413. |
Quick Read: High-Level Backup Rules
- Press the HMI softkey "Save data" before powering down to permanently save volatile SRAM coordinate registers and tool data to the non-volatile internal memory.
- Force a complete system standard archive directly to an inserted USB flash drive by pressing the HMI-independent hardware shortcut keys CTRL+ALT+S.
- Ensure all NC channels are in a Reset state and no part programs are running to prevent scheduled background backups from aborting with Alarm 150413.
- Activate the automatic save data archive background process by configuring the machine parameter MD9119 to 1.
- Optimize storage usage by setting MD11210 to 1, ensuring only modified machine data is backed up instead of full monolithic system files.
- Confirm all tool offsets and work zero points immediately after any archive restoration before launching a machining cycle.
- Employ CTRL+ALT+D to capture and save internal diagnostics logs to USB for advanced troubleshooting of axis errors.
Basic Concepts of SINUMERIK Data Archiving
Maintaining a multi-layered fail-safe system ensures that all NC data, PLC programs, drive parameters, and HMI settings can be recovered following hardware failures. In Siemens controls, this architecture distinguishes between volatile memory (which active programs update constantly) and non-volatile archives. Operators and programmers must carefully manage the timing of archive creation and restoration. A common failure during restoration is loading a historical backup archive that contains outdated or incorrect tool data, magazine assignments, and workpiece offsets. If operators fail to verify and update this restored tool data before running a machining cycle, the physical tool paths will be severely miscalculated.
Loading outdated parameters causes the tool to plunge blindly into a vise jaw, a stationary clamp, or the spindle's chuck. This negligence leads directly to a devastating hard collision or generates a scrap part. To ensure safe use, operators must proactively verify all tool offsets and zero points immediately after any archive is restored. They must also ensure that no programs are active when initiating a manual backup to avoid generating an alarm code that aborts the save.
Siemens controls handle these operations dynamically, allowing users to back up data programmatically via cycle calls or manually using HMI screens and hardware shortcut keys. The system requires proper channel status management to execute these backups successfully. If an active channel is processing motion, the backup engine halts to prevent data synchronization errors.
Command Structure and Syntax
Programmatic automatic backups and manual system archiving follow strict rules. Programmatic backups are useful for saving servo tuning parameters directly from within the part program. For this specialized function, the controller provides the cycle CYCLE755. This command utilizes integer modes to determine the current task and outputs status codes to verify success.
For standard machine backups, operators utilize HMI Operate softkey setups or dedicated physical key combinations. These methods bypass standard programming blocks and force the control to compile archives immediately. Standard syntax for these commands is structured as follows:
- Automatic Servo Tuning Backup:
CYCLE755(1, "", status_variable)(Applies mode 1 to back up AST parameters) - Automatic Servo Tuning Restore:
CYCLE755(2, "", status_variable)(Applies mode 2 to restore parameters from the XML file) - Automatic Servo Tuning Delete:
CYCLE755(3, "", status_variable)(Applies mode 3 to delete the specified AST file) - Automatic Servo Tuning Query:
CYCLE755(4, "", status_variable)(Applies mode 4 to query backup existence) - Hardware System Archive:
CTRL + ALT + S(Forces creation of complete standard system archive to external USB) - Hardware Diagnostics Archive:
CTRL + ALT + D(Saves diagnostics log files to USB) - SRAM Volatile Memory Save:
Save data(HMI Operate softkey operation to save volatile SRAM data)
Brand Applications: Siemens SINUMERIK Setup
Siemens
Siemens controls govern automated background archiving via parameter MD9119 ($MM_ENABLE_AUTO_SAVE_DATA_ARCHIVE), which schedules backups. Programmers can also optimize archive space by configuring parameter MD11210 ($MN_UPLOAD_MD_CHANGES_ONLY) to filter out unchanged data.
Programmatic AST tuning backups are managed via CYCLE755. The command takes the format CYCLE755(1, "oem/sinumerik/nck/data/restore/x1_original.xml", _AST_RESTORE_OK) to execute a background backup. Restoring is invoked using mode 2, deleting is invoked using mode 3, and querying uses mode 4.
- Parameters:
MD9119 $MM_ENABLE_AUTO_SAVE_DATA_ARCHIVE: Activates scheduled background .asd backups (0 = Disabled, 1 = Enabled).MD11210 $MN_UPLOAD_MD_CHANGES_ONLY: Dictates all data vs only modified data backed up (0 = All NC data, 1 / 0xFF = Only modified machine data).
- Alarms:
Alarm 150413: "Backup data archive could not be created..." - Triggered when a scheduled backup is active but cannot execute because NC channels are not in Reset or a part program is running.Alarm 150414: Notification 10 minutes before automatic backup begins, reappearing every 2 minutes.Alarm 4062: "Backup data loaded" - Triggered at boot-up to notify that system restored from internal saved user data instead of standard boot memory.
- Versions:
.arc: Legacy archive format exclusively used by SINUMERIK 840D sl standard archives..ard: Easy Archive format introduced in SINUMERIK 828D to group backups into distinct data classes..dsf: Modern Data Storage Folder (compressed ZIP archive structure) standard on SINUMERIK ONE and updated 828D/840D sl systems.
Warning: Bypassing the HMI softkey "Save data" operation before turning off the system will leave the volatile SRAM data unsaved, causing the control to lose all recent tool parameters and workpiece zero shifts upon the next boot.
Brand Comparison: Siemens Model and Series Divergences
| Specification / Feature | SINUMERIK 840D sl | SINUMERIK 828D | SINUMERIK ONE |
|---|---|---|---|
| Archive Format Type | Exclusively creates standard archives in `.arc` format. | Natively introduced "Easy Archive" using `.ard` format. | Compiles backups into a Data Storage Folder `.dsf` format. |
| Selective Restoration | Requires manual path selection or monolithic restores. | Allows selective restoration based on data classes (Manufacturer, Individual, User). | Advanced selective restoration using compressed XML ZIP structures (also on updated 840D sl/828D). |
| Background Backup Support | Supported via HMI-independent shortcuts and MD9119 configurations. | Supported via compact HMI panel shortcuts and automated schedules. | Fully integrated PLC-centric background archiving with advanced security logs. |
Technical Analysis of Siemens Archive Architecture
What clearly distinguishes Siemens controls from other major brands is its highly advanced, multi-layered frame and archive architecture. The SINUMERIK platform provides the highly advanced "Easy Archive" and Data Storage Folder (.dsf) architecture, which strictly separates data into specific classes: Manufacturer, Individual, and User. This architecture allows operators to selectively restore just the user programs or just the machine-specific compensations without destructively overwriting the entire control system memory. For instance, an operator can safely restore a specific part program while preserving active, calibrated compensation tables, preventing kinematic mismatches on the shop floor.
Second, Siemens embeds an "Automatic save data archive" feature directly tied to machine data MD9119. When activated, the control automatically triggers background .asd backups on a customized schedule or upon startup. It displays dedicated alarm codes (like 150413 or 150414) to safely warn the operator before the processor allocates system resources to the save, ensuring active machining is not disrupted by memory overhead.
Finally, Siemens allows the execution of critical system backups entirely independent of the HMI via dedicated hardware shortcut keys. Pressing the combination CTRL+ALT+S instantly creates a complete standard archive on an inserted USB flash drive. This design ensures critical machine states can be captured even if the primary operating screen or HMI Operate layer becomes completely unresponsive, providing an essential recovery route during panel locks.
Program Examples: Programmatic Archive Control
; SIEMENS SYSTEM PROGRAMMATIC BACKUP AND RESTORE
N10 _AST_RESTORE_OK = 0
N20 CYCLE755(1, "oem/sinumerik/nck/data/restore/x1_original.xml", _AST_RESTORE_OK)
N30 IF _AST_RESTORE_OK <> 0 GOTOF ERROR_HANDLING
N40 CYCLE755(2, "oem/sinumerik/nck/data/restore/x1_original.xml", _AST_RESTORE_OK)
N50 IF _AST_RESTORE_OK <> 0 GOTOF ERROR_HANDLING
N60 CYCLE755(3, "", _AST_RESTORE_OK)
N70 GOTOF END_PROGRAM
N80 ERROR_HANDLING:
N90 MSG("Backup or Restore failed: " << _AST_RESTORE_OK)
N100 M00
N110 END_PROGRAM:
N120 M30
Dry Run Analysis:
- N10 initializes the status variable
_AST_RESTORE_OKto 0 to prepare for the backup cycle. - N20 calls the cycle
CYCLE755in backup mode (1). This attempts to back up the current Automatic Servo Tuning (AST) parameters to the specified XML file path. The controller writes the execution outcome to the variable_AST_RESTORE_OK. - N30 evaluates this outcome; if the status variable does not equal 0, the program jumps to the label
ERROR_HANDLING, avoiding subsequent motion. - N40 calls the cycle in restore mode (
2), loading the saved tuning values from the XML file to verify restoration integrity. - N50 checks for errors during restoration and jumps to error handling if the file is corrupt or unreadable.
- N60 commands the delete mode (
3) with an empty path parameter, removing any temporary files created during the tuning process. - N80-N110 defines the error response, prompting a message on the HMI screen and initiating a program stop (M00) to halt the machine safely. N120 ends the program.
Error Analysis and Troubleshooting Workflows
| Alarm Code | Trigger Condition | Operator Symptom | Root Cause / Fix |
|---|---|---|---|
| Alarm 150413 | Scheduled automatic data save is active but cannot execute because a part program is running or NC channels are not in a Reset state. | NC background process halts; HMI displays "Alarm 150413: Backup data archive could not be created, next attempt tomorrow." | A running part program or active channel is locking the NCK memory. Fix: Ensure all NC programs are stopped, set all channels to "Reset" state, and re-trigger or wait for the scheduled cycle. |
| Alarm 150414 | Automatic background archive process is scheduled to start in 10 minutes. | A popup alert notification appears on the HMI, repeating every two minutes until the backup starts. | Pre-backup system warning to prevent operators from launching a long cycle. Fix: Pause setup or wait for the automatic save to complete before launching a new machining cycle. |
| Alarm 4062 | System boots up and successfully restores from the internal saved user data instead of standard boot memory. | A startup notification message displays "Alarm 4062: Backup data loaded." | System status alert indicating recovery from a previous "Save data" image. Fix: Review active tool data and coordinate shifts to confirm the correct state was loaded. |
Application Note: Ensuring Safety During Restores
A devastating hard collision, crushed cutting tool, or scrap part is the direct physical outcome of an operator reloading an outdated backup archive containing obsolete zero points and tooling offsets. When an operator restores an archive, the tool follows obsolete paths, plunges blindly into a vise jaw, a stationary clamp, or the spindle's chuck, causing mechanical destruction. To prevent these outcomes, operators must proactively verify all tool offsets and zero points immediately after any archive is restored. They must also ensure that no programs are active when initiating a manual backup to avoid generating an alarm code that aborts the save.
Siemens programmers must also coordinate their backups with competitive controls and advanced zero point networks. When managing mixed shops, compare these rules with Fanuc SRAM Backup and Restore procedures and Fanuc Automatic Data Backup schedules. Ensure that coordinate origins are validated in accordance with the rules in CNC Zero Points Explained before pressing Cycle Start.
Related Command Network
- CYCLE755: Programmatic Automatic Servo Tuning command that automates XML-based backups of drive-level parameters.
- CTRL+ALT+S: Hardware key combination that forces a complete standard system archive to USB, bypassing HMI.
- CTRL+ALT+D: Hardware key combination that saves internal diagnostic logs to USB for troubleshooting system status.
- Save data: HMI Operate softkey function that permanently writes volatile SRAM memory to internal hard memory to survive full power shutdowns.
- CNC Zero Points Explained: Establishing workpiece coordinates is critical after backup restoration because loading a historical archive will restore obsolete zero points.
- Fanuc SRAM Backup and Restore: An advanced data preservation guide for Fanuc controls, representing a similar memory backup concept.
- Fanuc Automatic Data Backup: Demonstrates automated background backup configurations on competitive controls, showing comparative maintenance workflows.
Conclusion: The Practical Takeaway for Archive Security
Executing systematic backups ensures machine recovery and setup preservation, but safety lies in post-restoration verification. Technicians must enforce a mandatory offset check immediately after loading any archive, verifying the physical distance to workholding tools before launching programs. Standardize the use of the "Save data" softkey after every critical tool offset adjustment, and always execute a complete dry run with axis feeds dialed to minimum after restoring data to ensure physical tool paths align perfectly with the clamped workpiece.
Frequently Asked Questions
Why does the SINUMERIK control trigger Alarm 150413 during a scheduled background backup?
Alarm 150413 is triggered because the machine data MD9119 automatic save data archive is active, but the NC channels are not in a Reset state or a part program is running. The processor aborts the background archive creation to protect active axis movements from processor delays or data collisions. To correct this, ensure that all programs are stopped and the channels are placed in Reset before the scheduled backup time, or adjust the schedule settings.
What is the difference between standard .arc archives and the newer .dsf format used on SINUMERIK ONE?
The classic SINUMERIK 840D sl exclusively creates standard archives in the .arc format, which are monolithic files representing the entire control state. The modern .dsf (Data Storage Folder) format, used on SINUMERIK ONE and updated 828D/840D sl systems, compiles backups into a structured, compressed ZIP directory tree. This allows programmers to selectively extract or inspect specific XML parameters and NC components without extracting the entire archive. Use modern archive-reading tools on your PC to inspect the .dsf file tree and safely verify the archive's internal contents before executing a restore.
How does the 'Save data' softkey operation prevent data loss compared to standard HMI setup archives?
The 'Save data' softkey function forces the volatile SRAM memory, which stores active tool data, compensation offsets, and workpiece coordinate shifts, to be written permanently to the internal non-volatile drive. Standard setup archiving writes files to external media but does not guarantee the active SRAM memory is synchronized. If the machine loses input power before a 'Save data' is executed, all recent setup modifications are lost. Get into the habit of pressing the 'Save data' softkey after every physical tool offset measurement or setup shift, and immediately before shut down.
Still not resolved?
Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

- CNC CARE Co-Founder (May 2025 - Present)
- Mitsubishi Electric NC Sales & Service Section Manager (2008 - 2025)
- Reis CNC Service Engineer (2003 - 2005)
- Ören Kalıp CNC Mold Line Team Leader (1999 - 2002)
With over 25 years of experience working in all areas of the CNC machine industry, I continue my activities as a co-founder of CNC CARE, where we offer brand-independent consulting, engineering, and original spare parts services.
Related Articles
Other articles on this topic
Siemens CYCLE800 G-Code: Swivel Planes & Tool Alignment
Master Siemens CYCLE800 for 3+2 axis machining. Learn plane swiveling, tool alignment, parameter setup, and how to troubleshoot Alarm 61190 and 61153.
Siemens CYCLE72 Contour Milling: Guide to Sinumerik Path Milling
Master Siemens CYCLE72 for contour milling on Sinumerik CNC controls. Learn parameter setup, avoid simulation alarm 61123, and prevent machine collisions.
Siemens CYCLE952 Contour Turning Cycle Programming Guide
Master Siemens CYCLE952 contour turning on Sinumerik CNC controls. Learn parameter lists, resolve Alarm 61051, and configure balance cutting.
Siemens SLOT1 and SLOT2 Slot Milling Cycles Programming Guide
Master slot milling on Siemens Sinumerik controls using SLOT1 and SLOT2 cycles. Learn parameter configurations, alarm 61000 prevention, and optimal tool paths.