Resolving WinCC V13 SP1 Faceplate Crash When Editing Process Tags

David Krause15 min read
HMI ProgrammingSiemensTroubleshooting
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 WinCC V13 SP1 Faceplate Crash When Editing Process Tags

TIA Portal V13 SP1 Update 1 ships with a known defect that causes the engineering environment to hang and crash when a faceplate type interface is modified, when process tags are added to a faceplate, or when a User-Defined Data Type (UDT) already in use inside a faceplate is extended by inserting new members in the middle of the type definition. This reference compiles the reproducible crash patterns, the architectural root cause, Siemens-published fixes, and field-engineer workarounds that restore editing capability without rolling the entire project back to a previous software version.

Symptom in one sentence: TIA Portal V13 SP1 Update 1 freezes for several seconds and then crashes (Process terminated, abnormal exit) whenever the user attempts to add a process tag to a faceplate interface, add a new category, delete a "work state" version of a faceplate, or modify a UDT that is consumed by any faceplate instance in the project.

1. Problem Summary

Faceplates in TIA Portal WinCC are reusable visualization objects, defined once as a faceplate type and instantiated as faceplate instances across screens. A faceplate type carries:

  • A faceplate interface made of interface tags (input, output, in/out).
  • Property scripts that bind the interface tags to the visual elements on the faceplate canvas.
  • Events triggered by user interaction or by tag value changes.
  • Versioning metadata (released version vs. work-state version).

When a faceplate type is referenced from one or more screens, the project database stores an association between the faceplate type, the interface definition, and the tags wired to each instance. In V13 SP1 Update 1 this association is not always rebuilt correctly when the interface changes, which produces the crashes reported in the field. The defective behavior covers the following user actions:

Crash-trigger actions reported in V13 SP1 Update 1
# User Action Result Affected Object
1 Add a process tag to a faceplate interface Freeze then Process terminated Faceplate type editor
2 Add a new category to the faceplate interface Freeze then Process terminated Faceplate type editor
3 Delete a faceplate version in "work state" Freeze then Process terminated Project navigator
4 Roll back interface to a previously used UDT Freeze then Process terminated Faceplate type editor
5 Insert a new tag in the middle of an existing UDT that the faceplate references Cannot view / inspect instance; further edits crash UDT definition and faceplate instance
6 Archive the project Freeze then Process terminated Project archiving

The crash pattern is reproducible across multiple engineering workstations (the issue is not workstation-specific) and persists after a clean uninstall / reinstall of WinCC Comfort and WinCC Runtime. The defect is therefore a project-database migration bug introduced by the V13 SP1 Update 1 patch level, not an installation corruption.

2. Affected Software and Hardware

Affected and unaffected product matrix
Product / Component Version Status
SIMATIC STEP 7 / TIA Portal V13 (baseline) Not affected
SIMATIC WinCC in TIA Portal V13 (baseline) Not affected
SIMATIC STEP 7 / TIA Portal V13 SP1 Affected (initial symptom with UDT insertion)
SIMATIC WinCC in TIA Portal V13 SP1 Update 1 Defective – crash on edit
SIMATIC WinCC in TIA Portal V13 SP1 Update 2 Partial fix; some users still report faceplate issues
SIMATIC WinCC in TIA Portal V13 SP1 Update 3 Symptom resolved per field feedback
WinCC Comfort (engineering) V13 SP1 Update 1 Affected
WinCC Runtime (Comfort Panel) V13 SP1 Update 1 Affected only as editing host
SIMATIC HMI Panels (TP, Comfort, RT Advanced) Firmware image V13 SP1 Upd1 Runtime not affected; only engineering host crashes
Note on firmware vs. engineering software: The faceplate editing crash is in the TIA Portal engineering environment. The runtime image loaded onto a Comfort Panel is not involved; field panels continue to operate normally. The crash only blocks further project development on the engineering PC.

3. Root Cause Analysis

