WinCC Redundant Connection to S7-400H Without CP1613

David Krause12 min read
SiemensTechnical ReferenceWinCC
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

WinCC Redundant Connection to S7-400H Without CP1613

When a WinCC 7.0 HMI station must supervise a SIMATIC S7-400H fault-tolerant controller, the default Siemens topology is the REDCONNECT pairing of two CP1613 communication processors synchronized by the H-Sync cable. This configuration delivers the shortest switchover time and full availability diagnostics, but it requires dedicated hardware that some smaller or retrofitted installations cannot justify. This reference consolidates the supported, semi-supported, and work-around techniques for building a redundant Ethernet path from WinCC to an S7-417-4H (or any S7-41x-H CPU) using only standard Ethernet NICs.

Critical safety note: S7-400H is a fault-tolerant system typically used where loss of visibility translates to loss of product, process, or life. The non-REDCONNECT methods documented here increase switchover latency and reduce diagnostic transparency. They are documented as engineering options, not as recommended practice for SIL or process-safety-rated applications. For those installations, retain CP1613 with H-Sync and a redundant Ethernet ring (e.g., Scalance).

1. S7-400H Communication Architecture

The S7-400H rack pair contains two redundant CPUs (Rack 0 and Rack 1), each typically equipped with an CP 443-1 Ethernet CP. The CPs participate in the H-system's redundant address scheme so that a single logical IP (or the pair of physical IPs with redundancy role) is presented to supervisory systems.

Component Role Default IP position Hot-swap behavior
CPU 0 (Rack 0) Master, active Rack 0 CP IP A Demotes to backup on partner failure
CPU 1 (Rack 1) Backup, hot-standby Rack 1 CP IP B Promotes to master on partner failure
H-Sync fiber CPU-CPU sync link Internal Required for both REDCONNECT and software-redundancy
CP 443-1 (Rack 0) Ethernet access point A Plant subnet 1 Continues serving traffic if CPU 1 fails
CP 443-1 (Rack 1) Ethernet access point B Plant subnet 2 (or same with teaming) Continues serving traffic if CPU 0 fails

WinCC is a passive S7 client in this relationship. It does not arbitrate which CPU is active; it must detect a loss of response from CPU A and re-open its PUT/GET or S7-connection to CPU B. The detection-and-reconnect logic is therefore the entire engineering problem.

2. Reference Architecture: REDCONNECT with CP1613

The reference solution is the Siemens REDCONNECT software stack (part of SIMATIC NET PC software) running on a WinCC station equipped with two CP 1613 PCIe cards. The CP 1613 supports an H-Sync external synchronization cable (sub-D 9) and exposes the redundant channel pair to WinCC as a single logical S7 connection.

Parameter REDCONNECT value Notes
Switchover time (typical) ≤ 300 ms Determined by CP1613 firmware and S7-400H cycle
PC hardware 2 × CP1613 + 1 × H-Sync cable Order numbers: 6GK1161-3AA01, 6GK1161-3AA02
Software SIMATIC NET PC SW V14+ with REDCONNECT license License key on USB or hard disk
WinCC channel SIMATIC S7 PROTOSUIT / TCP Connection configured with partner IP = redundant pair
Diagnostic transparency Full Buffer, time-stamp, fault cause visible in WinCC diagnostics

REDCONNECT is the only configuration Siemens formally warrants for H-system hot-standby supervision. Every alternative below sacrifices some of these properties.

3. Alternative 1 - Dynamic Wizard "Create Redundant Connection"

Siemens ships a WinCC V7 Dynamic Wizard named Create Redundant Connection that compiles a C-script which monitors the primary S7 connection, opens a parallel connection to the backup CPU, and swaps the active tag prefix on detection of failure. The script lives in the WinCC project and runs in the background task of WinCC Explorer.

3.1 Prerequisites

  • WinCC V7.0 SP3 or later (script API stable from SP1 onward)
  • Both S7-400H CP 443-1 IP addresses reachable on a single LAN or VLAN
  • Standard Intel or Broadcom gigabit Ethernet NIC (no CP1613)
  • PC station must be able to maintain two independent S7 connections simultaneously

