Troubleshooting SIMOTION D425-2 STOP-U CF Corruption Recovery

David Krause16 min read
Motion ControlSiemensTroubleshooting
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

Troubleshooting SIMOTION D425-2 STOP-U Caused by CompactFlash Corruption

A SIMOTION D425-2 motion controller that powers up, displays the splash screen on its connected HMI, and then halts in the STOP-U operating state is exhibiting a classic CompactFlash (CF) corruption symptom. This guide covers diagnostic buffer interpretation, the underlying failure mechanism, the CF replacement procedure, FAT32 preparation requirements, and the recovery sequence to bring the machine back to RUN. The procedures below apply to D425-2 DP and D425-2 PN variants of the SIMOTION D4x5-2 family; refer to the SIMOTION D4x5-2 Operating Instructions for variant-specific mechanical and electrical detail.

1. Problem Overview

The reported field scenario is repeatable and recognizable:

  • Machine installed for over a year and running reliably with daily power-off / power-on cycles.
  • One morning, after a normal power-on, the SIMOTION D425-2 halts at STOP-U instead of transitioning to RUN.
  • The WinCC flexible HMI displays its splash page but cannot establish data exchange with the controller.
  • Inspection of the CF card shows mixed file timestamps — files stamped 1999 sitting next to files stamped 2014 — a strong fingerprint of filesystem-level corruption.
  • No recent changes were made to the SIMOTION project or to the HMI project.

STOP-U is documented in the SIMOTION D4x5-2 Operating Instructions as the state the controller enters when an internal error makes it impossible to enter a defined operating state. The controller still boots — CPU, firmware, and technology packages begin to load — but cannot complete startup and refuses to start the user program.

Field note: A SIMOTION that "still boots but does not come RUN" almost always points at the boot medium (CF on D4x5-2; SD on newer revisions) or at the project data stored on that medium. Treat the CF as suspect until proven otherwise.

2. SIMOTION D425-2 Hardware and CompactFlash Architecture

The D425-2 belongs to the SIMOTION D4x5-2 family — modular PC-based motion controllers that combine a SIMATIC base architecture with the SIMOTION runtime and motion technology packages. The D425-2 DP variant carries a PROFIBUS interface; the D425-2 PN variant adds PROFINET. Both ship with a CompactFlash card seated in a dedicated slot on the front of the module. The pre-assembled spacers shipped with D4x5-2 DP and D435-2 DP can be removed if the cabinet geometry requires it — see the operating manual for the mechanical procedure.

The CF card is the boot medium. It carries:

Contents on CF Function
SIMOTION runtime / firmware image Operating system load at power-on
Technology packages (TP) Motion, cam, gearing, path, temperature-control functionality
User project (ST, LAD/FBD, MCC, DCC sources) Compiled into execution lists and IPO/task configuration
Configuration / topology data IO assignment, drive / axis assignments, PROFIBUS / PROFINET topology
Persistent data / remanents Retain variables, NV data, cam switching points
Diagnostic and log buffers Field-service access

If any one of these areas is corrupted, the SIMOTION kernel can refuse to enter RUN. The "operating mode transition not possible" condition then manifests as STOP-U.

3. STOP-U Operating State Explained

SIMOTION defines a small family of operating modes. The ones most often confused during recovery are listed below.

Mode Meaning Typical cause of entry
RUN User program executing, axes enabled as configured Normal state after successful startup
STOP User program halted, drives disabled or in a safe state Operator STOP, mode selector in STOP, fault, SDB-load error
STOP-U Cannot enter an operating mode — startup failed CF read error, project corrupt, TP missing, config invalid
STOP-A Operating-mode transition acknowledged but not yet executed Transient state during RUN → STOP
STARTUP Boot sequence in progress Power-on or restart transition
HOLD / DEBUG Test mode used by SIMOTION SCOUT during commissioning SCOUT-controlled test

The crucial diagnostic distinction: STOP means the controller is operational but a defined condition forced it to halt. STOP-U means the controller is operational but cannot complete the transition into a defined operating state — the user program cannot be started because prerequisites are missing or unreadable.

4. Root Cause Analysis

Several mechanisms can drive the D425-2 into STOP-U. For a machine that has been running reliably for a year and that was not reconfigured by anyone, narrow the investigation to:

4.1 CF card wear-out or media failure

Industrial CF cards have a finite write-cycle budget and a finite read-disturb lifetime. SIMOTION writes diagnostic data and persistent variables to the CF during normal operation. After tens of thousands of power-on / power-off cycles (the field scenario is "every evening off, next morning on" — already > 700 cycles per year plus weekend / storage gaps), the controller card can cross the wear threshold. Once spare blocks are exhausted, write failures start corrupting the FAT32 metadata.

4.2 Improper power-down

