Troubleshooting Sinumerik 810D Powerline NCK 5-2-1 Boot Loop

David Krause17 min read
Other TopicSiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Overview

The SINUMERIK 810D powerline controller, when used in a ShopMill-equipped three-axis mill such as the XYZ560 (manufactured circa 2004), is susceptible to a specific class of boot failure that manifests as either of the following observed states:

  1. State A (Cold-boot failure): The HMI (MMC 102/HMI Advanced) reaches the splash screen and freezes on the message "Waiting for NCK connection: #.# seconds". The seven-segment display on the front of the CCU (also called NCU in 810D powerline nomenclature) stabilises on "4" rather than advancing to "6" (ready). The wait timer increments indefinitely; the HMI never establishes a logical connection to the NCK.
  2. State B (Post-clear failure): After an operator performs the NC and PLC Clear & Reload procedure described in the Siemens field service document "810D NC PLC Clear & Reload Procedure", the seven-segment display does not stabilise on 6. Instead, it cycles 5 - 2 - 1 - 5 - 2 - 1 indefinitely (also reported as 1-2-5-1-2-5 by some observers; both describe the same three-stage loop). A red LED on the CCU is typically off, which means a hardware "hard stop" alarm is not raised, but the NCK never reaches a running state.
Critical observation: The red LED on the CCU/NCU front panel is the primary indicator of a hard-stop alarm. When the red LED remains off and the seven-segment cycles 1-2-5, the system has not detected a fatal hardware alarm; it is failing to complete the firmware boot sequence. This distinction drives the entire diagnostic path described below.

2. Affected Hardware and Software Identification

Before any intervention, capture the exact part numbers and software versions displayed during the HMI splash. These determine the correct backup image, the correct PCU firmware, and the correct PLC toolchain. The reference machine reported in the source case shows the following stack:

Item Value reported Comment
Machine XYZ560 (circa 2004) 3-axis vertical machining centre with ShopMill HMI
Controller SINUMERIK 810D powerline CCU module (often labelled NCU 571 / NCU 572 / NCU 573 on the front)
Boot file HIMEM.SYS 2.34 BIOS-equivalent loader; the version number is the HMI Embedded boot sector
PCU PCU20, MLFB 6FC5210-0DF00-0AA0 Industrial PC in the operator panel housing; runs Windows 95/98 embedded
NCU boot software V01.03.04 CCU boot block (Siemens internal)
ShopMill version 06.02.20 / 02 Operating software for milling cycles
PLC version 06.03.14 / 01 PLC basic program and ladder compiled into the CCU

For functional scope, the official Siemens manual Milling with ShopMill - SINUMERIK 810D/840D powerline (PDF, 6FC5 297-0AE70-0BP0, edition 07.07) documents the ShopMill 6.4 cycle set and confirms that the 810D powerline can host ShopMill versions 6.x. Knowing the exact installed ShopMill build is essential when reloading from a backup because ShopMill 6.2 is not bit-compatible with ShopMill 6.4 cycle libraries.

3. Seven-Segment Display Code Reference

The seven-segment display on the CCU/NCU front panel is the lowest-level diagnostic indicator. The single digit reflects the current state of the firmware boot loader and the NCK. A normal cold boot displays each digit in sequence for a fraction of a second before settling on 6. A 1-2-5-1-2-5 loop or a 5-2-1-5-2-1 loop indicates a state that the firmware cannot exit.

Code Boot stage Meaning Recovery action
1 Hardware self-test POST / RAM check / CCU FPGA configuration Watch for 1-2 progression; a hang here suggests a CCU hardware fault
2 PCMCIA access Card detect and directory enumeration of the system card Hang here indicates missing or unreadable PCMCIA card
3 NCK image load NCK binary being read from PCMCIA into CCU RAM Hang here indicates corrupt NCK image on the card
4 NCK running NCK initialised; awaiting HMI link-up Stuck on 4 with "Waiting for NCK connection" indicates HMI cannot open the MPI/TCP link
5 HMI / OS link Operator panel OS and HMI software being mounted from PCMCIA Loop at 5 indicates the HMI image cannot be read or the PCMCIA card is intermittently failing
6 Ready NCK running, HMI connected, system accepting operator input Normal idle state
8 Update mode Firmware update in progress (S3 = specific position) Do not power off; do not clear while 8 is shown

