Configuring WinCC Redundant Communication to S7-400H with CP-1613

David Krause11 min read
SiemensTutorial / How-toWinCC
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

1. Overview: WinCC and S7-400H Redundant Communication

SIMATIC WinCC (TIA Portal / WinCC V7.x) supports fault-tolerant communication toward a SIMATIC S7-400H automation system over Industrial Ethernet. When a redundant S7-400H CPU pair (for example CPU 414-4H / CPU 417-4H) is the data source, WinCC can be configured so that an HMI channel keeps running even if one physical Ethernet path drops. The mechanism is the S7-REDCONNECT software package, which is implemented in the SIMATIC NET PC software stack on the engineering / operator station.

Unlike WinCC server redundancy (which mirrors two WinCC servers against each other on a terminal bus), S7 connection redundancy concerns the path between the WinCC station and the S7-400H CPUs. The user goal in this scenario is unambiguous:

  • The PC station hosts one CP-1613 (SIMATIC NET Industrial Ethernet PCI card) and one standard Intel / IE General Ethernet adapter.
  • Both adapters terminate in physically separate Ethernet networks that reach both H-CPUs of the S7-400H.
  • If the UTP cable on the CP-1613 is unplugged, the WinCC runtime must continue reading/writing tags through the IE General card, and vice versa, with no restart of WinCC and no manual channel switch.
This article describes the classic STEP 7 V5.x + WinCC V7.x configuration (no PCS 7). For TIA Portal V20 and WinCC RT Professional, the underlying redundancy model is documented in How Redundancy Works (RT Professional). WinCC RT Professional redundancy uses a PC-LAN terminal bus with TCP/IP to synchronize two servers; S7-connection redundancy is configured separately via the S7-REDCONNECT driver.

2. Hardware Requirements

The following hardware is required to build a fault-tolerant S7 connection between a WinCC station and a redundant S7-400H system.

Component Recommended Part / Spec Notes
SIMATIC PC station Industrial PC or SIMATIC Rack PC Two free PCI / PCIe slots for the network cards
CP-1613 (A) 6GK1 161-3AA01 SIMATIC NET Industrial Ethernet PCI card, supports ISO / TCP transport, S7-REDCONNECT capable
CP-1613 (B) - optional second 6GK1 161-3AA01 Required for true path-redundancy from PC station to the H system
IE General (onboard NIC) Standard Intel / Broadcom Ethernet Used as the second S7-REDCONNECT path when only one CP-1613 is installed, or as the third path in a 2 x CP-1613 + 1 x IE General layout
Automation system SIMATIC S7-400H with two H-CPUs (CPU 414-4H or CPU 417-4H) Each CPU must have at least one Ethernet CP (e.g. CP 443-1) on each of the two plant networks
Plant network 1 / 2 Physically separated Ethernet segments (different switches / VLANs) Mandatory - two physical paths must exist between PC station and the S7-400H
A single CP-1613 cannot provide path redundancy by itself. Path redundancy requires two independent Ethernet interfaces on the PC station, each reaching both H-CPUs through its own network. The original assumption in the source thread (one CP-1613 + one IE General) is therefore not enough for full cable-failover; two CP-1613 cards is the canonical Siemens recommendation when S7-REDCONNECT is licensed for both ISO and TCP.

3. Software and Licensing Requirements

Item Order Number / Version Purpose
SIMATIC WinCC V7.x 6AV63xx series SCADA runtime, hosts the S7-REDCONNECT channel
SIMATIC NET PC Software V18 / V19 / V20 6GK1 716-1CB10-3AA0 family Provides the S7-REDCONNECT driver (CP-1613 + IE General)
STEP 7 V5.7 (or STEP 7 Professional in TIA Portal) 6ES7 810-5CC13-0YA5 Used to configure the PC station in NETPRO / HW Config
S7-REDCONNECT license 6GK1 716-1CB10-3AA0 (S7-REDCONNECT Power Pack) or 6GK1 716-1RH00-3AA0 Enables fault-tolerant S7 connections in the SIMATIC NET PC stack
WinCC AS-OS Engineering 6AV6 381-2BP07-0AV0 Needed if you compile the OS from STEP 7

Without the S7-REDCONNECT license, a standard S7 channel in WinCC establishes a single connection to a single CPU and does not perform automatic failover to a backup interface. Verify the license key in Start → SIMATIC → SIMATIC NET → Communication Settings → S7-REDCONNECT; the icon must be green.

4. Reference Architecture

The two physical networks are the foundation of the redundancy. Each network carries S7 traffic to both H-CPUs, and the SIMATIC NET PC stack on the WinCC station maintains parallel connections on each interface.

