Resolving TIA Portal V11 Project Size Growth: PEData.plf Cleanup

David Krause11 min read
SiemensTIA PortalTroubleshooting
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 TIA Portal V11 Project Size Growth: PEData.plf Cleanup

Projects in TIA Portal V11 SP2 Update 2 can balloon to several gigabytes when the internal PEData.plf file in the project system folder grows without bound. This article documents the root cause, the affected versions, the safe cleanup paths, and a permanent remediation workflow that includes the V11 → V12 migration route for projects exceeding 2 GB on disk.

Affected Products: STEP 7 / TIA Portal V11, V11 SP1, V11 SP2, V11 SP2 Update 2, V11 SP2 Update 3 (project version 11.0.x). The behavior is also reported in V10.5 and V10.5 SP2 projects that were converted upward.

1. Problem Description

Engineers running medium-to-large HMI/SCADA configurations (typically one or more Comfort Panels, TP/MP panels, or WinCC Runtime Advanced targets) observe that the .ap11 / .ap11_2 project file system occupies progressively more disk space between saves. Field reports show a project with a single S7-300 station and a TP900 HMI reaching 2.65 GB on disk, with the growth isolated to a single artifact:

<project_root>\System\PEData.plf

For reference, a comparable S7-314C-2DP station with a TP900 HMI in the same product family normally produces a PEData.plf of 10–15 MB. Anything beyond 100 MB warrants investigation, and growth past 1 GB indicates an HMI archive or temporary-data leak.

2. Symptoms

  • Project folder size increases on every Save / Save As / Compile operation.
  • Project open time grows linearly with the file size (multi-minute open on SSD for > 2 GB).
  • TIA Portal reports the project size in the project properties, but the on-disk size remains larger because of unaccounted temporary and archive files.
  • Backup and source-control operations (e.g., Git LFS, SVN, TFS) become slow or fail because the diff is dominated by a single binary blob.

You can confirm the project size from the TIA Portal UI via the project properties. The Displaying properties of the project page in the official TIA Portal documentation describes the location of the dialog and the fields shown: creation time, author, file path, project size on disk, copyright, and configured project languages. Note that this is a reference page for V20, but the same menu path (Project → Properties → Project information) applies to V11.

3. Root Cause Analysis

The PEData.plf file is a packed project data store used by the TIA Portal engineering framework. In V11, three primary leak sources feed it:

3.1 HMI Tag Logging and Alarm Logging Archives

When the project contains a WinCC Runtime Advanced / Comfort Panel / WinCC RT Professional target with configured Tag Logging or Alarm Logging, runtime data is written to disk-backed archives under:

<project_path>\IM\HMI\{11866113-2129}\D\<HMI_target_name>\ArchiveManager\

The GUID {11866113-2129} is the internal component identifier for the HMI RT archive manager in V11. In simulation mode (WinCC RT Advanced / PLCSIM HMI), the RT kernel writes log segments to this directory even when no runtime is active, because the project navigator always materializes a default archive structure. Over weeks of development, segments accumulate; PEData.plf consolidates them on every save.

3.2 TMP Folder Accumulation

Uncommitted edit buffers, undo history, and intermediate compile outputs are kept in:

<project_root>\TMP\

Unlike V5.5 (where the project was a flat DB and a periodic reorganization was exposed in the UI), V11 stores a deep folder structure and never prunes the TMP contents automatically. A 6-month project can accumulate 500 MB to 1.5 GB of stale buffer data.

3.3 Converted V10.5 Backups

Projects upgraded from STEP 7 / TIA Portal V10.5 to V11 retain a backup of the pre-conversion state at:

<project_root>\System\Backup\

This is by design — Siemens preserves the V10.5 source for round-trip migration. The backup is rarely needed after the first week of V11 work, but it is not deleted automatically.

3.4 Path Comparison: V5.5 vs V11

Concern V5.5 (Classic STEP 7) V11 (TIA Portal)
Project format Flat .s7p with internal DB Folder-based .ap11 with PEData.plf blob
Reorganize command File → Reorganize (user-triggered) Not exposed in UI; achieved via re-archive
HMI archive default External path; rarely written in PLCSIM Written to IM\HMI\...\ArchiveManager on every save
Predecessor backup Not applicable System\Backup\ retained on V10.5→V11 conversion
Edit buffer Single .s7p working copy TMP\ folder, never pruned