Interpretation of the observed loops:

  • 1-2-5-1-2-5 loop — the CCU POSTs successfully (1), reads the PCMCIA card directory (2), and starts loading the HMI/OS image from the card (5). It then restarts. The NCK image is not the failure point; the HMI image or the card itself is.
  • 5-2-1 loop — same root cause from a different observation angle. Step 5 cannot complete, so the loader reverts to step 1 and re-attempts the full boot.
  • Stuck on "4" with HMI waiting — the CCU has loaded the NCK and is broadcasting, but the HMI's MMC 102/PCU20 cannot establish the named-pipe or TCP link to the NCK. Causes include: wrong HMI version on the PCMCIA, wrong NCK version on the CCU, mismatched PLC, MMC boot block damaged, or the PCMCIA card's HMI directory being corrupt.

4. Root Cause Analysis

Combining the two observed states yields a small set of root causes. Rank them by probability based on the symptom set.

# Likely cause How to confirm Probability
1 PCMCIA system card has a corrupt sector, bad contact, or wrong content for this CCU version Read the card on a PC using a PCMCIA-to-IDE or PCMCIA-to-USB adapter; check mmc2 directory; chkdsk the FAT16 partition; reseat the card High (the leading cause in the source case)
2 CCU battery (3 V lithium, type CR2032 or BR2032) has expired, erasing buffered NCK machine data and/or PLC retentive flags Measure battery voltage on a powered-down CCU after 30 minutes; should hold > 2.7 V. Already replaced once in this case — confirm the new cell is good and correctly oriented High when the battery is > 5 years old
3 HMI / NCK / PLC version mismatch after a partial reload Compare the version on the HMI splash (only visible when the HMI gets past stage 5) with the NCK version printed on the CCU label Medium — only relevant if a partial restore was performed
4 CCU module hardware fault (RAM, FPGA, or flash) If the 1-2-5 loop persists with a known-good, freshly imaged PCMCIA card, the CCU itself is suspect Medium — escalates after a good card has been confirmed
5 PLC base program corruption (cleared but not yet reloaded) Connect a PG with STEP 7 to the MPI port; check the PLC diagnostic buffer for OB100 / OB102 errors Medium — typical after the clear procedure in the source case
6 Backplane or ribbon cable fault between PCU20 and CCU Reseat the MPI/Profibus cable between PCU and CCU; inspect the ribbon for bent pins Low

5. Pre-Procedure Safety and Prerequisites

Electrical and machine safety: Always isolate the main cabinet disconnect and verify zero energy on the DC bus before opening the operator panel or removing the CCU. The 810D powerline retains 24 V on the CCU for the buffered RAM; if you must pull the battery, leave mains power on for at least 10 seconds before removing the cell to allow the NCK to perform a clean shutdown. If you remove the cell with power off, RAM contents are lost.

Prerequisites before the Clear & Reload procedure:

  1. A working image of the system PCMCIA card for the specific controller. For an 810D powerline with ShopMill 6.2 and NCK boot V01.03.04, the card must contain the matching NCK directory tree (/nc), the HMI directory tree (/mmc2), and the PLC archive (/plc). The card must be formatted FAT16 with the Siemens-specific SYSTEM attribute set on the boot files.
  2. A blank or freshly formatted PCMCIA card of at least 16 MB (the 810D powerline ShopMill 6.2 image is approximately 8 MB compressed).
  3. A PG (programming device) with STEP 7 V5.x and the matching ShopMill commissioning tool installed, plus a serial / MPI cable for PLC debug access.
  4. The machine's commissioning archive (NC machine data, compensation tables, tool magazine table, PLC program backup) — the original startup file set supplied with the machine at delivery.
  5. The exact MLFB of the CCU and the PCU20 firmware on a label. For PCU20 the MLFB is in the form 6FC5210-0xxxxx-xxxx; the source case has 6FC5210-0DF00-0AA0.

