Resolving Siemens S120 p0103 Database Structure Error

David Krause13 min read
SiemensTroubleshootingVFD / Drives
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

Resolving the Siemens S120 p0103 "Database – Structure Error" on CU320-2DP

The Siemens SINAMICS S120 drive platform occasionally reports fault F0103 / parameter (00) p0103 "Access error: Database – structure error" on the AOP30 advanced operator panel. When this fault appears, the drive reverts to commissioning mode and previously saved parameter sets are deleted from non-volatile memory. This article documents the root cause, the diagnostic parameters that must be inspected, and the field-proven recovery procedure for systems built around two CU320-2DP control units with multiple Sensor Modules (SMM / SMC) and an Active Line Module (ALM).

1. System Topology Affected by the Fault

The reported configuration is typical of a multi-axis S120 line-up:

Slot / Position Module Function
CU 1 (Controller 1) CU320-2DP Master for ALM + 2 SMM (Sensor Modules)
Line infeed Active Line Module (ALM) Regenerative line supply
CU 1 motors 2x SMM Drives 1 and 2
CU 2 (Controller 2) CU320-2DP Master for remaining 3 SMM
CU 2 motors 3x SMM Drives 3, 4, and 5
Operator panel AOP30 (and possibly BOP20) Parameterisation and diagnostics

The drive is a VVVF (Variable Voltage Variable Frequency) arrangement. Both CU320-2DP control units run DRIVE-CLiQ and the parameter set is stored on a CompactFlash (CF) card inserted in each CU.

2. The p0103 Fault – What It Means

Parameter p0103 is the "Application-specific view of an existing drive object, stored in non-volatile memory." In other words, p0103 indexes the view used to display or interpret a drive object. It is a read/write access that must agree with the project structure on the CF card.

When the firmware detects that the stored project on the CF card no longer matches the current drive object layout (an inconsistency between the active firmware view and the database on the non-volatile media), the system raises:

F0103 / A0103
Parameter (00) p0103 Access error
Database – structure error

The drive then automatically transitions to commissioning mode and clears the runtime parameter image, because the integrity of the parameter database can no longer be guaranteed.

Critical field note: In the reported case, the fault appeared twice in a single week, and always after a power restoration following maintenance work. This timing is the strongest indicator that the CF card database is being corrupted during power-down/power-up rather than during normal operation.

3. Root Cause Analysis

For the S120 platform the most common root causes of an F0103 / A0103 after a power cycle are, in order of frequency:

  1. Corrupted CF card file system – the FAT/FAT32 structure on the CF card contains a write that was interrupted by the power loss.
  2. AOP30 internal battery low / dead – the AOP30 keeps a small parameter copy; if the lithium cell is flat, the panel will boot in commissioning mode and can request an incorrect view of the drive object database.
  3. Project – firmware mismatch – the CF card contains a project saved with a different STARTER / SCOUT version or SINAMICS firmware version than the CU is now running.
  4. Loose or contaminated CF card contact – vibration in the cabinet can lift the CF card briefly during power restoration, producing partial writes.
  5. AOP30 ↔ CU handshake failure – if the AOP30 is plugged in at the moment of boot and the handshake fails, the CU may default to commissioning mode.
  6. End-of-life CF card – industrial CF cards have a finite write-cycle count. Once the wear counter is exhausted, sectors fail and the database becomes inconsistent.

4. Diagnostic Parameters to Inspect First

Before touching the hardware, read the following parameters from each affected drive object (Control Unit and every Drive Object):

Parameter Meaning Required value Action if not 0
r0002 Current drive state / operating display Should not indicate commissioning Identify which drive object is in commissioning
p0009 Device commissioning parameter filter 0 = Ready Set to 0, save, and POWER ON
p0010 Commissioning parameter filter 0 = Ready Set to 0, save, and POWER ON
p0103 Application-specific view of DO Must match project Re-load project from CF / STARTER
r3996 Commissioning status word 0 = complete Re-run commissioning

The rule is simple: CU and every Drive Object must show p0009 = 0 and p0010 = 0. If any drive object is sitting in a commissioning filter (typically 1, 2, 3, 4, 5, 15, 29, 30), the control unit is held in commissioning mode and the parameter image is treated as volatile.

Rule of thumb: p0009 controls the level (1 = quick, 2 = motor, 3 = encoder, 4 = open-loop, 5 = closed-loop, 15 = data sets, 29 = only Siemens-internal, 30 = parameter reset). p0010 controls the group. Both must be 0 to leave commissioning mode.

5. Step-by-Step Recovery Procedure

Execute the following sequence in order. Stop after each step and observe whether the fault reappears after the next power cycle.

Step 1 – Isolate the AOP30

  1. Power down the cabinet and the drive DC bus.
  2. Unplug the AOP30 from the CU320-2DP front port.
  3. Power the cabinet back up and observe the RDY and COM LEDs on the CU.
  4. If the drive now boots into RUN with no F0103, the AOP30 is the source of the corruption. Replace the AOP30 internal lithium battery (type CR2032, every 3-5 years) and re-evaluate.

