Resolving WinCC OS Picture Tree Warning Triangle with PLC-SIM

David Krause12 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 Description

A warning triangle (yellow) appears in the OS Picture Tree bar of a WinCC Operator Station (OS), typically within a PCS 7 or WinCC V7.x runtime environment. In the same hierarchy, signal errors such as process tag faults do not propagate into subordinate areas such as AREA1, leaving the lower node visually empty while the parent node carries the alert marker. Engineers observe this in the Graphics Designer runtime window, the WinCC Explorer diagnostics area, and the OS area overview bar of the standard PCS 7 faceplates.

The triangle symbol on the Picture Tree bar is not a generic icon; it is a status indicator driven by the WinCC area model. It signals that the WinCC runtime has detected a warning condition affecting the area hierarchy - most commonly a difference between the compiled OS project on disk and the online AS project, or a broken logical connection between the AS and the OS. When the icon is present but no per-area error detail propagates, the runtime is reporting that it cannot evaluate the area's tags at all, because the underlying channel is not bound to a live AS data source.

This article addresses the specific scenario where the OS runtime is launched against S7-PLCSIM rather than a physical S7-400 / S7-400H CPU. PLCSIM exposes a virtual interface that the SIMATIC S7 Protocol Suite must be told to use explicitly via the Logical Device Name parameter; without that setting the channel looks for a physical CP and fails silently, which is precisely the symptom that draws the triangle.

Understanding the OS Picture Tree Hierarchy

The Picture Tree is built from the WinCC Area Model, defined in the OS Project Editor under OS Project Editor > Area Hierarchy. Each area can represent a plant unit (UNIT), a sub-unit, or a logical grouping (AREA). At runtime the OS draws an area tree on the right-hand side of the standard picture; each node can carry one of three overlay icons:

  • Gray/empty — no faults, no warnings, area is healthy.
  • Yellow triangle (warning) — at least one tag in the area hierarchy has triggered a warning class, or the hierarchy cannot resolve its underlying tags because of a channel fault.
  • Red bell / red exclamation — at least one tag has triggered an alarm (error / fault / higher-priority class).

The tri-state aggregation is computed by the WinCC runtime data manager reading the area's area-relevant tags (those marked with the Area-relevant attribute in the OS Project Editor). If the data manager returns no values because the channel DLL cannot establish a logical link, the area shows the warning triangle instead of a clean state - this is the situation engineers encounter when the AS-OS link is broken or PLCSIM is not bound.

Root Cause Analysis

Two failure modes converge to produce the reported behavior:

  1. AS-OS channel not bound to PLCSIM. The SIMATIC S7 Protocol Suite > TCP/IP connection is configured with a logical device name that points to a real Softnet/CP (e.g., CP_H1_1:, CP_H1_2:, or an IE General channel). PLCSIM does not respond on those interfaces; the connection therefore remains down, the data manager logs a channel error, and the area tree receives the warning.
  2. Project mismatch between OS and online AS. The OS server holds a compiled picture hierarchy, while the connected AS holds a different S7 program version. WinCC compares the S7 program identifier at connection setup; on mismatch the area tree is marked with the warning triangle because tag addresses may no longer resolve correctly.

The absence of signal error events inside AREA1 is the key diagnostic clue. If the warning were due to genuine tag-quality degradation, the runtime would still surface individual tag errors. The clean absence means the area's tags are simply not being polled at all — consistent with a missing channel binding.

Engineering note: PLCSIM is licensed per CPU slot. In PCS 7 V9.0 and later, S7-PLCSIM is distributed as S7-PLCSIM V17/V18/V19 (depending on TIA Portal / PCS 7 alignment) and replaces the legacy S7-PLCSIM V5.x. The logical device naming convention described below is identical across both versions.

AS-OS Communication Architecture

The OS-Software (OS Server / OS Client) communicates with the AS through one of the WinCC channel DLLs. In a PCS 7 plant, the standard selection is the SIMATIC S7 Protocol Suite, which provides the following logical drivers:

Channel Underlying transport Typical use
TCP/IP Industrial Ethernet / IE General Default for S7-400 / S7-400H AS via CP443-1
Named Connections Softnet / internal PC interface OS-on-engineering-station scenarios
PROFIBUS CP5611 / CP5613 / CP5621 Legacy PROFIBUS-only AS racks
Industrial Ethernet (ISO) RFC1006 over ISO transport Older S7-300 stations
MPI CP5611 / PC-Adapter USB Service / commissioning laptops

Each connection in the channel tree has two physical parameters: the IP address / MPI address / PROFIBUS address of the target AS, and the Logical Device Name that selects which PC interface card (or virtual interface) the channel will bind to.

Diagnostic Procedure