4. Diagnosis Procedure

  1. Close the project in TIA Portal V11.
  2. Right-click the project root in Windows Explorer and select Properties; record the folder size.
  3. Open a command prompt in the project root and run the standard size-sweep:
    dir /s /a "PEData.plf" "System\Backup" "TMP" "IM\HMI"
    Note the largest contributors.
  4. Verify PEData.plf is > 100 MB and is the dominant file. If it is, the HMI archive leak (Section 3.1) is the primary cause.
  5. Inspect the HMI Archive Manager subdirectory: Project tree → HMI target → Historical data → Archives in TIA Portal; confirm that Tag Logging or Alarm Logging is enabled.

5. Resolution

Apply the steps below in order. Each step is independent; stop when the project size is acceptable.

5.1 Step 1 — Clear the TMP Folder (Safe)

The TMP folder is a write-cache; its contents are not referenced after the project is closed. Deleting them is non-destructive.

  1. Close the project in TIA Portal.
  2. In Windows Explorer, navigate to <project_root>\TMP\.
  3. Select all contents (Ctrl+A) and delete. Do not delete the TMP folder itself; TIA Portal recreates it on next open.
  4. Reopen the project to confirm no data loss and that compile is clean.

5.2 Step 2 — Delete the V10.5 Predecessor Backup (If Applicable)

  1. Close the project.
  2. Navigate to <project_root>\System\Backup\.
  3. Delete the contents. The V10.5 representation is no longer needed once the V11 project has been validated. Make a separate ZIP archive of the folder if round-trip to V10.5 is a documented requirement.

5.3 Step 3 — Purge HMI Archive Manager Data

  1. Close the project.
  2. Navigate to <project_root>\IM\ and delete the contents (not the IM folder itself).
  3. Reopen the project. TIA Portal rebuilds the HMI archive skeleton; tag/alarm logging configuration is preserved in the project database and re-emitted under IM\HMI\... on next save.
Data-loss caveat: deleting IM contents erases runtime-captured logs accumulated during simulation. Logs are not part of the engineering source and cannot be restored. Configure a separate export path for any logs you need to keep.

5.4 Step 4 — Re-Archive the Project (V11-Native Equivalent of Reorganize)

V11 does not expose a V5.5-style Reorganize command, but the project can be compacted by archiving and retrieving:

  1. With the project open in TIA Portal V11, select the project name in the project tree.
  2. Choose Project → Archive. Save the .zap11 archive to a new location.
  3. Close the project.
  4. Choose Project → Retrieve and select the .zap11. Save to a fresh directory.
  5. Open the retrieved project and verify functionality (compile, online, download to PLCSIM).

Typical compaction ratio is 30–60% on a project that has not been re-archived since the last major HMI configuration change.

5.5 Step 5 — Migrate to TIA Portal V12 (Recommended Permanent Fix)

The V11 archive code is known to be less efficient than the V12 engine. V12 also introduces changes to the PEData.plf packing algorithm that prevent the runaway growth observed in V11 SP2. The migration is the strongest long-term remediation.

  1. Install TIA Portal V12 (V12 SP1 recommended for the stability fixes). Both V11 and V12 can coexist on the same workstation.
  2. Open the V11 project in V12. V12 will offer an upgrade; accept it. The original V11 .ap11 is preserved by the upgrade wizard.
  3. Select the project root in the project tree.
  4. Choose Project → Archive to create a V12 .zap12.
  5. Close the project, then Project → Retrieve the archive into a new directory.
  6. Open the retrieved project. Observe that PEData.plf is now typically < 5% of its pre-migration size.
License consideration: V12 and later TIA Portal versions are licensed per major version. A V11 license does not grant V12 use. Confirm that a V12 (or later) license is available on the target workstation before scheduling the migration, or the engineering team will be unable to open the migrated project offline.

6. Verification

After each cleanup step, validate the project with the following sequence:

  1. Compile: Project tree → PLC/HMI → Compile → Software (rebuild all). No errors should appear that were not present before the cleanup.
  2. Consistency check: Right-click the device → Compile → Check consistency. Cross-reference any HMI tag references that the rebuild may have re-bound.
  3. Download to PLCSIM: Start S7-PLCSIM and the HMI RT. Confirm that all configured tag and alarm logs begin recording from a clean baseline.
  4. Size check: Repeat the Section 4 diagnosis. The new PEData.plf size should be reported via the project properties dialog and via Windows Explorer.
  5. Source control: Commit the compacted project to the version-control system. The diff should now consist of legitimate project edits, not bulk PEData.plf churn.

7. Prevention

