WinCC 7.4 S7-1200 Channel: Restore Server-Client Link

David Krause14 min read
SiemensTroubleshootingWinCC
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

Problem Summary

A WinCC V7.4 redundant server pair (Server A + Server B) plus four WinCC clients on a 192.168.2.0/24 plant LAN must poll a remote SIMATIC S7-1200 CPU at 10.161.144.11 through a SCALANCE S615 LAN/VPN router that terminates VLAN2. The WinCC client stations have static IPv4 addresses inside the 192.168.2.x range. The S7-1200 is reached through the SCALANCE S615 on a separate 10.161.144.0/27 segment.

Adding the SIMATIC S7-1200, S7-1500 Channel to the WinCC Tag Management produces a green connection check mark - confirming that the S7-1200 connection has been opened - and immediately causes the WinCC clients to lose visibility of the partner (redundant) WinCC server. Removing the S7-1200 connection makes the partner server reappear. The connection works; the rest of the runtime breaks.

This symptom is caused by misaligned S7ONLINE binding and Terminal Bus adapter assignment on the WinCC server, not by the S7-1200 channel itself. The remediation below is verified against the official Siemens WinCC-to-S7-1200/S7-1500 channel manual.

System Topology and Subnet Audit

The reported topology is summarized below. The remote S7-1200 is on a /27 subnet (mask 255.255.255.224) connected to the WinCC server side through a SCALANCE S615 with VLAN2.

Table 1 - Network inventory and addressing
Device Address Mask / Prefix Role
WinCC Server A 192.168.2.x (static) 255.255.255.0 /24 Plant LAN, WinCC redundancy partner 1
WinCC Server B 192.168.2.x (static) 255.255.255.0 /24 Plant LAN, WinCC redundancy partner 2
WinCC Clients (4) 192.168.2.x (DHCP/static) 255.255.255.0 /24 Plant LAN, connect to redundant servers
SCALANCE S615 Per VLAN2 design - Stateful firewall + L3 router between plant LAN and remote segment
SIMATIC S7-1200 10.161.144.11 255.255.255.224 /27 Remote controller polled by WinCC through VLAN2

10.161.144.11/27 lives in the 10.161.144.0 to 10.161.144.31 range. Network address is 10.161.144.0; broadcast is 10.161.144.31; usable hosts are 10.161.144.1 through 10.161.144.30. The S7-1200 address is therefore valid for the subnet. The WinCC server must reach 10.161.144.11 only through the SCALANCE S615 - the plant LAN (192.168.2.x) and the remote segment (10.161.144.x) must be unique and routed, not bridged, inside the SCALANCE S615.

Critical first check: before touching the WinCC project, run arp -a, ipconfig /all, and ping 10.161.144.11 from the WinCC server's plant-LAN NIC. If the S7-1200 does not respond without going through WinCC, the channel cannot fix routing for you - the SCALANCE S615 static route, firewall rule, and VLAN2 plumbing have to be operational first. Note that the S615 firewall commonly drops ICMP even when S7 (TCP/102) is allowed; if ping fails, validate with the WinCC channel's Test Connection instead.

Network Topology Diagram

Plant LAN 192.168.2.0/24 WinCC Server A NIC1: 192.168.2.x (PLC Bus) NIC2: Terminal Bus WinCC Server B NIC1: 192.168.2.x (PLC Bus) NIC2: Terminal Bus WinCC Clients (4) 192.168.2.x Connect to Server A or B SCALANCE S615 VLAN2 gateway 192.168.2.x <-> 10.161.144.x TCP/102 via VLAN2 Remote segment 10.161.144.0/27 (VLAN2) SIMATIC S7-1200 CPU 10.161.144.11 / 27 TIA Portal: PUT/GET enabled

Root Cause Analysis