If the machine was stopped with the cabinet main switch instead of a controlled shutdown of the SIMOTION runtime, in-flight writes to the CF were truncated. FAT32 metadata updates are a common victim: a directory entry, allocation-table cluster, or the boot sector can be left inconsistent. Cold pulls during heavy diagnostic logging are the worst-case scenario.

4.3 Mixed file timestamps (the 1999 / 2014 fingerprint)

Files stamped 1999 indicate residual data from the original Siemens imaging or test environment. Files stamped 2014 (or another recent year) indicate the live project. When the kernel's CF scanner reads the directory and finds entries that point back to bad clusters, or sees project files older than the firmware expects, the load fails. The 1999 stamp is a useful forensic marker because no Siemens factory image has shipped with 2014-era files, so any file dated 1999 next to a current file is by definition inconsistent.

4.4 File-system integrity loss

FAT32 has no journal. After an unclean shutdown, the FAT itself can become internally inconsistent. Some files appear intact; others are unreachable; subdirectories become garbage. The SIMOTION kernel reads the project files in a specific order — when one of those files fails to open with a valid cluster chain, it raises STOP-U.

4.5 Incompatible or aged firmware image on the CF

If the controller was upgraded in the field, or if the CF was replaced with a card carrying a different firmware version than the controller hardware expects, the boot sequence can halt in STOP-U. Verify with the diagnostic buffer whether the loaded firmware matches the controller type and whether the technology package version on the CF matches the project.

4.6 Hardware fault not on the CF

Before discarding the CF, also consider:

  • Loose or oxidized CF connector (cold joint, vibration, repeated insertion cycles).
  • Power-supply dips on the 24 V backplane rail during startup.
  • Memory error inside the D425-2 (rare, but the kernel reports it as a load failure).
  • Missing or displaced pre-assembled spacers causing a backplane contact issue.

5. Diagnostic Buffer Interpretation

Connect SIMOTION SCOUT (or TIA Portal with the SIMOTION add-in) to the D425-2 over PROFIBUS, PROFINET, or Ethernet and read the diagnostic buffer. The buffer is non-volatile across power cycles. Key entries to look for in a STOP-U after CF trouble:

Diag buffer text fragment Interpretation
"STOP → STOP-U transition" Kernel tried to enter RUN or STOP but prerequisites failed
"Error reading project file …" Specific file on CF unreadable (often under /USER/SIMOTION/…)
"Technology package load failed" TP file corrupted or version mismatch
"Filesystem error on boot medium" FAT32 structure inconsistent
"Mode selector = STOP" Hardware selector is in STOP — must be RUN for transition
"FW / project version mismatch" Cross-version incompatibility between firmware on CF and runtime
"STOP due to …" Active STOP (not STOP-U); resolve the listed cause, then re-RUN
"Configuration error" / "SDB load error" IO / drive assignment mismatch; check topology export

The diagnostic buffer also captures time stamps and sequential event IDs. Read the entries from bottom (oldest) to top (newest) to reconstruct the boot sequence. The exact event IDs are documented in the SIMOTION diagnostic list — search the entry text against the operating manual.

Field tip: If the buffer shows the controller exiting STARTUP, attempting to load the project, then dropping to STOP-U with an "Error reading project file" entry, the CF is the prime suspect. If the buffer shows STARTUP dropping straight to STOP-U with no project-load entries, suspect firmware / configuration first.

6. Mode Selector Switch Considerations

The SIMOTION D4x5-2 faceplate carries a physical mode selector. The exact label set varies by firmware revision; the standard positions and their effect are:

Position Behaviour
RUN Controller is allowed to enter RUN after startup
RUN-P RUN allowed, plus write access from PG (password protected)
STOP Controller forced to STOP, no transition to RUN
MRES Memory reset — one of the recovery sequences

If the diagnostic buffer logs "Mode selector = STOP" as one of its most recent entries, the selector is physically in STOP. Even with a healthy CF and a valid project, the controller cannot enter RUN. Confirm the physical position before doing anything else. STOP-U + mode-selector-in-STOP is a user / installation configuration mistake, not a CF failure.

For the reported case, the diagnostic buffer line referencing the mode selector is an additional constraint that needs to be checked at the panel. It does not replace the CF diagnosis, but it must be ruled out before a CF swap is treated as resolved.

7. HMI Communication Verification

A second symptom that surfaces with STOP-U is the WinCC flexible (or TIA WinCC) HMI showing the splash page and then failing to communicate. Investigate in this order:

  1. HMI ↔ Controller connection: Confirm the physical cable, the IP / PROFIBUS address of the HMI, and the connection point configured in the WinCC project. A connection that worked yesterday can fail today if the HMI firmware re-tried an old default route or if a network device on the path was restarted.
  2. WinCC flexible version-check option: In the WinCC flexible project properties there is an option to bypass the version-consistency check between the HMI-compiled SIMOTION data and the runtime SIMOTION project. When bypass is enabled, the HMI will load a project whose compiled SIMOTION data no longer matches the runtime, which can lead to undefined overwriting of SIMOTION memory and apparent communication loss.
  3. Connection retries and timeout: Increase the connection timeout on the HMI side temporarily while diagnosing. If the HMI shows "Connection to controller failed", capture the diagnostic buffer from the HMI itself — many HMI faults log with timestamps that correlate with the controller's STOP-U event.
