Troubleshooting
WinCC simulation with tags does not write to PLCSIM tags
Short answer
If your simulated WinCC Runtime Advanced screen changes its own tags but the PLCSIM ladder never reacts, you launched the runtime with tag simulation. Tag simulation holds all HMI tags in a local in-process simulator and never opens an S7 connection. Restart with Start without tags and set the S7ONLINE access point to PLCSIM.TCPIP.1.

On this page
Your HMI works perfectly in simulation but the PLCSIM ladder never moves because you started the runtime with tag simulation. That mode keeps every HMI tag inside a local in-process simulator on the engineering PC, so the button press toggles the local copy and PLCSIM never receives any communication. The fix is to relaunch the HMI runtime without tag simulation, with the S7ONLINE access point assigned to the PLCSIM interface.
The two launch modes are not equivalent #
WinCC Runtime Advanced offers two simulation starters, and they were built for different jobs:
- Start with tags: the runtime builds a local tag database in its own process. Screen animations, the simulator table and your button events all work against that local copy. No S7 connection is opened, so nothing you do on the screen reaches the PLC.
- Start without tags: the runtime routes every tag read and write through the normal S7 communication stack over the S7ONLINE access point, straight into the simulated CPU.
The tag simulator exists mainly for RT Professional projects that need simulated process values with no controller at all. For a Panel, Comfort Panel or RT Advanced target, always use the no-tags start when you want the PLC in the loop.
Why everything looks fine while it is broken #
This is why the fault costs people days. With tag simulation active, the screen flashes green and red on press, the simulator table shows the tag going from 0 to 1, and the configured animation runs on schedule. Every check you can make inside the HMI passes, because the HMI is talking to itself. The only observable that fails is outside the runtime: the operand in the PLCSIM ladder. Check that one value first on every co-simulation run; if it does not move when you press the button, suspect the launch mode before anything else.
Relaunch without tag simulation #
Work through this list in order:
- Start the simulated CPU: from the PLC in the project tree, start the simulation so PLCSIM opens and the CPU shows RUN with your program downloaded.
- In the project tree, right-click the HMI device, choose the Start simulation entry, and pick Start without tags. Do not pick the with-tags entry, even if it is the one you used before.
- When the runtime opens, press the button on the screen and watch the operand in the PLCSIM ladder. It should flip on the same scan the write arrives.
- If the screen now shows no values at all or a connection fault, the launch mode was right but the access point is wrong; go to the next section.
Set S7ONLINE to the PLCSIM interface #
Even the correct launcher fails silently if the S7ONLINE access point is bound to a physical adapter. Open Set PG/PC Interface in the Windows Control Panel, select the S7ONLINE application access point, and set the interface parameter assignment to PLCSIM.TCPIP.1 for a TCP/IP simulation, or the corresponding PLCSIM PROFIBUS entry for a DP setup. If it points at a real network card, the runtime starts, shows no obvious error, and the PLC side simply never changes.
Worked example: the whole sequence on a bench #
Take the classic bench setup: one CPU and one panel, both simulated on a single PC, one boolean tag wired from an HMI button to a ladder contact.
- First run: the runtime is started with tag simulation. The button toggles the HMI tag 0 to 1 in the simulator table; the operand in PLCSIM stays 0. Write count reaching the simulated CPU: zero, because no S7 connection was ever opened.
- Second run: relaunch with the no-tags start, and in Set PG/PC Interface leave S7ONLINE on a physical adapter. The runtime opens but the ladder still never moves. Connection state: attempted, then failed.
- Third run: relaunch with the no-tags start with S7ONLINE assigned to PLCSIM.TCPIP.1. Press the button: the operand flips to 1 in the PLCSIM ladder on the next scan, the contact closes and the driven output follows.
Only the third configuration closes the loop. If you change HMI targets or move the simulation to a second PC, recheck both the launcher choice and the access point, because they are per-PC settings, not stored in the project.
When PLCSIM Advanced is actually needed #
PLCSIM Advanced does not fix this fault. Your writes were being swallowed by the launcher mode, and embedded PLCSIM receives them fine once the runtime connects. Choose PLCSIM Advanced only when the simulation topology needs a network: the HMI runs on a separate workstation, a real panel or monitor has to talk to the simulated CPU over Ethernet, or other nodes must reach the virtual controller. For a single-PC co-simulation, embedded PLCSIM plus the no-tags start is enough. If you go the multi-CPU route, the walk-through on simulating GET/PUT between two S7-1200 CPUs in PLCSIM covers the connection setup on the PLC side.
The decision #
- Screen animates, ladder dead, runtime started with tags: relaunch with Start without tags. This alone resolves the fault in the typical case.
- Runtime started without tags, ladder still dead: open Set PG/PC Interface and assign S7ONLINE to PLCSIM.TCPIP.1, then restart the runtime.
- Separate PC or real panel against a simulated CPU: move to PLCSIM Advanced for its network interface; the launcher and access-point rules stay the same.
Questions asked
Why does the HMI screen still animate in tag-simulation mode?
Because the write never leaves the runtime. Start with tags creates a local in-process tag database inside WinCC Runtime Advanced, and the screen, the flash animation and the simulator table all read and write that local copy. The button works exactly as configured, so the screen looks healthy while PLCSIM sits untouched. The only fix is to relaunch the runtime without tag simulation so a real S7 connection to the simulated CPU is opened.
What should the S7ONLINE access point be set to for PLCSIM?
Open Set PG/PC Interface in the Windows Control Panel, select the S7ONLINE access point and assign it to PLCSIM.TCPIP.1 for a TCP/IP simulation, or the PLCSIM PROFIBUS entry for a legacy DP setup. If the access point is left on a physical adapter, the runtime without tags will start but silently fail to reach the simulated CPU, and the ladder again never changes.
Does PLCSIM Advanced fix this problem?
Not by itself. PLCSIM Advanced matters when the HMI runs on a separate PC or a real panel and needs to reach the simulated CPU over a network, because it provides a virtual Ethernet interface. Your symptom comes from the launcher choice, not from the simulator: embedded PLCSIM receives writes fine once the runtime starts without tags and S7ONLINE points at the PLCSIM interface.