The V13 SP1 Update 1 patch introduced a redesigned faceplate type storage model to align with the new PLC UDT handling available in SP1. With V13 SP1, WinCC can consume PLC data types directly, eliminating duplicate declarations between the HMI and the PLC. The integration carries the following structural consequences:

  1. Coupled type metadata. Each faceplate instance now carries a snapshot of the UDT it references, not just a tag-level reference. The project database therefore stores two coupled structures: the faceplate interface and the UDT shape.
  2. Recompute on every interface change. When a process tag is added to the faceplate interface, or when the bound UDT is mutated, the engine must rebuild the snapshot stored in every instance. In V13 SP1 Update 1 the rebuild path contains a null-pointer access for faceplate instances whose cached snapshot was created under the pre-SP1 format.
  3. Mid-array insertion in UDT. Inserting a new tag in the middle of a UDT (rather than appending) causes a member-index shift that the faceplate snapshot does not re-index, producing a mismatch that triggers the same null-pointer access.

The 32-bit Windows application then enters a faulted state in the TIA_Portal.exe process, surfaces the standard Siemens error dialog, and exits with a non-zero return code (typically a structured exception 0xC0000005 access violation logged in the Windows Application event log under Application Error with faulting module TIA_Portal.exe).

Siemens technical support confirmed in the affected case that the supplied project could be opened on their reference engineering system; this strongly indicates a project-state migration regression rather than a per-installation corruption. The project database recovered and recompiled by Siemens support still exhibited the same crash on the customer machine, which is consistent with the customer-side installation being on the defective V13 SP1 Update 1 patch level.

4. Pre-Upgrade Checklist

Before applying any patch or executing any workaround, capture a complete backup of the affected project. The faceplate crash can leave the project in an inconsistent state on disk; an unmodified archive is required for rollback.

  1. Open the affected project in TIA Portal and select Project > Archive. Store the .zap13 archive on a network share or external drive, not on the local PC drive.
  2. Export the WinCC HMI compilation log: Project tree > Devices & Networks > right-click HMI device > Compile > Software (rebuild all) and save the .log file.
  3. Capture the installed software level from Help > Installed software and record the exact build numbers of: STEP 7, WinCC, Startdrive (if present), PLCSIM, and all add-on packages.
  4. Capture a Windows event snapshot: eventvwr.msc → Windows Logs → Application → Filter for Application Error with TIA_Portal.exe in the last 24 h.
  5. List every faceplate type used in the project with its current released version and any work-state version. Note which faceplates consume UDTs vs. simple elementary types.
  6. List every UDT and the faceplate / DB / tag table that consumes it. Tag the UDTs that were modified mid-array.

5. Solution Path A – Upgrade to V13 SP1 Update 3

Field reports indicate that V13 SP1 Update 3 resolves the faceplate interface editing crash when applied to a clean installation. Update 2 is a partial fix; engineers who experienced only faceplate-event loss (without crash) often had their issue resolved by Update 2, but the mid-array UDT and process-tag-add crash remained.

5.1 Update sequence

  1. Open Help > Installed software in TIA Portal and note the build numbers.
  2. Download the V13 SP1 Update 3 package (article ID 109311724 from Siemens Industry Online Support).
  3. Close TIA Portal and stop the S7TraceService, CCDisplayService, and the SIMATIC automation license manager service.
  4. Run the Update 3 installer with administrator rights. Do not run the engineering environment in parallel.
  5. Reboot the workstation before re-opening the project. TIA Portal V13 patch installers replace shared DLLs used by both WinCC and STEP 7; mixed patch levels are a documented source of secondary instability.
  6. Update every other installed Siemens software package to the latest available SP / Update level on the same workstation. Mixed patch levels across the STEP 7 / WinCC / Startdrive stack have been observed to reintroduce faceplate crashes even after the primary fix.
  7. Open the project, compile the HMI software (rebuild all), and verify the faceplate type can be opened in the editor without crash.
Critical rule: All Siemens software packages on the engineering workstation must be at the same patch level. STEP 7 V13 SP1 Update 3 paired with WinCC V13 SP1 Update 1 is unsupported and reproduces the faceplate crash. Verify with Help > Installed software before troubleshooting further.

6. Solution Path B – Apply the Interface Reconstruction Workaround (No Update)

If a workstation patch cannot be applied immediately (for example, due to a frozen project baseline or a restricted maintenance window), the following manual workaround has been verified in the field to restore editing capability on V13 SP1 Update 1 without changing the software level. It is destructive to faceplate events and property-script wiring inside the faceplate type only; instance connections on the screens are not lost permanently and must be re-bound.