Caution: Never enable the version-bypass on a production machine and never leave it enabled. It masks a real consistency check. If the SIMOTION project was modified after the HMI was compiled, recompile and re-deploy the HMI project instead.

8. CompactFlash Card Replacement Procedure

Replacement is the recommended recovery path for confirmed CF corruption. Industrial-grade CF cards from Siemens (or third-party CF cards tested and approved per the SIMOTION manual) are accepted.

8.1 Prerequisites

  • Backup of the current SIMOTION project (SCOUT archive / TIA Portal archive, including the compiled SIMOTION project as a ZIP).
  • Backup of the current HMI project.
  • New CF card, type compatible with the D425-2 slot. Verify the slot type — most D4x5-2 variants use CF type I or type II; do not substitute without checking.
  • CF card reader with FAT32 capability.
  • ESD wrist strap and a clean, static-safe work surface.
  • PG / laptop with SIMOTION SCOUT (or TIA Portal with the matching SIMOTION add-in) installed and licensed.
  • Cabinet-drawing copy with controller serial number and project number.

8.2 Procedure

  1. Power down the cabinet following the controlled-shutdown sequence. Wait for the SIMOTION status LEDs to go dark.
  2. Apply the ESD wrist strap. Open the CF slot cover on the D425-2 faceplate.
  3. Press the eject button to release the existing CF card. Remove it slowly along the slot axis — do not pry.
  4. Inspect the slot pins for bent or recessed contacts. Use a magnifier. Re-seat only if no pins are damaged.
  5. Take the suspect CF card out and label it (date, controller serial, symptom). Do not zero it yet — preserve it for the next step.
  6. Insert the new CF card into the slot, label up, contacts down, until the eject button pops up. Confirm it is fully seated.
  7. Close the slot cover and power the cabinet back up.
  8. The D425-2 will boot but will likely enter STOP-U because the new CF is blank. This is expected.

9. FAT32 Preparation, TP / Firmware Matching, and Project Restoration

9.1 FAT32 requirement

The SIMOTION runtime on D4x5-2 expects a FAT32-formatted CF. exFAT and NTFS are not supported. Cluster size should remain at the default for the card capacity (typically 32 KB clusters on 4–16 GB cards). Do not enable NTFS-style compression or any third-party journaling extension.

9.2 Technology-package and firmware version matching

Before loading the project back onto the new CF, verify three version numbers against the controller hardware and the cabinet drawing:

Item Where to read it Must match
Controller firmware version SCOUT → Target system → Accessible nodes → device info, or diagnostic buffer Firmware image baked into the CF
Technology package version(s) SCOUT → project tree → Technology packages, or /TP/ directory on CF TP version compiled into the user project
SIMOTION SCOUT project version SCOUT → project → Properties Same SCOUT build that originally compiled the project

If the firmware image on the new CF is newer than the SCOUT project was compiled against, recompile the project in SCOUT before download. If it is older, upgrade the CF firmware first using SCOUT's online firmware update. A TP / firmware mismatch is itself a STOP-U trigger.

9.3 Restoration via SCOUT / TIA Portal

Two paths are available:

Path A — Re-load the project from the SIMOTION SCOUT archive

  1. Open SCOUT and connect to the D425-2 over Ethernet (refer to the operating instructions for the default IP / subnet).
  2. Right-click the controller → "Target system" → "Load" → select the matching project archive (.zip).
  3. Accept the prompt to overwrite the CF contents.
  4. SCOUT writes the runtime files, the compiled SIMOTION project, the technology packages, and the configuration.
  5. Restart the controller.

Path B — Image from the old CF (only if it is partially readable)

  1. Mount the suspect CF in a USB reader on the PG.
  2. Run chkdsk /f on the FAT32 volume to attempt a repair. This step is for diagnostics only — do not consider the result safe enough to keep using the card.
  3. Copy the directory tree (especially /SIMOTION/, /USER/, /TP/, /cfg/) to a local staging folder.
  4. Run an offline file-system check: every project file should open. Any file that returns a CRC error or zero-length is unrecoverable and must be taken from the SCOUT archive.
  5. Burn the cleaned tree onto the new CF using a tool that preserves FAT32 metadata (e.g., dd or a sector-by-sector cloner), then run chkdsk /f once more on the new card.
Recommendation: Path A is preferred for production. Path B is acceptable only when the SCOUT archive is unavailable and the suspect CF is mostly readable.

