Troubleshooting WinCC V11 Database Archive Test Data

David Krause2 min read
SiemensTroubleshootingWinCC
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

Problem Definition

A WinCC Runtime project created in TIA Portal V11 logs five INT variables to a database archive. A scheduler triggers the logging once per day. Functional testing populated the archive, but the test records must be removed before project delivery.

Item Confirmed configuration or observation
Engineering environment TIA Portal V11
Runtime component WinCC Runtime
Archive target Database
Logged data Five INT variables
Logging trigger Daily scheduler trigger
Reported issue No archive-delete function was found for assignment to a button

Separate the Archive from the Display

The evidence confirms that the database archive contains test data, but it does not identify the database engine, archive name, runtime edition, or available maintenance commands. It also does not establish whether clearing a display, deleting an archive definition, or deleting stored records is supported. Treat these as different operations and do not assume that a button event can erase the underlying database.

Before changing the project, identify the required outcome: preserve the archive configuration and remove only test records, or remove and recreate the complete archive. The available evidence supports the first delivery requirement but does not provide a verified command or WinCC function for performing it.

Resolve the Missing Configuration Details

Record the runtime edition, configured archive name, database type, storage location, and whether runtime is active. These details are required to select a supported cleanup method. Because none are supplied, an exact deletion procedure, database statement, or button function cannot be specified without risking removal of the wrong data or archive structure.

The attempted file-based archive also remains unresolved. The engineering interface did not allow selection of a file type or path even though that capability was described in the system manual. This is an observed configuration problem, not proof that file archives are unavailable in TIA Portal V11; verify the installed runtime variant and the options exposed by the project configuration.

Define the Delivery Verification

After using a method confirmed for the installed WinCC Runtime configuration, verify that the five INT tags remain assigned to the daily scheduler, that the archive definition still exists, and that the test records are absent. Then execute a controlled logging cycle and confirm that new records can be written before delivering the project.

FAQ

How do I delete WinCC TIA Portal V11 archive test data?

The evidence does not identify a verified deletion command. First determine the runtime edition, archive name, database type, and whether only records or the complete archive must be removed.

Why is the WinCC archive delete function missing from button events?

No archive-delete function was found in the reported button configuration. The evidence does not confirm whether such an event is supported, so do not infer that a button can delete the underlying database records.

What should I verify after clearing a WinCC database archive?

Confirm that the archive definition remains present, the five INT variables are still assigned to the daily scheduler, the test records are gone, and a controlled logging cycle creates new records.

Back to blog