6. NC and PLC Clear Procedure (Detailed)

The Clear & Reload procedure wipes the NCK static RAM (machine data, programs, tool data) and the PLC work memory. It does not touch the PCMCIA card. Run it only when you have a confirmed-good image to reload.

  1. Confirm S3 (rotary mode switch on the CCU front) is at position 0 and S4 is at position 0 before applying power. Power the cabinet on.
  2. Wait for the CCU POST to complete. The seven-segment will sequence 1, 2, 3, 4, 5. If it settles on 6, the system is up; the PLC clear is performed by setting the switch and resetting, not by a full power cycle.
  3. To clear the PLC only: set S3 to position 2, press and hold the Reset pushbutton on the CCU front for 5 s, then release. Watch the seven-segment; it should briefly display 6 with a fast-blinking PLC LED, indicating the PLC has been cleared. Return S3 to 0.
  4. To clear the NCK only: set S3 to position 1, power on, wait for the seven-segment to reach 6, then press Reset. Return S3 to 0.
  5. To perform a full clear (NCK + PLC), set S3 to 1, power on, wait for 6, press Reset, then cycle S3 to 2 and press Reset again. The seven-segment must reach 6 at each stage; if it does not, the CCU has not finished the previous step and the clear has not happened.
Source-case deviation: The operator's PDF (810D NC PLC Clear & Reload Procedure) steps 4 and 6 both expect the seven-segment to reach 6. In the source case, the seven-segment never reached 6 — it cycled 5-2-1. This means the clear could not complete because the firmware was already in a failed state. Do not continue toggling S3 in this situation; further toggling risks a non-recoverable state. Return S3 to 0, return S4 to 0, and proceed to the hardware diagnostics in section 8.

7. PCMCIA Card and Backup Restoration

The PCMCIA card (PC card, Type II, 5 V) holds the system image. A common failure mode is oxide on the contacts after long storage, or a soft sector failure after the card was last written months or years ago.

7.1 Card inspection and re-seat

  1. With the cabinet de-energised and locked out, open the CCU cover and press the ejector to remove the system card.
  2. Inspect the contact edge for oxidation, dust, or bent pins. Wipe with isopropyl alcohol (IPA, 99 %) and a lint-free swab. Allow to dry fully before reinserting.
  3. Reseat the card firmly. Power on and observe the seven-segment sequence.

7.2 Card image verification on a PC

  1. Read the card with a PCMCIA-to-USB or PCMCIA-to-IDE adapter on a Windows 98 / 2000 / XP machine (Linux with dd also works for raw image capture).
  2. Mount the FAT16 partition and run chkdsk /f to repair soft file-system errors.
  3. Verify the presence and size of these critical files:
    • mmc2\hmi.exe or mmc2\hmi_adv.exe — should be several MB.
    • mmc2\shopmill.lng or matching language file.
    • nc\nck.bin or nc\*.arc — the NCK runtime image.
    • plc\*.awl or plc\*.s7p — the PLC source archive.
  4. Compare file modification dates with the original commissioning record. A date in the 1990s is a strong indicator that the card has not been re-flashed since delivery and is the most likely source of corruption.

