Problem Overview
Engineers running Siemens TIA Portal V11 SP2 Update 5 against a SIMATIC KTP600 Basic (6-inch mono PN or color PN) panel report an intermittent condition in which library objects cannot be dropped onto an existing screen. The mouse cursor displays the "no-drop" indicator when dragging an item from the Project Library task card onto the active screen, while the same item dragged from the Toolbox palette drops correctly. The runtime simulation continues to load, tag connections remain valid, and no password, access protection, or engineering lock is configured on the screen. The symptom is isolated to the previously edited root screen (often renamed Main) and does not appear on freshly created screens.
This document consolidates Siemens engineering workflow guidance, the SIMATIC HMI Basic Panel configuration rules, and the Windows XP engineering workstation constraints typical of legacy TIA V11 deployments into a single recovery procedure.
Affected Products and Versions
| Component | Confirmed Affected | Recommended / Verified |
|---|---|---|
| TIA Portal | V11 SP2 Update 5 (Build 11.0.2.5_15.18) | V13 SP1 Update 4 or later for new projects |
| HMI Hardware | KTP600 Basic mono PN (6AV6 647-0AB11-3AX0), KTP600 Basic color PN (6AV6 647-0AD11-3AX0) | Same hardware, firmware update to panel OS V11.0.2.0 or later |
| PLC Firmware (referenced CPU) | S7-300 CPU 31x firmware V2.02 | S7-300 CPU 31x firmware V2.2 (or matching TIA V11 SP2 compatibility matrix entry) |
| Engineering OS | Windows XP SP3 (32-bit) with all available updates | Windows 7 SP1 (64-bit) for TIA V11 SP2 / Windows 10 (64-bit) for TIA V15.1 and newer |
| MMC Card | Original Siemens MMC (6ES7 953-8LFxx-0AA0) required for firmware update | Same MMC, formatted and programmed with the matching firmware .upd file |
The CPU firmware V2.02 reference matters because TIA Portal V11 SP2 ships a PLC compatibility matrix that flags CPUs below the tested revision. Although the matrix does not block compilation of the HMI project, internal caches that store the cross-reference between library master copies and instantiated copies on the HMI screen can fall out of sync when the underlying PLC firmware does not match the TIA-bundled ESIG entry. The visible result is a screen that refuses to accept a new library drop while remaining fully editable through the toolbox.
Symptom Differentiation
The reported failure must be distinguished from three other "cannot drop element" conditions before applying the recovery steps below:
- Toolbox works, library fails — This is the symptom covered in this document. The screen accepts native HMI controls but rejects the master copy stored in the project library.
- Both toolbox and library fail — Indicates screen-level protection (engineering switch, screen password, runtime active simulation) or a corrupted screen XML in the project container. Confirm via Project > Compile > Software (rebuild all) and check the diagnostics buffer.
- Library item is from a WinCC Professional / RT Professional master — WinCC RT Professional libraries (faceplates, style sheets, .Net controls) cannot be dropped onto a Basic Panel screen. The drop is blocked by the panel's supported object list, not by a lock. Verify by inspecting the library origin in the Libraries task card.
| Symptom | Likely Cause | Recovery Path |
|---|---|---|
| Toolbox drops, library does not | Project library cache or screen master-copy reference corruption | Rebuild screen from template + clear TIA temp cache |
| Neither drops | Screen protection, simulation running, or container corruption | Close runtime simulation, recompile, restore backup |
| WinCC RT Professional item drops on Basic panel | Object type mismatch | Replace with Basic Panel equivalent from the standard library |
Root Cause Analysis
The screen lockout symptom has four candidate root causes observed in TIA Portal V11 SP2 Update 5 environments. Each should be eliminated in order.
2.1 Cached Master-Copy Reference
When a library master is instantiated onto a screen, TIA Portal stores a content-hash reference to the master inside the screen XML (file *.hmi_screen.XML under the project portal folder). The reference is resolved at design-time against a memory-mapped cache located under %LOCALAPPDATA%\Siemens\Automation\Portals\TIA_V11\LibraryCache. On Windows XP the equivalent is %USERPROFILE%\Local Settings\Application Data\Siemens\Automation\Portals\TIA_V11\LibraryCache. If the cache is locked by a still-running TIA Portal process, a previously crashed TIA process, or a third-party indexing service (Windows Search, antivirus real-time scan), the drop operation fails with the no-drop cursor because TIA cannot verify the master against the cache before instantiating.
2.2 Screen Container Inconsistency
Screens that have been edited, renamed, and re-saved multiple times accumulate orphan references to deleted objects, layer entries, or animation bindings. When the screen container crosses an internal threshold (typically 64 KB on TIA V11 Basic Panels), the editor refuses new drops until the container is regenerated. Rebuilding the screen from a template regenerates the container.
2.3 PLC Firmware / ESIG Mismatch
TIA Portal V11 SP2 expects the S7-300/400 CPU firmware to match the bundled compatibility ESIG. CPU firmware V2.02 was the minimum acceptable revision at TIA V11 SP2 release; revisions below V2.02 are rejected at compile. With V2.02 + TIA V11 SP2 Update 5, the HMI compile passes but the HMI screen editor shares a portion of the cross-reference engine with the PLC station. When the shared engine detects a delta between the on-line cache and the off-line cache, it flags the screen as read-only for library drops only.
2.4 Windows XP Engineering Workstation
TIA Portal V11 SP2 was the last major TIA release to formally support Windows XP SP3. Windows XP limits the user-mode virtual address space to 2 GB (or 3 GB with /3GB boot switch) and does not implement the same file-handle lifetime guarantees as Windows Vista or later. The TIA library cache uses memory-mapped files; on Windows XP, an interrupted TIA Portal session leaves the file handle locked until the next user logon, which prevents subsequent library drops until the handle is released by rebooting or by deleting the cache file.
Diagnostic Procedure
Run the following checks before applying any destructive recovery step. Each check produces a binary result (pass/fail) and routes you to the appropriate fix.
- Confirm no runtime simulation is active. In TIA Portal select Online > HMI Simulation > Stop (or close the standalone RT simulator). A running simulation locks the active screen for editing in some TIA V11 revisions.
- Confirm screen-level protection is off. Right-click the screen in the project tree, choose Properties > Security, and verify that Screen password, Operator lock, and Disable editing are all cleared.
- Verify library item origin. Right-click the failed library object, choose Properties > Library Information. If the Master Copy Source field shows a WinCC RT Professional path, the drop will never succeed on a Basic Panel — replace it with the Basic Panel equivalent.
-
Check TIA temp folder. Press Win+R, type
%temp%, press Enter. Sort by Date modified and review the contents ofSiemens\Automation\Portals. Any folder older than the current TIA session is a stale cache candidate. -
Inspect the project Portal folder. Close TIA Portal, then open Windows Explorer to the project location (default
C:\Users\<user>\Documents\Automation\<ProjectName>\<ProjectName>.ap11). Right-click the project file and extract it (TIA V11 projects are CAB-based compressed archives). OpenIM\HMI\<panel>\Screensand inspect the suspect screen XML for duplicate<Layer>entries or empty<Object ID="">tags. The presence of either confirms screen container corruption. - Check PLC firmware. Connect online to the CPU, open Online & Diagnostics > Diagnostics Buffer, and read the firmware version. Compare against the TIA V11 SP2 compatibility matrix available on the Siemens Industry Online Support portal under entry ID 50209638.
Recovery: Rebuild the Affected Screen from a Template
The fastest field-proven recovery is to delete the affected screen and rebuild it from a screen template. Screen templates in TIA Portal are stored separately from screens, so the screen container regeneration does not require re-laying out the project.
- In the project tree, expand Your HMI > Screens > Templates. If no template exists yet, create one: right-click Templates, choose Add new template, drop the master header and footer layout that should appear on every screen, and save as
Template_Main.hmi_tpl. - Right-click the affected screen (for example Main) and choose Delete. Confirm Disconnect connections only if you intend to re-bind them after rebuild; otherwise choose Reconnect via tag references.
- Right-click Screens, choose Add new screen, name it Main to preserve the runtime entry point.
- Open the new screen, then drag the template from the Templates folder onto the screen. TIA Portal V11 SP2 automatically inherits all template objects.
- Drag new controls from the project library. The drop should now succeed because the screen container has been regenerated.
- Re-bind any disconnected tags. The Cross-references task card highlights unbound tags; right-click and choose Reconnect to tag.
Temp and Cache Cleanup Procedure
If the rebuild does not resolve the lockout, the next action is to clear the TIA Portal temp cache. This procedure mirrors the documented resolution for the "library file is currently locked or missing" class of errors encountered when a cached file is held by a prior session.
- Close TIA Portal completely. Verify in Task Manager that no
S7-PORTAL.exe,Siemens.Automation.Portal.exe, orS7WINPCT.exeprocesses remain. - Press Win+R, type
%temp%, press Enter. - Select all files and folders (Ctrl+A) and delete them. Skip any file the OS reports as in use; these are owned by another Windows session.
- Empty the Recycle Bin.
- Reboot the workstation. Rebooting is required on Windows XP because file-handle lifetime for memory-mapped files does not decrement until the user profile is unloaded.
- Reopen the project and test the library drop on a fresh screen.
The same procedure is recommended in the Autodesk knowledge base entry "Error: The library file is currently locked or missing". Although the article addresses Revit material libraries, the underlying resolution (clear temp, empty Recycle Bin, reboot) applies to any Windows application that caches binary library blobs under the user profile temp folder — including TIA Portal V11.
CPU Firmware Considerations
The CPU firmware V2.02 referenced in the field report is the minimum acceptable revision for TIA Portal V11 SP2. The recommended revision for stable HMI compile and runtime is V2.2 (build 2.2.x) or higher, depending on the CPU order number. Updating the CPU firmware requires a Siemens MMC card and a firmware update file (.upd) distributed through the Siemens SIOS portal.
| CPU Order Number | Original Firmware | Recommended Firmware for TIA V11 SP2 | MMC Required |
|---|---|---|---|
| 6ES7 315-2AG10-0AB0 | V2.02 | V2.2.x | 6ES7 953-8LF11-0AA0 (64 KB) or larger |
| 6ES7 315-2EH13-0AB0 | V2.02 | V2.6.x | 6ES7 953-8LF20-0AA0 (64 KB) or larger |
| 6ES7 317-2AJ10-0AB0 | V2.02 | V2.2.x | 6ES7 953-8LF11-0AA0 (64 KB) or larger |
Safety warning. Do not interrupt power during a CPU firmware update. An interrupted update leaves the CPU in a non-recoverable state that requires return-to-factory service. Perform the update with a fully charged UPS and schedule a 30-minute window. The firmware update is non-reversible — the previous firmware cannot be restored without the matching MMC image. Confirm with your local Siemens distributor whether the update can be performed at no cost under the standard service contract; on-board programming is not supported and the MMC is a one-time-writable medium.
Windows XP Engineering Workstation Notes
TIA Portal V11 SP2 is the last major TIA revision to support Windows XP SP3. Three XP-specific behaviors contribute to the library lockout symptom:
- 2 GB user-mode address space. TIA Portal V11 SP2 can consume up to 1.6 GB during a long editing session. When the address space is exhausted, the library cache manager fails silently and corrupts the in-memory map. Symptoms appear intermittently, usually after 4-6 hours of continuous editing.
- File-handle lifetime. Windows XP does not invalidate file handles on abnormal process termination (crash, kill). The handle persists in the kernel until the next logon. Restarting only the TIA Portal application is not sufficient — a full reboot is required.
-
Antivirus real-time scan. Symantec Endpoint Protection and McAfee VirusScan Enterprise both install kernel-mode file-system filter drivers that lock memory-mapped files. On Windows XP these drivers are not thread-safe with the TIA V11 SP2 cache manager. Exclude
%USERPROFILE%\Local Settings\Application Data\Siemens\and the project folder from real-time scan.
If the engineering workstation can be upgraded, the Siemens recommendation is Windows 7 SP1 (64-bit) for TIA V11 SP2, or Windows 10 (64-bit, version 1809 or later) for TIA V15.1 and newer. Both newer OS versions lift the address-space limit to 4 GB user-mode (or 8 GB with /LARGEADDRESSAWARE) and fix the file-handle lifetime issue.
Library Type Compatibility Matrix
TIA Portal maintains separate libraries for each panel class. A master copy from the wrong library class will not drop onto a Basic Panel screen even if the file path resolves correctly.
| Library Class | Source Panel | Drop on KTP600 Basic? | Drop on KTP1200 Basic? | Drop on Comfort Panel? |
|---|---|---|---|---|
| Basic Panels V11 | KTP400 / KTP600 / KTP1000 Basic | Yes | Yes (V11+) | Yes |
| Basic Panels V13 | KTP400 / KTP700 / KTP900 / KTP1200 Basic | No (version mismatch) | Yes | Yes |
| WinCC RT Professional V11 | WinCC RT Professional runtime | No (object type unsupported) | No | No (Comfort Panels use WinCC RT Advanced) |
| WinCC RT Advanced V11 | Comfort Panels, RT Advanced PC | No (object type unsupported) | No | Yes |
If the suspected library item is from a V13 or V14 library, regenerate the master copy inside the V11 project: open the V13 master in a V13-capable TIA Portal, save the master as a V11-compatible variant using Library > Save As > Compatibility Version: V11 SP2, then re-import into the V11 project.
Verification Steps
After applying the recovery, perform the following verification sequence to confirm the lockout is resolved and to detect regression on adjacent screens.
- Open the recovered screen. Drag a library object (for example the standard Button_Toggle master) from the project library onto the screen. Confirm the drop succeeds and the object is selectable.
- Drag the same object onto three additional screens. Confirm the drop succeeds on each. This validates that the cache is healthy, not just the rebuilt screen.
- Compile the HMI station: Project > Compile > Software (rebuild all). Confirm zero errors and zero warnings in the Inspector window.
- Download the project to the KTP600 Basic panel. Confirm the panel boots to the runtime default screen.
- From the panel, navigate to the recovered screen via the runtime button. Confirm the button objects respond to touch.
- Save and close the project. Reopen the project from disk (cold-open). Repeat steps 1 and 2. This validates that the cache rebuild persists across sessions.
Preventive Practices
Apply the following engineering practices to reduce the likelihood of recurrence on TIA V11 SP2 projects.
- Work in templates. Define every screen header, footer, and navigation layout in a screen template. Instantiating from a template regenerates the screen container on creation, which keeps the cross-reference index small.
- Use a project library, not a global library. Global libraries distributed via the network file share can be locked by a different TIA Portal session. Project libraries live inside the project container and are locked only when the project is open in the local TIA session.
- Save backups before major edits. TIA Portal V11 SP2 supports Project > Archive (.zap11). Archive the project before any screen rename, master library import, or HMI compile rebuild. Archives are restorable on a clean workstation without dependency on the original TIA installation.
- Limit continuous editing sessions. On Windows XP, restart TIA Portal every 4 hours and reboot the workstation daily. On Windows 7 or later, restart TIA Portal daily.
-
Exclude the TIA folder from antivirus real-time scan. Add
%USERPROFILE%\AppData\Local\Siemens\,%USERPROFILE%\Documents\Automation\, and any project-specific archive path to the antivirus exclusion list. - Track firmware revisions. Maintain a project README that lists every PLC CPU firmware revision, every HMI panel OS revision, and the TIA Portal build used for commissioning. This makes it trivial to spot mismatches when symptoms appear months later.
FAQ
Can a SIMATIC KTP600 Basic screen be password-locked against library drops?
No. TIA Portal V11 SP2 does not provide a screen-level lock that selectively blocks library drops while permitting toolbox drops. If only library drops fail, the cause is a corrupted master-copy reference or a stale library cache, not a configured lock.
Why does the toolbox still work when the library does not?
The toolbox stores object definitions inside the TIA Portal executable itself; library master copies are stored in the project container or the user-profile temp cache. The two storage paths have independent file-locking behavior, so a cache lock affects only library items.
Will clearing %temp% delete my TIA Portal project?
No, if you stored the project under Documents\Automation\<ProjectName> as is the TIA default. The TIA Portal temp cache lives under %LOCALAPPDATA%\Siemens\Automation\Portals\ and is recreated on the next TIA launch.
Do I have to update the CPU firmware from V2.02 to V2.2 to resolve the lockout?
Not always. The screen rebuild plus temp cleanup resolves the symptom in the majority of field reports. The CPU firmware update is recommended for stability over the project lifecycle, but it is not strictly required for the library drop to succeed.
Is the template rebuild approach safe on a commissioned panel?
Yes, as long as you preserve the screen name (typically Main). The runtime navigation references the screen by name, not by internal ID, so renaming the screen breaks navigation. Deleting and re-adding with the same name does not change the runtime entry point.