Three independent issues can each produce the "green tick but clients lose partner" symptom; in the reported case more than one is typically present. The official Siemens response on the Support portal identifies the second and third points below as the primary causes.

  1. S7ONLINE is a symbolic device name, not a binding. In the WinCC channel, Access Point = S7ONLINE is a symbolic name. The real binding is the Set PG/PC Interface assignment in the Windows Control Panel applet. If the applet shows more than one entry per network adapter (e.g. <NIC>.TCPIP.1, <NIC>.TCPIP.Auto.1, and <NIC>.ISO.1), the S7-1200/S7-1500 channel may bind to a different entry than the rest of WinCC. The result is a silent socket-hijack of the redundancy path.
  2. Terminal Bus and PLC Bus are not isolated. A redundant WinCC server requires a separate Terminal Bus adapter for the server-client messaging layer. If the Simatic Shell system folder has not been told which adapter is the Terminal Bus, the new S7-1200 channel can claim that adapter and starve the WinCC client connection to the partner server.
  3. Duplicate or overlapping IP addressing. The 192.168.2.x plant LAN and the 10.161.144.x remote segment must be distinct, and no two devices in any one broadcast domain may share an IP. Two adapters on the same server must not overlap. Overlap is a common root cause of intermittent partner-server loss that vanishes the moment the S7-1200 channel is removed.

S7ONLINE Binding State Diagram

Channel disabled S7ONLINE bound to TCPIP.Auto.1 / ISO.1 S7ONLINE bound to TCPIP.1 (deterministic) Partner server DROPPED Partner server VISIBLE Add channel (wrong binding) Add channel (correct binding)

Affected Components and Versions

Table 2 - Components and firmware in scope
Component Version / Notes
SIMATIC WinCC V7.4 (also reported on V7.3 SE, V7.4 SP1, V7.5) with the SIMATIC S7-1200, S7-1500 Channel option installed
WinCC Channel "SIMATIC S7-1200, S7-1500 Channel" - symbolic addressing using the TIA Portal tag table exported from the S7-1200 project
SIMATIC S7-1200 Firmware V4.x family - any CPU 12xx supporting symbolic S7 communication (1211C, 1212C, 1214C, 1215C, 1217C, plus 1214FC / 1215FC fail-safe variants)
SCALANCE S615 6GK5615-0AA00-2AA2 (typical article number) - Layer 3 stateful firewall/NAT/VPN router, VLAN2 carrying the 10.161.144.0/27 segment
SIMATIC Net / SOFTNET Version matched to the WinCC release. S7ONLINE access point is installed by the SIMATIC Net CD and is what the channel actually opens its socket through
Windows Windows 7 / Windows 10 / Windows Server 2008 R2 / 2012 R2 / 2016 - "Set PG/PC Interface" applet must be 32-bit (default) and present under Start > Siemens Automation

Reference for the channel mechanics: WinCC Communication to S7-1500, S7-1200 and ET 200SP - PDF manual (Siemens Support).