7.3 Card re-imaging from a known-good backup

  1. Use a card image captured at commissioning time, or download the matching image from the Siemens support portal (entry by MLFB and the controller's CF/PN order number). The image is delivered as a ZIP containing a raw card image (.img) or as individual files in the directory layout above.
  2. Write the image to a new PCMCIA card using the PCMCIA-to-IDE/USB adapter. Use a card of the same capacity and type as the original.
  3. Mark the new card with the controller's MLFB and the date.
  4. Insert into the CCU, power on, and observe the seven-segment. A healthy card brings the system to 6 in under 90 seconds.
Important: Do not write the image to the card with a modern Windows formatter (NTFS / exFAT) — the 810D powerline boot ROM only recognises FAT16 with the SYS attribute. Use a dedicated tool such as dd for raw write, or a Windows 9x / XP-era formatter.

8. CCU/NCU Hardware Diagnostics

If a freshly imaged, freshly seated card does not bring the CCU to 6, the CCU itself is suspect. The Siemens 810D powerline CCU contains the NCK, the PLC CPU, the PROFIBUS master, and the buffered SRAM. The following steps isolate the failure.

  1. Battery check — measure the 3 V cell on a powered-down CCU after 5 minutes. A voltage below 2.5 V indicates the cell has failed. The source case has already had the cell replaced; verify the new cell's voltage and the polarity. Reverse polarity destroys the buffered RAM interface IC.
  2. Power-rail check — measure the 5 V and 3.3 V rails on the CCU test points. The 5 V rail supplies the digital logic; ripple above 50 mV pk-pk indicates a failing bulk capacitor on the backplane.
  3. POST observation — with the card removed, power the CCU. The seven-segment should display 1 and remain there (no card means no stage 2). If the CCU does not reach 1, the CCU POST is failing → hardware fault, escalate to Siemens service.
  4. Single-card test — try a different, known-good PCMCIA card from a sister machine of the same age and software stack. If the second card also produces 1-2-5, the CCU is the problem.
  5. CCU module swap — if a spare CCU is available, swap it. The replacement must be loaded with the same NCK version (V01.03.04 in this case) and the same machine data file. Note that swapping the CCU breaks the calibration if the position encoder offsets are not transferred; a re-reference of all axes is required.

9. Battery (RAM Buffer) Replacement Procedure

The CCU battery maintains the buffered SRAM that holds the NC machine data, the tool table, the PLC retentive flags, and the part-program work memory. When the battery dies, the CCU boots with default machine data on the next power-up, which frequently causes alarms that prevent the NCK from advancing to stage 6.

  1. Power the cabinet on and allow the CCU to reach state 6 (or as far as it will go).
  2. Locate the lithium cell holder on the CCU PCB. The cell is a 3 V BR2032 or CR2032, with the positive terminal up.
  3. Using a non-conductive tool, lever the cell out of the holder. Wait 30 seconds; this allows the buffered SRAM supervisor to recognise the battery loss.
  4. Insert the new cell, positive terminal up, in a single smooth motion. The supervisor will report Battery alarm on the next HMI splash, which is cleared by acknowledging the alarm with the HMI's Cancel key followed by the NCK reset.
  5. Reload the NC machine data from the commissioning archive. If the archive is not available, regenerate it by hand from the machine's mechanical specification (ball-screw pitch, encoder resolution, axis travel limits, spindle ratios).

10. NCK Connection Wait State Recovery

When the HMI displays "Waiting for NCK connection: #.# seconds" and the seven-segment shows 4, the NCK is running but the HMI cannot bind to the NCK's communications port. Recovery:

  1. Confirm the seven-segment really is 4 (not 1, 2, or 5). Use a torch; the digit is small.
  2. Wait at least 60 seconds; the NCK may be performing the initial cyclic IPO synchronisation, which can take up to 45 s on a cold start.
  3. If the wait does not clear, the HMI's NCK-binding file is suspect. On the PCMCIA card, edit mmc2\netnames.ini and mmc2\dhcpd.cfg (or the equivalent for ShopMill 6.2) to confirm the NCK address matches the CCU. The default is 192.168.214.1 for the NCK and 192.168.214.241 for the PCU.
  4. Reboot the PCU only (not the CCU) by pressing the PCU reset button behind the operator panel door. The HMI re-launches and re-binds.
  5. If the bind still fails, the NCK's static machine data block may have been corrupted by the dead battery. Re-load the machine data per the commissioning archive (see section 5).

11. Verification and Commissioning Checks

After the controller reaches state 6, perform the following sequence before returning the machine to production.

Check Method Pass criterion
NCK version Read from HMI splash or cfgshow Matches the label on the CCU: V01.03.04
ShopMill version Read from HMI splash Matches the backup: 06.02.20 / 02
PLC version Read from HMI splash or STEP 7 Matches the backup: 06.03.14 / 01
Axis referencing Reference each axis in turn, check the actual position window All axes reach reference position within ±0.01 mm without alarm
Spindle warm-up Run the spindle at 0, 500, 1500, 3000, 6000 rpm for 30 s each No alarms, no vibration, current draw within nameplate
Tool changer dry run Cycle the magazine through a full tool-to-tool change three times No alarms, no tool-pocket-mismatch alarms
Coolant / chip conveyor Manual override each output All outputs respond, no thermal overload on contactors
Handwheel and feed override Jog an axis with the handwheel at 1×, 10×, 100× Smooth response, correct direction, override respected
Emergency stop chain Press each E-stop; reset; confirm restart possible All E-stops drop the contactors; reset is acknowledged cleanly
Battery voltage after 24 h soak Power down for 24 h, then measure the cell voltage > 2.9 V after 24 h indicates a healthy cell

12. Field Notes and Escalation Path

  • Don't trust the LED colour alone. A green LED on the PCU only means the PCU BIOS has finished POST; the HMI is a Windows application that can still be hung. The seven-segment on the CCU is the ground truth.
  • Don't repeat the Clear & Reload procedure on a 1-2-5 loop. The clear cannot complete, and repeated toggling of S3 can leave the CCU in a state that requires a service bench to recover.
  • Capture the splash text before doing anything else. The text is overwritten as soon as the HMI starts. Photograph the screen on the first 10 seconds of every power-up.
  • Keep a clone of the original PCMCIA card on file. A 16 MB card is a small price for a guaranteed recovery path.
  • Document the CCU's NCK and PLC versions on the cabinet door. When a fault recurs years later, the on-cabinet note saves the next engineer's first 30 minutes.
  • Escalation: When the 1-2-5 loop persists with a confirmed-good, freshly imaged card, escalate to your local Siemens service centre with the CCU MLFB, the PCU20 MLFB, the NCK version, the ShopMill version, and the PLC version. A CCU repair / exchange is the most likely outcome. The Siemens support portal is the authoritative entry point for the latest service notes and spare-part availability: support.industry.siemens.com.

What does the 5-2-1 cycle on the 810D powerline seven-segment display mean?

It means the CCU is restarting because the HMI / OS image on the PCMCIA card is unreadable, corrupt, or absent. The CCU passes POST (1), enumerates the card (2), fails to load the HMI image (5), and loops. The fix is to reseat, re-flash, or replace the PCMCIA card with a known-good image for your NCK version.

Why does the HMI show "Waiting for NCK connection" while the seven-segment shows 4?

The CCU has loaded the NCK and is broadcasting on its address (default 192.168.214.1), but the HMI cannot bind. Causes include a corrupted NCK machine-data file (typically caused by a dead battery), a mismatched HMI version on the PCMCIA card, or a damaged MPI / Ethernet cable between the PCU and the CCU. Reload the commissioning archive and re-flash the card.

How do I clear the NC and PLC on a Sinumerik 810D powerline?

With S3 at 0 and power off, set S3 to 1, power on, wait for the seven-segment to reach 6, press Reset, then set S3 to 2 and press Reset. Return S3 to 0. The seven-segment must reach 6 at each step; if it does not, the clear cannot complete and the procedure must be abandoned in favour of card and battery diagnostics.

What battery does the 810D powerline CCU use and how is it replaced?

The CCU uses a 3 V lithium cell, type BR2032 or CR2032, positive terminal up. Replace with power on if possible, or with power off if the cell has already failed. The buffered SRAM will lose contents on a power-off replacement, so reload machine data from the commissioning archive after the swap.

Where can I find the correct PCMCIA image for my 810D powerline?

Match the image to the NCK version printed on the CCU label (V01.03.04 in the source case) and the ShopMill version (06.02.20). The image is available from the Siemens support portal by searching on the CCU MLFB and the controller's order number. The ShopMill 6.4 functional reference is at support.industry.siemens.com.

Back to blog