Overview
A common WinCC architecture problem is running a visualization with a redundant WinCC server pair serving only web clients, then needing to add one or more runtime clients for an operator control room with multiple monitors per station. Because each monitor can be tied to its own runtime window (or to a web browser instance), plant engineers frequently try to save WebClient licenses by using WinCC Runtime instead of WebClient on each monitor PC.
The two engineering constraints that drive this design are:
- License economics: A single WinCC Runtime license on a control-room PC can drive four monitors from one station, while WebClient licenses are counted per concurrent browser session.
- Failover behavior: The runtime clients must automatically switch to the surviving partner server when one server fails, without operator action.
Both constraints are satisfied by converting the existing single-user project to a multi-user server project, configuring a redundant server pair, and adding a multi-client (runtime client) that participates in the redundant server failover. The conversion cannot be performed online; runtime must be stopped on the affected stations during the structural change.
Architectural Prerequisites
Before reconfiguration, verify the existing topology against the requirements below. Items marked required block progress if missing.
| Item | Required State | Notes |
|---|---|---|
| WinCC version | WinCC RT Professional V16+ | Older WinCC V7 uses the SIMATIC WinCC Explorer / WinCC Redundancy option and follows a different path. |
| Project type | Single-user project (currently) | Must be converted to a multi-user project. |
| Server operating system | Windows Server 2016/2019/2022 64-bit | WinCC RT Professional server requires Windows Server. |
| Client operating system | Windows 10/11 64-bit | Multi-client can run on Windows 10/11 Pro/Enterprise. |
| Network | TCP/IP, same subnet for server pair; routed or VLAN to clients | Server-server redundancy heartbeat uses TCP/UDP on configured ports. |
| Licenses | 2 × WinCC RT Server (redundant), 2 × WinCC RT Client, 10 × WinCC WebClient | License model is per-station, not per-monitor. |
| PLC connection | S7-1200/S7-1500 Softnet or S7-1500 HMI connection configured on each server | Both servers must hold the same S7 connection profile. |
License Model and Sizing
WinCC Professional / RT Professional separates runtime licensing from the connection topology. The license items that matter for a redundant server + N runtime clients layout are:
- WinCC RT Server (6AV2 105-....): Required on each redundant server. The redundancy license (WinCC Redundancy) is included with the server license above V16, but confirm the option key on the license container.
- WinCC RT Client (Powerpack or standalone): Per concurrent client station. The multi-client uses one RT Client license regardless of how many monitors the station drives, because the client PC runs one RT session.
- WinCC WebClient: Per concurrent web browser session. Each browser tab/window counts as one client. The WebNavigator option on the server side is licensed separately.
- WinCC WebServer: Activates the WebNavigator publishing role on a station. A multi-client can also act as a webserver, which is the recommended pattern when WebClient sessions are still needed alongside the new RT clients.
Sizing Example (8 monitors across 2 PCs)
Assume: 2 redundant servers, 2 control-room PCs each with 4 monitors, and 10 existing web clients from remote users.
| Station | Role | License | Count |
|---|---|---|---|
| Server A | Primary redundant server | WinCC RT Server + Redundancy | 1 |
| Server B | Standby redundant server | WinCC RT Server + Redundancy | 1 |
| Control-room PC #1 | Multi-client + Webserver | WinCC RT Client + WinCC WebServer + 5 WebClients | 1 set |
| Control-room PC #2 | Multi-client + Webserver | WinCC RT Client + WinCC WebServer + 5 WebClients | 1 set |
| Remote browser sessions | Web clients | WinCC WebClient (consumed from server A or B) | 10 |
If the control-room PCs are configured as multi-clients and webservers, they can host both the 4-monitor runtime view and 5 browser sessions each, while the 10 existing remote WebClient licenses continue to be served by the server pair (or by the multi-client/webserver PCs if preferred).
Conversion Path: Single-User to Multi-User Project
The current project is a single-user project on a single WinCC station. The runtime client addition requires the project type to be changed to a multi-user (server + client) project. The conversion is a structural operation that affects the project directory, the HMI device list, and the runtime database layout.
Pre-Conversion Backup
- Stop Runtime on the WinCC station.
- Close WinCC and the TIA Portal completely.
- Copy the entire project folder (including the
.apXXfile,IMfolder,Logsfolder, andSystemfolder) to a backup location. Verify checksum. - Export the WinCC project archive from TIA Portal: Project → Archive → TIA Portal project archive (.zapXX).
- Document all S7 connections, tag prefixes, and scheduled tasks. These will be referenced when you re-author them on the redundant partner.
Step-by-Step Conversion
- Open the project in TIA Portal.
- In the project tree, locate the HMI device (the existing single-user station).
- Right-click the HMI device and open Properties → General → Type.
- Change the device type from WinCC RT Professional (single-user) to WinCC RT Professional (server).
- Confirm the conversion wizard. The wizard removes single-user-only objects (local pictures, local scripts not bound to a server context) and prepares the project for a server role.
- Compile the HMI station fully. Address any compile errors before proceeding; these are typically missing tag prefixes or scripts that referenced local files.
- Add a second HMI device of type WinCC RT Professional (server) to the project. This second device will become the redundant partner.
- Open Properties → Redundancy on both server devices and enable Redundant operation. Set the partner IP address and partner computer name on each side.
- Configure the redundancy heartbeat interval (default 1 s) and the failover trigger conditions (typically loss of partner heartbeat beyond N seconds or loss of all S7 connections).
- Add a third HMI device of type WinCC RT Professional (client). This is the multi-client that will run in the control room.
- On the client device, set Properties → Runtime → Server assignment to point to both redundant servers by name.
- On each server, add a server-prefix for this client. The server prefix ensures the client reads the correct tag namespace from whichever server is currently the master.
- Compile all three devices. Download to each target station.
- On the client station, enable WinCC Webserver if WebClient sessions are also required from this PC.
Redundancy Behavior and Failover
With the configuration above, WinCC Redundancy implements a hot-standby pair. The runtime behavior is:
| State | Server A | Server B | Client View | WebClient View |
|---|---|---|---|---|
| Normal operation | Master | Standby, mirroring | Reads from Server A | Reads from Server A |
| Server A fails | Offline | Promoted to Master | Switches to Server B within failover timeout (typically 3-10 s) | Switches to Server B (browser may need refresh on stale sessions) |
| Server A recovers | Standby, resyncs from B | Master | Stays on Server B | Stays on Server B |
| Both servers fail | Offline | Offline | Connection error, alarms freeze | Connection error |
| Network partition (split brain) | Master (sees PLC) | Standby (sees partner but not PLC) | Server B goes to standby-error state until heartbeat recovers | Same as client |
The client automatically follows the master. No operator action is required when one server fails. The client connection drops briefly during the failover window; open picture windows will re-establish on the new master. Persistent alarms and logged data are preserved by the server that survived.
Configuring the Start Screen and Server Assignment
On the WinCC server, in Runtime settings → General, select a picture (e.g., Start.pdl) as the Start screen. The start screen is what the multi-client displays when it launches the connection to the server. Configure the same start screen on both servers to avoid different opening views after failover.
On the multi-client, the server assignment is configured per device:
- Open the client device in TIA Portal.
- Navigate to Properties → Runtime settings → Server.
- Add both servers (Server A and Server B) to the Server list.
- Set Preferred server to Server A (the primary master).
- Enable Automatic switchover in the event of server failure. This is enabled by default but verify it is checked.
- Set the failover timeout (default 5 s). Tune based on network quality; lower values trigger earlier switchover but increase false positives on brief network blips.
Multi-Client as Webserver
The recommended pattern when the multi-client is added to a redundant pair that previously only had web clients is to make the multi-client act as a webserver. This keeps web-client sessions on a station that is local to the control-room PCs, reducing load on the server pair. The architecture becomes:
- Server A / Server B: Hold the S7 connections, run the project, mirror each other for redundancy.
- Multi-client PC: Connects to the active server (A or B) via WinCC client connection, serves 4 monitors, and also publishes a WebNavigator endpoint for browser sessions.
To configure the multi-client as webserver:
- On the multi-client device in TIA Portal, open Properties → Runtime settings → WebNavigator.
- Enable WinCC Webserver.
- Configure the HTTPS certificate (self-signed for testing, CA-issued for production).
- Set the WebClient port (default 80 for HTTP, 443 for HTTPS).
- Configure the WebClient license count on the multi-client station (the 5 sessions per PC in the example above).
When the server fails, the multi-client's webserver role is unaffected because it sources its data from whichever server is currently master. Browser sessions will see a brief disconnect, then reconnect automatically if the client supports it (most do, after a page refresh).
Verification Procedure
After commissioning, verify each behavior with a controlled test:
- Startup test: Boot both servers, then the multi-client. Confirm the multi-client connects to Server A (preferred) within 10 s. Confirm the start screen displays on all four monitors.
- Tag read test: From the multi-client, change a tag value (e.g., a motor speed setpoint). Confirm the value persists on Server A and that the multi-client's screen reflects the change within the configured update cycle (default 1 s).
- Failover test (planned outage): Stop Runtime on Server A using the WinCC system tray icon. Within the failover timeout, confirm the multi-client switches to Server B. Verify open screens refresh with current values. Verify alarms are still logged.
- Failover test (hard outage): Pull the network cable on Server A or power-cycle the server. Repeat step 3. Confirm the multi-client recovers automatically.
- Recovery test: Bring Server A back online. Confirm it re-enters standby and resyncs from Server B. Confirm the multi-client does not switch back to Server A (master retention).
- WebClient test: From a separate PC, open a browser to the multi-client's webserver URL. Log in. Confirm picture navigation works. Repeat the failover test and confirm the browser session reconnects after a manual refresh.
- License test: On the License Viewer (Automation License Manager), confirm all server and client licenses are correctly assigned and not floating back to the license pool.
Troubleshooting Matrix
| Symptom | Likely Cause | Verification | Resolution |
|---|---|---|---|
| Multi-client shows "No connection to server" at startup | Server list empty or partner name wrong | Check Runtime settings → Server on client | Re-add both server names; verify DNS resolves both names |
| Multi-client connects but displays wrong picture | Start screen not set on server or mismatch | Check Runtime settings → General → Start screen on both servers | Set identical start screen on both servers |
| Failover does not occur when one server stops | Automatic switchover disabled on client, or redundancy not enabled on server | Check client properties → Automatic switchover; check server redundancy license | Enable Automatic switchover; confirm Redundancy license key present |
| Failover occurs but operator sees stale data | Update cycle too long | Check tag update cycle in tag properties | Reduce update cycle on critical tags (e.g., 250 ms) |
| WebClient cannot reach multi-client webserver | Firewall blocking port 80/443, or HTTPS cert untrusted | Test from server with curl -vk https://<client>
|
Open firewall inbound on the port; install CA-issued cert |
| License error at runtime on client | RT Client license missing on client station | Open Automation License Manager on client | Install RT Client license key; retransfer license to client |
| Server A and Server B both report master | Split-brain scenario, network partition | Check redundancy diagnostic file Redundancy.log
|
Restore network path; servers will reconcile when heartbeat recovers |
| Multi-client flickers between two servers | Failover timeout too short, network jitter | Review WinCC_Srv_Redundancy.log for repeated partner-loss events |
Increase failover timeout; investigate network quality |
| Compile error: "Object cannot be used in server project" | Object type not supported on server (e.g., local file pointer) | Identify object in compile log | Move to client or convert to server-compatible object |
| Conversion wizard refuses to change project type | Project has single-user-only references in scripts | Check compile warnings before conversion | Refactor scripts to be server-compatible before retrying conversion |
Online Change Limitations
WinCC RT Professional does not support online changes to the project type (single-user ↔ multi-user), to redundancy settings, or to the server/client topology. These are structural changes that require:
- Stopping Runtime on every station involved.
- Making the change in TIA Portal.
- Recompiling all affected devices.
- Downloading to each target station.
- Restarting Runtime in the correct order: servers first, then clients.
However, runtime changes to pictures, tags, scripts, and alarms can be downloaded online to a running server (and replicated to the standby if configured). The Online → Compile and Download to Target System path supports incremental changes that do not alter the device topology.
Operational Best Practices
- Identical project on both servers: Both servers must run the same compiled project. Configure the redundancy partner so each server knows about the other's project state. Mismatched projects cause runtime warnings and degraded failover.
- Synchronize time: Use NTP on all servers and clients. Alarms and logs use local time; mismatched clocks make troubleshooting difficult.
- Document the failover timeout: Operators should know how long visibility is lost during a failover (typically 3-10 s). Document this in the operations manual.
- Avoid mixing single-user and multi-user projects on the same server: A WinCC station can host only one project type at a time.
- Test failover regularly: Schedule quarterly failover tests. A redundant pair that has never been tested is a single point of failure in practice.
- License audit: Run the Automation License Manager report monthly. License drift is a common cause of "License missing" runtime errors after server hardware changes.
Frequently Asked Questions
Can I add a WinCC runtime client to a redundant server pair without stopping the visualization?
No. Adding a runtime client requires changing the project type from single-user to multi-user and adding new HMI devices to the project. This is a structural change that requires stopping Runtime on the affected stations. Plan a maintenance window of 30-60 minutes for the conversion, compile, and download.
Will the runtime client automatically switch to the standby server if the master fails?
Yes, if Automatic switchover is enabled on the client device in TIA Portal under Properties → Runtime settings → Server. The client monitors the heartbeat and the S7 connection status of the preferred server. When the master is unreachable for the configured failover timeout (default 5 s), the client reconnects to the partner server and resumes the start screen with current values.
Can a multi-client act as both a runtime client and a webserver at the same time?
Yes. The recommended pattern for a control-room PC with 4 monitors is to install the multi-client role plus the Webserver role on the same station. The station consumes one WinCC RT Client license plus the Webserver option plus the configured number of WebClient licenses. The browser sessions and the 4-monitor runtime share the same data source (the active redundant server).
How many WebClient licenses do I need if the control-room PCs serve both runtime and web sessions?
WebClient licenses are counted per concurrent browser session, not per monitor or per PC. If two control-room PCs each host 5 browser sessions, you need 10 WebClient licenses in addition to the 2 RT Client licenses. The 10 licenses you already have can be reassigned to the multi-client/webservers instead of the server pair.
What happens to the runtime client if both servers fail simultaneously?
The client displays a connection error and freezes the last known picture. Alarms are not logged on the client side; they must be logged on the server. When at least one server returns, the client reconnects automatically and resumes the start screen. Open picture windows may need to be re-navigated by the operator.