Integrate WinCC Comfort V11 with STEP 7 V5.5: Migration & Tags

David Krause13 min read
SiemensTIA PortalTutorial / How-to
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

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.

Engineering caveat: WinCC Comfort is a TIA Portal engineering tool that ships with STEP 7 Basic / STEP 7 Professional as of V11. It does not integrate into STEP 7 V5.5 — STEP 7 V5.5 cannot open a .ap11 project, and WinCC Comfort cannot attach to a .s7p station. Treat the two as separate engineering environments that must be reconciled through one of the two paths documented below.

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)
Backup before any migration: Archive the STEP 7 V5.5 project to a write-protected network share. Migration is non-destructive to the source project but should be rehearsed offline before touching a production machine.

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

  1. Compile the STEP 7 V5.5 project without errors (PLC → Compile All).
  2. Resolve any remaining warnings under PLC → Check Block Consistency.
  3. Remove unsupported hardware (e.g., obsolete CP modules, soft-PLC stubs) that have no TIA Portal equivalent.
  4. Document all symbol names, DB structures, and UDTs — these become the contract between PLC and HMI after migration.
  5. Close the project in STEP 7 V5.5 to release file locks.

3.2 Step-by-Step Migration Procedure

  1. Open STEP 7 Professional V11 (TIA Portal) on the engineering station.
  2. From the Project view, select Project → Migrate project.
  3. Browse to the STEP 7 V5.5 .s7p file and confirm.
  4. 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.
  5. Review the migration log (Inspector window → Info → Compile). Any blocks that failed conversion are listed with the original STL source for manual rework.
  6. Add the Comfort Panel device: Add new device → HMI → Comfort Panel → KP700 (or your specific variant).
  7. 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.
  8. Drag the migrated PLC tags from the project tree into the HMI tag table — TIA Portal automatically resolves data types and address pointers.
  9. Recompile both stations (Right-click device → Compile → Software (rebuild all blocks)).
  10. 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.
Field-proven caveat: Some legacy S7-300 blocks using absolute addressing or older STL constructs may not migrate cleanly. Always perform the migration on a test bench first and verify each FB/FC/DB executes identically against a simulated process. Refer to the Siemens Migration Guide for STEP 7 V5.x → TIA Portal for the supported block set per TIA Portal version.

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

  1. Open the STEP 7 V5.5 project and the relevant S7 Program's Symbols editor.
  2. Select Symbol Table → Export (or Table → Export).
  3. 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
Encoding: Save the CSV as ANSI / Windows-1252 for EU locales. UTF-8 with BOM works on V11 SP2 and later. If WinCC Comfort reports "import error on row N," the most common cause is a stray delimiter, an unsupported character, or an empty Connection column.

4.5 Importing into WinCC Comfort V11

  1. Open the WinCC Comfort V11 project containing the KP700 station.
  2. Open the HMI tag table: Project tree → HMI tags → Default tag table.
  3. Select Tag table → Import from the menu bar.
  4. Browse to the CSV exported from STEP 7 V5.5.
  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.
  6. Resolve any duplicate-name warnings before completing the import.
  7. 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:

  1. Project tree → HMI device → Connections.
  2. Right-click → Add new connection.
  3. Select S7ONLINE driver.
  4. Enter the partner (PLC) IP address and rack/slot. For an S7-313C on rack 0 slot 2, enter slot 2.
  5. 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 WORD becomes an HMI Word; a REAL in DB10.DBD8 becomes Real. Mismatches typically surface as offline value displays showing "####" or as connection-loss alarms at runtime.

6.2 Online Verification (Live PLC + HMI)

  1. Download the PLC program first (Path A) or confirm the PLC program is live and unchanged (Path B).
  2. Download the HMI configuration to the KP700 via PROFINET or USB.
  3. On the HMI, open a screen that displays an imported tag (e.g., Motor1_Run).
  4. 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).
  5. From the HMI, force a write (e.g., set Motor1_Speed via an input field). Verify the new value appears in the PLC tag table.
  6. 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
Chained migration note: If your long-term target is TIA Portal V16 or later, you cannot skip TIA Portal V11. The supported chain is STEP 7 V5.5 → TIA Portal V11 (SP2 minimum) → V13 → V14 → V15.1 → V16. Each step must be opened, compiled, and saved in the intermediate version. See the Siemens Migration FAQ for TIA Portal versions for the full chain.

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

  1. 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.
  2. Forgetting to set the connection name in the CSV. An empty Connection column creates an offline tag that never updates.
  3. Using STEP 7 V5.5 absolute addresses without the DB prefix. DBX0.0 is invalid; the import expects DB10.DBX0.0 for a data-block-relative address.
  4. 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.
  5. Assuming bidirectional sync. Renaming a tag in WinCC Comfort does not propagate back to STEP 7 V5.5 in Path B.
  6. 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.

Back to blog