Prerequisites

  • Local administrator rights on both WinCC servers in the redundant pair.
  • WinCC project backup before any change. Stop the WinCC Server service before editing PG/PC bindings.
  • SIMATIC Net / SOFTNET installed; Set PG/PC Interface applet present under Start > Siemens Automation.
  • Simatic Shell system folder visible in Windows Explorer (added by SIMATIC Net). If absent, repair the SIMATIC Net installation.
  • Read access to the TIA Portal project for the S7-1200 to export the symbolic tag list.
  • Network access to the SCALANCE S615 web-based management (default https://<management-IP>).
  • Two physically separate network adapters (or one adapter with two VLAN sub-interfaces) on each WinCC server - one for the PLC bus, one for the Terminal Bus.

Step-by-Step Remediation

Step 1 - Audit IP addressing before touching WinCC

On the WinCC server, open an elevated command prompt and run:

ipconfig /all
arp -a
route print
ping 10.161.144.11 -n 4
tracert 10.161.144.11

Confirm the following before proceeding:

  • The plant-LAN NIC is on 192.168.2.x /24 and is the only server adapter in that subnet.
  • The S7-1200 responds to ping - or, if ICMP is filtered on the SCALANCE S615, the next hop on tracert is the S615's VLAN2 interface.
  • No other NIC on the server is on 10.161.144.0/27, and no other device on the plant LAN shares an IP with the server.

Step 2 - Bind S7ONLINE to a single deterministic TCPIP entry

  1. Start > Siemens Automation > Set PG/PC Interface.
  2. In the Interface Parameter Assignment Used dropdown, select the plant-LAN NIC's <NIC Name>.TCPIP.1 entry.
  3. Do not select ...TCPIP.Auto.1 or ...ISO.1 when more than one entry exists for the same NIC. The Auto mode lets the S7-1200/S7-1500 channel silently pick a different socket than the rest of WinCC, which is the most common cause of the partner-server drop.
  4. Click OK to commit. Repeat on the redundant partner server - the PG/PC Interface setting is per-machine and does not replicate.
Why this matters: the S7-1200/S7-1500 Channel performs its TCP open through the S7ONLINE symbolic device. Windows resolves S7ONLINE to the active PG/PC entry. If the channel sees one NIC and the WinCC redundancy layer sees another, the server-client link breaks the moment the channel is enabled.

Step 3 - Assign the Terminal Bus to a dedicated adapter

  1. In Windows Explorer, navigate to Simatic Shell (a system folder installed by SIMATIC Net).
  2. Right-click the folder and select Terminal Bus Settings.
  3. Select the network adapter reserved for WinCC client-server traffic. This must be a different adapter from the one bound to S7ONLINE in Step 2, and ideally a different subnet from 10.161.144.0/27.
  4. Apply the change. Restart the WinCC Server service: in the WinCC Explorer, use File > Exit WinCC Explorer, stop the CCEServer / WinCC service, then restart.

Step 4 - Configure the S7-1200/S7-1500 Channel in WinCC

  1. In WinCC Explorer, open Tag Management, right-click and select Add New Driver > SIMATIC S7-1200, S7-1500 Channel.
  2. Open the new connection and set its Connection Properties:
Table 3 - Channel connection parameters
Field Value Notes
IP Address 10.161.144.11 S7-1200 CPU IP
Access Point S7ONLINE Symbolic - now correctly bound per Step 2
Product Family S7-1200-Connection Do not pick S7-1500 here
Connection Name e.g. S71200_Plant1 Free-form, but unique per server
Update Time 1 s typical (500 ms - 5 s) Lower = more CPU on S7-1200
Maximum Read/Write Jobs Depends on S7-1200 resources S7-1200 has 6 active jobs for class 1 comm by default
  1. From the TIA Portal project for the S7-1200, export the PLC tag table (PLC > Export to Text/Excel). In the WinCC connection, right-click and choose Read Symbol from AS to import the symbolic names.
  2. Build the tags. The channel uses the S7-1200's optimized data blocks. In the TIA Portal, ensure the DBs are marked Accessible from HMI (right-click the DB > Properties > Attributes > HMI accessible) and that the CPU has Permit access with PUT/GET communication from remote partners enabled under Protection & Security.
  3. Save the WinCC project. Activate the runtime and verify the connection status before evaluating partner-server visibility.

Step 5 - SCALANCE S615 VLAN and firewall check

The S615 is a Layer-3 stateful firewall with VPN capability. For the S7-1200 channel to traverse VLAN2:

  • VLAN2 must route (not bridge) between the 192.168.2.x plant-LAN side and the 10.161.144.x remote side - or, if a VPN tunnel is in use, the S7 traffic must be encapsulated by the tunnel policy.
  • The S7-1200 IP (10.161.144.11) must be reachable from the plant-LAN side of the S615 - check Layer 3 > Static Routes on the S615.
  • Firewall rules must allow TCP port 102 (ISO-on-TCP / S7) from the WinCC server's plant-LAN IP to 10.161.144.11.
  • The S615 idle session timeout must exceed the WinCC keep-alive interval. Default S615 TCP idle timeout is 1800 s; if the channel keep-alive is shorter, the connection resets every half hour.

If the green tick appears in WinCC but the partner-server link still drops, capture a Wireshark trace on the plant-LAN NIC of Server A filtered to ip.addr == 10.161.144.11. The green tick only proves the channel opened the socket; the S615 may be silently dropping the payload.

Verification

  1. In WinCC Explorer, confirm the S7-1200 connection shows the green check and the Connection Status reads OK with at least one successful poll.
  2. On each WinCC client, open WinCC Explorer > Server Data and confirm both Server A and Server B are listed as active (not failed).
  3. From the client, force a redundancy failover: stop the WinCC Server service on the current master. The client must reconnect to the partner within the configured redundancy time (default 10 s) and tag values must continue updating without restart.
  4. Use the WinCC Channel Diagnosis tool and confirm no 0xFFFE or 0xFFFF quality codes on the S7-1200 tags after a 30-minute soak test.
  5. Reboot the server. After reboot, the binding must still resolve to TCPIP.1 - the Auto mode tends to re-select the wrong interface after a NIC enumeration change.
  6. Run a side-by-side S7-1200 Test Connection from WinCC Channel Diagnosis on both Server A and Server B. Round-trip time should be under 100 ms on a healthy LAN; the S615 path through VLAN2 may add 10-50 ms.

Troubleshooting Matrix

Table 4 - Symptom-to-cause map
Symptom Likely cause Fix
Green tick, partner server disappears, S7-1200 unreachable PG/PC bound to TCPIP.Auto.1 or wrong NIC Bind S7ONLINE to TCPIP.1 of plant-LAN NIC (Step 2)
Green tick, partner server disappears, S7-1200 reachable Terminal Bus not assigned; new channel grabs the redundancy adapter Set Terminal Bus in Simatic Shell (Step 3)
Green tick, partner server visible, tags show 0xFFFE Permit access with PUT/GET disabled on S7-1200 CPU, or DB not marked Accessible from HMI Enable PUT/GET and DB accessibility in TIA Portal, re-download to S7-1200
Green tick, tags update, intermittent disconnect every 30-60 minutes S615 firewall session timeout shorter than WinCC keep-alive, or VLAN2 not routing the 10.161.144.0/27 net Raise S615 TCP idle timeout, add static route for 10.161.144.0/27, allow TCP/102
Works on Server A, fails on Server B PG/PC binding configured per-server, not centralized Set the same TCPIP.1 binding on both servers in the redundancy pair
Works on dev workstation, fails on production server ISO.1 entry selected on production; only TCP/IP is allowed across the production firewall path Switch to TCPIP.1 of the plant-LAN NIC
Green tick, no tag data, partner visible Symbolic tags imported from wrong TIA project; AS symbols not refreshed; CPU password mismatch Re-import symbols; confirm CPU protection level and password in TIA Portal match the project
Green tick, partner visible, tag values freeze every 60 s S7-1200 has more than 6 concurrent class-1 jobs; channel queue is blocked Reduce concurrent connections to the S7-1200; raise the S7-1200 job count in TIA Portal if hardware allows
Green tick disappears after Windows reboot PG/PC binding reverts to TCPIP.Auto.1 on boot Set binding in Set PG/PC Interface and confirm with a service restart; consider setting S7ONLINE = TCPIP.1 via registry if a specific NIC is required at boot

Field-Proven Caveats

  • Per-server configuration. Each WinCC server in the redundant pair has its own PG/PC Interface applet. A fix on Server A does not propagate to Server B. Repeat Steps 2 and 3 on every server in the redundancy group.
  • Removing the channel hides the symptom, it does not fix it. Removing the S7-1200 channel appears to restore the partner server because the offending binding or the wrong S7ONLINE adapter is released. The fix must be applied at the PG/PC / Terminal Bus layer.
  • ICMP is not a valid reachability test through the S615. If ICMP is blocked on the SCALANCE S615 (a common hardening setting), ping will fail even when the S7-1200 is fully reachable. Use Test Connection from the S7-1200/S7-1500 channel diagnostic instead of ping for end-to-end checks.
  • The green check is opened at channel load. A TCP/102 socket can be opened to a firewall that will silently drop later payloads. Always validate with a forced failover and a 30-minute soak.
  • S7-1200 firmware limits apply. S7-1200 CPUs only support a fixed number of simultaneous class-1 communication jobs (six by default). Each WinCC connection - and each WinCC server in a redundant pair - consumes one job. The CPU must have enough job resources for both Server A and Server B to talk to it concurrently.
  • Symbolic addressing requires accessible DBs. Even with PUT/GET enabled, a DB that is optimized and not flagged as Accessible from HMI in TIA Portal will return quality code 0xFFFE for every tag.

When to Escalate

If after applying Steps 1 through 5 the partner server still disappears exactly when the S7-1200 channel is enabled, capture an SDT (Siemens Support Diagnostics Tool) dump from the affected server and open a Service Request at Siemens Industry Online Support - Service Requests. Attach the WinCC project backup, the SDT archive, the SCALANCE S615 configuration export (System > Backup & Restore), and a Wireshark capture from the plant-LAN NIC filtered to the S7-1200 IP.

FAQ

Why does the WinCC client lose the partner server the moment the S7-1200 channel is added, even though the channel reports a green check?

The S7-1200/S7-1500 Channel opens its TCP/102 socket through the S7ONLINE symbolic device. If the PG/PC Interface is bound to a non-deterministic entry (TCPIP.Auto.1) or to the same adapter that the WinCC Terminal Bus uses for client-server messaging, the new socket collides with the redundancy traffic. Removing the channel frees the socket, which is why the partner server reappears.

Which PG/PC Interface entry should be selected for the S7-1200/S7-1500 Channel?

Use the plant-LAN NIC's <NIC Name>.TCPIP.1 entry. Do not select TCPIP.Auto.1 or ISO.1 when more than one entry exists for the same adapter, and do not select any entry on the same NIC that the Simatic Shell Terminal Bus is bound to. The PG/PC binding must be set independently on each server in the redundant pair.

How is the Terminal Bus different from the plant LAN in a WinCC redundant server?

The Terminal Bus is the dedicated network adapter that carries WinCC server-to-client messaging and redundancy handshakes. In a redundant pair, each server needs a separate Terminal Bus adapter so that a fault on the plant LAN does not break client visibility of the partner. The S7-1200 PLC traffic goes over the plant LAN through S7ONLINE, not over the Terminal Bus. The Terminal Bus is configured in the Simatic Shell system folder, not in the WinCC project itself.

Does the SCALANCE S615 need special configuration to forward the 10.161.144.0/27 subnet?

Yes. The S615 must have a static route for 10.161.144.0/27 pointing at the VLAN2 interface that terminates the S7-1200 segment, and a firewall rule allowing TCP/102 from the WinCC server's plant-LAN IP to 10.161.144.11. The S7-1200 channel's green check only confirms a TCP/102 socket was opened - it does not prove the S615 is actually forwarding the payload. Validate with a Wireshark capture filtered to the S7-1200 IP.

Does the S7-1200 CPU need PUT/GET access enabled for the WinCC channel to read symbolic tags?

Yes. In TIA Portal open the S7-1200's CPU properties > Protection & Security and enable Permit access with PUT/GET communication from remote partners. Each data block read by WinCC must also be marked Accessible from HMI in its properties. Without these, the channel opens the socket but every read returns quality code 0xFFFE. Re-download the project to the S7-1200 after changing either setting.

Back to blog