Resolving S7-300 to WinCC RT Professional Communication Failures

David Krause17 min read
HMI / SCADASiemensTroubleshooting
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

An S7-314 CPU (SIMATIC S7-300 family) is connected over Industrial Ethernet to a PC station running WinCC Runtime Professional. The TIA Portal V17 project downloads to the CPU successfully, and online monitoring of inputs and outputs functions correctly through the engineering software. However, the HMI runtime on the PC cannot establish an S7 connection to the CPU. The runtime stays in a "Connecting" state, the WinCC tag simulator shows no value updates, and no tag transitions to the "connected" quality code.

This failure mode is most often caused by one of three configuration gaps: (1) the wrong runtime flavor installed on the PC (for example, only the WinCC Tag Simulator / "RT Pro" rather than a full WinCC Runtime), (2) the SIMATIC NET PC software stack missing from the runtime PC, or (3) the S7ONLINE access point on the runtime PC bound to the wrong network adapter. The remainder of this reference covers the diagnostic path, the mandatory software components, and the configuration sequence required to bring the S7-300 ↔ WinCC RT Professional link online.

S7-314 Hardware Reference

The S7-314 is part of the SIMATIC S7-300 family. The IP configuration referenced in the source (CPU 192.168.80.10, PC 192.168.80.15) is valid; both addresses are usable hosts in the 192.168.80.0/24 subnet with the default mask 255.255.255.0. The first decision point is whether the CPU variant itself has a PROFINET interface.

Order Number (MLFB) Description PROFINET Interface Firmware
6ES7314-1AF10-0AB0 CPU 314, 128 KB work memory None (MPI/PROFIBUS only) V3.3
6ES7314-1AG14-0AB0 CPU 314, 128 KB work memory None (MPI/PROFIBUS only) V3.3
6ES7314-1EH14-0AB0 CPU 314C, 192 KB work memory None (MPI/PROFIBUS only) V3.3
6ES7314-6CH04-0AB0 CPU 314C-2 PtP, 192 KB None V3.3
6ES7314-6CG03-0AB0 CPU 314C-2 PtP, 192 KB None V3.2
6ES7314-6EH04-0AB0 CPU 314C-2 PN/DP, 192 KB 2-port PROFINET switch V3.3

PROFINET connectivity is only available on the -6EH04 variant (CPU 314C-2 PN/DP). For all other S7-314 CPUs, Ethernet communication to WinCC requires a CP 343-1 communications processor (for example 6GK7343-1EX30-0XE0 with firmware V3.0 or later, or 6GK7343-1CX10-0XE0 for older builds) installed in the S7-300 rack, or a third-party gateway that proxies S7 communication to the WinCC runtime.

WinCC Runtime Variants and Software Requirements

Siemens offers three runtime products commonly confused with one another when commissioning HMI applications on a PC station. The original failure described in the source was caused by installing "RT Pro" (the WinCC Tag Simulator shipped with the engineering license) rather than a real runtime that can talk to a live PLC.

Runtime Product Use Case SIMATIC NET Required? License Article Numbers
WinCC Tag Simulator (RT Pro) Engineering test tool only - simulates values internally, never connects to a live PLC No Bundled with WinCC Professional Engineering
WinCC Runtime Advanced Comfort Panels, Mobile Panels, and single-user WinCC RT Advanced PC runtime No (uses internal WinCC channel) 6AV2104-0xx07-xxxx (V17)
WinCC Runtime Professional Full PC-based SCADA runtime, multi-user, multi-tag, server/client Yes (S7-DO protocol driver) 6AV2105-1xx07-xxxx (V17, tag count dependent)

For WinCC Runtime Professional, the installation media is "SIMATIC WinCC Professional V17" (DVD bundle or download via the Siemens Online Software Delivery portal). This package includes SIMATIC NET with the S7-DO protocol driver used for S7-300/400/1500 communication. Without installing SIMATIC NET, the WinCC channel "SIMATIC S7-300/400 Channel" will not bind to a TCP socket and connection status remains "Disconnected".

WinCC Runtime Advanced uses its own internal S7 stack and does not require SIMATIC NET, but it does not support all PC-based SCADA features (multi-client, redundancy, archive server) that WinCC Runtime Professional provides. Always match the runtime product to the licensing scope and the project requirements before assuming the install is complete.

Root Cause Matrix

