Integrate WinCC Comfort V11 with STEP 7 V5.5: Migration & Tag Import Guide
This technical reference covers the two field-proven paths for combining a WinCC Comfort V11 (TIA Portal) HMI station with a STEP 7 V5.5 PLC project. The combination is common when a plant floor already runs legacy S7-300/S7-400 controllers programmed with STEP 7 V5.5 but a new Comfort Panel (KP700, TP700, KTP700, etc.) is being added or replaced with a TIA Portal-configured device. Native direct integration between STEP 7 V5.5 and WinCC Comfort V11 is not supported; the engineer must either migrate the controller project into TIA Portal or transfer symbols through an export/import CSV workflow.
1. Overview of the Two Integration Paths
| Path | Direction | Tooling | When to Use |
|---|---|---|---|
| Migration | STEP 7 V5.5 → TIA Portal V11 | STEP 7 Professional V11 (TIA Portal) | Single source of truth for controller + HMI; long-term project lifecycle; future TIA Portal upgrades |
| CSV Export/Import | STEP 7 V5.5 → CSV → WinCC Comfort V11 | STEP 7 V5.5 + WinCC Comfort V11 (no migration) | HMI-only project; controller project frozen for production reasons; mixed-vendor maintenance teams |
Both paths preserve the S7-300 program logic on the PLC. The difference is whether the controller program itself moves into the TIA Portal project tree (migration) or whether the HMI simply receives a copy of the symbol list (tag export).
2. Prerequisites
2.1 Hardware / Software Matrix
| Component | Requirement | Notes |
|---|---|---|
| PLC | SIMATIC S7-313C (6ES7313-5BE01-0AB0 or compatible) | Any S7-300 / S7-400 supported by STEP 7 V5.5 SPx is acceptable |
| HMI | SIMATIC KP700 Comfort (6AV2 124-1GC01-0AX0) or equivalent Comfort Panel | TP700, KTP700, TP900, KP1200, TP1200 also supported |
| STEP 7 | SIMATIC STEP 7 V5.5 + SP2 (or later) | Source project authoring |
| TIA Portal | STEP 7 Professional V11 (TIA Portal) + WinCC Comfort V11 + SP2 | HMI configuration and/or migration target |
| License | Floating or single-user license for both packages | Migration path requires STEP 7 Professional V11 license; WinCC Comfort V11 license required for HMI editing |
| Network | TCP/IP or PROFIBUS between PG and devices | MPI/TCP adapters (e.g., PC Adapter USB 6ES7972-0CB20-0XA0) supported for download |
2.2 Project Files in Scope
-
*.s7p— STEP 7 V5.5 project file (cannot be opened by TIA Portal directly without migration) -
*.ap11— TIA Portal V11 project archive -
*.csv— Symbol export (STEP 7 V5.5 side) / tag import (WinCC Comfort V11 side)
3. Path A — Migrating STEP 7 V5.5 into TIA Portal V11
This is the recommended path when the HMI and PLC must be maintained as a single, integrated project going forward. After migration, the PLC station, the Comfort Panel, and the connections between them all live in one TIA Portal project, which means tag updates in the PLC automatically propagate to the HMI when the project is recompiled.
3.1 Pre-Migration Checklist
- Compile the STEP 7 V5.5 project without errors (PLC → Compile All).
- Resolve any remaining warnings under PLC → Check Block Consistency.
- Remove unsupported hardware (e.g., obsolete CP modules, soft-PLC stubs) that have no TIA Portal equivalent.
- Document all symbol names, DB structures, and UDTs — these become the contract between PLC and HMI after migration.
- Close the project in STEP 7 V5.5 to release file locks.
3.2 Step-by-Step Migration Procedure
- Open STEP 7 Professional V11 (TIA Portal) on the engineering station.
- From the Project view, select Project → Migrate project.
- Browse to the STEP 7 V5.5
.s7pfile and confirm. - TIA Portal performs an automatic conversion: S7 program blocks are translated to the TIA Portal representation, HW Config is converted to the device view, and the symbol table is preserved.
- Review the migration log (Inspector window → Info → Compile). Any blocks that failed conversion are listed with the original STL source for manual rework.
- Add the Comfort Panel device: Add new device → HMI → Comfort Panel → KP700 (or your specific variant).
- Create an HMI connection from the new HMI station to the migrated S7-300 station. The connection wizard offers the standard S7ONLINE protocol over PROFINET (default) or PROFIBUS.
- Drag the migrated PLC tags from the project tree into the HMI tag table — TIA Portal automatically resolves data types and address pointers.
- Recompile both stations (Right-click device → Compile → Software (rebuild all blocks)).
- Download to the PLC first, then to the HMI. Order matters: the HMI must be able to resolve tags against an online PLC program that matches.
3.3 What Migrates Cleanly vs. What Does Not
| STEP 7 V5.5 Object | Migration Result in TIA Portal V11 |
|---|---|
| OB / FB / FC with standard STL / LAD / FBD | Full migration; equivalent blocks in Programs folder |
| Instance DBs | Migrated with structure preserved |
| Shared / global DBs | Migrated; addresses retained |
| Symbol table | Migrated to PLC tags; absolute addressing mode preserved |
| SFB / SFC calls | Migrated; check system family for compatibility |
| User-defined types (UDT) | Migrated as PLC data types |
| Old S7-300 CPU firmware variants < V2.x | May require firmware upgrade before migration completes |
| Custom libraries / master copies | Must be migrated separately and re-inserted |
4. Path B — CSV Tag Export from STEP 7 V5.5 and Import into WinCC Comfort V11
Use this path when the STEP 7 V5.5 PLC project cannot be migrated (e.g., production-locked, vendor-supported by a third party under contract, or the HMI team has no STEP 7 Professional license). The PLC remains under STEP 7 V5.5 control; the HMI is built as a standalone project in WinCC Comfort V11 and merely consumes a snapshot of the symbol table.
4.1 Exporting Symbols from STEP 7 V5.5
- Open the STEP 7 V5.5 project and the relevant S7 Program's Symbols editor.
- Select Symbol Table → Export (or Table → Export).
- Choose a destination directory and file name. STEP 7 V5.5 exports in CSV with a specific column layout required for WinCC Comfort import.
4.2 Required CSV Column Layout
WinCC Comfort V11 expects a specific column order. The column separator is configurable (default ; in EU locales, , in US locales). Each row is one tag.
| Column | Header | Meaning | Example |
|---|---|---|---|
| 1 | Name |
Symbolic tag name (must be a valid HMI tag identifier; max 128 chars) | Motor1_Run |
| 2 | Path |
Optional grouping path; becomes the tag's folder in the HMI tag table | Motors\Conveyor1 |
| 3 | Datatype |
HMI data type — must be one of the WinCC Comfort primitive types |
Bool, Int, Real, String, Word, DInt
|
| 4 | Length |
For string types only; number of characters | 20 |
| 5 | Connection |
Name of the HMI connection (defined inside the HMI project) | Connection_1 |
| 6 | Address |
Absolute S7 address — format depends on address area |
DB10.DBX0.0, MW20, I0.0
|
4.3 Address Format Reference
| Memory Area | Address Syntax (WinCC Comfort Import) | Example |
|---|---|---|
| Input | I<byte>.<bit> |
I0.0 |
| Output | Q<byte>.<bit> |
Q4.7 |
| Merker (Flag) |
M<byte>.<bit>, MW<word>, MD<dword>
|
M10.0, MW20, MD100
|
| Data Block (bit) | DB<db>.DBX<byte>.<bit> |
DB10.DBX0.0 |
| Data Block (word) | DB<db>.DBW<word> |
DB10.DBW2 |
| Data Block (dword) | DB<db>.DBD<dword> |
DB10.DBD4 |
| Data Block (real) |
DB<db>.DBD<dword> with datatype Real
|
DB10.DBD8 |
| Timers / Counters | Handled as Word / Int references |
T0 (as Word), C0 (as Word) |
4.4 Example CSV File
Name;Path;Datatype;Length;Connection;Address
Motor1_Run;Motors\Conveyor1;Bool;;Connection_1;DB10.DBX0.0
Motor1_Speed;Motors\Conveyor1;Int;;Connection_1;DB10.DBW2
Motor1_Current;Motors\Conveyor1;Real;;Connection_1;DB10.DBD4
E_Stop_OK;Safety;Bool;;Connection_1;I0.0
AlarmText_01;Alarms;String;40;Connection_1;DB20.DBW0
Connection column.4.5 Importing into WinCC Comfort V11
- Open the WinCC Comfort V11 project containing the KP700 station.
- Open the HMI tag table: Project tree → HMI tags → Default tag table.
- Select Tag table → Import from the menu bar.
- Browse to the CSV exported from STEP 7 V5.5.
- Confirm the import mapping. WinCC Comfort auto-detects columns by header name when present; if headers are missing, manually map Name → Name, Datatype → Datatype, Address → Address, etc.
- Resolve any duplicate-name warnings before completing the import.
- Recompile the HMI station: Right-click HMI device → Compile → Software.
4.6 Connection Definition for the Imported Tags
The CSV references a connection name (e.g., Connection_1). This must exist in the HMI project before import, otherwise the rows will be imported as offline tags without an address. Define the connection first:
- Project tree → HMI device → Connections.
- Right-click → Add new connection.
- Select S7ONLINE driver.
- Enter the partner (PLC) IP address and rack/slot. For an S7-313C on rack 0 slot 2, enter slot
2. - Name the connection exactly as it appears in the CSV (
Connection_1).
5. Choosing the Right Path — Decision Matrix
| Scenario | Recommended Path | Reason |
|---|---|---|
| Greenfield installation with new Comfort Panel and S7-300 | A — Migration | Single project, single license workflow, automatic tag propagation |
| Existing S7-300 under STEP 7 V5.5, only the HMI is being replaced | B — CSV Import | Controller project frozen; HMI team has no STEP 7 Professional license |
| Production machine under vendor support contract | B — CSV Import | Vendor does not authorize STEP 7 migration; HMI refresh only |
| Long-term plant expansion with future TIA Portal upgrades planned | A — Migration | Avoids repeated migration churn; enables Comfort-to-S7-1500 migration later |
| Multiple HMIs sharing one PLC, mixed engineering environments | B — CSV Import per HMI | Decouples HMI lifecycle from PLC lifecycle |
6. Verification After Integration
6.1 Static Verification (Offline)
- Compile both projects without errors. Warnings about unresolved tags must be zero.
- In WinCC Comfort, open the Cross-reference editor (Tools → Cross-reference). Confirm every imported tag has at least one reference — orphaned tags indicate a bad address or unused export row.
- Validate data types: a STEP 7
WORDbecomes an HMIWord; aREALin DB10.DBD8 becomesReal. Mismatches typically surface as offline value displays showing "####" or as connection-loss alarms at runtime.
6.2 Online Verification (Live PLC + HMI)
- Download the PLC program first (Path A) or confirm the PLC program is live and unchanged (Path B).
- Download the HMI configuration to the KP700 via PROFINET or USB.
- On the HMI, open a screen that displays an imported tag (e.g.,
Motor1_Run). - Toggle the bit in the PLC using the STEP 7 V5.5 Monitor/Modify tool. The HMI display should update within one acquisition cycle (default 1 s for Comfort Panels).
- From the HMI, force a write (e.g., set
Motor1_Speedvia an input field). Verify the new value appears in the PLC tag table. - Trigger an alarm from the PLC and confirm it appears on the HMI alarm view with the correct text and timestamp.
6.3 Diagnostic Indicators to Watch
| Symptom on KP700 | Likely Root Cause | Remediation |
|---|---|---|
| All tags show "####" or "--- | Connection not active; wrong PLC IP or rack/slot | Re-check Connections in HMI project; ping PLC from PG |
| Some tags show values, others show "Connection error" | Individual address points to DB that is not loaded on the PLC | Verify DB exists and is not optimized (unlinked) on the PLC |
| Tags display but never update | Acquisition cycle set too long or trigger condition never true | Inspect tag properties: set Cyclic in operation or trigger via PLC bit |
| Compile error: "Address not assigned" | CSV row has Connection name that does not match any HMI connection |
Re-create connection with exact same name, then re-import |
| Compile error: "Unknown data type" | CSV datatype string is misspelled (e.g., integer instead of Int) |
Match WinCC Comfort's primitive type list exactly |
| Migration log shows "Block not migrated" for FB/FC | Block uses construct unsupported in TIA Portal V11 (e.g., old multi-instance) | Open block in TIA Portal, manually rewrite the offending section |
7. Version Compatibility Matrix
| STEP 7 V5.5 Version | Target TIA Portal | Migration Support | CSV Import Support |
|---|---|---|---|
| V5.5 + SP1 | V11 | Yes | Yes |
| V5.5 + SP2 | V11 SP2 | Yes | Yes |
| V5.5 + SP4 | V11 SP2 | Yes | Yes |
| V5.4 or earlier | V11 | Yes (upgrade V5.4 project to V5.5 first) | Yes |
| V5.5 + SPx | V13 / V14 / V15 / V16 | Yes (chain migration: V5.5 → V11 → V13 → ...) | Yes |
8. Security and Plant-Floor Considerations
- Know-how protection: STEP 7 V5.5 blocks with know-how protection are migrated into TIA Portal but the protection must be re-applied manually. The CSV export will not include protected symbol details.
- Change management: When using Path B, every PLC symbol change requires a manual CSV re-export. Document this in the project's change-control workflow to avoid tag drift.
- Online vs. offline tag consistency: The CSV is a snapshot. Renaming a tag in STEP 7 V5.5 without re-exporting breaks the HMI linkage silently — alarms and screens will reference the old (orphan) tag.
- Network segmentation: When the HMI connects to the PLC via PROFINET, ensure both devices sit on the same subnet or VLAN. Use the S7ONLINE driver default port (102/TCP).
9. Common Pitfalls and Field Tips
- Mixing Path A and Path B in the same project. Decide once. A migrated project does not need CSV imports, and a CSV-driven project should not be migrated mid-flight.
-
Forgetting to set the connection name in the CSV. An empty
Connectioncolumn creates an offline tag that never updates. -
Using STEP 7 V5.5 absolute addresses without the DB prefix.
DBX0.0is invalid; the import expectsDB10.DBX0.0for a data-block-relative address. - Re-downloading the PLC after a CSV re-import without a full PLC restart. If DB structures changed, the PLC must be restarted in STOP → RUN to reinitialize the DBs.
- Assuming bidirectional sync. Renaming a tag in WinCC Comfort does not propagate back to STEP 7 V5.5 in Path B.
- Skipping the cross-reference check. Orphan tags consume memory and slow HMI startup. Always run a cross-reference before final download.
10. Frequently Asked Questions
Can I open a STEP 7 V5.5 project directly in TIA Portal V11 without migration?
No. TIA Portal V11 cannot open .s7p files directly. The Project → Migrate project function is the only supported entry point, and it requires STEP 7 Professional V11 (not just WinCC Comfort V11).
Do I need STEP 7 Professional or can I use WinCC Comfort alone for the CSV import path?
You only need WinCC Comfort V11 to build the HMI project. STEP 7 Professional V11 is only required if you choose the migration path. The CSV import itself is performed inside WinCC Comfort's tag table editor.
What CSV column order does WinCC Comfort V11 expect?
The required columns are Name, Path, Datatype, Length, Connection, Address. The header row is optional but recommended. The separator is locale-dependent — typically ; in EU and , in US installations.
How do I import tags from STEP 7 V5.5 without migrating the PLC project?
Export the symbol table from STEP 7 V5.5 to CSV (Symbol Table → Export), then in WinCC Comfort V11 open the HMI tag table and select Import. The CSV must reference an HMI connection that already exists in the project.
Will all my STEP 7 V5.5 blocks migrate cleanly to TIA Portal V11?
Standard STL/LAD/FBD blocks, instance DBs, shared DBs, UDTs, and the symbol table migrate cleanly. Blocks using older multi-instance syntax, some legacy SFB/SFC variants, and any block relying on removed CPU features may need manual rework. Always review the migration log in the Inspector window.
My imported tags show "Connection error" at runtime — what is the most common cause?
The most common cause is a mismatch between the connection name in the CSV and the actual connection defined in the HMI project. Open Connections in the HMI project, verify the connection exists with the exact same name as the CSV's Connection column, and confirm the partner IP address and rack/slot match the physical PLC.