IMDTouchKnowledge BaseShop main store

Troubleshooting

Why PLCSIM V15 tags do not reach the HMI simulation

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

Full access alone does not open the PLC. Point the S7ONLINE access point at the PLCSIM TCP/IP interface, tick Permit access with PUT/GET communication from remote partner under Protection & Security, recompile and download, and the HMI simulation reads PLCSIM V15 tags; a 10-toggle bench check proves the path.

On this page
  1. Why do HMI tag fields stay empty while PLCSIM shows live values?
  2. Where do I point the S7ONLINE access point for PLCSIM V15?
  3. Why does Full access (no protection) still refuse the connection?
  4. Which compile problems leave the HMI pointing at tags that do not exist?
  5. When does the simulation need S7-PLCSIM Advanced instead of PLCSIM V15?
  6. How do I prove the path works before I trust the simulation?
  7. Questions asked

The HMI simulation starts, PLCSIM V15 shows the CPU in RUN, a watch table in TIA Portal reads every tag correctly — and every field on the simulated screen stays at zero or draws an invalid-value marker. The tag mapping is almost never the problem. In TIA Portal V15 the failure lives in two settings outside the HMI project: the S7ONLINE access point, which by default is not aimed at the PLCSIM interface, and the CPU's Protection & Security connection mechanisms, which refuse PUT/GET partners even when the access level is set to Full access (no protection). Fix those two, recompile, download again, and the values arrive. The checks below run in the order they fail, for any simulated HMI on one PC, and they end with a bench test that proves the path.

Why do HMI tag fields stay empty while PLCSIM shows live values? #

The HMI runtime has no S7 connection to the simulated CPU: on a default V15 installation the S7ONLINE access point is aimed at a physical interface, and the CPU's connection mechanisms refuse PUT/GET partners even when the access level reads Full access (no protection).

The symptom set is narrow, and worth confirming before you change anything:

  • The start screen loads and buttons work, but every process value stays at 0, or fields draw hash marks instead of numbers; that display is what bad tag quality looks like, and why a simulated HMI shows hash marks, not PLC values covers the display side of it.
  • The simulated CPU sits in RUN and the TIA Portal watch table reads the tag, so the program and the address are alive.
  • Re-entering the HMI user and password changes nothing, because the HMI user account governs screens and buttons inside the runtime, not the link to the PLC.
  • The failure is screen-independent: no tag on any screen updates.

Both settings that cause this sit on the PC-and-CPU side of the link. Work them in order — the access point first, because it decides which interface the connection dials, then the connection mechanism, because it decides whether the simulated CPU answers at all.

Where do I point the S7ONLINE access point for PLCSIM V15? #

At the TCP/IP parameter set for the PLCSIM interface, selected under the S7ONLINE access point in Windows' Set PG/PC Interface dialog; STEP 7 and the HMI simulation share that one access point, so a wrong interface breaks the download and the tag values at the same time.

Set it once in Windows, not inside TIA Portal:

  1. Open the Windows Control Panel and start Set PG/PC Interface.
  2. In the list of application access points, select S7ONLINE.
  3. In the interface parameter list, choose the entry that pairs the PLCSIM interface with TCP/IP. On a PC with only classic PLCSIM installed there is exactly one such entry; a PC that also carries older simulation tools can show several, and only the PLCSIM entry reaches the simulated CPU. Why KTP 1000 PN simulation needs the TCP/IP PLCSIM interface works through that entry choice for one panel, and the same reasoning applies here.
  4. Confirm the dialog, download the project to PLCSIM again, then start the HMI simulation.

All of this traffic stays inside the engineering PC — no cable, no switch, no IP planning. If STEP 7 downloads to the simulated CPU cleanly but the HMI simulation still shows nothing, check that the assignment did not revert: both tools read the same S7ONLINE entry, and connecting WinCC to PLCSIM through the S7Online access point walks that assignment in detail.

Why does Full access (no protection) still refuse the connection? #