6.1 Procedure

  1. Close every faceplate type in the project and confirm none are in an unsaved work state.
  2. Open the first affected faceplate type in the editor.
  3. In the Properties tab under Events, select every configured event. Delete all events on the faceplate type. Save the faceplate type.
  4. Delete any work-state version of the faceplate type through the project navigator (right-click the faceplate type → Version history → delete work-state version). If this action crashes the engineering client, restart TIA Portal and proceed with step 5.
  5. Reopen the faceplate type, recreate every event with the original event name, and re-bind it to the original function / script.
  6. Compile the faceplate type and check the Output window for warnings about orphaned references.
  7. Open every screen that hosts an instance of this faceplate type. Select each instance and rebind the interface properties that were previously connected. The instance count and screen positions are preserved; only the wiring to interface tags must be re-established.
  8. Repeat steps 2-7 for every faceplate type that references the modified UDT.
  9. Compile the entire HMI station (rebuild all) and verify that no warning remains in the output window.
Warning: This workaround loses the faceplate-type event definitions and instance bindings. Document the original event list, event handler functions, and instance-to-tag wiring in a spreadsheet before starting so the rebuild is reversible. Allow approximately 5-15 minutes per faceplate type with 10-30 instances, depending on interface complexity.

7. UDT Modification Best Practices

The crash is most reliably reproduced when a UDT that is already in use inside a faceplate is mutated. The following rules eliminate the most common crash trigger regardless of TIA Portal patch level:

UDT modification rules for faceplate consumers
# Rule Reason
1 Append new tags only; never insert in the middle Inserting shifts member indices in the cached faceplate snapshot
2 Never delete a tag that is referenced by a faceplate interface Leaves orphaned references in instance snapshots
3 Never rename a tag that is referenced by a faceplate interface Name resolution breaks for instance-level wiring
4 Change one faceplate-consumed UDT per engineering session Limits blast radius if a regression is introduced
5 Recompile PLC and HMI station after every UDT change Forces regeneration of the faceplate snapshot cache
6 Version the UDT (e.g. MotorData_v2) instead of mutating MotorData Keeps the old faceplate instances functional while the new UDT is validated
7 Use a dedicated engineering test project for UDT iteration Prevents corruption of the production faceplate library

7.1 Recommended UDT versioning workflow

  1. Duplicate the UDT in the PLC data types editor and rename to <Name>_v<n>.
  2. Update the new UDT definition in any order (insertions, deletions, renames are now safe).
  3. Update the faceplate interface to bind against the new UDT version.
  4. Rebind every instance to the new UDT version. Instances on the legacy UDT continue to operate until the swap is complete.
  5. Compile and verify. Only after success, delete the legacy UDT and re-compile.

8. Faceplate Recovery Procedure After a Crash

When the engineering environment crashes mid-edit, the project database may retain an inconsistent work-state version of one or more faceplate types. Use the following procedure to restore a clean state before applying any fix.

  1. Launch TIA Portal. Open the project. If TIA Portal opens the project without crash, proceed.
  2. Locate the affected faceplate type in the project navigator. Right-click and select Version history.
  3. If a work-state version is listed, attempt to delete it. If the deletion crashes, the work-state version is corrupt; proceed to step 4.
  4. Close TIA Portal. Navigate to the project directory and remove the work-state database cache: <project>\IM\HMI\<device>\Faceplates\<faceplate_type>\workstate. Back up the directory before deletion.
  5. Re-open the project. The faceplate type reverts to the last released version. Re-create the work-state version manually.
  6. Recompile the HMI station (rebuild all) and confirm zero errors and zero faceplate-related warnings.
Back up before deleting the work-state cache directory. Deleting a corrupt work-state is the only path to recover when the engineering client crashes on every delete attempt. The released version remains intact because it is stored in a separate directory.

9. Verification Tests