3.2 Wizard Parameters

Wizard field Meaning Typical value for S7-400H
Primary connection name Logical name in WinCC S7H_Primary
Backup connection name Logical name in WinCC S7H_Backup
Primary IP / Rack / Slot CP 443-1 of Rack 0 192.168.0.10 / 0 / 3
Backup IP / Rack / Slot CP 443-1 of Rack 1 192.168.0.11 / 1 / 3
Timeout (ms) Watchdog for primary 2000 ms (default); 5000 ms for H-system
Retry count Failed polls before switch 3
Tag prefix to remap Internal structure used by tags @PrimaryTagPrefix

3.3 Detection Loop Behavior

The generated C-script performs a GetTagWordState() call on a heartbeat tag configured on the active CPU. When the state returns NOT_CONNECTED or TIMEOUT for the configured retry count, it calls SetTagPrefix() to redirect the WinCC tag namespace to the backup connection and logs the event to the WinCC alarm log. The script is reset whenever WinCC restarts; no persistent state survives a WinCC crash.

3.4 Limitations

  • Switchover time is governed by timeout × retry count and is typically 6-15 seconds - an order of magnitude slower than REDCONNECT.
  • Alarms with timestamps generated during the switchover window are lost or stamped at recovery time.
  • The wizard assumes a single PC with a single NIC; teaming two NICs (see Section 4) requires a different wizard or manual coding.
  • Full event-buffer diagnosis from the S7-400H side is not surfaced to WinCC.

4. Alternative 2 - Dual-Port NIC with Adapter Teaming

By presenting a single virtual MAC/IP to WinCC while aggregating two physical links, NIC teaming hides the switchover from WinCC entirely. Intel PROSet, Broadcom BASP, and HP Teaming all support modes relevant to S7-400H supervision.

Teaming mode Behavior on partner CPU failure Suitability for S7-400H
Switch Fault Tolerance (SFT) / Failover Only one link active; second hot-standby Recommended - one NIC per H-CPU, failover on link loss
Adaptive Load Balancing (ALB) Both active, ingress balanced Not recommended for S7 - asymmetric routing breaks S7-connection state
Link Aggregation (LACP / 802.3ad) Both active to a managed switch Requires switch support; equivalent to SFT for H-system
Static Link Aggregation Both active, no LACP Acceptable; switch must be configured identically

4.1 Intel PRO/1000 PT Dual Port Server Adapter Configuration

  1. Install both ports; verify they appear in Windows Device Manager as Intel(R) PRO/1000 PT Dual Port Server Adapter (or the modern Intel I350-T2 successor).
  2. Open Intel PROSet Adapter Configuration Utility (right-click one port → Properties → Teaming tab → Create Team).
  3. Select Adapter Fault Tolerance (AFT) or Switch Fault Tolerance depending on the connected switch fabric.
  4. Set Primary = port connected to CP 443-1 of Rack 0; Secondary = port connected to CP 443-1 of Rack 1.
  5. Assign the team a single virtual IP, e.g., 192.168.0.20/24, with the team MAC.
  6. Configure WinCC S7 connection with partner IP = team virtual IP, rack/slot = 0/3 (WinCC never needs to know about Rack 1).
  7. Disable energy-efficient Ethernet (EEEModeration) on both ports - EEE drops ARP refresh on S7-400H and causes spurious timeouts.
Disable Windows TCP/IP Offload (TOE), RSS, and LSO on the team members when used with S7-400H. The Siemens S7 protocol predates offload engines and several firmware versions of the I350 will silently truncate large PDU transfers when offload is enabled.

4.2 Throughput and Switchover

Metric REDCONNECT Dual-port NIC AFT
Typical switchover time ≤ 300 ms ≈ 800-1500 ms (link-down detection + ARP)
Diagnostic data passed to WinCC Full S7 diag buffer Standard S7 only; no H-state
Hardware cost (per WinCC station) 2 × CP1613 + license 1 × dual-port server NIC (~80 EUR)
License cost REDCONNECT license required None