Add the following operational practices to the project workflow to prevent recurrence:

  • Configure HMI Tag Logging and Alarm Logging to write to an external runtime path (e.g., a USB stick on the panel or a network share on RT Advanced) rather than the project folder. Disable Backing up tags/alarms on engineering station where it is not needed.
  • Schedule a monthly re-archive of the project (Section 5.4) and check in the compacted copy to source control.
  • When porting from V10.5, delete the System\Backup folder once the V11 build is accepted by QA.
  • Add a CI check that fails any merge request if PEData.plf exceeds a configured threshold (for example, 50 MB for a project of known size).
  • Where supported by the panel firmware (Comfort Panels V14 and later, WinCC Unified), migrate to a TIA Portal version that ships the revised PEData.plf packer (V12 SP1 or later).

8. Troubleshooting Matrix

Symptom Likely Cause First Action Reference
PEData.plf > 1 GB, HMI target present HMI archive leak in IM\HMI\...\ArchiveManager Step 3 — purge IM contents Section 3.1
Project doubles in size after each save Unpruned TMP folder Step 1 — clear TMP Section 3.2
Project > 2 GB on disk after a V10.5 → V11 conversion Predecessor backup retained in System\Backup Step 2 — delete System\Backup Section 3.3
Size reduces after re-archive but regrows within days V11 archive code limitation Step 5 — migrate to V12 Section 5.5
Project will not open after IM delete Project was open or the IM folder itself was removed Restore from backup, repeat Step 3 with the folder preserved Section 5.3
Compile errors after re-archive citing missing HMI tags Tag logging re-bound during rebuild Re-map tags in HMI → Historical data and re-compile Section 6

9. Field-Proven Caveats

  • Always make a full backup of <project_root> before any of the cleanups in Section 5. The PEData.plf is a packed binary; manual corruption is not repairable by TIA Portal.
  • Do not run the cleanup while TIA Portal or an S7-PLCSIM instance has the project open. The TMP and IM folders are held with shared locks during the engineering session.
  • The ArchiveManager path uses the GUID {11866113-2129} in V11; V12 and later use a different GUID. If you are migrating, the old GUID directory is not migrated and is safe to delete after the V12 retrieve.
  • If your project uses WinCC RT Professional (PC-based, not panel-based), the archive root is typically redirected to a project-path subfolder via the Computer → Archive Manager settings; verify the path before deleting anything under IM.
  • Source-control systems that store the entire .ap11 as a single artifact will see large diffs even after compaction. Consider LFS (Git) or Perforce for binary blob storage.

10. Related Project Properties to Monitor

The TIA Portal Project → Properties dialog (described in the Displaying properties of the project documentation) shows the on-disk project size and is the fastest way to track growth between saves. Combine the on-disk size reading with a Windows-level dir /s sweep to identify which subfolder (System, IM, TMP) is dominant in the current project state.

What is the PEData.plf file in a TIA Portal V11 project?

PEData.plf is a packed project-data store located in the project's System folder. It consolidates engineering data, HMI configuration, and runtime-generated archives into a single binary blob that TIA Portal reads on open. In V11 it can grow rapidly when HMI Tag Logging, Alarm Logging, and TMP / System\Backup folders are not pruned.

Is a 2.65 GB TIA Portal V11 project size normal?

No. A medium-size S7-300 project with a single TP900 HMI should produce a PEData.plf of 10–15 MB. A 2.65 GB total project size is symptomatic of HMI archive leak (IM\HMI\{11866113-2129}\D\<HMI>\ArchiveManager), unpruned TMP buffer, or a retained V10.5 backup in System\Backup.

How do I compact a TIA Portal V11 project like V5.5 Reorganize?

V11 has no UI command equivalent to V5.5's File → Reorganize. The supported workflow is: open the project → select the project root in the tree → Project → Archive to a new .zap11 → close → Project → Retrieve the archive into a fresh folder. Typical compaction is 30–60%.

Can I safely delete the TMP folder in a TIA Portal V11 project?

Yes. <project_root>\TMP contains the write-cache and undo buffer; TIA Portal rebuilds it on the next open. Delete the contents only, not the folder itself, and only when the project is closed. Always back up the project first.

Does migrating a V11 project to TIA Portal V12 fix the PEData.plf growth?

Yes, in the majority of field cases. V12 introduces a revised PEData.plf packing algorithm that prevents the runaway growth observed in V11 SP2. The recommended workflow is: upgrade in V12, archive, retrieve, and verify. Note that a V12 license is required; a V11 license does not cover V12 use.

Back to blog