Symptom Most Likely Root Cause Verification Path
HMI runtime reports "No connection" or stays in "Connecting" state SIMATIC NET not installed or wrong version installed Control Panel → Programs → look for "SIMATIC NET V17"
Online works from TIA Portal, runtime does not PG/PC interface points to wrong network adapter, or runtime PC has its own PG/PC interface unbound TIA Portal → Options → Set PG/PC Interface; on runtime PC: SIMATIC → Communication Settings
Tags show "--" or "Quality: Bad" in runtime Connection is correct but tag addresses do not exist in CPU data blocks or process image WinCC Channel Diagnostics → Tag Properties → Update
Runtime boots but no PC station in project PC station not configured or wrong HMI target selected Project tree → Devices → verify PC station exists with WinCC RT Professional as target
"Access point not assigned" error on runtime startup Access point "S7ONLINE" unbound from TCP/IP Set PG/PC Interface → assign "S7ONLINE" to TCP/IP → correct network adapter
Tag values update briefly then freeze IP/MAC mismatch or duplicate IP on the network cmd → arp -a; ping PLC IP from PC; check for duplicate IPs
Runtime immediately exits or never appears in tray Wrong runtime type installed (RT Pro instead of RT Professional) Control Panel → Programs → look for "WinCC Runtime Professional V17"

Diagnostic Flowchart

RT cannot connect to S7-300 TIA Portal online works? No IP / Subnet / Cable Yes RT Professional installed? No Install RT Professional Yes SIMATIC NET installed? No Install SIMATIC NET Yes S7ONLINE → correct NIC? No Set PG/PC Interface Yes HMI connection in project? No Configure HMI Connection Yes Connection Online

Prerequisites

Before reconfiguring the link between an S7-300 CPU and a WinCC Runtime Professional PC station, verify the following items are present and at matching version levels:

  • TIA Portal V17 (or matching V17 Update x) installed on the engineering station. Apply the latest TIA Portal V17 Update (commonly V17 Update 4 or later at the time of writing) before commissioning.
  • WinCC Professional V17 engineering license (for example 6AV2101-0AA07-0AA5 or higher).
  • WinCC Runtime Professional V17 license (6AV2105-1xx07-xxxx, tag-count dependent) installed on the target PC.
  • SIMATIC NET V17 (PC software) installed on the target PC. This is the most commonly missed dependency and is shipped together with the WinCC Professional V17 media.
  • S7-300 CPU with PROFINET interface (CPU 314C-2 PN/DP 6ES7314-6EH04-0AB0, or any 315-2 PN/DP / 317-2 PN/DP / 319-3 PN/DP), or CP 343-1 (6GK7343-1EX30-0XE0, firmware V3.0+) for non-PN CPUs.
  • Ethernet cabling between PLC port and PC Ethernet adapter, both on the same subnet (in this case 192.168.80.0/24).
  • Administrator privileges on the PC to install/remove software and configure S7ONLINE access points.
Note: WinCC Runtime Advanced does not require SIMATIC NET for the panel HMI runtime. WinCC Runtime Professional always requires SIMATIC NET for S7-300/400/1500 communication. Mixing the two runtime products - or installing both on the same PC with mismatched TIA versions - is a frequent commissioning error.

Procedure: Assigning the PG/PC Interface in TIA Portal V17

The PG/PC interface controls which network adapter TIA Portal (and, indirectly, the WinCC runtime started under the same access point) uses for S7 routing. Misalignment between the PG/PC interface and the physical Ethernet port breaks both programming and runtime communication.

  1. Open TIA Portal V17 on the engineering station.
  2. Select Options → Set PG/PC Interface.
  3. In the access point dropdown, select S7ONLINE.
  4. In the interface parameterization list, expand the TCP/IP entry that corresponds to the physical Ethernet port connected to the S7-300.
  5. Confirm that the chosen adapter matches the OS-level network adapter name (for example "Intel(R) Ethernet Connection I219-LM" or "Realtek PCIe GbE Family Controller"). Avoid selecting virtual adapters, Hyper-V virtual switches, VPN tunnels, or disabled adapters.
  6. Click OK to apply. Restart TIA Portal so the change takes effect.
Note: The PG/PC interface assignment made within TIA Portal does NOT propagate automatically to the WinCC runtime process running as a Windows service on a separate runtime PC. The runtime machine must be configured independently using SIMATIC → Communication Settings → Set PG/PC Interface.

Procedure: Configuring the HMI Connection in TIA Portal V17