5. Alternative 3 - Microsoft Network Bridge (Deprecated Practice)

It is technically possible to assign the same IP address to two Windows-bound NICs and bridge them with the legacy Network Bridge service. The intent is that a frame going to the bridge IP will be sent on whichever NIC has a live link. In practice this configuration is unstable for S7-400H and is listed here only because it appears in field reports.

Do not deploy Microsoft Network Bridge for S7-400H supervision. Windows deduplicates gratuitous ARPs and will emit "duplicate IP" warnings that intermittently drop one of the two adapters. Loss of communication is non-deterministic, and Windows 10/Server 2019 has removed the Bridge utility from the UI. Use teaming (Section 4) or the Dynamic Wizard (Section 3) instead.

6. Method Comparison Matrix

Criterion REDCONNECT + CP1613 Dynamic Wizard script Dual-port NIC AFT MS Network Bridge
Hardware CP1613 × 2 + H-Sync Any NIC × 1 Server NIC × 1 (2 ports) Any NIC × 2
License REDCONNECT None None None
Switchover time ≤ 300 ms 6-15 s ≈ 1 s Unreliable
H-system diagnostic visibility Full None None None
WinCC tag namespace impact None (single conn) Prefix swap on switch None (single conn) None
Recommended for new projects Yes (process-critical) Yes (non-critical) Yes (mid-critical) No

7. Implementation Workflow - Dynamic Wizard Path

The following procedure is the most commonly requested non-REDCONNECT configuration and is the one most likely to be deployed where CP1613 cards are unavailable.

7.1 Pre-commissioning checks

  1. From the WinCC PC, ping both CP 443-1 IPs with a steady reply of ≤ 1 ms on the same VLAN.
  2. From STEP 7, download the H-station and confirm both CP 443-1 connections show Active in NetPro.
  3. Place a heartbeat tag in the active CPU's OB1: MW 100 incrementing every 100 ms; this is the tag the wizard monitors.
  4. Open WinCC Explorer, locate Dynamic Wizards in the left pane, expand System, drag Create Redundant Connection onto the workspace.

7.2 Wizard configuration

  1. Enter both partner IPs and rack/slot values as in Table 3.2.
  2. Set timeout to 5000 ms for the S7-400H OB1 cycle of 100 ms (50 cycles of grace).
  3. Set retry count to 3 to suppress spurious switches on a single dropped PDU.
  4. Activate Generate diagnostic tags; this adds @RedundancyState and @ActiveConnection tags that can be displayed on a WinCC screen.
  5. Click Finish; the C-script is added to the project under C-Scripts.

7.3 Verification

  1. Start WinCC Runtime and open the diagnostics screen; verify the active connection is the primary.
  2. Pull the Ethernet cable from CP 443-1 of Rack 0.
  3. Observe @ActiveConnection change from 1 to 2 within 15-20 seconds.
  4. Restore the cable; observe the script does not switch back automatically (cold-resume is by design; re-arm manually if required).
  5. Repeat with CP 443-1 of Rack 1 to confirm symmetric behavior.

8. Implementation Workflow - Dual-Port NIC Teaming Path

  1. Physically install the dual-port NIC; route port 1 to the Rack 0 switch and port 2 to the Rack 1 switch (or to two ports of a managed switch with separate VLANs).
  2. In Intel PROSet (or vendor equivalent), create an AFT team, mark the Rack 0 port primary.
  3. Configure a single IPv4 address and subnet on the team - do not configure addresses on the individual members.
  4. Disable all energy-efficient Ethernet, TOE, and LSO features (Section 4.1 note).
  5. In WinCC, create one S7 connection to the team IP, rack 0, slot 3.
  6. Commission by pulling each port in turn and confirming WinCC values continue to update with ≤ 1.5 s interruption.

9. Operational Considerations and Edge Cases

9.1 Self-test fail during runtime start