Step 2 – Verify the AOP30 / BOP20 Battery

If the AOP30 is older than 3 years, or if the cabinet has been in ambient >40 °C, replace the AOP30 backup battery regardless of the test result. A weak AOP30 will force commissioning mode every time mains returns.

Step 3 – Back Up and Quick-Format the CF Card

WARNING – DO NOT FULL-FORMAT THE CF CARD. A full format writes zeros to every sector and destroys the SINAMICS boot image, license key, and STARTER project archive. Recovery is then only possible with the original commissioning file from Siemens or a backup of the project.
  1. Power down. Remove the CF card from CU 1 and CU 2.
  2. Insert each CF card into a read-only card reader and copy the entire card content (including hidden files and the /OEM, /USER, /SINAMICS, and /SAVE directories) to a PC folder named with the date and CU serial number.
  3. Re-insert the CF card and perform a QUICK format (FAT32, default allocation unit size). Do not select "Quick Format" if the option is greyed out – use the Windows / Linux quick format equivalent.
  4. Copy the backed-up project files back to the root of the CF card. Verify that the file OEM.SINAMICS (or the project archive) is present at the root.
  5. Re-seat the CF card in the CU and power up.

Step 4 – Re-Download the Complete Project

If a STEP 7 / TIA Portal / STARTER project archive is available, perform a complete download to the CU via PROFIBUS (DP), PROFINET, or Ethernet:

  1. Open the original STARTER / SCOUT project that matches the SINAMICS firmware version stamped on the CU320-2DP label (the firmware version is also readable in parameter r0018 on a healthy CU).
  2. Connect to the CU with the correct PG/PC interface.
  3. Right-click the drive and select Download → Download to target device. Tick Download with consistency check and select Download after assembling the project (incl. DCC charts).
  4. Save the project to the CF card (Copy RAM to ROM equivalent in STARTER, or Save to non-volatile memory from the AOP30 menu).
  5. Perform a POWER ON of the CU. The CF card now contains a freshly written, consistent project.

Step 5 – Verify the Commissioning State

After the download, check on every drive object:

// STARTER / SCOUT expert list
p0009 = 0
p0010 = 0
p0103 = 
r0002 = "Operation – ready to run" (typical code "S2")
r3996 = 0

If all DO show p0009 = 0 and p0010 = 0, the drive will leave commissioning mode and the F0103 / A0103 will clear.

Step 6 – Replace the CF Card (if the Fault Recurs)

If the F0103 returns within two further power cycles, the CF card has exhausted its write-cycle budget or has a bad block. Order a replacement of the same Siemens part number (typical S120 CF card PNs: 6SL3054-0xx00-1BA0 family). Write the latest project image to the new card, then install.

6. Verification Checklist After Recovery

Test Acceptance criterion Tool
LED status on CU320-2DP RDY = green steady, COM = green or off Visual
Alarm buffer No F0103 / A0103 entries STARTER / AOP30 Diagnostics
Parameter p0009 / p0010 0 on CU and every DO Expert list
Motor rotation test Each of the 5 motors accelerates to setpoint with no fault Jog from AOP30 or PLC
DRIVE-CLiQ diagnostics No topology errors on any SMM / SMC r0148 / r7820
Power-cycle soak test 3 cold starts in a row with no F0103 Manual / PLC controlled
AOP30 presence detection Cabinet boots identically with AOP30 attached and removed Functional test

7. Preventive Measures

  1. Always execute "Copy RAM to ROM" before power-down. A pending volatile write that is interrupted is the single most common cause of database corruption on S120.
  2. Maintain a versioned backup of every CU's CF card image. A monthly image to an external PC and a project archive to the engineering server is the recommended minimum.
  3. Lock the CF card in the CU with the captive screw to prevent vibration-induced partial contact.
  4. Replace the AOP30 battery on a fixed schedule (3 years maximum, 2 years in hot cabinets).
  5. Keep STARTER / SCOUT and the SINAMICS firmware version in lockstep. Mixing firmware versions across the project, the CF card image, and the CU's installed firmware is a frequent source of p0103 mismatches.
  6. Avoid the AOP30 during power-up if the panel is in poor condition. Boot the CU first, then connect the AOP30.
  7. Cap the number of power cycles. Each power cycle stresses the CF card's flash. If the application cycles daily, plan to replace the CF card every 3-5 years.

8. Related Fault Codes and Parameters

Code / parameter Meaning Relationship to F0103
F0103 Access error – database structure error The fault itself
A0103 Alarm counterpart of F0103 Indicates inconsistency before becoming a fault
F0102 Access error – non-volatile memory fault Indicates a write failed, can precede F0103
F0101 Firmware / hardware version mismatch Often seen together with F0103 after firmware update
F0130 License missing for runtime function Re-load the license CF card or use the License Key manager
p0009 Device commissioning parameter filter Must be 0
p0010 Commissioning parameter filter Must be 0
r0002 Current operating display Cross-check for commissioning state
r0018 Firmware version of CU Cross-check with CF card project
r3996 Commissioning status Must be 0 = commissioning complete
r9400 / r9401 BO / DO configuration fault Use to find which DO is in commissioning

