Resolving Named Connection Failures During PCS 7 V6.0 to WinCC V7 Migration
This reference covers the complete resolution path for named connection failures that occur when migrating a PCS 7 V6.0 runtime project to a WinCC V7 environment on fresh PC hardware. The failure mode — an Ethernet-bound named connection not establishing between the WinCC runtime and an S7-400 H-CPU (H-station) — has multiple root causes, each of which must be cleared in sequence. Use the configuration procedure, verification checklist, and troubleshooting matrix to isolate and correct each failure point.
1. Problem Definition: Named Connection Failure After PCS 7 V6.0 to WinCC V7 Migration
The classic failure mode is the following: an operating PCS 7 V6.0 installation is destroyed on its original PC hardware (typically Windows Server 2003 with a SIMATIC NET PC software stack tuned for the WinCC V6 RT environment), and the project artifacts are rebuilt onto a fresh PC running Windows XP SP3 or a 32-bit Windows 7 release. The S7-400 H-CPU stations remain intact and respond normally on the plant Ethernet network, but the WinCC V7 runtime reports the named connection to the AS as failed, down, or in cyclic reconnect, and no process tags update.
The named connection is the symbolic, configuration-driven S7 connection type used by PCS 7 operator stations (OS) to the assigned automation station (AS) over Industrial Ethernet / PROFINET. Unlike the unnamed S7 TCP/IP or S7 ISO-on-TCP connection that the WinCC TCP/IP or ISO channel unit uses, the named connection is not configured by IP address inside WinCC; it is configured by a symbolic connection name in the STEP 7 / SIMATIC Manager project and resolved through the PC station configuration editor and SIMATIC NET at runtime.
Per the Siemens TIA Portal documentation on Configuring a connection via 'Named connections' (Basic Panels through RT Professional), the symbolic connection name and the application name are configured in STEP 7, and the named connection can only be configured for integrated connections. WinCC's "SIMATIC S7 Protocol Suite" channel exposes this configuration through the "Named Connections" channel unit, where the symbolic connection name is mapped to the target WinCC application name.
The Siemens Knowledge Base article on How to configure a "Named Connections" channel unit connection confirms the runtime side: for setting up a logical connection, one of the symbolic connection names listed in the "Connection name" field is assigned to a selected application name in the WinCC Channel Diagnostics.
2. Root Cause Analysis: Why Named Connections Fail After Migration
Five distinct failure modes have been observed on migrated PCS 7 V6.0 → WinCC V7 installations. Each has a different signature in the WinCC Channel Diagnostics tool and a different fix.
| ID | Failure Mode | Symptom in WinCC | Likely Cause |
|---|---|---|---|
| F1 | No symbolic name resolvable | Channel Diagnostics lists no connections, "Connection name" dropdown empty | XDB file not imported into Station Configuration Editor; PC station local ID missing |
| F2 | OPC server not in PC station | Diagnostic shows "OPC.SimaticNET" not registered as service | SIMATIC NET PC software not installed, or version mismatch |
| F3 | Connection state 0x80040207 | Channel shows "Connection broken", tags have quality "Bad — Communication failure" | IP address or MAC address of IE General module not bound to the configured network |
| F4 | Only one of two H-CPUs reachable | Connection "partially available", only master CPU responds | Fault-tolerant S7 connection not configured; redundant connection partner missing in NetPro |
| F5 | SP2 restriction triggers | Named connection rejected at runtime startup | WinCC V7 SP2 without PowerTag authorization — see Section 7 |
3. Prerequisites and Required Software Components
Verify the following component matrix before opening WinCC Explorer. Missing any one component prevents the named connection from resolving at runtime.
| Component | Required Version (WinCC V7.0 SP3) | Required Version (WinCC V7.2) | Required Version (WinCC V7.3) |
|---|---|---|---|
| Operating System | Windows XP Professional SP3 (32-bit), Windows Server 2003 SP2 | Windows 7 SP1 (32/64-bit), Server 2008 R2 | Windows 7 SP1 (32/64-bit), Server 2008 R2 |
| STEP 7 | V5.4 SP5 or V5.5 (for PCS 7 V6.0 migration) | V5.5 SP2 or later | V5.5 SP3 or later |
| SIMATIC NET PC Software | V7.1 SPx or V7.1.4 | V8.1 SPx | V8.2 SPx |
| WinCC Internet Explorer Settings | Active scripting enabled, WinCC server added to local intranet zone | Same | Same |
| Ethernet Network | Industrial Ethernet (ISO) on TCP/UDP port 102 reachable from PC to AS | Same | Same |
| PG/PC Interface Assignment | PC Station -> Industrial Ethernet -> <network adapter> |
Same | Same |
4. PC Station Architecture for Named Connections
The named connection traverses three runtime layers. Each layer must be correctly populated for the symbolic connection name to resolve to a live S7 connection.
The application name configured in NetPro must match the slot index assigned in Station Configuration Editor. Typical mappings:
| Slot Index | Component Type | Application Name |
|---|---|---|
| 1 | WinCC RT Application |
WINCC (default) |
| 2 | OPC Server (SIMATIC NET) |
OPC-Server (default) |
| 3 | IE General / IE ISO |
IE (implicit) |
5. Step-by-Step Configuration Procedure
Execute the following sequence in order. Skipping any step breaks the chain.
5.1 Verify SIMATIC NET Installation
- Open Start -> Programs -> Siemens Automation -> SIMATIC -> SIMATIC NET -> Configuration -> Station Configuration Editor. Confirm the editor opens without error.
- Open Start -> Programs -> Siemens Automation -> SIMATIC -> SIMATIC NET -> Communication Settings and confirm
PG/PC InterfacelistsPC Station -> Industrial Ethernet -> <your NIC>. - Open the Services snap-in (services.msc) and confirm
SIMATIC NET OPC Server,S7DOS, andPNIOservices are set to Automatic and Started.
5.2 Configure the PC Station in Station Configuration Editor
- Launch Station Configuration Editor with administrator rights.
- Add component Slot 1: type
WinCC Application(the component labeled "HMI"), index 1. - Add component Slot 2: type
OPC Server, index 1. - Add component Slot 3: type
IE General. Click Properties and bind it to the physical NIC that connects to the plant Ethernet. Set the MAC and IP address to match the OS station address defined in the STEP 7 NetPro.
5.3 Generate and Import the XDB File from STEP 7 / SIMATIC Manager
- On the engineering station, open the migrated STEP 7 project that contains the WinCC OS PC station.
- In SIMATIC Manager, select the OS PC station object, then Options -> Configure Network (NetPro).
- Verify the S7 connections from the OS to each AS show symbolic connection names such as
AS01_OS,AS02_OS. The "Local ID" column must contain a non-zero value — this is the connection ID referenced by the XDB. - Select the OS PC station in NetPro, then Options -> Export Station to XDB. Save as
<station_name>.XDBin a path accessible from the runtime PC. - Transfer the XDB file to the runtime PC.
- On the runtime PC, open Station Configuration Editor and select Station -> Import. Browse to the XDB file. The component slots must populate with the same indices exported from STEP 7.
- Close Station Configuration Editor and confirm the prompt to save changes.
Error 0x80131902 or "component already exists", the XDB was generated against a different station name. Verify the station name matches exactly between STEP 7, the XDB file, and the Station Configuration Editor instance name.
5.4 Configure WinCC Channel for Named Connections
- Open WinCC Explorer on the runtime PC.
- Right-click Tag Management -> Add New Driver -> select
SIMATIC S7 Protocol Suite. - Expand
SIMATIC S7 Protocol Suite -> Named Connections. - Right-click
Named Connections-> New Connection. The Connection Properties dialog opens. - In the Connection name dropdown, select the symbolic name exported in the XDB (e.g.,
AS01_OS). Do not type the name manually — the dropdown is populated only when Station Configuration Editor holds a valid XDB import. - Set the application name field. The default
WINCCis correct when Slot 1 holds a WinCC Application component. - Click OK. Repeat for each AS to which the OS connects.
5.5 Compile the OS Project
- In WinCC Explorer, right-click the project root and select Rebuild All.
- Activate the runtime. The connections appear in Tools -> Channel Diagnostics with state transitions from Disconnected -> Establishing -> Connected.
6. WinCC V7 SP2 PowerTag Restriction
Beginning with WinCC V7.0 SP2, the named connection is only released by Siemens for use with the optional PowerTag package. Without PowerTag licensed and activated, the named connection either fails silently on startup or generates error 0x80004005 in Channel Diagnostics with the text "Named connections are not licensed."
The behavior is documented in the WinCC V7.0 SP2 release notes and persists through V7.0 SP3, V7.2, and V7.3 — only the licensing path is consistent. Workarounds for environments that cannot license PowerTag:
- Switch the connection from the "Named Connections" channel unit to the "TCP/IP" channel unit. This converts the symbolic name to an IP-address-bound S7 connection and removes the PowerTag dependency. The downside is the loss of automatic configuration when AS IP addresses change.
- Switch to the "ISO Industrial Ethernet" channel unit if the plant network uses ISO Transport. The same IP-vs-symbolic trade-off applies.
- For H-CPU (S7-400H) targets, replace the named connection with an H-capable S7 connection configured manually with both CPU IP addresses, and enable the "Establish connection to redundant partner" option in WinCC Channel Diagnostics.
V7.0.0.0 through V7.0.1.0 precede SP2; V7.0.2.0 and higher are at or above SP2.
7. Network and IP Configuration Verification
Before declaring the configuration complete, validate the network path and the PC station address.
| Check | Command / Tool | Expected Result |
|---|---|---|
| Network reachability to AS | ping <AS IP address> |
Reply with < 10 ms on local subnet |
| Port 102 reachable |
telnet <AS IP> 102 or PowerShell Test-NetConnection -Port 102
|
TcpTestSucceeded = True |
| OS PC station address matches XDB |
ipconfig /all + compare with NetPro OS object |
IP identical, MAC in Station Config Editor matches NIC |
| No firewall blocking | Disable Windows Firewall temporarily, retest | Connection establishes |
| Routing symmetry | tracert <AS IP> |
Direct route, <= 3 hops on plant LAN |
8. Runtime Diagnostic Procedure
Open WinCC Explorer -> Tools -> Channel Diagnostics on the running OS. For each named connection the tool shows the application name, the connection state, and the last error code.
| Connection State | Meaning | Next Action |
|---|---|---|
| Disconnected (initial) | WinCC RT not yet attempted setup | Wait, then re-check |
| Establishing | OPC server initiating connection | Normal transient state (2-5 s) |
| Connected | S7 connection live | Tags should update; verify a tag quality |
| Broken | Connection lost after being live | Check Ethernet, AS CPU run state |
| Not licensed (0x80004005) | PowerTag not present on V7 SP2+ | License PowerTag or migrate to TCP/IP |
| No partner reachable (0x80040207) | AS not responding on TCP/102 | Verify IP, firewall, AS CPU in RUN |
The OPC server diagnostic files at C:\Program Files\Siemens\Automation\SIMATIC_NET\opc2\log\ (default install path) contain a per-connection log with timestamps and ISO transport error codes. The relevant entries use the format OPC: connection <name> state change 1 -> 3 where 1=setup, 2=connected, 3=broken.
9. Troubleshooting Matrix
| Observed Symptom | First Check | Fix |
|---|---|---|
| Dropdown "Connection name" empty in WinCC Channel Diagnostics | Is the XDB imported into Station Configuration Editor? | Re-import XDB; restart Station Configuration Editor; restart OPC service |
| Connection name visible but greyed out | Is SIMATIC NET OPC Server running? | Set OPC service to Automatic, start, retest |
| Connection establishes then drops every 30 s | Is the IE General module bound to the correct NIC? | Open Station Configuration Editor -> Slot 3 Properties -> rebind to actual NIC |
| Only AS01 connects, AS02 (H-CPU #2) does not | Is the H-CPU redundant connection configured in NetPro? | Open NetPro -> OS-to-AS connection -> enable "Establish to redundant partner" |
| WinCC V7 SP2 installed and connection fails immediately | Is PowerTag licensed? | License PowerTag or migrate connection to TCP/IP channel unit |
| Channel Diagnostics shows connection but tags show quality bad | Is the AS in STOP or the CPU password protected? | Put AS in RUN; remove CPU password for RT communication |
| Connection worked on Windows Server 2003 but not Windows XP | DCOM configured? | Run dcomcnfg; grant SIMATIC NET OPC service launch and activation rights to SYSTEM and the WinCC service account |
| Error "Station name not found" in OPC server log | PC station name in Station Config Editor matches XDB? | Rename Station Configuration Editor instance to match STEP 7 station name |
| Connection timing out after 60 s, no log entry | Firewall on PC or intermediate switch? | Disable Windows Firewall; check managed switch ACLs for port 102 |
| Tags read correctly but writes fail with permission error | CPU write protection or wrong DB access level | Adjust DB access level to "standard" in AS hardware configuration |
10. Migration-Specific Caveats for PCS 7 V6.0 Projects
PCS 7 V6.0 originally paired with WinCC V6.0 and STEP 7 V5.3. Migrating forward to WinCC V7 requires the following, all of which touch the named connection path:
- STEP 7 upgrade: The PCS 7 migration wizard runs inside STEP 7 V5.4 or V5.5. The original project is opened in read-only and re-saved under the new version. The PC station object is rewritten with the new S7 connection table format.
- WinCC project upgrade: The migrated WinCC project is opened once with the target WinCC V7 release, which prompts for a project migration. During this migration the WinCC channel assignments are recomputed and the Symbolic Connection list is rebuilt.
- SIMATIC NET upgrade: The PC software stack must be upgraded to a release that matches the target WinCC version. A mixed V6.x SIMATIC NET with a V7 WinCC is unsupported and will not register the OPC server correctly with the WinCC channel.
-
PG/PC interface reset: After installing new SIMATIC NET, the
PG/PC Interfacetool must be reopened and the assignment reset toPC Station -> Industrial Ethernet -> <NIC>. This is the most common root cause of F1 and F2 failure modes.
11. Verification Checklist (Post-Configuration)
Mark each item verified before declaring the named connection operational.
- Station Configuration Editor shows WinCC Application, OPC Server, and IE General in slots 1, 2, 3 with no warning icons.
- IE General module is bound to the correct physical NIC, MAC matches the OS PC station object in NetPro.
- Channel Diagnostics lists every configured AS with state "Connected" within 10 s of WinCC runtime activation.
- WinCC tag from each AS updates on a forced value change in the AS (test with a discrete output tag).
- OPC error log at
%SIMATIC_NET_HOME%\log\contains no entries with severity "Error" related to the named connections. - WinCC runtime survives a WinCC Explorer -> "Exit WinCC Runtime" -> "Restart WinCC Runtime" cycle and re-establishes all named connections without operator intervention.
- Redundant AS partner (H-system second CPU) responds on a CPU failover test (only applicable to S7-400H plants).
What is a named connection in WinCC?
A named connection is a symbolic, configuration-driven S7 connection defined in STEP 7 / SIMATIC Manager NetPro by a symbolic name (for example, AS01_OS) and a Local ID. WinCC's SIMATIC S7 Protocol Suite -> Named Connections channel unit maps the symbolic name to the WinCC application at runtime, instead of binding the connection to a raw IP address. Per the Siemens TIA documentation, the symbolic connection name and application name are configured in STEP 7 and the named connection can only be configured for integrated connections.
Why does the named connection fail after migrating from PCS 7 V6.0 to WinCC V7?
The most common causes are (1) the XDB file generated from STEP 7 was not imported into Station Configuration Editor on the runtime PC, (2) the SIMATIC NET PC software stack is missing or version-mismatched, (3) the IE General module is bound to the wrong network adapter, and (4) the PG/PC Interface assignment was not reset after the new SIMATIC NET install. Each is independently sufficient to prevent the symbolic connection name from resolving.
Is PowerTag required for named connections in WinCC V7 SP2?
Yes. Beginning with WinCC V7.0 SP2 (build V7.0.2.0), the named connection is only released for use with the optional PowerTag package. Without PowerTag licensed, the connection fails at runtime with error 0x80004005. Workarounds are to license PowerTag, or to switch the channel unit to TCP/IP or ISO and reconfigure the connection manually with the AS IP address.
Where do I find the XDB file for my PC station?
The XDB file is generated from STEP 7 / SIMATIC Manager: select the OS PC station object in NetPro, then Options -> Export Station to XDB. The default save path is the project directory. Copy the resulting <station_name>.XDB to the runtime PC and import it via Station Configuration Editor -> Station -> Import.
Which SIMATIC NET version is required for WinCC V7?
SIMATIC NET V7.1 SPx (or V7.1.4) for WinCC V7.0 SP3, SIMATIC NET V8.1 SPx for WinCC V7.2, and SIMATIC NET V8.2 SPx for WinCC V7.3. A pre-V7 SIMATIC NET (for example, V6.x from a PCS 7 V6.0 host) is unsupported with WinCC V7 and will fail to register the OPC.SimaticNET service correctly.
Can I use TCP/IP directly instead of named connections?
Yes. Switch the channel unit from Named Connections to TCP/IP and enter the AS IP address and rack/slot directly in the connection properties. This bypasses both the XDB dependency and the PowerTag licensing requirement, at the cost of manual reconfiguration whenever an AS IP address changes. For S7-400H targets, enable the redundant partner option to maintain communication through CPU failover.