1. Problem Overview
When a WinCC v6.0 SP3 runtime is launched on a Windows XP Professional SP2 workstation, the operator may observe that the HMI graphics load, the project activates without fault dialogs, the network adapter shows link/activity lights, the workstation can ping the S7 CPU, and yet no process values update on any screen. No tags refresh, no trend curves draw, no alarms change state. The runtime appears to be alive, the underlying transport (TCP/IP) appears to be alive, but the S7 channel never reports a connected state.
This is the classic signature of error code 0xFFDF / 42C2 / L4_DLL_E_LOGDEV — the WinCC S7 protocol suite cannot resolve a configured logical device name to a real, functional communications path. The failure happens at the very first connect attempt after the channel unit is activated, and the connection state will stay permanently in disconnected until the logical device is properly defined in the operating system and registry.
The scenario in this reference was reproduced on a Dell Inspiron 6400 laptop using the on-board Broadcom 440x 10/100 Integrated Controller, communicating with a SIMATIC S7 PLC over Industrial Ethernet / TCP/IP. The exact same WinCC project, the exact same cable, the exact same network, and the exact same PLC worked flawlessly on a different PC with a different NIC. This makes the case a textbook model for distinguishing between logical-driver misconfiguration and physical-layer NIC driver incompatibility.
2. Affected Environment
| Item | Value |
|---|---|
| SCADA / HMI | Siemens WinCC V6.0 SP3 incl. HF2 (Hotfix 2) |
| Channel | SIMATIC S7 Protocol Suite » TCP/IP |
| Connection name | NewConnection |
| PLC family | SIMATIC S7 (S7-300 / S7-400) over TCP/IP |
| Operating system | Windows XP Professional SP2 (Slipstream) |
| Hardware | Dell Inspiron 6400 |
| On-board NIC | Broadcom 440x 10/100 Integrated Controller |
| Workgroup vs. domain | Standalone workgroup member, local computer administrator |
| Third-party firewall / AV | Deactivated for testing |
| Observed error | Cannot connect to "NewConnection": Errorcode 0xFFDF 42C2 |
3. Decoding Error 0xFFDF 42C2 (L4_DLL_E_LOGDEV)
The error is composed of two layers:
| Field | Value | Meaning |
|---|---|---|
| HRESULT | 0xFFDF |
COM error in the S7 channel DLL returned to the WinCC data manager |
| Native code | 42C2 |
L4_DLL_E_LOGDEV — logical device not defined |
| Layer | L4 (Level 4) | Channel DLL transport layer |
The Siemens WinCC / S7 Protocol Suite manual describes the condition as follows:
The logical device is not defined in the registry. Communication driver not correctly installed. Registry entry destroyed or deleted. Check the setting of the logical device name with the program 'Setting the PG/PC Interface'. Check the setting of the logical device name in the window 'System Parameters – Device'.
Translated for field use: the WinCC project refers to a symbolic access point such as TCP/IP -> Broadcom 440x 10/100. When the S7 channel DLL tries to open that access point at runtime, it cannot find a matching binding in the Windows registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\SINEC\LogicalDeviceNames
HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\S7IBN\Linkings\<LogicalDeviceName>
If the key is missing — typically because Simatic Net / Softnet was never installed, was installed against a NIC that has since been removed, or was installed before the OS was slipstreamed/upgraded to SP2 — the channel returns 42C2 on every connection attempt. Crucially, this happens before any TCP socket is opened, which is why ping succeeds but the S7 connection never establishes.
4. Reading the Diagnose Log
Before changing anything, always capture the WinCC diagnostic log. The S7 protocol suite writes a rolling log file that is the most authoritative source of truth for connect failures.
- Open
C:\Program Files\Siemens\WinCC\Diagnose\SIMATIC_S7_PROTOCOL_SUITE_01.LOG - Confirm the channel DLL loaded with a version banner similar to:
S7DOS release: TIS-Block Library DLL Version R6.3.0.0-REL-BASISS7CHN version: V6.0 / Feb 24 2005 / 23:36:46 - Look for the line:
S7 channel unit "TCP/IP" activated!— this means the channel unit registered. Good. - The smoking gun is then:
ERROR Cannot connect to "NewConnection": Errorcode 0xFFDF 42C2!
Excerpt from a real capture on a failing machine:
2006-04-06 14:35:04,078 INFO Log starting ...
2006-04-06 14:35:04,125 INFO | LogFileName : C:\Program Files\Siemens\WinCC\Diagnose\SIMATIC_S7_PROTOCOL_SUITE_01.LOG
2006-04-06 14:35:04,125 INFO | LogFileCount : 3
2006-04-06 14:35:04,125 INFO | LogFileSize : 1400000
2006-04-06 14:35:04,125 INFO | TraceFlags : c4000000
2006-04-06 14:35:04,125 INFO S7 channel DLL started!
2006-04-06 14:35:04,125 INFO S7 channel with own cycle creation!
2006-04-06 14:35:05,421 INFO S7DOS release: @(#)TIS-Block Library DLL Version R6.3.0.0-REL-BASIS
2006-04-06 14:35:05,421 INFO S7DOS version: V6.3 / 0
2006-04-06 14:35:05,421 INFO S7CHN version: V6.0 / Feb 24 2005 / 23:36:46
2006-04-06 14:35:05,421 INFO S7 channel unit "TCP/IP" activated!
2006-04-06 14:35:05,500 ERROR Cannot connect to "NewConnection": Errorcode 0xFFDF 42C2!
2006-04-06 14:40:47,203 INFO S7 channel unit "TCP/IP" deactivated!
2006-04-06 14:40:48,171 INFO S7 channel DLL terminated!
The pattern channel unit activated » immediate 42C2 » deactivation within a few seconds confirms that the failure is at logical-device binding time, not at TCP handshake time, not at S7 protection/authentication time, and not at OPC time.
5. Root Cause Tree
Apply the following decision tree in order. Each step is a single, cheap check that can be executed in minutes.
- Is the connection configured against an existing logical device? Open WinCC Explorer » Tag Management » SIMATIC S7 PROTOCOL SUITE » TCP/IP. Right-click the connection » Connection Properties. The Station Address / Logical Device Name must match a known access point.
-
Does that logical device exist in the PG/PC interface? Start » Simatic » Setting the PG/PC Interface. Look for an access point with the same name (default is
S7ONLINE). Note the assigned module (e.g.TCP/IP -> Broadcom 440x 10/100). - Is the assigned module actually present? If the module references a NIC that was disabled, removed, or whose driver was upgraded, the binding is dangling.
- Is Simatic Net / Softnet Lean installed? Open Control Panel » Add/Remove Programs. Look for SIMATIC NET, SIMATIC NET PC Software, or Softnet. WinCC V6.0 SP3 does not include the S7 transport driver for a stock NIC out of the box; you need Softnet Lean (free of charge with WinCC V6) or a full Simatic Net license.
- Is the NIC driver compatible with the S7 transport stack? Especially on Windows XP SP2 slipstream, an NDIS 5.1 driver that was reissued after WinCC V6 SP3 was signed off may pass general TCP traffic and ping, but still fail the S7 channel's IOCTL/registration sequence, again surfacing as 42C2.
- Are DCOM and COM defaults intact? Windows XP SP2 hardened DCOM. If you install WinCC without Step 7 first, the COM components that the S7 channel uses may not be registered. The classic symptom is 42C2 even on a perfectly configured PG/PC interface.
6. The Broadcom 440x 10/100 Incompatibility
In this case, the failing workstation was a Dell Inspiron 6400 with the on-board Broadcom 440x 10/100 Integrated Controller. The PG/PC interface was correctly set to TCP/IP -> Broadcom 440x 10/100, the ping to the S7 CPU returned in < 1 ms, the workgroup was browsable, and a second PC with an identical WinCC V6.0 SP3 / Step 7 / SQL Server installation connected to the same PLC on the same cable without issue.
After exhausting logical-device and registry checks, the operator installed a generic USB-to-Ethernet adapter (e.g. an ASIX AX88772-based dongle), reassigned the PG/PC interface access point to point to the new adapter, restarted the WinCC runtime, and the S7 connection came up immediately with live tag updates. The Broadcom 440x 10/100 driver stack was therefore identified as the root cause — it was no longer compatible with the Simatic Net / S7 transport layer that WinCC V6.0 SP3 was built against.
7. Simatic Net, Softnet Lean, and the S7 Access Point
WinCC needs a Siemens-supplied transport to talk to S7 CPUs over Ethernet. There is no native S7 driver in the Windows TCP stack. The available options are:
| Component | License | Max S7 connections | Use case |
|---|---|---|---|
| Softnet Lean | Free with WinCC V6.x | 8 | Standard NIC, small WinCC stations |
| Softnet S7 | Separate license | 64 | Larger WinCC stations, redundant paths |
| CP 1612 / CP 1623 / CP 1628 | Hardware + license | Up to 128 | Deterministic, hard-real-time S7 comms |
| IE General (RFC 1006) | Simatic Net only | Depends on license | Third-party integration |
The license covers the Simatic Net CD. That CD installs the S7 transport library, the Setting the PG/PC Interface applet, and the registry entries under HKLM\SOFTWARE\Siemens that map logical device names to real adapters. If the registry key for the access point is missing, every connection attempt on that access point fails with 42C2.
8. Step-by-Step Resolution Procedure
Execute the steps in this order. Stop at the first one that changes the result.
Step 1 — Validate the PG/PC Interface Access Point
- Start » Simatic » Setting the PG/PC Interface.
- In the Access Point of the Application dropdown select
S7ONLINE(the default S7 access point). - In the Interface Parameter Assignment Used list, locate the entry bound to your Ethernet adapter. The naming convention is
<Protocol> -> <Adapter name as reported by NDIS>. Example:TCP/IP -> Broadcom 440x 10/100 Integrated Controller. - If the entry is missing, click Select..., expand
TCP/IP, and choose the correct NDIS adapter. Click OK. The registry is updated immediately.
Step 2 — Verify the Logical Device Name in the WinCC Project
- In WinCC Explorer, open Tag Management and expand SIMATIC S7 PROTOCOL SUITE » TCP/IP.
- Right-click
NewConnection» Connection Properties. - Confirm the Logical Device Name matches the access point name from Step 1. If the project was migrated from another machine, it may still reference an adapter that no longer exists.
Step 3 — Install or Reinstall Simatic Net / Softnet Lean
- Insert the Simatic Net CD that matches your WinCC V6.0 SP3 HF level (HF2 minimum on XP SP2).
- Run Setup.exe. If the installer refuses to start, check the
SimaticNetSetup.logfor the precise blocker. - Choose Softnet Lean S7 (free of charge if licensed with WinCC V6) or Softnet S7 as appropriate.
- Select the same TCP/IP access point that you used in Step 1.
- Reboot. The Simatic Net setup registers
S7ONLINEand writes the required keys underHKLM\SOFTWARE\Siemens.
Step 4 — Recheck the Diagnose Log
- Start WinCC Runtime.
- Watch
C:\Program Files\Siemens\WinCC\Diagnose\SIMATIC_S7_PROTOCOL_SUITE_01.LOG. - You should now see the connection transition to connected. If 42C2 persists, the binding is registered but the assigned adapter is the problem.
Step 5 — Substitute the Network Adapter
- Disable the suspected NIC in Device Manager. Do not uninstall it yet.
- Plug in a known-good adapter. A USB-to-Ethernet dongle based on ASIX AX88772A or Realtek RTL8152 is the cheapest test fixture and has been used in the field as a permanent workaround for legacy Dell Inspiron 6400 units.
- Allow Windows to enumerate the new adapter. Confirm it appears in Network Connections.
- Re-open Setting the PG/PC Interface and rebind
S7ONLINEto the new adapter. - Reboot and start WinCC Runtime.
- If the S7 connection comes up live, the original adapter driver is the root cause. Either revert to an older signed driver from the laptop's manufacturer, or leave the substitute adapter in place.
Step 6 — Reinstall WinCC with Step 7 First (if COM is the issue)
- On a clean XP SP2 image, install Step 7 V5.x first. This registers the COM components and writes the necessary CLSID entries.
- Then install WinCC V6.0 SP3 HF2, including MS SQL Server and Message Queuing as prerequisites.
- Install Simatic Net / Softnet Lean last.
- Reboot and re-test.
9. Verification
After applying the fix, verify the connection end-to-end:
- Open the WinCC Graphics Designer, drop a tag from
NewConnectionon a screen, and force a value change at the PLC. The HMI should reflect the new value within the configured update cycle (default 1 s, 2 s, or 5 s depending on the acquisition mode chosen in tag properties). - Open
WinCC Explorer » Tools » Channel Diagnosis. The S7 channel should report a green status forNewConnection, with the partner IP, rack, and slot correctly resolved. - Tail the live log file
SIMATIC_S7_PROTOCOL_SUITE_01.LOG. Look for absence of furtherERRORentries and for connection state transitions of the formINFO Connection established(the exact wording depends on the patch level). - From the WinCC server, run
cmd /c netstat -an | findstr 102. You should see anESTABLISHEDentry on TCP port 102 (ISO-TSAP) toward the S7 CPU. Absence of this entry on a system that claims to be connected is itself a clue — the binding is up at the WinCC level but the TCP socket is not.
10. Diagnostic Matrix
| Symptom | Likely error code | First check |
|---|---|---|
| Runtime alive, no tag updates, ping works |
0xFFDF 42C2 L4_DLL_E_LOGDEV |
PG/PC interface access point; Simatic Net install |
| Runtime shows tags flicker then go red |
0xFFDF 41xx S7 protection / wrong slot |
PLC connection properties (rack/slot), S7 protection password |
| Tags update intermittently, then 0x0000 | Network drop, broadcast storm | Switch port, duplex mismatch, IGMP snooping |
| Connection succeeds, values are wrong | Address mismatch | DB number, byte/bit offset, area pointer for raw tags |
| WinCC v7+ same hardware works | Not applicable | WinCC V6 SP3 cannot use the modern driver path used by v7 |
| Only one of multiple connections fails | Logical device conflict | Each TCP/IP connection can use a separate access point; check that the unused ones are also bound correctly |
11. Preventive Checklist
- Always install Step 7 before WinCC on the same machine when the WinCC station will be used for S7 engineering as well as runtime.
- Always run the matching Hotfix level. WinCC V6.0 SP3 HF2 or later is required on Windows XP SP2 slipstream.
- Avoid generic Broadcom "auto-update" driver packages on legacy WinCC stations. Pin the NIC driver to a version known to coexist with Simatic Net.
- When commissioning a new PC, run a known-good WinCC project as a smoke test before loading customer-specific code, and confirm at least one tag from the PLC updates live.
- Keep the Simatic Net install media next to the WinCC media. Re-imaging a PC without Simatic Net reinstall is the most common cause of 42C2 reappearing months after the original fix.
- Document the PG/PC interface access point binding in the project folder so that the next engineer can reproduce the configuration exactly.
12. Frequently Asked Questions
What does error 0xFFDF 42C2 mean in WinCC?
0xFFDF 42C2 is the L4_DLL_E_LOGDEV error from the SIMATIC S7 Protocol Suite. It means the WinCC project refers to a logical device name (for example S7ONLINE) that is not bound to a real network adapter in the Windows registry. The S7 channel cannot find a transport to use and never opens a TCP socket. Verify the PG/PC interface assignment and that Simatic Net / Softnet is installed.
Why can I ping the S7 CPU but still get 42C2?
Ping uses the standard NDIS miniport path. The S7 channel uses the Simatic Net / S7DOS path on top of ISO-on-TCP (RFC 1006). A driver that is healthy for ICMP can still fail the S7 binding. This is exactly what happened with the Broadcom 440x 10/100 on the Dell Inspiron 6400. Replacing the adapter (for example with a USB Ethernet dongle) and rebinding the access point resolved it.
Do I need Simatic Net or Softnet Lean to connect WinCC to an S7 CPU over Ethernet?
Yes. WinCC V6.0 SP3 does not include the S7 transport driver for standard NICs. With a valid WinCC V6 license you can install Softnet Lean S7, which supports up to 8 S7 connections on a single standard Ethernet adapter. Larger systems need a full Softnet S7 or CP 1612/1623/1628 hardware.
Can I install Simatic Net on Windows XP SP2?
Only with the matching Hotfix level. For WinCC V6.0 SP3 you need at least Hotfix 2 (HF2) of the Simatic Net CD, otherwise the installer refuses Windows XP SP2 slipstream. The error is sometimes mistaken for a firewall problem because the symptom is the install process terminating silently.
Why is the install order Step 7, then WinCC, then Simatic Net important?
Step 7 registers the COM components and CLSIDs that the WinCC S7 channel consumes. If WinCC is installed first without Step 7, the COM aggregation can fail and the S7 channel reports 42C2 even when the PG/PC interface is configured correctly. Simatic Net must be installed last so that it writes the registry keys for the access point after both the COM layer and the WinCC channel DLL are present.