9.4 Verification before commissioning

  • CF card filesystem is FAT32 (cluster size matches expectations).
  • SCOUT project matches the cabinet serial / project number printed on the cabinet drawing.
  • Technology-package versions match the controller type and firmware version.
  • No file on the new CF is dated earlier than the firmware image date.
  • WinCC project version matches the deployed SIMOTION project.

10. Verification and Commissioning

After replacing the CF and restoring the project, verify in this sequence:

  1. LED state. The D425-2 status LED transitions from STOP (steady) to RUN (steady green). Intermediate flashes during STARTUP are normal; a continuous fast-flash indicates ongoing startup trouble.
  2. Diagnostic buffer at clean boot. Read the buffer in SCOUT. The most recent entries should be STARTUP → STOP (mode selector STOP) or STARTUP → RUN. There should be no new STOP-U entries after the CF swap.
  3. HMI connection. The WinCC flexible HMI should establish its connection within its configured retry timeout. If communication still fails, check the connection settings in WinCC and the IP / PROFIBUS address.
  4. Axis enable. Enable one axis at a time from SCOUT test mode (HOLD), verify the encoder and drive commutation, then exit HOLD to RUN.
  5. User-program execution. Watch the cyclic-task statistics (in SCOUT: Task Trace or Task Profiler) for any task overrun. A clean CF does not introduce overruns, so any new overrun indicates a residual project / drive configuration issue.
  6. Persistent / remanent data. Confirm retain variables are within expected ranges. If the CF swap reset them to defaults, restore from backup.
  7. Functional safety check. Validate STO / SS1 / SLS functions per the machine safety circuit before returning to production.

11. Preventive Measures

Once the machine is running, apply these measures to reduce the chance of a recurrence:

  • UPS on the controller power supply. Ride out short mains dips without corrupting in-flight writes.
  • Controlled shutdown sequence. Drive the SIMOTION to STOP via the HMI or via a controlled cabinet routine before opening the main isolator.
  • Industrial-grade CF card. Use a card with a published wear rating (e.g., SLC or pSLC, not consumer MLC / TLC). Siemens lists approved cards in the operating instructions.
  • Periodic backup. Pull a SCOUT archive every commissioning change and store it version-controlled.
  • Diagnostic buffer review. Schedule a quarterly review of the diagnostic buffer on each machine. A trend of "filesystem error" entries before any STOP-U is an early warning.
  • Cabinet environment. Temperature, humidity, and vibration inside the cabinet accelerate CF connector wear and CF solder-joint fatigue. Validate against the D4x5-2 environmental spec.
  • Replace CF on schedule. For machines that cycle daily, plan a CF replacement at the 3-year mark regardless of symptoms — the wear is silent until it is not.
  • Document the recovery. Keep the SCOUT archive, the diagnostic buffer export, and a photo of the faceplate with the new CF in the machine's documentation folder.

For plants that are standardising their motion controllers, also review the migration guidance for users moving off SIMOTION D4x5-2 to the SIMATIC Drive Controller family, which uses an SD card instead of CF. Migration affects only future machines — existing D425-2 fleets still require the recovery procedure above when a CF fails. See the migration notes from Siemens TIA Portal documentation.

12. Frequently Asked Questions

What does STOP-U mean on a SIMOTION D425-2?

STOP-U is the "operating mode transition not possible" state. The kernel can read the CF and load basic firmware, but it cannot complete the transition into RUN or STOP because the project, technology package, or filesystem on the CF is unreadable or invalid.

Is STOP-U the same as STOP?

No. STOP means the user program is halted on purpose or because of a defined fault, but the controller can be re-started cleanly. STOP-U means the controller cannot complete startup — the user program was never loaded. Treat STOP-U as a boot failure, not as an operational fault.

Can I repair the corrupted CF instead of replacing it?

Sometimes. Run chkdsk /f on the suspect card and inspect the file tree. If every project file opens and chkdsk reports no orphan clusters, the card may be usable for recovery on a non-production bench. For production use, replace the CF — a card that has corrupted once has reduced write-cycle margin and is likely to fail again.

Does the D425-2 require a Siemens-branded CF card?

Siemens publishes a list of approved CF cards in the operating instructions. Industrial-grade cards from other manufacturers are accepted if they appear on the list and are formatted as FAT32. Consumer cards (MLC / TLC, no published wear rating) are not recommended for daily power-cycled installations.

Why is the WinCC flexible HMI showing the splash but not communicating after the D425-2 entered STOP-U?

The HMI starts independently of the SIMOTION runtime. Once the splash is up, it tries to open its configured connection to the controller. If the controller is in STOP-U and not serving requests, the HMI connection retries until timeout. Check the HMI's own diagnostic log for the timeout timestamp, then confirm the controller mode in SCOUT.

Back to blog