Because the access level and the connection mechanisms are separate switches: Permit access with PUT/GET communication from remote partner, under Protection & Security > Connection mechanisms in the CPU properties, ships disabled in V15, and an HMI that connects as a remote S7 partner is refused until you tick it.

The deny-by-default behavior is deliberate: the CPU accepts read and write requests from a partner it has not been told to serve only when the engineer allows the service. An HMI connecting as a remote S7 partner is exactly such a partner, so the simulated CPU refuses it and every HMI tag reports bad quality.

  1. In the project tree, right-click the PLC and open Properties.
  2. Go to Protection & Security > Connection mechanisms.
  3. Tick Permit access with PUT/GET communication from remote partner.
  4. Compile the hardware configuration and download it to the simulated CPU again. The switch travels with the hardware configuration, so the running instance keeps refusing until the new configuration is loaded.

The rule is symmetric, and you can exercise it directly when you simulate GET/PUT between two S7-1200 CPUs in PLCSIM: both partners of a PUT/GET exchange must permit the service, not just one.

One security note: that checkbox lets permitted remote partners read and write the CPU without a connection-specific password, so enable it for the bench simulation and decide deliberately what the physical CPU in the plant keeps.

Which compile problems leave the HMI pointing at tags that do not exist? #

Compile errors stop the download, warnings do not — but a warning that a block interface has changed means the simulated CPU can still run the previous program, so the HMI reads addresses that no longer match and shows bad quality even though the connection itself is now healthy.

The compile log matters to this fault in one specific way: it decides which program the simulated CPU is actually running. A download that fails on errors leaves PLCSIM holding the previous program; a project restructured since the last download leaves the HMI addressing memory that has moved.

  • Clear every error before blaming anything else — an error stops the download entirely, and no access-point or protection setting fixes a CPU running the wrong program.
  • After you change a data block or a block interface that HMI tags reference, recompile everything and download again, even when the log shows only warnings.
  • Read warnings about changed interfaces or unlinked tags as a sign the loaded program may not match what the HMI expects, not as noise to skip past.
  • If the log holds only cosmetic warnings and the CPU is in RUN, the warnings are not what keeps the fields empty — that is the access point or the connection mechanism above.

When does the simulation need S7-PLCSIM Advanced instead of PLCSIM V15? #

When something outside the engineering PC must reach the simulated CPU — a physical panel, a second PC, a network client — because classic PLCSIM V15 keeps all communication inside that one PC, while PLCSIM Advanced publishes each instance on the PLCSIM Virtual Ethernet Adapter with its own IP address over TCP/IP.

For the fault in this article — an HMI simulation and classic PLCSIM V15 on one engineering PC — nothing else is needed. Classic PLCSIM simulates S7-1200 and S7-1500 family CPUs for the TIA Portal project on the same PC, and the HMI simulation reaches it locally, so the empty-field fault never justifies installing a second product.

Reach for S7-PLCSIM Advanced when a physical panel, a second PC or another network client must talk to the simulated CPU: it is the vendor's documented product for putting a simulated instance on the network, and the S7-PLCSIM V15 documentation allows S7-PLCSIM V15 and S7-PLCSIM Advanced V2.0 side by side on one machine. In the Advanced control panel, set the online access to PLCSIM and start the instance; clients then reach it either through the PLCSIM access point using the Softbus protocol or over TCP/IP through the PLCSIM Virtual Ethernet Adapter. An Advanced instance enforces the same protection settings as a physical CPU, so the PUT/GET switch above applies unchanged.

How do I prove the path works before I trust the simulation? #

On an isolated bench with a test tag: write a known value into the tag in PLCSIM, expect the same number on the HMI screen, then toggle it ten times and expect ten updates — zero updates is a connection fault, correct value with lag is a refresh setting.

  1. Put the project on an isolated bench: PLCSIM V15 with the downloaded project in RUN, HMI simulation started, no plant network attached.
  2. Pick one integer test tag the screen displays — for this example, a word at MW 100 with a 1 s acquisition cycle.
  3. In PLCSIM, write 4711 into the tag. The HMI field must show 4711.
  4. Change the value ten times, about one change every 100 ms, and count the updates that arrive at the field.