+-------------------------- PC station (WinCC) --------------------------+
|                                                                         |
|   CP-1613 (idx 0)                  IE General (idx 1)                  |
|        |                                  |                            |
+--------|----------------------------------|----------------------------+
         |                                  |
   +-----+-----+                       +-----+-----+
   | Switch A  |                       | Switch B  |
   | (PlantNW1)|                       | (PlantNW2)|
   +-----+-----+                       +-----+-----+
         |                                  |
   +-----+-----+                       +-----+-----+
   | CP 443-1  |                       | CP 443-1  |
   |  H-CPU 0  |                       |  H-CPU 1  |
   +-----------+                       +-----------+
   |           S7-400H (H-CPU 0, H-CPU 1, sync link)            |
   +-----------------------------------------------------------+

From the WinCC perspective, only one logical S7 connection is configured; the underlying S7-REDCONNECT driver transparently binds it to the two physical interfaces and the two H-CPUs. The H system presents a single virtual CPU address (or two physical rack/slot addresses) to the user program.

5. STEP 7 / NETPRO Configuration

All PC-station side configuration is performed in the STEP 7 project that contains the S7-400H station. The WinCC station appears as a SIMATIC PC station in NETPRO.

5.1 Insert the PC station

  1. Open the STEP 7 project containing the S7-400H.
  2. Insert a new SIMATIC PC Station from Insert → Station.
  3. Open HW Config on the PC station and insert:
    • One CP-1613 from the catalog (PROFINET IO / Industrial Ethernet → CP-1613).
    • A second CP-1613 if you want dual CP-1613 redundancy.
    • Alternatively / additionally the IE General (from PC Internal → Industrial Ethernet), assigned to the onboard NIC.
  4. For each Ethernet interface, open its properties, switch to the MAC Address tab and tick Set MAC address manually; the diagnostic tools will not be able to report the link otherwise.
  5. Assign each interface a unique IP address in its own subnet (e.g. CP-1613 A: 192.168.1.10 / 24 in PlantNW1; CP-1613 B or IE General: 192.168.2.10 / 24 in PlantNW2).

5.2 Configure the Fault-Tolerant S7 Connection

  1. Open NETPRO and select the PC station.
  2. Right-click the row for the S7-400H → Insert New Connection.
  3. In the connection wizard, choose S7 Connection Fault-Tolerant (not the plain S7 connection). The wizard will display the available H-CPUs of the S7-400H.
  4. Select the connection partner: the S7-400H station; the partner endpoint is the H system itself, not an individual CPU - S7-REDCONNECT talks to whichever H-CPU is master.
  5. On the local endpoint, select the first CP-1613 (or IE General) and tick Activate CP redundancy in the connection properties.
  6. Add the second interface as the redundant partner in the same dialog.
  7. Download the PC station configuration (PC Station → Configure → Station Configuration Editor on the PC) so that the SIMATIC NET runtime loads the fault-tolerant connection.
A plain "S7 connection" in NETPRO does not activate the redundancy behavior. Only the Fault-Tolerant connection type (FT-CP) uses the S7-REDCONNECT driver and toggles paths automatically on link loss or partner failure.

6. WinCC Channel Configuration

On the WinCC side, only one S7 channel is needed. The redundancy is invisible to the HMI project.

  1. Open the WinCC Explorer on the PC station.
  2. In Tag Management add a new driver: SIMATIC S7 PROTOCOL SUITE → TCP/IP (or ISO for pure ISO-on-TCP / ISO transport; either works with REDCONNECT, but TCP is the common choice on CP-1613 with a generic NIC as the partner).
  3. Right-click TCP/IP → New Connection and create a single logical connection named, e.g. S7400H_FT.
  4. In the connection properties enter the IP address of the S7-400H's virtual interface (the rack IP for PlantNW1, or the first H-CPU's CP 443-1 address). Do not create two connections - S7-REDCONNECT handles the redundant paths internally.
  5. Verify the connection name matches the connection configured in NETPRO. WinCC loads the connection list from the Station Configuration Editor at start-up.

No additional configuration in WinCC is required for the failover. The driver monitors the S7-REDCONNECT state in the SIMATIC NET runtime; on link loss it switches the logical connection to the second path within a few hundred milliseconds (typical 200-500 ms, depending on keep-alive settings).

7. Verification and Failover Testing

Before going live, perform an end-to-end failover drill.

  1. Start WinCC Runtime. Confirm the S7 channel shows Connected status and tags are updating.
  2. In Communication Settings → S7-REDCONNECT, verify that both interfaces are listed as Active.
  3. Pull the UTP cable on CP-1613 A. Expected behavior:
    • WinCC tags continue to update via the IE General / CP-1613 B interface.
    • WinCC does not show a connection-loss alarm (or it shows a transient "redundancy switch" event, not a permanent failure).
    • Time to recover: typically < 1 s for the user-visible tag value.
  4. Reconnect the cable, then pull the UTP cable on the IE General / CP-1613 B. Confirm symmetric behavior.
  5. Stop the master H-CPU (via PG / mode switch) and confirm WinCC continues reading from the standby H-CPU through the S7-400H redundancy mechanism (separate from CP redundancy but commonly tested together).