Run the following checks in order before declaring the issue resolved:

  1. Reproduction guard. Add a process tag to a test faceplate interface. Engineering client must complete the action within 5 seconds without crash. Repeat for adding a new category.
  2. Instance integrity. Open every screen containing a faceplate instance. Each instance must render without the placeholder "red X" error indicator.
  3. UDT round-trip. Add a tag at the end of a UDT consumed by a faceplate. Recompile PLC and HMI. All faceplate instances must update without crash.
  4. Archive round-trip. Archive the project to a network share. Confirm the archive completes and the file size is within 5% of a known-good baseline.
  5. Cross-workstation load. Copy the project to a second engineering workstation. Open, compile, and confirm identical behavior. This validates that the fix is not machine-local.
  6. Runtime simulation. Use the WinCC Runtime Simulator (Start → SIMATIC → WinCC → Runtime Loader) to render the screens containing the modified faceplates. All animations, colors, and events must trigger correctly.

10. Troubleshooting Matrix

Symptom-to-cause mapping for faceplate crashes in TIA Portal V13 SP1 family
Observed Symptom Likely Cause First Action Secondary Action
Crash on adding process tag to faceplate interface V13 SP1 Update 1 defect (faceplate type cache) Apply Update 3 on engineering PC Reconstruct interface (Section 6)
Crash on adding new category to faceplate Same root cause as above Apply Update 3 Reconstruct interface
Crash on deleting work-state faceplate version Corrupt work-state cache Recover via Section 8 procedure Recreate work-state manually
Cannot view a UDT member after editing UDT Mid-array UDT insertion broke snapshot Avoid mid-array insertion (Section 7) Rebind instance to corrected UDT
Crash on project archive Database inconsistency from prior crash Recover corrupt faceplate work-state first Re-archive
Crashes only on this workstation, not others Mixed Siemens SW patch levels Apply same patch level to all Siemens SW Reboot, re-test
Crash persists after Update 3 on this machine Residual V13 SP1 Update 1 DLLs Clean uninstall, reinstall Update 3 stack Reboot, re-test
Crash only when a specific screen is open Corrupt faceplate instance on that screen Delete the instance, recreate it Recompile screen
No crash, but faceplate events stopped firing Event reference breakage (separate SP1 issue) Rebind events on faceplate type Update to Update 2 or later

11. Related Siemens References

12. FAQ

Which exact patch level crashes when adding a process tag to a faceplate in TIA Portal V13?

The crash is documented on V13 SP1 Update 1 (TIA Portal V13.1.1.0). V13 baseline and V13 SP1 baseline are unaffected. V13 SP1 Update 2 partially mitigates the issue, and V13 SP1 Update 3 resolves it. Confirm the patch level with Help > Installed software.

Can I keep editing faceplates on V13 SP1 Update 1 without applying Update 3?

Yes. Reconstruct the faceplate interface per Section 6: delete all events on the faceplate type, delete the work-state version, recreate the events, and rebind every instance on every screen. Allow 5-15 minutes per faceplate type depending on instance count and interface size.

Why does inserting a tag in the middle of a UDT break my faceplate?

Inserting a tag in the middle of a UDT shifts the member index of every subsequent tag. The faceplate instance stores a cached snapshot of the UDT shape under V13 SP1. When the shape changes, the snapshot becomes inconsistent and the engineering client hits a null-pointer access during the next compile or interface edit. Always append tags to the end of a UDT, or version the UDT and rebind the faceplate.

Does the faceplate crash affect the Comfort Panel runtime?

No. The crash is in the TIA Portal engineering process on the development PC. The runtime image on the Comfort Panel is unaffected and continues to operate normally. The crash only blocks further project development.

Why does Siemens support say they can open my project without a crash, even though my workstation crashes?

Siemens support typically uses the latest available patch level (Update 3 or later). Customer workstations frequently run mixed Siemens patch levels across STEP 7, WinCC, Startdrive, and add-on packages, which is an unsupported configuration that reproduces the crash even after the project itself is clean. Align all Siemens packages to the same latest patch level before opening a Siemens support ticket.

What is the difference between the released version and the work-state version of a faceplate type?

The released version is a frozen, signed snapshot of the faceplate type that all instances use at runtime. The work-state version is the in-progress edit, visible only inside TIA Portal. Saving the work-state and selecting Release version from the shortcut menu promotes it to a new released version. Crash recovery relies on the released version because the work-state cache can become corrupt.

Back to blog