Worked example, with the arithmetic shown: 10 changes written into the tag, 10 updates expected at the screen. Ten of ten means the path is proven end to end — access point, connection mechanism, download and tag mapping are all correct, and the project can leave the bench. Zero of ten while PLCSIM shows the value climbing means the link is still refused: go back to the S7ONLINE interface and the PUT/GET switch, because no tag-mapping fault holds a field at zero while the simulator counts upward. Ten of ten but each number arriving late is not a link fault at all: with one change every 100 ms against a 1 s acquisition cycle, the display can lag the simulator by up to 1 s by design, so slow the toggling below the acquisition cycle or raise the acquisition rate.

Decision: a clean pass ends the connection work — zero updates sends you back to the access point and the connection mechanism, and late values are an acquisition-cycle setting, not a link fault.

Questions asked

Does the HMI user account affect the PLC connection?

No. The user created on the HMI panel governs screens, buttons and authorizations inside the HMI runtime. The link to the PLC is decided by the connection settings and by the CPU's protection settings, so adding or re-entering an Administrator user on the HMI cannot repair a refused S7 connection.

Does the PUT/GET switch matter on a physical CPU too?

Yes. The same Permit access with PUT/GET communication from remote partner switch sits in the properties of a physical S7-1200 or S7-1500 and governs every partner that uses the PUT/GET service. Enable it only where a partner needs it, because it allows remote partners to read and write without a connection-specific password.

Can PLCSIM V15 and S7-PLCSIM Advanced run on the same PC?

Yes. The S7-PLCSIM V15 documentation allows S7-PLCSIM V15 and S7-PLCSIM Advanced V2.0 on the same machine. Keep the two paths apart: classic PLCSIM serves the TIA simulation through the PLCSIM TCP/IP interface, while Advanced instances are reached through the PLCSIM access point or TCP/IP on the PLCSIM Virtual Ethernet Adapter.

Where is the PUT/GET setting on older CPU firmware?

On S7-1500 firmware from V3.1 and S7-1200 firmware from V4.7 the setting sits under Protection & Security, Connection mechanisms. Earlier releases place the same switch under the Protection area of the CPU properties. Whatever the firmware, the change takes effect only after you compile the hardware configuration and download it to the CPU again.

Keep reading

  • How-to

    Connecting WinCC to PLCSIM Through the S7Online Access Point

    WinCC exchanges external tags with an S7-300 program in PLCSIM through the MPI channel of SIMATIC S7 Protocol Suite with logical device name S7Online, station address 2 and slot number 2. The deciding point is the complete access-point route to the simulated CPU; setting PG/PC to None is installation-dependent, not a required step.

    HMI and touchscreens

  • How-to

    How to Configure WinCC 7.0 PLC Connections With STEP 7

    No. WinCC 7.0 and STEP 7 5.4 never connect to each other; each one talks to the PLC, so configure two separate paths: the S7Online access point for STEP 7, and in WinCC Tag Management the MPI channel's Logical device name set to MPI (PLSIM for simulation). Acceptance is one known PLC value displayed live with valid status.

    HMI and touchscreens

  • How-to

    How to Simulate a PLC Behind WinCC Flexible 2008 SP3

    WinCC Flexible 2008 SP3 simulation runs your screens on the engineering PC and executes no PLC program, so give every animated object a real data source: STEP 7 with PLCSIM for an S7-300 test, PC Access or KepServerEx OPC for an S7-200, or a PC Adapter USB cable to the physical controller. Then wire M0.0 in parallel with I0.0, M0.1 in series as the stop, and animate the motor symbol on Q0.0, not on the command bit.

    HMI and touchscreens

Why an HMI OS update error points at the wrong device