Overview
The SINUMERIK 840D powerline NCU (Numerical Control Unit) is the central control of a 2-axis machine tool. When the on-board lithium buffer battery fails, the NCK (Numerical Control Kernel) loses its retained data: machine data (MD), setting data (SD), tool data, R parameters, part programs, compensation tables, axis data, and PLC retentive flags. Recovery is only possible from an external backup, which on these systems typically carries the file extension .arc — a Siemens-specific packed archive containing the /NC and /PLC card image directories.
This article covers a real field scenario: an NCU Box 6FC5247-0AA00-0AA3 with a dead buffer battery, an OP177B 6AV6642-0DA01-1AX1 operator panel, and a SIMODRIVE 611 drive section controlling two axes. The user has a valid .arc backup file on a service PG/PC and needs to write it back to the NCU. The OP177B runs SINUMERIK HMI Embedded, which does not expose a back-up/restore UI, so the restore must be performed either by PCMCIA card directly on the NCU, or via HMI Advanced on a PCU 50, or by direct transfer to the NCU card image over X127 with RCS Commander / WinSCP.
All Siemens documentation referenced below is available on the Siemens Industry Online Support portal at support.industry.siemens.com.
System Identification and MLFB Decoding
NCU 6FC5247-0AA00-0AA3
The Siemens order code (MLFB) breaks down as follows:
-
6FC5247— NCU 571 / 572 / 573 family, 840D powerline generation. -
0AA00— base configuration (no special add-on features). -
0AA3— hardware revision / feature release.
This NCU is delivered without an internal HDD. All persistent storage lives on the PCMCIA flash card inserted in the front slot (slot X5, marked NC-CARD). The card is hot-pluggable only when the NCU is powered down and contains the active /NC, /PLC, /OEM, /SAMPLES, and /HMI-ADV directories. When the battery is dead AND no card is present, the NCU boots with factory defaults and the previous commissioning is lost.
OP177B 6AV6642-0DA01-1AX1
The OP177B PN/DP is a 5.7" color touch operator panel. The suffix 1AX1 identifies the powerline variant configured for the SINUMERIK 840D as a SINUMERIK-specific HMI. The “PN/DP” marking means it carries both PROFINET and PROFIBUS interfaces; when used on 840D powerline it normally connects to the NCU via PROFIBUS (MPI/DP) at the NCU’s X2 connector. The OP runs SINUMERIK HMI Embedded software — a slimmer HMI than HMI Advanced — and only exposes operating screens. There is no service menu for archive up/download.
SIMODRIVE 611 with 2 Axes
The SIMODRIVE 611 drive bus is configured via DIP switches and the SimoCom U / IBF commissioning tool. With 2 axes (typically X and Z on a lathe or X and Y on a mill) and a SIMODRIVE 611D or 611U closed-loop module, the drive data and motor data live inside the NCK, not in the drive module itself. A valid .arc restore therefore repopulates motor data and encoder data automatically as part of the NCK image.
Understanding the Sinumerik .arc Archive Format
The Siemens .arc is a packed file created by SINUMERIK HMI’s archive utilities: the “Series Start-up” tool, the “Commissioning Archive” soft-key on HMI Advanced, or the “Back up / Restore” menu on PCU 50. Internally the file is a serialized container with the following structure:
arc_begin
version 0x00010000
date YYYYMMDD
time HHMMSS
file_count N
for each file:
name (null-terminated string)
size (uint32)
crc32 (uint32)
raw bytes (size bytes)
arc_end
.arc with arc.exe or any SEA-compatible tool — the internal CRC will fail and the loader will reject the file.A typical .arc from a 2-axis 840D powerline system contains the following logical partitions:
| Sub-archive | Contents | Approx. size |
|---|---|---|
/NC/ |
NCK data: machine data, setting data, tool data, R variables, compensation tables, drives data, leadscrew error comp, sag comp | 0.5–4 MB |
/PLC/ |
PLC S7 project: S7P/S7F container, S7 program sources, blocks (FB/FC/DB/OB), symbol table, system data | 0.2–1.5 MB |
/DRIVE/ |
Drive commissioning data (only if the archive was created with the drive commissioning add-on) | 0.1–0.5 MB |
/CF_CARD/ |
Complete card image (only on a full-card backup, not on a differential backup) | full card |
A partial /NC-only archive restores NC data but leaves the PLC untouched. A combined archive (the default from HMI Advanced) restores both — but the order in which the loader processes them matters, as detailed later in this article.
Prerequisites and Pre-Restoration Checks
Before any restore, verify the following.
Hardware Inventory
- Functional NCU 6FC5247-0AA00-0AA3 with intact PCMCIA card slot.
- PCMCIA flash card of sufficient size (typically 64 MB or larger for a 2-axis system with HMI Embedded; 256 MB or 1 GB if an HMI Advanced partition is present).
- Replacement NCU buffer battery: Siemens 6FC5247-0AA18-0AA0 lithium, 3.6 V, 1.5 Ah, AA form factor.
- Original
.arcbackup file with verified MD5/SHA1 checksum. - PG/PC with STEP 7 V5.5 + SPx and (if using HMI Advanced) an HMI Advanced license dongle.
- For network restore: crossover Ethernet cable or a small switch, plus a TCP/IP connection to NCU port X127.
Software Versions
- STEP 7 V5.5 + SP3 or later for PLC restoration.
- SINUCOM / RCS Commander or HMI Advanced v7.x for direct NC restore.
- For OP177B reconfiguration: WinCC flexible 2008 SP3 or later (HMI Embedded).
.arc file. HMI utilities checksum the internal CRC and abort on mismatch. If the file was transferred over a removable medium, verify the SHA1 on the destination before the restore.NCU Buffer Battery Replacement
The NCU buffer battery (3.6 V lithium, AA form factor in the holder on the front of the NCU) maintains NCK RAM and PLC retentive data when the NCU is powered off. Once it drops below ~2.7 V the NCU loses retained data. Replace the battery before powering up with the new card image.
Procedure
- Power down the NCU and wait at least 30 s for the DC bus to discharge.
- Open the battery holder on the front of the NCU (slide the plastic tab downward).
- Remove the spent 6FC5247-0AA18-0AA0 cell.
- Insert the fresh cell; observe polarity (+ on top, markings inside the holder).
- Close the holder.
- Re-apply 24 V to the NCU. The BF (bus fault) LED should remain off within 30 s if the card image is valid.
Identifying the HMI Platform
The OP177B 6AV6642-0DA01-1AX1 in this configuration runs SINUMERIK HMI Embedded. The menu path MENU SELECT > SERVICES > DATA IN > FROM NC CARD that appears in some legacy service notes is only present on PCU 20 / PCU 50 with HMI Advanced, not on HMI Embedded. On HMI Embedded, no operator-level restore screen is available.
Therefore three viable restore paths exist on this hardware:
| Path | Hardware required | Operator skill | Speed | Notes |
|---|---|---|---|---|
| A. PCMCIA card | Card reader + spare PCMCIA card | Low | ~3 min | Direct; works without PCU |
| B. HMI Advanced on PCU 50 | PCU 50 + HMI license | Medium | ~10 min | Requires moving OP177B to passive or connecting both |
| C. RCS Commander over X127 | PG/PC, Ethernet, RCS | High | ~5 min | Service tool; works without PCMCIA swap |
For a service scenario with a single backup .arc file, Path A is the most reliable and the recommended field procedure for NCU 6FC5247-0AA00-0AA3.
X127 Service Ethernet — Network Configuration
The NCU’s X127 connector is a 10/100 Mbit Ethernet port dedicated to engineering access. Default NCU-side settings on 840D powerline:
| Parameter | Value |
|---|---|
| IP address | 192.168.214.1 |
| Subnet mask | 255.255.255.0 |
| Default gateway | (none) |
| DHCP server | Enabled (serves 192.168.214.10…100) |
| Default service user | auduser / auduser |
Configure the service PG/PC Ethernet interface with a static 192.168.214.2 / 255.255.255.0 address (or set it to DHCP and let the NCU assign a lease). Disable any other active network interfaces on the PG/PC to prevent routing conflicts. A direct crossover cable is sufficient; a small switch also works. Do not connect X127 to a corporate network — it has no firewall and exposes the service interface.
Method 1 — Restore via PCMCIA Card
Tools required
- PCMCIA card reader (e.g. SanDisk PCMCIA adapter or equivalent).
- Blank or freshly formatted PCMCIA flash card (64 MB minimum; 256 MB recommended).
- PG/PC with card reader.
- The original
.arcfile.
Card preparation
- Format the PCMCIA card as FAT16. FAT32 will not boot HMI Embedded.
- Create the directory structure
\NC\and\PLC\on the card. - Copy the
.arcfile to the root of the card. Do not place it in a subdirectory. - Eject the card cleanly from the reader (use Windows “Safely Remove Hardware” or the equivalent).
NCU side procedure
- Power down the NCU. Wait for all LEDs off.
- Insert the PCMCIA card into NCU slot X5 (NC-CARD) with the label facing outward.
- Power up the NCU. Watch the LED sequence:
- RDY off, then green blinking (CF card access).
- RDY solid green → boot OK.
- RDY red or fast blink → card not recognized (re-seat, re-check FAT16).
- After the OP177B finishes booting (it shows the “SINUMERIK” splash, then either the operating area or an alarm), navigate with the OP keys to the commissioning menu.
- Because OP177B has no restore UI, the restore is triggered by an NCK soft-key sequence. The standard sequence on HMI Embedded:
- Press
<RECALL>+ soft-key “Service” (rightmost soft-key on the operating area screen). - Enter password
SUNRISEif prompted (default Siemens service password; OEMs may have changed it). - Select
Commissioning Archive > Read from NC Card. - Confirm the file selection of the
.arcfile. - Wait for the progress bar to complete; do not power down during the restore.
- Press
- If the OP177B does not expose the service menu (some firmware versions lock it), proceed to Method 2 or 3.
Post-restore verification
- The RDY LED on the NCU must remain solid green.
- The OP177B must show the operator area with the correct machine designation.
- Trigger a single NCK reset (NCK-Reset soft-key) to re-read the machine data.
Method 2 — Restore via HMI Advanced over X127 / MPI
If the site has a PCU 50 with HMI Advanced (HMI v7.5 or later), or if you can temporarily install HMI Advanced on a PG/PC, the restore is straightforward.
Topology
[PCU 50 / PG] ----- Ethernet crossover ----- [NCU X127]
[PCU 50 / PG] ----- MPI / PROFIBUS ---------- [NCU X2 (MPI)]
Procedure
- Connect PG/PC to NCU X127 with a crossover cable or via a small switch.
- Configure the PG/PC Ethernet interface with static 192.168.214.2 / 24.
- Start HMI Advanced on the PCU 50 (or on the PG with HMI Advanced installed).
- From the main operating area, soft-key:
Start-up > Commissioning > Archive > Read-in Archive. - Select the network drive / USB / floppy where the
.arcfile resides. - Confirm. The restore progress shows the file being unpacked into the active card image.
- When the progress bar reaches 100%, the system prompts: “NCK Reset required for NC data; PLC restart required for PLC data.” Accept both.
- Wait for the OP177B to reconnect (it may blank for ~30 s during the NCK reset).
Method 3 — Direct Restore via RCS Commander (Service Tool)
For Siemens service engineers and advanced integrators, the RCS (Remote Control Service) Commander can stream the .arc file directly into the NC-CARD image over X127, bypassing both the OP UI and the PCMCIA swap.
Procedure
- Connect the PG/PC to X127 as in Method 2.
- Launch RCS Commander.
- Log in as service user
auduser(default passwordauduser— change per site policy). - Select the NCU target and wait for the connection handshake.
- Transfer the
.arcfile to/card/user/sinumerik/archive/. - Open a service shell and execute the NCK command:
pi_nck_archive_in(<file>.arc) - Wait for the return code 0 (success). Any non-zero return code indicates a CRC or version mismatch.
- Perform an NCK reset to commit the change.
This method requires a working Ethernet service path and a valid service login, but is the fastest when the PCMCIA card is in a known-good state and only the NC data needs to be replaced.
Required Restore Sequence — NC First, Then PLC
On SINUMERIK 840D, the PLC and NCK share the same retain battery but have separate non-volatile stores on the PCMCIA card:
-
/NC/directory — NCK data. -
/PLC/directory — PLC S7 project.
A combined .arc archive contains both, and the loader processes the NC portion first and the PLC portion second. The recommended manual order on a green-field restore is:
- Insert the new card and power up.
- Load the NC portion only (or load the full archive and let the loader take the NC branch first).
- Perform an NCK reset.
- Verify the axes can be referenced in JOG mode.
- Load the PLC portion.
- Restart the PLC (STOP → RUN).
- Verify the PLC HMI connection (interface DBs in DB 10, DB 20, DB 31, DB 32 must update).
Commissioning the SIMODRIVE 611 Drives
After NC and PLC are loaded, the SIMODRIVE 611D / 611U drives must be commissioned. On 840D powerline with a valid .arc restore, the drive data is recovered automatically because it is stored under /NC/ as part of the NCK image. The following checks are still required:
| Check | Expected | Action on failure |
|---|---|---|
| Drive ready LED (611D module) | Solid green | Check PROFIBUS termination at X2 |
| NCK ↔ Drive comms | MD 30130 / MD 30240 matches drive type | Re-run drive commissioning (SimoCom U / IBF) |
| Encoder zero mark | Captured on first referencing | Mechanical adjustment of zero-mark sensor |
| Axis velocity | MD 32020 = $MD_JOG_VELO_RAPID | Soft-key “Axis MD > Effective” to re-read |
| Axis current controller | MD 1106 motor code matches nameplate | Re-enter motor code from motor data sheet |
On a 2-axis configuration, the axis naming (AX1, AX2) is determined by MD 20070 (axis name) and MD 20080 (axis assignment to channel). If the axis order is reversed after a restore (e.g. X and Z swapped), swap the motor encoder connectors — not the drive bus — and re-reference.
Sinumerik Alarm Codes Reference
The following NCK alarms are the most common ones encountered immediately after a .arc restore on 6FC5247-0AA00-0AA3. None of these indicate a corrupt archive; they are the standard “reboot required” alarms.
| Alarm | Meaning | Action |
|---|---|---|
| 2001 | Boot failure (no valid card image) | Check card type, FAT16 format, re-seat |
| 2002 | No NC software on card | Re-image the card with the correct CF image |
| 4400 | MD invalid (cross-reference to missing drive) | Re-accept MD, save with soft-key |
| 12400 | NCK link to PLC missing | Load PLC portion, then NCK reset |
| 26001 | Axis not referenced | Normal — reference axes in JOG |
| 27008 | Reference point not reached in time | Check encoder cable, MD 34200 ENC_FEEDBACK_POL |
| 27010 | Axis referenced but in wrong direction | Reverse encoder polarity, MD 32100 |
| 380001…380005 | PROFIBUS / PROFINET link to drive down | Check connector, terminator, MD 30130 |
| 401000 | PLC STOP (no program) | Load PLC portion from archive |
Post-Restore Verification Checklist
Run this checklist before handing the machine back to the operator.
- NCU RDY LED is solid green.
- OP177B shows the correct operating area, no alarm line at the top.
- HMI soft-key
Diagnosis > Service Overviewshows “Commissioning data valid = yes”. - Axes can be jogged in JOG mode in both directions.
- Axes reach the reference point without alarms 27008 / 27010.
- Tool list (Tool Management > List) shows all tools from the archive.
- Zero offsets (G54..G599) match the commissioning sheet.
- PLC runs (RUN LED on the PLC section solid green).
- PLC HMI connection live: HMI-Status soft-key shows all interface DBs at 0.
- Safety circuits (Emergency Stop, safety door) tested and OK.
- Handwheel pulse generator responding (if fitted).
- Spindle speed setpoint and actual match across the speed range (if a spindle axis is present).
Troubleshooting Matrix
| Symptom | Probable cause | Action |
|---|---|---|
| RDY LED red after card insert | Card not FAT16 or not seated | Re-format as FAT16, re-seat firmly |
| OP shows alarm 2001 “Boot failure” | Wrong card type / no NC image | Use Siemens-approved card; re-image with correct CF |
| HMI “Archive inconsistent” |
.arc file corrupted during transfer |
Re-copy with verified SHA1 |
| Axis does not reference, alarm 26001 | Encoder zero-mark missing | Check encoder cable, MD 34200 |
| PLC in STOP, SF LED on | PLC portion of archive not loaded | Load PLC portion separately via STEP 7 |
| “Password incorrect” on HMI service | OEM password set | Ask machine builder for service password |
| OP177B blanks after restore | HMI Embedded and NCK data mismatch | Hold <RECALL> during power-up for HMI reset |
| Drive module reports F-0074 | Motor code in MD 1106 not matching | Re-load motor data from backup, MD 1106 = nameplate code |
| “Communication fault to NC” on OP | PROFIBUS connector loose | Re-seat X2, check terminator resistor (set to ON at last node) |
| NCK alarm 4400 “MD 20050 invalid” | Cross-reference to missing drive | Re-accept MD, save with soft-key, then NCK reset |
| Service restore returns non-zero | CRC failure or version mismatch | Verify SHA1 of .arc and SW version compatibility |
Preventive Backup Best Practices
To avoid the scenario covered by this article, follow these preventive steps on every 840D powerline system:
- After every commissioning or major service intervention, perform a
Start-up > Commissioning > Archive > Read-out Archiveand store the.arcon at least two independent media (e.g. CF card image + network share). - Compute and record the SHA1 of every backup at creation time; compare on restore.
- Replace the NCU buffer battery every 5 years, or sooner on machines with high thermal cycling. Log the replacement in the maintenance log.
- Keep at least one spare PCMCIA flash card per NCU type on site, pre-formatted FAT16.
- Record the HMI software version (e.g. HMI Embedded 06.04.20) and NCK software version (e.g. 06.04.20) in the maintenance log. Restores across major versions can require an upgrade in between.
- Verify after every cold start (power off > 30 s) that the NCU retains the axis position. If positions are lost, the battery is failing.
Frequently Asked Questions
What is the difference between the Siemens .arc and the SEA ARC format?
The Siemens .arc is a proprietary packed container used by SINUMERIK HMI to back up NC and PLC data. The SEA ARC is a 1980s DOS archiver format from System Enhancement Associates. They share a file extension but have incompatible contents — do not use SEA ARC tools on a Siemens .arc file, the internal CRC will fail and the loader will reject the archive.
Can I restore a .arc file from the OP177B operator panel directly?
No. The OP177B with HMI Embedded does not expose a back-up/restore user interface. The restore must be triggered by PCMCIA card boot, HMI Advanced on a PCU 50, or RCS Commander over X127. The path MENU SELECT > SERVICES > DATA IN > FROM NC CARD appears only on HMI Advanced.
Which order should I restore NC and PLC data?
Always NC first, perform an NCK reset, verify axes can be jogged, then load the PLC portion and run a PLC STOP-RUN cycle. Loading the PLC portion first causes PLC interface DB errors because the NCK has no machine data yet to feed the interface.
What buffer battery does the NCU 6FC5247-0AA00-0AA3 use?
Siemens 6FC5247-0AA18-0AA0, 3.6 V lithium, 1.5 Ah, AA form factor. Replace while the NCU is powered to retain memory. The buffer battery is a wear part and should be replaced every 5 years. Refer to the SINUMERIK 840D powerline Commissioning Manual on Siemens Industry Online Support.
Why does the NCU lose data when the PCMCIA card is removed?
The 6FC5247-0AA00-0AA3 has no internal HDD — the PCMCIA card IS the persistent storage. The buffer battery only retains RAM (machine data, R parameters) while the card is installed. If the card is removed with the NCU unpowered, all RAM-resident data is lost on the next power-up, and a fresh .arc restore is required.
What is the default IP address of the NCU X127 service port?
192.168.214.1 with subnet mask 255.255.255.0. The NCU also runs a DHCP server on this interface, serving 192.168.214.10…100. Set the service PG/PC to 192.168.214.2 (static) or DHCP. Never connect X127 to a corporate network — it has no firewall.
Can I open a Siemens .arc file with WinRAR or 7-Zip?
No. WinRAR and 7-Zip do not recognize the Siemens container format. The .arc must be restored through SINUMERIK HMI tools (HMI Advanced, RCS Commander) or written to a PCMCIA card and booted on the NCU. Attempting to extract with general archivers produces garbage and corrupts the CRC.