If WinCC starts while the H-system is in a half-failed state (e.g., Rack 1 not yet synchronized), the Dynamic Wizard will mark the backup connection as bad and never poll it. Restart WinCC after the H-system is healthy, or add a one-shot script to re-validate the backup at startup.

9.2 Subnet mask and broadcast domain

The two CP 443-1 IP addresses must be in the same IP subnet and on the same VLAN as the WinCC station, or WinCC will not see both. Splitting them across two subnets (some redundant plants do this) requires two NICs, which then forces the Dynamic Wizard path and rules out NIC teaming.

9.3 Time stamping and archive consistency

During a switchover, alarms generated in the gap lose their original S7-400H time stamp. The wizard's Generate diagnostic tags option should be enabled on any installation where alarms are time-sensitive, so that the post-switch archive carries a continuous, post-recovery time stamp rather than gaps.

9.4 Load on the active CPU

When using the Dynamic Wizard, both connections are kept open even though only one carries data. This roughly doubles the S7-connection load on the active CPU. For H-systems already near their connection limit (a 417-4H supports up to 64 S7 connections), reduce the number of non-essential WinCC connections before deploying this method.

9.5 Switch fabric requirement for teaming

Switch Fault Tolerance mode requires that each port be on a different physical switch (or a different logical switch instance) so that a single switch failure can be tolerated. If both ports are patched into the same unmanaged switch, the team collapses on switch power loss. Industrial plants should use a redundant ring topology (Scalance XC/XR or similar) when adopting this pattern.

10. Reference and Further Information

Siemens maintains an official support entry (Entry ID 23842653) covering redundant WinCC connections on S7-400 systems using standard Ethernet adapters. The entry is the canonical starting point for the Dynamic Wizard approach and includes an FAQ on common error states such as Connection 0x0001 timeout and Partner unreachable raised during switchover. The latest SIMATIC NET PC software documentation describes REDCONNECT configuration in detail, including license handling and the H-Sync cable wiring diagram.

11. Recommended Selection Path

  1. If the installation is process-critical (power, water, oil & gas, batch pharmaceutical): use REDCONNECT with CP1613 - the switchover time and diagnostic surface are worth the hardware cost.
  2. If the installation is supervisory-only and switchover latency of 6-15 s is acceptable: use the Dynamic Wizard "Create Redundant Connection" script; no extra hardware required.
  3. If a sub-second switchover is required but CP1613 is not procurable: use a server-grade dual-port NIC in AFT/AFT-with-primary-preference mode, with the two ports patched to independent switches.
  4. Do not use the Microsoft Network Bridge - it is non-deterministic and not supported by Siemens.

Can WinCC supervise an S7-400H without any special hardware?

Yes, by using the Dynamic Wizard Create Redundant Connection script that ships with WinCC V7.0. The script polls both CP 443-1 IPs and switches the tag namespace on detection of failure. Switchover is typically 6-15 seconds.

What switchover time can I expect from REDCONNECT with CP1613?

≤ 300 ms in a typical S7-417-4H installation, limited by the CP1613 firmware and the S7-400H OB1 cycle. This is the only configuration that also preserves S7-400H diagnostic buffer visibility in WinCC.

Is NIC teaming a drop-in replacement for REDCONNECT?

Not functionally. NIC teaming in AFT mode provides ≈ 1 s switchover and a single virtual connection, but it cannot report H-system redundancy state or S7 diagnostic buffers. It is acceptable for non-SIL supervisory HMI, but not for process-safety-rated applications.

Why is the Microsoft Network Bridge discouraged for S7-400H?

Windows does not reliably handle two adapters with the same IP, emits intermittent "duplicate IP" events, and removed the Bridge utility from the UI in Windows 10. The behavior is non-deterministic and Siemens does not support the configuration. Use NIC teaming instead.

Does the Dynamic Wizard automatically re-arm after the primary CPU returns?

No. The wizard's design is cold-resume: once it has switched to the backup, it stays on the backup until the next WinCC Runtime restart. If auto-revert is required, the generated C-script must be extended with an additional poll-and-decide block.

Back to blog