Test action Expected WinCC state Acceptance
Baseline (both cables connected) Connected, no alarms Pass
Unplug CP-1613 A Connection stays up via interface B; tag values stable Pass
Unplug IE General / CP-1613 B Connection stays up via interface A Pass
Stop master H-CPU WinCC continues reading from standby H-CPU Pass
Both cables disconnected Connection down, alarms raised Pass (by design)

8. Diagnostics and Troubleshooting Matrix

Symptom Likely root cause Corrective action
WinCC shows permanent connection loss after unplugging one cable Only one S7 connection configured; no "Activate CP redundancy" flag in NETPRO Re-create the connection as Fault-Tolerant, tick CP redundancy
Failover does not occur, S7-REDCONNECT status icon is red S7-REDCONNECT license missing or not transferred Reinstall license, restart SIMATIC NET runtime
Tags are intermittent, many short drops Both interfaces share the same subnet / same switch Re-IP the two interfaces into separate subnets, separate physical switches
NETPRO shows no fault-tolerant option STEP 7 version too old (pre V5.4 SP1) or wrong CP-1613 article number Use CP-1613 (6GK1 161-3AA01) and STEP 7 V5.5 SP4 or newer
Station Configuration Editor shows a yellow exclamation on a CP Indexed name mismatch with HW Config (e.g. CP-1613 #1 vs #2 swapped) Match the slot/index in the Station Configuration Editor to the HW Config order
Connection works on first start, drops on WinCC restart Station Configuration Editor not saved / not downloaded Run Station Configuration Editor → Save and Compile after every HW change
High tag latency after failover Keep-alive / monitoring time too long Reduce Connection monitoring time in S7-REDCONNECT settings to 1-3 s

9. Design Notes and Field-Proven Caveats

  • Two physical networks, not one VLAN. A single broadcast domain with two interfaces in the same subnet does not give independent failure modes. Use two switches, two subnets, two IP ranges, and patch them through to the two plant networks that reach the H-CPUs.
  • One logical connection in WinCC. Creating two parallel S7 channels (one per interface) breaks the redundancy model and will cause duplicate tag values and double write actions during the brief overlap of a failover.
  • License and driver are coupled. S7-REDCONNECT is sold as a power pack on top of the SIMATIC NET PC Software. Without it, the S7 driver runs in single-path mode regardless of how many CPs are installed.
  • MAC address reporting. Tick Set MAC address manually in the CP-1613 properties in HW Config. Otherwise the S7-REDCONNECT diagnostics cannot reliably identify the failing path.
  • Switching time. Failover is not instantaneous; budget 200-500 ms of tag staleness. For closed-loop control requiring sub-100 ms response, this is not the right mechanism - move to PROFINET S2 system redundancy instead.
  • Document the partner endpoints. The connection partner in NETPRO is the S7-400H station object, not an individual H-CPU. If you bind the connection to a specific CPU, you lose H-system redundancy.

10. Related Redundancy Topics (Not Covered by S7-REDCONNECT)

Three additional, distinct concepts are often confused with S7-REDCONNECT:

  1. WinCC server redundancy (RT Professional) - two WinCC servers monitoring each other over a terminal bus. Documented in How Redundancy Works (RT Professional); this is a separate layer from S7-connection redundancy.
  2. S7-400H system redundancy - the two H-CPUs themselves, the sync module, the redundant power supplies, the redundant CPs. Independent of how the PC station talks to them.
  3. PROFINET S2 / R1 / R2 system redundancy - newer mechanism, primarily for S7-1500R/H, not S7-400H. Requires PROFINET devices, not Industrial Ethernet.

FAQ

Do I really need two CP-1613 cards for WinCC redundancy to S7-400H?

Yes, for full path redundancy you need two independent Ethernet interfaces on the PC station - typically two CP-1613 (6GK1 161-3AA01), or one CP-1613 plus one IE General. A single CP-1613 cannot fail over by itself because there is no second physical path to the H system.

Which license enables the S7 fault-tolerant connection in WinCC?

The S7-REDCONNECT license (SIMATIC NET Power Pack) is required. Without it, the SIMATIC NET driver runs in single-path mode and WinCC will report a connection loss when one cable is unplugged.

Do I configure one or two S7 channels in WinCC?

Configure exactly one S7 channel and one logical connection per H system. S7-REDCONNECT binds the logical connection to the two physical interfaces internally; creating two parallel WinCC connections breaks the redundancy model and produces duplicate updates.

How long does failover take when a cable is unplugged?

Typical failover time is 200-500 ms of tag staleness, dominated by the S7 keep-alive / monitoring time. Reduce the Connection monitoring time in S7-REDCONNECT settings to 1-3 seconds for faster detection, at the cost of higher network load.

Does this configuration work with TIA Portal and WinCC RT Professional?

Yes. S7-connection redundancy (S7-REDCONNECT) is configured in the SIMATIC NET PC station on both STEP 7 V5.x and TIA Portal. WinCC server-level redundancy is a separate, additional layer documented under How Redundancy Works (RT Professional).

Back to blog