Problem Overview: WinCC Runtime Yellow Triangle
The yellow triangle displayed on a WinCC object in Runtime is the standard SIMATIC WinCC visualization indicator that the tag's configured connection cannot be reached. The tag is correctly defined in the WinCC Explorer, but the underlying S7 channel — typically the named S7 connection to a SIMATIC S7-300 or S7-400 — is not in Connected state when the picture is loaded. The connection layer between PC Station and PLC must be verified first; tag mapping, picture scripting, and process value scaling can only be debugged after the channel is alive.
In a single-user, multi-user, or distributed HMI station the yellow triangle maps to one of the following root cause families:
- PC Station configured in STEP 7 HW Config but never downloaded to the runtime PC
- WinCC application slot not RUN-P in Station Configurator (pen shows red bar)
- SIMATIC NET / NCM PC runtime layer missing — channel DLL cannot bind to the S7 connection
- S7 connection built in NetPro but not downloaded to the PC Station and to the PLC
- PC Station name in STEP 7 not identical to the Windows computer name (including trailing characters)
- Ethernet adapter bound to the wrong access point in Set PG/PC Interface
- Transport protocol mismatch between PC Station and PLC (TCP/IP RFC1006 vs ISO-on-TCP, or different S7 connection partner address)
Affected Environment and Versions
| Component | Tested Versions | Notes |
|---|---|---|
| WinCC | V7.0 / V7.2 / V7.3 / V7.4 / V7.5 SP2 | Classic WinCC under STEP 7, not TIA Portal WinCC |
| STEP 7 | V5.4 SP5 / V5.5 / V5.6 | Required for NetPro S7 connection download |
| SIMATIC NET | V8.x / V12 / V14 / V16 | Provides S7DOS, SAPI, OPC channel layers |
| S7-300 CPU | CPU 31x, CPU 31xC, CPU 31xT/PN firmware V2.x to V3.x | Firmware V3.2+ recommended for large tags |
| S7-400 CPU | CPU 41x / CPU 416 / CPU 417 | No special firmware constraint for S7 connection |
| PC operating system | Windows 7 SP1 / Windows 10 LTSC 2019 / Windows Server 2016 | DCOM and SIMATIC Shell must be enabled |
PC Station Architecture and Component Roles
The PC Station is the runtime container that STEP 7 HW Config builds on the engineering station and that Station Configurator replicates on the runtime PC. Each slot represents a SIMATIC software module. The two slots that must be RUN-P for WinCC tags to reach the PLC are:
| Slot | Index | Module | Required State | Failure Symptom |
|---|---|---|---|---|
| 1 | 1 | WinCC Application | RUN-P, pen CLEAR | Yellow triangles on every tag |
| 2 (or 3) | 2 | IE General / IE / IE Advanced | RUN-P, pen CLEAR | Channel cannot bind; connection stays DOWN |
Diagnostic Matrix: Symptom to Root Cause
| Symptom | Layer | Likely Root Cause | Fix Location |
|---|---|---|---|
| Yellow triangle on all tags immediately at Runtime start | Channel layer | WinCC Application pen red in Station Configurator | Station Configurator > Component > RUN-P |
| Yellow triangle appears after a few seconds of Runtime | Channel layer | S7 connection not downloaded to PLC or to PC Station | NetPro > right-click connection > Download |
| Red X on IE General in Station Configurator | Driver layer | Ethernet adapter not bound or wrong access point | Set PG/PC Interface > S7ONLINE → TCP/IP |
| Station Configurator warns "station name differs from PC" | Configuration layer | PC Station name does not match Windows computer name | STEP 7 HW Config > PC Station properties > Name |
| Tag value correct in STEP 7 online DB but yellow triangle in WinCC | Channel layer | OS compile not run, named connection folder empty in WinCC | STEP 7 > right-click PC Station > Compile OS |
| Channel Diagnosis shows connection status DOWN after OS compile | Transport layer | Transport protocol mismatch (TCP vs ISO) | NetPro > S7 connection properties > Type |
Prerequisites
- STEP 7 V5.4 or higher with HF/SP installed on the same Windows account that will run WinCC Explorer.
- WinCC V7.x installed; verify WinCC Information Server and WinCC Channel Diagnosis are present.
- SIMATIC NET CD installed (provides S7DOS / SAPI / IE General driver). If STEP 7 was installed first, the SIMATIC NET runtime layer is registered automatically; if WinCC was installed first, run the SIMATIC NET setup and select NCM PC as the install profile.
- Windows administrator privileges during STEP 7, WinCC, and Station Configurator edits.
- Ethernet adapter present on the runtime PC (laptop LAN port or USB-to-Ethernet) and reachable to the PLC subnet.
- Both PLC and PC Station placed in the same IP subnet (for example PC 192.168.0.10 / 24, PLC 192.168.0.1 / 24).
- Firewall rule allowing S7 communication on TCP/102 (default ISO-on-TCP port). Disable Windows Firewall temporarily during commissioning, then re-enable with explicit rules.
Step-by-Step Resolution Procedure
Step 1 — Verify Installation and Station Name
- Open Control Panel → Programs and Features and confirm the following entries are present:
SIMATIC WinCC V7.x,SIMATIC STEP 7 V5.x,SIMATIC NET(version should match or be higher than STEP 7). - Open Start → Programs → Siemens Automation → SIMATIC → Station Configurator. Note the computer name shown in the title bar — for example
DESKTOP-AB12CD3.Note the trailing period: it is part of the fully qualified DNS name and must be reproduced exactly in the STEP 7 PC Station object. - Open Start → Settings → System → About and copy the device name as a sanity reference.
Step 2 — Build the PC Station in STEP 7 HW Config
- In SIMATIC Manager open the STEP 7 project, then double-click Hardware.
- If a PC Station is missing, right-click the project, choose Insert New Object → SIMATIC PC Station.
- Rename the PC Station so that its Name property matches the Windows computer name exactly, including any trailing period. The case is not enforced but keep it identical to avoid the warning dialog during download.
- Open the PC Station hardware catalog. Drag WinCC Application → WinCC Application V7.x into slot 1.
- Drag IE General → IE General into slot 2 (older projects use slot 3). Set the IP address, subnet mask, and router only if no other Industrial Ethernet interface is assigned.
- If a CP1613 / CP1623 / CP1628 is present, insert IE → IE (CP1613/CP1623/CP1628) instead of
IE General. - Save and compile the HW Config.
Step 3 — Configure the S7 Connection in NetPro
- Open NetPro from the SIMATIC Manager toolbar.
- Click the WinCC Application in the PC Station row to select it; the lower table now shows the connections owned by that application.
- Right-click in the connection table and choose Insert New Connection. Select S7 connection, partner = the PLC CPU, and confirm.
- Open the new connection's Properties dialog. Set Type to
TCP/IPorISO-on-TCP— the choice must match what the PLC CP supports. For onboard PROFINET interfaces on S7-300 / ET200S, useTCP/IP. For older CP343-1 / CP443-1, useISO-on-TCP. - Verify the partner IP address matches the PLC interface IP. Set Establish active connection = checked (WinCC is the active endpoint).
- Close the properties and save NetPro.
Step 4 — Compile OS
- In SIMATIC Manager, right-click the PC Station and choose Compile OS.
- The Compile OS dialog appears. Select the previously created S7 connection so the tag pointers are written to the WinCC project under the Named Connections folder.
- Wait for the compile to finish. If the dialog warns "No WinCC project found" or "No S7 connection selected", return to Step 3 and confirm the connection was actually inserted on the WinCC application slot, not on the IE slot.
- Open WinCC Explorer. Under Tag Management → SIMATIC S7 PROTOCOL SUITE → Named Connections the S7 connection must now appear. Drag it open — if the folder is empty, OS compile did not write the pointers.
Step 5 — Assign Tags and Pictures
- In WinCC Explorer, expand Tag Management, right-click the named connection, and choose New Tag.
- Set the tag Address to the absolute PLC address (for example
DB100.DBD0). The Quality Code property should be set toAccording to OPC. - Open the Graphics Designer picture, drag an I/O field onto the canvas, and bind the configured tag to the Output Value property.
- Save the picture. The yellow triangle is still expected at this point — the Runtime is not yet running.
Step 6 — Download HW Config to PC Station and PLC
- Return to HW Config of the PC Station.
- Right-click the PC Station object and choose Download to PC Station. Select the target PC Station name (must match Windows computer name). Confirm the download.
- Open NetPro, right-click the S7 connection, and choose Download → Selected and Partner Stations. Confirm. The download writes the connection table to both the PC Station and the PLC.
- If only the PC Station downloads but the PLC does not, open HW Config of the PLC, choose PLC → Download to Target System, and verify the CPU is in STOP or RUN-P with consistent project data.
Step 7 — Start Station Configurator in RUN-P
- Open Station Configurator. Right-click WinCC Application and select RUN-P. The pen should clear.
- Right-click IE General and select RUN-P. The pen should clear.
- Open the Diagnostic tab. The Status row must read
OKfor both slots. If any module shows a red X or red bar, expand the row to read the reason (for exampleAddress already in useorDriver not loaded). - Click Save. Station Configurator persists the component states across reboots.
Step 8 — Configure Set PG/PC Interface
- Open Start → SIMATIC → STEP 7 → Set PG/PC Interface.
- Select the Application Access Point =
S7ONLINE (STEP 7) → TCP/IP → <your Ethernet adapter>. If multiple adapters exist, pick the one whose IP address is on the PLC subnet. - Click OK and reboot the PC. Windows service
SIMATIC S7DOS Help Servicebinds to the chosen adapter only after restart.
Step 9 — Activate WinCC Runtime and Verify
- In WinCC Explorer click Activate Runtime.
- The picture loads; I/O fields bound to configured tags should display the actual process value within 1–2 seconds. Yellow triangles must be absent.
- Open Tools → Channel Diagnosis. Confirm Connection Status shows
Connectedfor the named S7 connection. The byte count and packet count increase on every PLC scan cycle.
Verification Checklist
| Check | Tool | Expected Result |
|---|---|---|
| PC Station pen state | Station Configurator → Diagnostic | Both pens CLEAR, Status = OK |
| S7 connection exists in WinCC | WinCC Explorer → Tag Management → Named Connections | Connection entry present, not greyed out |
| Tag updates in Runtime | WinCC Runtime → I/O field | Numeric value matches DB online value |
| Channel Diagnosis | WinCC → Tools → Channel Diagnosis | Connection State = Connected, last error = 0x00000000 |
| NetPro active connection | NetPro → right-click connection → Active/Deactivate Connection Status | May show "not available" while PLC is in STOP — normal. In RUN it becomes "established" |
| PG online to PLC | STEP 7 → Accessible Nodes | PLC visible on the chosen Ethernet adapter |
| Windows firewall | Windows Defender Firewall → Inbound Rules | Rule "SIMATIC S7DOS" or rule allowing TCP/102 enabled |
Channel Diagnosis and Error Code Mapping
Channel Diagnosis logs each named connection. Hex error codes originate from the S7DOS / SAPI layer:
| Error Code (Hex) | Meaning | Corrective Action |
|---|---|---|
| 0x0000 0000 | No error, connection alive | None |
| 0x0000 0001 | Connection broken, retrying | Check PLC reachability with ping |
| 0x0000 0002 | No route to PLC | Verify IP, subnet mask, default gateway |
| 0x0000 0006 | Partner CPU in STOP | Place CPU in RUN-P |
| 0x0000 0010 | Connection not configured | Re-run OS Compile, re-download connection |
| 0x0000 0014 | Station name mismatch | Fix PC Station name, re-download HW Config |
| 0x0000 0020 | SIMATIC NET runtime missing | Install SIMATIC NET, register S7DOS service |
| 0x0000 FFFF | Internal stack error | Restart Station Configurator and S7DOS service |
Laptop-Specific Pitfalls
When the runtime PC is a single laptop with one Ethernet adapter and no separate system bus, three configuration traps appear repeatedly:
- Single network adapter for terminal and system bus — When the PG/PC interface is the same Ethernet port used to talk to the PLC, STEP 7 download works because it goes through TCP/IP to the PLC's PROFINET interface. WinCC Runtime must use the same path. Disable any virtual adapters (Hyper-V, VPN, VirtualBox host-only) that could win the route to the PLC subnet.
- Power management turning off the LAN port — Windows default power profile disables the Ethernet adapter to save battery. Open Device Manager → Network Adapters → Properties → Power Management and uncheck Allow the computer to turn off this device to save power.
- Sleep / hibernation — When the laptop wakes, the SIMATIC S7DOS service may not rebind the S7 connection. Workaround: disable sleep on AC power in Control Panel → Power Options.
NetPro Status Field Interpretation
After the OS is compiled and both ends have been downloaded, opening the S7 connection in NetPro and selecting Active/Deactivate Connection Status frequently returns "not available" even when WinCC tags update correctly. This is normal: NetPro polls the WinCC Application via OPC, and a yellow-triangle Runtime will report the connection as DOWN. Trust Channel Diagnosis in WinCC Explorer rather than NetPro status during commissioning.
Restart Procedure When Nothing Else Works
- Close WinCC Explorer and stop WinCC Runtime.
- Open Station Configurator and set both components to STOP.
- Delete the STEP 7 project on the engineering station if corrupted; back up first.
- Reboot Windows.
- Re-open STEP 7, rebuild PC Station, repeat Steps 2–9 above in order.
FAQ
What does the yellow triangle mean in WinCC Runtime?
The yellow triangle on a WinCC object means the I/O field's configured tag cannot be read from the assigned connection at that moment. The most common cause is that the underlying S7 connection in Channel Diagnosis shows a non-zero error code, typically 0x00000001 (connection broken) or 0x00000014 (station name mismatch).
Do I need NCM PC if STEP 7 is already installed?
No. STEP 7 V5.4 and higher installs the SIMATIC NET runtime required by WinCC channels. NCM PC Editor is only needed when STEP 7 is not installed and you still need to edit PC Station HW Config. If both are required on the same PC, install STEP 7 first; the SIMATIC NET setup will detect it and add only the missing components.
Why are the pens red in Station Configurator after download?
The WinCC Application and IE General pens turn red when the underlying driver or component is not running. Right-click each component, choose RUN-P, and re-open the Diagnostic tab. If the pen stays red, check the Set PG/PC Interface selection and confirm the SIMATIC S7DOS Help Service is set to Automatic startup.
Does the PC Station name have to match the Windows computer name exactly?
Yes. The PC Station name in STEP 7 HW Config must equal the Windows computer name byte-for-byte including any trailing period in a fully qualified DNS name. If they differ, Station Configurator reports "station name differs" and the OS download refuses to bind the S7 connection. The case does not have to match; the comparison is case-insensitive but the trailing period and characters must.
Why does NetPro show the S7 connection as "not available" while WinCC tags update correctly?
NetPro's status field polls the WinCC Application via OPC and only updates when the OPC server is reachable and a tag is actively requested. When WinCC Runtime is stopped, NetPro will report "not available" even after a successful download. Trust the WinCC Channel Diagnosis state and the actual I/O field value instead.
Which transport protocol should I pick — TCP/IP or ISO-on-TCP?
Use TCP/IP (RFC1006) for PROFINET onboard interfaces on S7-300 CPU 31x PN/DP and S7-400 CPU 41x PN. Use ISO-on-TCP (RFC1006 over port 102) when the PLC CP is an older CP343-1 / CP443-1 without onboard PN, or when the partner CP is configured for ISO transport. Mismatched protocol selection yields error 0x00000001 in Channel Diagnosis even when ping to the PLC IP succeeds.