Before changing configuration, capture the current state with the following steps. This isolates whether the warning is a project mismatch or a channel binding problem.

  1. Open WinCC Explorer on the OS server. Verify the project loaded is the OS server project, not a client project.
  2. Right-click the OS server name and select Properties > Computer. Confirm Type = Server and Startup = WinCC Runtime (or Service Mode if running headless).
  3. Expand Tag Management > SIMATIC S7 Protocol Suite. Note which sub-driver carries the warning (TCP/IP is the most common in PLCSIM scenarios).
  4. Right-click the channel and choose System Parameters > Unit tab. Record the current Logical Device Name.
  5. In the Diagnostics tab of the same dialog, force a reconnect and inspect the log. A successful PLCSIM connection prints Connection established to AS [n]; a failed attempt prints Cannot bind socket to logical device or Partner not reachable.
  6. Compare the AS project identifier (visible in the S7 program properties) with the OS project identifier. A mismatch triggers the warning triangle independent of PLCSIM.

If the diagnostics tab confirms that the connection is bound to a physical interface such as CP_H1_1:, the OS is trying to talk to a real CP443-1 that does not exist on the engineering station. This is the smoking gun for the PLCSIM fix.

Solution: Binding TCP/IP to PLCSIM

The corrective action is to retarget the channel's logical device name to a PLCSIM device. Proceed in the following order.

Step 1 — Confirm PLCSIM is Running

Start S7-PLCSIM from the Windows Start menu (or SIMATIC Manager > Options > Simulate Modules). The PLCSIM instance window must be visible before WinCC Runtime is started; if WinCC comes up first, the channel will fail to bind. Load the S7 program into PLCSIM via Online > Download to Target and verify that the PLC is in RUN or RUN-P.

Step 2 — Open the Channel System Parameters

  1. In WinCC Explorer, expand Tag Management.
  2. Expand SIMATIC S7 Protocol Suite.
  3. Right-click the TCP/IP sub-driver (or whichever driver is bound to your AS rack).
  4. From the context menu choose System Parameters.

Step 3 — Set the Logical Device Name

In the System Parameter — TCP/IP dialog, select the Unit tab. The Logical Device Name field controls which PC interface the channel uses. Replace any existing value with a PLCSIM device name:

PLCSIM.(local)

This is the canonical logical device name for the local PLCSIM instance. Apply the change with the Apply button. The dialog also accepts other PLCSIM variants depending on the topology you are simulating:

Logical Device Name Use case
PLCSIM.(local) Single-PLCSIM instance on the OS server
PLCSIM.(slot 2) Targeting PLCSIM slot 2 in multi-instance mode
PLCSIM.<hostname> Remote PLCSIM accessible across a TCP socket (rare; requires PLCSIM TCP bridge)
CP_H1_1: Real CP443-1 (must not be used with PLCSIM)
IE General Softnet IE general interface (real AS over Ethernet)

Step 4 — Restart WinCC Runtime

Close the System Parameters dialog. Close WinCC Explorer completely, then reopen it. WinCC reads the new logical device name only on Explorer startup; hot-edits in an open session will not take effect. Once the Explorer reloads, activate the runtime (Graphics Runtime). The Picture Tree bar should now show empty/clean node icons, and individual tag errors should begin appearing inside AREA1 if any genuine tag faults exist.

Common pitfall: If you have multiple TCP/IP connections defined (for redundant AS pairs or multi-rack), repeat Steps 2–4 for every connection. WinCC does not cascade the logical device name; each connection inherits only its own assignment.

Logical Device Name Reference

The logical device name is a Windows-level handle, not a WinCC parameter. It is registered when the corresponding CP driver or PLCSIM installs. You can list the registered names with the Set PG/PC Interface applet or the modern Network and Sharing Center in Windows 10 / 11. The following devices are relevant to the typical PLCSIM scenario:

  • PLCSIM.(local) — virtual PLCSIM loopback, always present if S7-PLCSIM is installed.
  • PLCSIM.(slot <n>) — multi-PLCSIM, one slot per virtual CPU.
  • TCPIP.<nic name> — physical NIC, used when the OS server talks to a real AS.

If PLCSIM.(local) does not appear in the dropdown of the Unit tab, S7-PLCSIM is not installed or has not been registered with Set PG/PC Interface. Reinstall PLCSIM or run Set PG/PC Interface > S7ONLINE (STEP7) > PLCSIM.(local) once manually.

Verifying the Fix

  1. Activate the OS Graphics Runtime. The Picture Tree bar shows no triangle.
  2. Open the WinCC Explorer Diagnostics tab on the TCP/IP connection. The status reads Connected, and the diagnostic log shows successful reads of the area-relevant tags.
  3. In the runtime picture, force a tag error by disconnecting PLCSIM (or stopping the S7 program). The Picture Tree node for AREA1 flips to the red bell, and the iconography propagates up to the parent area. When you restore PLCSIM, all nodes clear within one polling cycle.
  4. Cross-check with the WinCC Channel Diagnosis tool (Control Panel > Set PG/PC Interface > Diagnostics). A healthy PLCSIM link reports Online on the chosen logical device.

Extended Troubleshooting Matrix

