Overview: WinCC Flexible vs. TIA Portal WinCC
WinCC Flexible was Siemens' standalone HMI configuration suite from 2004 through 2014, used to program SIMATIC Panels, Multi Panels, and Comfort/Mobile Panels that were integrated into STEP 7 V5.x or operated as standalone installations. With the release of TIA Portal (Totally Integrated Automation Portal) in 2010, the HMI engineering environment was folded into the unified engineering framework as SIMATIC WinCC (TIA Portal). WinCC Flexible 2008 SP5 was the final standalone release; maintenance updates stopped in 2018.
The migration path from WinCC Flexible to TIA Portal WinCC is officially supported through the TIA Portal Migration Tool, which converts the source project (including screens, tags, alarms, recipes, scripts, and connections) into a TIA Portal HMI device representation. Direct editing of WinCC Flexible binary data outside this tool is not supported by Siemens; the proprietary .hmi container and embedded binary graphic streams must be parsed by the migration tool to produce a valid TIA Portal project.
Source Project Storage Architecture
Understanding how WinCC Flexible stores project data is critical for engineers performing manual recovery or preparing for migration.
When a WinCC Flexible project is integrated into a STEP 7 V5.x project, the source files are located in a folder called HmiES within the STEP 7 project tree. This folder contains:
-
<project>.hmi— the compressed binary project container holding all screens, tags, alarms, recipes, and configuration data. - Embedded graphic objects stored in compressed internal format (not standard PNG/BMP).
- VB script source code (where applicable).
- Connection and tag database linking to the STEP 7 symbol table.
Standalone WinCC Flexible projects (not integrated with STEP 7) use the same internal container format but reside in a user-selected folder with a single .hmi file. Neither format can be opened, edited, or rendered by external tools — the files are deliberately opaque to protect intellectual property and to enforce configuration integrity.
Prerequisites for Migration
Before initiating the migration, verify the following requirements:
| Component | Requirement |
|---|---|
| Source project | WinCC Flexible 2008 SP2 or later (SP5 recommended for maximum compatibility) |
| Target engineering | TIA Portal V13 SP1 or later (V15.1, V16, V17, or V20 recommended for current firmware support) |
| License | Valid TIA Portal license corresponding to the HMI device family being migrated (Basic, Comfort, or WinCC Advanced/Professional) |
| Target panel/runtime | Siemens-supported successor device (see device substitution table below) |
| Operating system | Windows 10/11 (64-bit) for TIA Portal V16+ |
| Administrative rights | Required for installation and migration tool execution |
For projects using a 16:9 aspect ratio or high-resolution graphics introduced in newer Comfort Panels, ensure the target TIA Portal version supports the panel's firmware revision. TIA Portal V17 or later is required for Comfort Panels V3 firmware.
Device Substitution: Mapping Old Panels to TIA Portal Devices
WinCC Flexible supported a wide range of SIMATIC Panels, many of which are now discontinued. The TIA Portal migration tool handles device substitution automatically, but engineers should verify the mapping before starting the migration:
| WinCC Flexible Device | Migration Target (TIA Portal) |
|---|---|
| OP 77A, OP 77B | KTP400 Basic (mono PN) |
| TP 177A, TP 177B (4") | KTP400 Basic or KTP600 Basic |
| OP 177B, TP 177B 6" | KTP600 Basic or KTP1000 Basic |
| TP 277 6" | TP700 Comfort |
| MP 277 8" / 10" | TP900 Comfort / TP1200 Comfort |
| MP 377 12" / 15" / 19" | TP1500 Comfort / TP1900 Comfort / TP2200 Comfort |
| Mobile Panel 177 / 277 | KTP700 Mobile or KTP900 Mobile (TIA V15+) |
| PC Runtime (WinCC Flexible RT) | WinCC Runtime Advanced (TIA Portal) or WinCC Runtime Professional |
Devices that have no direct successor (e.g., OP 73, TP 170A older units) require manual re-engineering as a different panel class with adjusted screen layout.
Step-by-Step Migration Procedure
-
Back up the source project. Copy the
.hmifile (standalone) or the entire STEP 7 project folder including theHmiESdirectory to a secure location. Never migrate from the only copy. - Open TIA Portal and create a new project. The migration tool is invoked from the project view, not the portal view.
- Navigate to Project Tree → Options → Migration. Select "WinCC flexible project" as the source format. The tool path may differ slightly across TIA Portal versions: in V15 and later, it appears under the "Project" menu in the project tree context.
-
Select the source file. Browse to the
.hmifile or to theHmiESfolder of the STEP 7 project. The migration tool validates the project version and structure. - Choose the target device. The tool proposes a successor device based on the substitution table. Confirm or override the selection. If the target is a PC runtime, specify WinCC Runtime Advanced or Professional.
- Configure transfer options. Select which elements to migrate: screens, tags, alarms, recipes, logs, scripts, scheduled tasks, user administration, and language resources. Skipping elements reduces migration time but increases post-migration rework.
- Execute the migration. The tool writes a new device node into the TIA Portal project tree. A migration log is generated showing converted objects, warnings, and errors.
- Review the migration log. Critical items (unsupported objects, truncated tag names, missing connections) appear as warnings that must be addressed manually.
- Compile the target project. Use "Compile → Software (rebuild all)" to validate the migrated configuration. Compilation errors indicate semantic issues requiring manual correction.
- Download to the target device (for panel projects) or build the runtime (for PC-based targets). Verify on a test bench before field deployment.
Graphics Conversion: What Actually Happens
The user's specific concern — preserving complex P&ID graphics with all detail — is the most common challenge in WinCC Flexible migration. The conversion behavior depends on the graphic type used in the source project:
| Source Graphic Type | Migration Result in TIA Portal |
|---|---|
| Standard vector primitives (line, circle, rectangle, polygon, text) | Converted 1:1 to TIA Portal screen objects |
| WinCC Flexible Smart Objects (bar, gauge, trend, message display, alarm view) | Converted to equivalent TIA Portal HMI controls; some properties reset to defaults |
| External graphics (.bmp, .jpg, .png, .emf, .wmf) | Copied to project graphics folder; references preserved |
| Symbol libraries (S7 symbol or external library) | Copied to the project graphics pool; custom symbol libraries may require manual re-registration |
| SVG graphics (WinCC Flexible 2008 SP3+) | Converted to TIA Portal SVG with possible loss of animation bindings |
| OLE objects, ActiveX controls | Not supported in TIA Portal HMI; require manual redesign |
| WinCC Flexible faceplates (instance-based) | Converted to TIA Portal faceplates, but interface properties require manual review |
For P&ID projects with hundreds of objects per screen, the migration tool preserves the object tree and most property bindings. However, the following items commonly require post-migration attention:
- Layer assignments are converted, but layer visibility logic in scripts may need rewriting.
- Animation sequences (appearance, disappearance, movement) translate to the TIA Portal animation model; complex multi-step animations occasionally need rework.
- Dynamic SVG introduced in WinCC Flexible 2008 SP3+ requires TIA Portal V14 SP1 or later for full feature parity.
- Z-order (object stacking) is preserved; verify after migration because some panel resolutions change the visual layout.
Tag and Alarm Migration
Tag migration in TIA Portal preserves naming, data type, and PLC connection parameters. Specific behaviors:
- Tag names longer than 128 characters (TIA Portal limit) are flagged in the migration log; these require manual shortening.
- Array tags with more than six dimensions are converted but limited to TIA Portal's array support (max 6 dimensions).
- External tags (PLC points) retain their connection assignment if the target controller (S7-300/400/1200/1500) is present in the TIA Portal project. Missing controllers generate warnings; tags become "connectionless" and must be re-bound.
- Limit values and linear scaling properties are preserved.
Alarms (discrete, analog, and S7-based) are migrated with the following notes:
- Alarm classes (Errors, Warnings, System) are converted to TIA Portal alarm classes with default acknowledgment behavior.
- Alarm texts are preserved including multi-language entries.
- S7 alarm number assignments (ALARM_S / ALARM_D) require the matching alarm configuration to exist in the STEP 7 (TIA) program; otherwise the alarm is registered as "unassigned."
- Custom alarm classes defined in WinCC Flexible are converted but properties like "go-to-source" must be re-validated.
Scripts and Scheduled Tasks
WinCC Flexible used VBScript for global and local scripts. TIA Portal WinCC uses the same VBScript engine with the following migration behavior:
| Script Element | Migration Behavior | |
|---|---|---|
| Built-in functions (ShowScreen, SetBit, etc.) | Converted to TIA Portal equivalents automatically | |
Tag access syntax SmartTags("TagName")
|
Preserved; same syntax in TIA Portal | |
| Screen object access (HMIRuntime.Screens) | Preserved with same object model | |
| System functions not supported in TIA Portal runtime | Marked in migration log; require manual rewriting | |
| Scheduled tasks (time-based, event-based) | Converted to TIA Portal "Scheduled tasks" with trigger reconfiguration |
| Symptom | Probable Cause | Resolution |
|---|---|---|
| Migration tool reports "source project is corrupt" | WinCC Flexible 2008 SP1 or earlier project with incompatible internal format | Open in WinCC Flexible 2008 SP5, resave, then migrate |
| Tags become "connectionless" after migration | Target PLC not present in TIA Portal project | Add the controller to the TIA Portal project, then re-bind tags via "Compile → Tags (rebuild all)" |
| Graphics appear with wrong colors or transparency | Color palette differences between source panel and target panel | Reassign color properties via "Adapt project" wizard in TIA Portal |
| Compilation error: "Object type not supported" | ActiveX or custom OLE object in source | Delete the unsupported object and replace with TIA Portal equivalent |
| Migration log shows "Tag name truncated" | Tag name exceeds 128 characters in TIA Portal | Rename tags in the source project before migration, or post-migration in TIA Portal with PLC tag mapping update |
| Alarm texts display placeholder characters | Missing language fonts on target panel | Install the required font set in the TIA Portal project under "Runtime settings → Language & fonts" |
| Faceplate interface not visible at runtime | Property linkage broken during migration | Open the faceplate in the TIA Portal faceplate editor, re-establish interface tag bindings |
| VBScript runtime error at execution | Function call signature changed between WinCC Flexible and TIA Portal HMI | Cross-reference the script with TIA Portal VBScript reference manual; update function calls |
| Migration tool not visible in TIA Portal menu | TIA Portal version does not support source version, or license missing | Update TIA Portal to a version supporting the source project; verify the WinCC Engineering license is installed |
Alternative: PC-Based Runtime Architecture
If the original WinCC Flexible project used PC Runtime, the modern equivalent is WinCC Runtime Advanced (TIA Portal) or WinCC Runtime Professional (TIA Portal). The migration path differs:
- WinCC Runtime Advanced — direct migration of WinCC Flexible PC Runtime to a TIA Portal PC station. Functionality is essentially equivalent.
- WinCC Runtime Professional — for SCADA-scale applications, requires manual re-engineering. The project structure is fundamentally different: WinCC Professional uses graphics with C/VBScript and a different tag database architecture.
For multi-client distributed systems originally built with WinCC Flexible RT as a single-node solution, TIA Portal's WinCC Professional can introduce client-server architecture that was not available in WinCC Flexible.
Field Commissioning Checklist
When deploying the migrated project to a production line, observe the following procedural steps:
- Verify the target panel's firmware version matches the TIA Portal engineering version (e.g., TIA V17 projects require panel firmware V17.x or compatible).
- Back up the panel's existing project before transfer (use ProSave or TIA Portal "Backup" function).
- Use TIA Portal's "Download to device" with the correct transfer mode (PN/IE, USB, MPI/DP, or serial — though serial is increasingly uncommon).
- After download, perform a panel restart and verify the project boots without errors.
- Test operator workflows end-to-end: login, navigate screens, acknowledge alarms, modify setpoints, handle recipes.
- Verify time synchronization between the panel and the PLC (WinCC Flexible projects frequently used panel-as-master; TIA Portal projects typically use PLC-as-master).
- Document the migration completion, including any manual modifications, in a project handover dossier.
FAQ
What is the difference between WinCC Flexible and TIA Portal WinCC?
WinCC Flexible is a standalone HMI configuration tool used from 2004 to 2014 for SIMATIC Panels and PC Runtime. TIA Portal WinCC is the integrated successor, available since TIA Portal V11, with a unified engineering environment for PLC and HMI. Siemens officially supports migration from WinCC Flexible 2008 SP2+ to TIA Portal WinCC via the built-in migration tool.
Can I open a WinCC Flexible .hmi file directly in TIA Portal?
No. The .hmi file uses a proprietary compressed container format that TIA Portal cannot parse directly. You must use the TIA Portal Migration Tool (Project → Migrate WinCC flexible project) to convert it into a TIA Portal HMI device node.
Which WinCC Flexible devices can be migrated to TIA Portal WinCC?
All WinCC Flexible 2008 SP2+ panels (OP 77, OP 177, TP 177, OP 277, TP 277, MP 177, MP 277, MP 377, Mobile Panels 177/277) have successor devices in the TIA Portal catalog: KTP Basic, TP Comfort, KTP Mobile, and WinCC Runtime Advanced/Professional. The migration tool performs automatic device substitution with configurable override.
Are all WinCC Flexible graphics preserved during migration?
Standard vector primitives, external graphics, and Smart Objects migrate directly. ActiveX controls, OLE objects, and certain custom symbols require manual replacement. Complex P&ID graphics with hundreds of objects typically migrate intact, but layer assignments, dynamic SVG bindings, and animation sequences should be verified post-migration.
Do migrated projects require license upgrades?
Yes. The target TIA Portal project requires a valid WinCC Engineering license corresponding to the device class (Basic, Comfort, Advanced, or Professional). Additionally, runtime licenses (RT Advanced or RT Professional) must match the target device. Existing WinCC Flexible licenses are not transferable to TIA Portal.
How do I access the migration tool in TIA Portal?
Open or create a TIA Portal project, switch to the project view, right-click the project node, and select "Migrate WinCC flexible project" (menu path varies by TIA Portal version: V13-V14 under "Project," V15+ under "Options → Migration"). Then browse to the source .hmi file or HmiES folder.
Can I migrate a WinCC Flexible project that is integrated into a STEP 7 V5.x project?
Yes. The WinCC Flexible project data is stored in the HmiES folder within the STEP 7 V5.x project tree. The TIA Portal migration tool reads from this folder. For best results, first migrate the STEP 7 V5.x PLC program to TIA Portal using the STEP 7 migration tool, then migrate the HMI project. This ensures tag connections are preserved.