The HMI connection in the Devices & Networks editor is the bridge between the WinCC Runtime Professional PC station and the S7-300 CPU. Misconfigured endpoints or missing connections are a leading cause of runtime disconnection. The configuration steps below follow the Siemens reference Communication connections to PC stations (S7-300, S7-400, S7-1500).

  1. In the TIA Portal project tree, expand Devices & Networks.
  2. Open the Devices and Networks editor (network view).
  3. Drag the WinCC PC station (or add it via Add new device → SIMATIC PC → WinCC Runtime Professional) into the network view.
  4. Select the S7-300 CPU (or CP 343-1 if used).
  5. Click the Connections button in the editor toolbar, then drag a connection line from the PC station's "HMI" interface to the S7-300's PROFINET interface.
  6. In the Connection properties dialog, verify the following:
Field Required Value
Connection type S7 connection
Partner (PLC) IP 192.168.80.10 (matches CPU/CP configuration)
Local (PC) IP 192.168.80.15 (matches PC Ethernet adapter)
Connection resource Automatically assigned by TIA Portal (e.g., S7 connection_1)
Connection name Descriptive label, e.g., "HMI_PC1_to_CPU314"
Active connection establishment Enabled (PC initiates the S7 connection)
  1. Compile the PC station (Right-click → Compile → All (rebuild)) and download to the PC runtime.
  2. Restart the WinCC Runtime after download.

Verify the connection was correctly routed. According to the Siemens documentation, an existing S7 connection is routed by the CPU assignment of the interface of the CPU. An invalid routed S7 connection is displayed only when the endpoints of the connection are checked. If the connection appears invalid, right-click the connection and select Check connection to see the routing status.

Procedure: Installing SIMATIC NET for WinCC Runtime Professional

SIMATIC NET installs the S7-DO protocol driver, the OPC server (if licensed), and the S7ONLINE access point binding required by WinCC Runtime Professional. Without it, the runtime cannot open a TCP socket to the S7-300 CPU.

  1. Insert the SIMATIC WinCC Professional V17 installation DVD or mount the ISO image (for example SIMATIC_WinCC_Professional_V17.iso).
  2. Run Setup.exe as administrator.
  3. Select Install → SIMATIC WinCC Professional V17.
  4. On the component selection screen, ensure the following are checked:
  • WinCC Runtime Professional V17
  • SIMATIC NET V17 (S7-300/400/1500 Communication)
  • SIMATIC NET OPC Server (optional, required only for third-party OPC clients)
  1. Accept the license agreement and complete the installation.
  2. Restart the PC to register the SIMATIC NET services and channel DLLs.
  3. Verify: Open Start → SIMATIC → Communication Settings and confirm that the access point S7ONLINE is bound to TCP/IP → your network adapter.
  4. Verify the channel DLL is loaded: in Windows Explorer, navigate to C:\Program Files\Siemens\Automation\SIMATIC_NET\bin and confirm S7CHN.DLL (or S7ONLINE.DLL) is present.
Note: If you upgraded from a prior TIA version (V15/V16), confirm that the old SIMATIC NET PC software has been uninstalled. Mismatched SIMATIC NET versions on a single PC cause S7ONLINE binding failures and the runtime will fail to start the channel DLL, often with error code 0x80004005 or "Channel DLL not loaded".

Procedure: Validating IP Addresses and Subnet Configuration

Both the CPU/CP and the PC must be on the same IP subnet and the same broadcast domain (no router hops). Subnet mismatch is a classic reason why TIA Portal works (because the routing stack handles it) while the WinCC Runtime fails.

  1. On the PC, open cmd as administrator and run:
ipconfig /all
ping 192.168.80.10
arp -a
  1. On the S7-300 (via TIA Portal online or the CPU's integrated display if available), verify the following parameters:
Parameter Required Value
IP address (CPU or CP) 192.168.80.10
Subnet mask 255.255.255.0
Router address Empty (no router required for single-subnet setup)
MAC address Matches the label on the CPU/CP housing
  1. If the ping fails, perform the following checks:
  • Inspect the Ethernet cable and switch port LED status (link LED green = physical link up).
  • Disable Windows Firewall temporarily for testing: netsh advfirewall set allprofiles state off.
  • Verify no IP conflict by inspecting the ARP table for duplicate MAC addresses.
  • Try a direct crossover or patch cable between the CPU/CP and the PC to rule out switch issues.
  • Check that VLAN tagging is not applied to the port (S7-300 PN does not support tagged frames by default).

Procedure: Configuring the PC Station Access Point Outside TIA Portal

The runtime PC station must have S7ONLINE bound to the correct adapter. This is independent of TIA Portal's PG/PC interface and is the most frequently missed configuration step on the runtime machine.

  1. On the runtime PC, open Start → Control Panel → Set PG/PC Interface (also accessible via SIMATIC → Communication Settings → Set PG/PC Interface).
  2. Set the access point S7ONLINE to TCP/IP → <your Ethernet adapter>.
  3. Click Diagnostics to confirm the binding reads "OK".
  4. Open SIMATIC → Communication Settings → Access Points and confirm the following access points are assigned:
Access Point Interface Parameter Assignment
S7ONLINE TCP/IP → <Ethernet adapter>
CP_HMI_1 TCP/IP → <Ethernet adapter> (used by some WinCC configurations)
SIMATIC NET OPC TCP/IP → <Ethernet adapter>
  1. Restart the WinCC Runtime service: from an elevated command prompt run net stop "CCAgent" then net start "CCAgent", or reboot the PC to load all services.

Communication Diagnostics Tools

WinCC Channel Diagnostics

  1. In TIA Portal, expand the PC station → WinCC Runtime → Connections.
  2. Open the connection to the S7-300 and confirm the channel is assigned to SIMATIC S7-300/400 Channel (for S7-300/400 CPUs) or SIMATIC S7-1200, S7-1500 Channel (for S7-1500).
  3. Right-click the connection → Channel diagnostics to view the live state.

Runtime Logger

  1. On the runtime PC, navigate to C:\ProgramData\Siemens\CoRtHmiRtm\Logs.
  2. Open WinCC_RT_LogFile.log and search for entries containing S7, channel, or the connection name.

Common entries and their interpretations:

Log Entry Interpretation
Channel DLL not loaded SIMATIC NET missing or corrupted → reinstall
Connection refused (10061) CPU not reachable → check IP, firewall, subnet
Timeout (0x80004005) Network unreachable → wrong subnet or CP not configured
S7 resource allocation failed S7-300 PG/OP connection limit reached

SIMATIC NET Diagnostics

  1. Open SIMATIC NET → Commissioning → Diagnostics.
  2. Verify the S7-DO protocol is installed and the S7 connection resource exists.
  3. Use S7 Connection Test to send a single S7 read to the CPU and verify a response.

Tag Configuration for S7-300 Variables

After the S7 connection is online, tag mapping must match the actual CPU memory layout. For an S7-314, the relevant memory areas are:

CPU Area WinCC Tag Address Syntax Example
Process image inputs (PAW/PEW) I 0.0, IW 2, ID 4 IW 0 for first analog input
Process image outputs (PAA/PEA) Q 0.0, QW 2, QD 4 Q 0.0 for first digital output
Bit memory (Merker) M 0.0, MW 2, MD 4 MW 10 for scaled value
Data blocks DB1.DBW0, DB1.DBD4 DB10.DBD0 for recipe data
Timers / Counters T 0, C 0 T 5 for runtime timer

Verify that the tag address actually exists in the CPU memory. The S7-314 has a process image of 128 bytes input and 128 bytes output by default. Analog values in the process image are accessed as 16-bit words (e.g., PIW 304 for the first analog input on a typical SM 334 module) and must be scaled in the WinCC tag using a linear scaling function block if engineering units are required.

Verification Procedure

After applying the configuration fixes, run the following verification sequence to confirm the runtime is fully online:

  1. Start the WinCC Runtime on the PC.
  2. Open the runtime project and confirm the "Project activated" indicator is green.
  3. Verify the connection status field shows "Connected" (typically in the bottom-right corner of the runtime window, or via a system diagnostic screen configured in the project).
  4. Toggle a digital input on the S7-300 and verify the corresponding tag in the runtime updates within the configured update cycle (default 1 s, configurable from 100 ms to 5 s).
  5. Force an output from the runtime (if operator privilege permits) and verify the digital output module LED changes state.
  6. Open the WinCC Channel Diagnostics on the runtime PC and confirm ConnectionState = OK for the S7 connection.
  7. Inspect the S7 connection statistics: WinCC → Tools → Channel Diagnostics → Connection → Statistics to verify request and response counters are incrementing.

Common Error Codes and Recovery Actions

Error Code / Symptom Meaning Corrective Action
0x80072EE7 / "Connection timeout" TCP socket could not be opened to PLC IP Ping PLC IP, disable firewall, verify subnet
0x80004005 / "Unspecified error" SIMATIC NET not installed or wrong version Install matching SIMATIC NET V17
"S7 connection resource busy" Too many S7 connections opened to CPU Reduce number of HMI connections; S7-300 default supports 16 PG/OP connections
"PLC not responding to ARP" Wrong subnet or VLAN mismatch Set both sides to 192.168.80.x/24, no VLAN tag
Channel DLL "S7CHN.DLL" not found SIMATIC NET install corrupted Repair SIMATIC NET installation via Control Panel
"License not found" on RT start WinCC RT Professional license missing or expired Transfer license via Automation License Manager
"Access point S7ONLINE not assigned" PG/PC interface not configured on runtime PC Set PG/PC Interface → S7ONLINE → TCP/IP → adapter
Winsock error 10061 / "Connection refused" Firewall blocking TCP port 102 Open inbound TCP/102 on Windows Firewall

Switching from "RT Pro" to a Working Runtime

The original failure described in the source arose from installing "RT Pro" (the WinCC tag simulator, which simulates values internally) rather than a real runtime. The two practical fixes are:

  1. Switch to WinCC Runtime Advanced if the panel runtime is sufficient for the application scope. WinCC RT Advanced communicates with S7-300/400/1500 over PROFINET without requiring SIMATIC NET. License order number: 6AV2104-0xx07-xxxx (RT Advanced V17).
  2. Install WinCC Runtime Professional + SIMATIC NET if multi-tag SCADA functionality, server/client distribution, redundancy, or long-term archiving is required. License order number: 6AV2105-1xx07-xxxx (RT Professional V17, tag-count dependent).

After switching the runtime flavor, recompile the PC station in TIA Portal (right-click the PC station → Compile → All) and re-download. The HMI tags and screens remain unchanged; only the target runtime device selection is updated in the project tree. Re-verify the connection by following the Verification Procedure above.

Best Practices

  • Reserve a fixed IP block for HMI/PLC networks (for example 192.168.80.0/24) and document the address plan.
  • Keep TIA Portal, WinCC, and SIMATIC NET versions in sync. Cross-version stacks (for example TIA V17 with SIMATIC NET V16) are unsupported and produce intermittent faults.
  • Disable Windows Firewall on the runtime PC, or add explicit inbound rules for ports 102 (ISO-on-TCP / S7), 5000 (WinCC RT), and 1025-1100 (SIMATIC NET internal).
  • Avoid MC/IT antivirus real-time scanning on C:\Program Files\Siemens; it delays the S7 channel DLL load and can block communication packets.
  • Use a dedicated industrial Ethernet switch (managed, e.g., SCALANCE XB005 / XC206) when more than two nodes connect to the S7-300 PN interface.
  • Document the PG/PC interface assignment in the project documentation so commissioning teams do not switch it during maintenance.
  • On the S7-314, limit HMI connections to no more than 2 simultaneous S7 connections to leave resources for programming and other engineering tools.

FAQ

Why does TIA Portal connect to the S7-314 but the WinCC Runtime does not?

TIA Portal opens its own PG connection independent of the WinCC Runtime process. The WinCC Runtime requires SIMATIC NET (and a correctly bound S7ONLINE access point) on the runtime PC, plus a configured HMI connection in the Devices & Networks editor. TIA Portal succeeding only proves that the IP network is reachable; it does not guarantee the runtime path is functional.

Do I really need SIMATIC NET to talk to an S7-300 from a WinCC Runtime?

Yes, for WinCC Runtime Professional. SIMATIC NET provides the S7-DO protocol driver used by the WinCC channel DLL. WinCC Runtime Advanced is the exception - it has its own internal S7 stack and does not need SIMATIC NET. Always match the runtime product to your licensing and project requirements before assuming the install is complete.

What is the difference between "RT Pro" and "WinCC Runtime Professional"?

"RT Pro" historically refers to the WinCC Tag Simulator shipped with the engineering license; it generates fake values and never connects to a real PLC. WinCC Runtime Professional is the full PC-based SCADA runtime that establishes live connections to S7-300/400/1500 PLCs. Confirm the installation via Control Panel → Programs - look for "WinCC Runtime Professional V17", not just "WinCC".

My S7-314 has no PROFINET port. Can I still use WinCC Runtime Professional?

Yes, via a CP 343-1 communications processor (for example 6GK7343-1EX30-0XE0, firmware V3.0 or later) installed in the S7-300 rack. The CP connects to the Ethernet network and provides an S7 connection resource. In TIA Portal, add the CP as a submodule of the S7-300 station and configure the HMI connection to the CP's PROFINET interface.

Which TIA Portal V17 Update level is recommended for S7-300 with WinCC RT Professional?

Apply the latest TIA Portal V17 Update available at the time of commissioning (commonly V17 Update 4 or later). Each update ships matching SIMATIC NET and WinCC fixes. Siemens releases TIA Portal updates alongside corresponding WinCC Professional updates; install both to keep the stack consistent and avoid mismatched DLL versions.

Back to blog