Symptom Likely cause Corrective action
Triangle present, no per-area errors Channel logical device not bound to PLCSIM Set PLCSIM.(local) as described above
Triangle present, only some areas affected Mixed AS/ES project; one OS client on wrong project Re-download the matching OS project to all clients
Triangle persists after fix WinCC Explorer not restarted Close and reopen WinCC Explorer
Connection refused; channel error logged PLCSIM not running, or not in RUN Start PLCSIM, download S7 program, switch to RUN-P
Signal errors now flood AREA1 Project mismatch between OS and AS Recompile OS from current AS, or download AS to match OS
Logical device dropdown empty S7-PLCSIM not installed, or wrong version Install PLCSIM matching the STEP 7 / PCS 7 version
OS server fails to start runtime Licensed channels exhausted Check WinCC license; remove unused channels
Warning on client only, server clean Client redundancy not configured Configure OS client preferred server in OS Project Editor

Project Synchronization Best Practices

Even after binding to PLCSIM, the warning triangle can reappear if the AS project drifts from the OS project. PCS 7 mitigates this through the Plant View and CFC/SFC compiler chain. Use the following workflow:

  1. Make CFC/SFC edits in the AS program.
  2. Run Compile OS from the SIMATIC Manager or TIA Portal (PCS 7 V9.x). This regenerates the WinCC tag database and the picture tree.
  3. Download the OS project to all OS servers and clients.
  4. Download the AS program into PLCSIM (or the physical CPU).
  5. Activate runtime on the OS server. The Picture Tree opens without warnings.

Skipping any of the first four steps reintroduces the project-mismatch warning.

Safety and Operational Considerations

Process safety: PLCSIM is intended only for engineering, commissioning rehearsals, and FAT (Factory Acceptance Test). It must never be used as the live controller of a production process. The warning triangle behavior described here applies equally to PLCSIM and to live plants; treating it as a benign test artifact can mask real AS-OS faults that would otherwise surface as alarm flooding in production.

Always validate the fix against a tag-fault scenario before declaring the channel healthy. Force a known tag-quality degradation (e.g., set an input to bad quality via PLCSIM I/O forcing) and confirm that the triangle / bell appears and clears as expected. Only after this end-to-end exercise should the OS be handed over to operators or test engineers.

Compatibility Notes

Software stack PLCSIM version WinCC / PCS 7 version Notes
STEP 7 V5.6 / PCS 7 V8.2 S7-PLCSIM V5.4 SP8 WinCC V7.4 SP1 Classic hierarchy, PLCSIM.(local)
STEP 7 V5.7 / PCS 7 V9.0 S7-PLCSIM V5.4 SP9 WinCC V7.5 SP2 Adds AS-OS bundle sync
TIA Portal V17 + PCS 7 V9.1 S7-PLCSIM V17 WinCC V7.5 / Unified PC V17 Unified-style faceplates; same logical device naming
TIA Portal V18 + PCS 7 V9.2 S7-PLCSIM V18 WinCC Unified PC V18 PLCSIM Advanced recommended for AS 410
TIA Portal V19 + PCS 7 V9.3 S7-PLCSIM V19 / PLCSIM Advanced V6.0 WinCC Unified PC V19 Full virtualization, supports S7-1500 PLCSIM

The logical device naming convention PLCSIM.(local) is preserved across all supported stacks for backwards compatibility. Sites migrating from PCS 7 V8.x to PCS 7 V9.x generally do not need to change this parameter.

Frequently Asked Questions

What does the yellow triangle on the WinCC OS Picture Tree bar mean?

It is a warning indicator triggered when at least one tag under the affected area has degraded quality, or when the WinCC channel cannot read tag values for that area because the AS-OS connection is broken. It is a hierarchy-level aggregation, not a per-tag alarm.

Why are no signal errors showing up inside AREA1 while the parent node carries the triangle?

The area's tags are not being polled at all. When the underlying channel fails to bind to a logical device, the data manager returns no values for the area, so individual tag-quality errors cannot be generated. Fix the channel binding and the per-tag errors will appear if any actually exist.

Which Logical Device Name should I set for PLCSIM in the SIMATIC S7 Protocol Suite?

Use PLCSIM.(local) for a single PLCSIM instance on the OS server. For multi-PLCSIM scenarios, use PLCSIM.(slot 2) through PLCSIM.(slot 4). Avoid CP_H1_1: and similar real-CP entries when running against PLCSIM.

Do I need to restart WinCC Explorer after changing the logical device name?

Yes. The Unit tab parameter is read at Explorer startup. Hot-edits in an open session are not honored; close and reopen WinCC Explorer to pick up the new logical device name.

Can I run PLCSIM on a different machine than the OS server?

Yes, but only through the PLCSIM TCP bridge or with PLCSIM Advanced (V17+). The logical device name must then reference the remote hostname. For most PCS 7 V8.x/V9.x commissioning scenarios the OS server and PLCSIM run on the same engineering station, and PLCSIM.(local) is the correct choice.

How do I distinguish a project-mismatch warning from a channel-down warning?

Open the Channel Diagnostics tab on the affected TCP/IP connection. If the channel reports Connected but the triangle persists, the OS and AS project identifiers are out of sync — recompile the OS or re-download the AS. If the channel reports Not connected, the logical device is the more likely culprit.

Back to blog