9. Hardware-Only Quick Reference

Component Part number (typical) Service life / interval Failure mode if ignored
CU320-2DP 6SL3040-1MA00-0AA0 / -1AA1 Indefinite Rare; replace CU if memory IC fails
CF card (S120) 6SL3054-0xx00-1BA0 family ~5 yr or 100 k write cycles F0103, F0102, file system corruption
AOP30 battery CR2032 (3 V) 3-5 yr AOP30 boots empty, requests commissioning
ALM (Active Line Module) 6SL3130 / 6SL3330 family 10+ yr Not a p0103 cause; check separately
SMM / SMC 6SL3055-0AA00-5xxx family 10+ yr DRIVE-CLiQ fault, topology error
Disclaimer on part numbers: The catalog numbers above are typical for the S120 platform, but the exact revision depends on the firmware version stamped on the CU's nameplate. Always cross-check with the current Siemens Industry Mall selection or the SINAMICS S120 Function Manual before ordering.

10. Commissioning-Mode Re-Entry – What Not to Do

When the drive reverts to commissioning mode after F0103, the temptation is to immediately run a factory reset. Avoid the following operations until the database integrity is restored:

  • Do not execute p0010 = 30 (parameter reset) on the CU. This will wipe the project before you have a backup of the corrupted state.
  • Do not run a full format of the CF card. The license key and the SINAMICS boot image are stored in reserved sectors that are visible only to the CU.
  • Do not unplug the DRIVE-CLiQ cables while the CU is powered. The topology is written to the CF card on every successful boot.
  • Do not perform a firmware update on a CU that is in F0103. The update requires a consistent parameter database to succeed.

11. Field-Commissioning Notes for the Reported Topology

For the specific configuration (2x CU320-2DP, ALM + 5 SMM, AOP30), the post-recovery steps should be executed in the following order to avoid additional faults:

  1. Power up CU 1 alone with the AOP30 disconnected. Verify the ALM and the 2 SMM are visible in STARTER.
  2. Power up CU 2 alone. Verify the 3 SMM are visible.
  3. Connect the AOP30 to CU 1 and verify the menu hierarchy shows the ALM and the 2 SMM.
  4. Move the AOP30 to CU 2 and verify the 3 SMM are visible.
  5. Issue a single Save to non-volatile memory on each CU from the AOP30 menu or via STARTER.
  6. Perform the 3-cycle power-on soak test from the verification checklist.

This staged power-up isolates any single-CU or single-DO issue before both CU320-2DP units are exercised together.

12. Summary

The "p0103 Access error: Database – structure error" on a CU320-2DP-based SINAMICS S120 system is almost always a sign of CF card file system corruption, a flat AOP30 battery, or a project / firmware mismatch. The diagnostic centre of gravity is the trio p0009, p0010, r0002: if these are 0 / "Ready" on every drive object, the database is consistent and the drive will leave commissioning mode. If any drive object is still in commissioning, the project must be re-loaded and saved. Use a QUICK format only on the CF card, and replace the card entirely if the fault recurs after the project has been re-loaded.


What does p0103 actually do on a Siemens S120 CU320-2DP?

p0103 defines the application-specific view index of a drive object in non-volatile memory. The CU uses it to map a stored DO image to the running firmware. If the value on the CF card does not match the firmware's view, F0103 / A0103 is raised and the drive reverts to commissioning mode.

Why does the drive automatically go to commissioning mode after F0103?

Because the firmware cannot guarantee the integrity of the parameter database. The safe action is to discard the suspect image, treat the CU as freshly commissioned, and require the user / STARTER to re-load a known-good project.

Can I full-format the S120 CF card to fix the error?

No. A full format destroys the SINAMICS boot image, the license key, and the project archive. Use a quick format (FAT32) and copy the previously backed-up project back to the card. If you do not have a backup, contact Siemens Support with the CF card serial number to recover the factory image.

Which parameters confirm that commissioning is complete?

On every drive object (Control Unit and each Drive Object) check p0009 = 0, p0010 = 0, r3996 = 0 and r0002 not in commissioning. r9400 / r9401 can also be used to find any DO that is still in commissioning.

Do I need to replace the AOP30 when F0103 appears after a power cycle?

Not necessarily. First disconnect the AOP30, boot the CU, and observe the LEDs. If the fault clears, replace the AOP30 internal CR2032 lithium battery (3-5 year life). If the fault persists, the issue is on the CF card or in the project, not the panel.

How often should the CF card in a CU320-2DP be replaced?

Plan a replacement every 3-5 years in a normal industrial environment, sooner if the application power-cycles frequently or the cabinet ambient is high. Always keep a backed-up image of the card content so a swap is a five-minute operation.

Back to blog