IMDTouchKnowledge BaseShop main store

Troubleshooting

Why an online simulator cannot reach a simulated S7 PLC endpoint

HMI and touchscreens Published 9 min read

Short answer

The failure is a missing network endpoint, not a tag or driver fault. An HMI online simulator needs a host-reachable Ethernet address that serves the configured protocol; a simulated PLC that exists only inside the engineering tool's private context offers none, and no tag edit or undocumented bridge can fix that. Give the runtime a physical PLC or a simulator interface documented as externally reachable with explicit protocol support.

On this page
  1. Why does the Weintek online simulator fail against the TIA Portal PLC simulator?
  2. What does online simulation actually replace?
  3. Which parts of the connection path must work before tags matter?
  4. Why did my OPC UA test succeed when the Siemens connection fails?
  5. Does S7-PLCSIM Advanced offer an Ethernet endpoint at all?
  6. Will NetToPlcSim bridge the simulator for TIA Portal V19?
  7. How do I check that a driver documents my exact versions?
  8. What setup works for commissioning the S7CommPlus driver?
  9. Questions asked

The online simulator is not the broken part, and neither are your tags. On a cMT project in EasyBuilder Pro 6.10.01.510, the S7-1200/S7-1500 communication driver (S7CommPlus, Symbolic Addressing) (Ethernet) fails against TIA Portal V19 because the simulated controller exposes no Ethernet endpoint the runtime can reach, so the S7CommPlus session has no destination, and the NetToPlcSim attempt did not supply one. The fix is an endpoint, not an edit: give the driver a host-reachable address that serves its protocol — a physical controller, or S7-PLCSIM Advanced with its TCP/IP adapter enabled at a version your connect guide documents.

Why does the Weintek online simulator fail against the TIA Portal PLC simulator? #

The session fails because the simulated controller has no Ethernet endpoint your runtime can reach: the (S7CommPlus, Symbolic Addressing) driver needs a host-reachable address that serves its protocol, and without one the connection dies before any tag or symbol is evaluated.

Your reported symptoms fit that exactly: the runtime launches, the device definition carries the driver and a PLC IP address, and the session never establishes; the NetToPlcSim attempt ended the same way. Nothing in that pattern implicates the tag table or the driver selection, because both sit downstream of reachability.

Two other Weintek simulation failures look similar and need different fixes, so it is worth separating them now. When an endpoint exists but traffic crosses a NAT or VPN boundary, the cause is the routed path, and that case is diagnosed in Why Weintek Online Simulator Fails Through a NAT 1:1 VPN. When the simulated PLC has no external service in any form, the general diagnosis is in Why HMI simulation cannot talk to a simulated PLC. This article stays on the Siemens case, where the simulator is S7-PLCSIM Advanced and the question is whether it presents the endpoint your driver requires.

What does online simulation actually replace? #

Online simulation replaces only the panel hardware: the project still runs its full Ethernet driver on the engineering PC and must reach a real protocol service at an address that PC can route to, exactly as the physical terminal would have to on the machine network.

Simulation swaps the cMT terminal for a runtime window on your PC; the communication configuration is untouched by that swap. The driver still opens sockets, still expects the PLC protocol at the configured PLC IP address, and still treats a timeout as an offline device, exactly as it would on a panel wired to the machine network. Online simulation is a runtime execution, not a protocol emulation.

The practical consequence: every networking requirement the driver had against a real controller transfers to the simulation PC. Check the device definition before anything else — the driver entry and the PLC IP address are the two lines that define the destination — and if no service answers behind that address, stop there, because no later element can compensate.

Which parts of the connection path must work before tags matter? #

Four parts must each work in order: the simulated HMI runtime, the configured Siemens driver, a host-reachable network endpoint, and a service behind that endpoint speaking the driver's protocol; symbolic tag resolution starts only after all four are up, so a tag edit cannot repair an earlier failure.

  • Simulated HMI runtime — the project starts in online simulation; if it never launches, the fault is on the project side, before any network element.
  • Configured driver — the device definition carries the (S7CommPlus, Symbolic Addressing) (Ethernet) driver and a PLC IP address; selecting a different Siemens protocol changes the requirement on the PLC side.
  • Host-reachable endpoint — an interface on the simulation host that other programs can address; if nothing answers behind the configured address, the path stops here.
  • Protocol service — a process at that address that accepts the driver's protocol sessions; Ethernet reachability without the service still leaves the device offline in the simulator.

Symbolic tag resolution runs last, after transport and session are established. That ordering is why renaming tags, re-exporting symbols or recompiling the HMI cannot repair a failure at the endpoint: the tags are only ever read over a session that first has to exist.

Why did my OPC UA test succeed when the Siemens connection fails? #

Three successful OPC UA checks — server discovery, node browsing, and a value read — prove only that the HMI simulator exposes an Ethernet service a local client can reach; they say nothing about the reverse path from the driver to a simulated Siemens controller.

The result you recorded with UA Expert is genuine HMI-side proof, so keep it: it rules out a broken runtime, a blocked socket, or a fundamental networking fault on the simulation PC. It does not travel any further. OPC UA and S7CommPlus are different protocols with different services, session roles and data models, and the two tests run in opposite directions: the OPC UA test had the simulator acting as a server for an inbound client, while the Siemens driver needs the simulator to act as a client reaching an outbound PLC-side service. A pass on one proves the HMI process can serve TCP; it supplies neither the endpoint nor the session for the other. Log it as isolation evidence for the HMI side only, then judge the Siemens path on its own endpoint and session checks.

Does S7-PLCSIM Advanced offer an Ethernet endpoint at all? #

Yes — Siemens documents a full Ethernet connection for S7-PLCSIM Advanced, exposed through the PLCSIM Virtual Ethernet Adapter, through which external programs that communicate via TCP/IP can be connected; if your instance shows no reachable address, that adapter has not been enabled or bound in your setup.

The documented configuration sequence is short: enable TCP/IP for the instance, select a single adapter set to the local network, and assign that adapter an IP address and subnet mask. Worked example, with example addresses: give the PLCSIM Virtual Ethernet Adapter 192.168.0.60 with mask 255.255.255.0, and the engineering PC's own adapter 192.168.0.10 with the same mask. ANDing each address with the mask gives 192.168.0.0 in both cases, so both sit in one /24 network with no router between them, and 192.168.0.1 through 192.168.0.254 are the usable host addresses; enter 192.168.0.60 as the PLC IP address in the device definition. Substitute your own bench subnet.

Reachability is still not protocol success. Even with the endpoint answering, symbolic-addressing clients have reported session failures against specific simulator releases in user forums; treat such reports as symptoms your own connection test must confirm, not as specifications.

Will NetToPlcSim bridge the simulator for TIA Portal V19? #

Only if its documentation explicitly covers your simulator release and the S7CommPlus symbolic protocol: a bridge must match three sides at once — the simulator version, the simulated controller's interface model, and the protocol your driver speaks — and a version association with TIA Portal v13 is a warning, not support.

The v13 association you hit is a reported symptom, not a documented compatibility table; the bridge's own documentation is the only source that can rule it in or out for your release. Judge it in that order — documentation first, observation second. A bridge process that starts is not a protocol match, and a bridge that runs while the HMI stays offline has translated nothing; if its documentation does not explicitly name your PLCSIM Advanced release and the S7CommPlus symbolic service, remove it from the plan.

And once the documented adapter from the previous section is up, the bridge question disappears: S7-PLCSIM Advanced serves TCP/IP clients directly through the PLCSIM Virtual Ethernet Adapter, so a translation layer has nothing to add on this bench.

How do I check that a driver documents my exact versions? #

Treat the vendor's connect guide as the contract: documented support names the exact simulator version and the exact HMI model families, the way the Weintek guide for this driver lists SIMATIC PLCSIM Advanced V3.0 and excludes the iP/iE Series.

That listing is the standard to apply. The Weintek connect guide for the S7-1200/S7-1500 S7CommPlus Symbolic Addressing Ethernet driver documents SIMATIC PLCSIM Advanced V3.0 and states the driver is not supported on iP/iE Series HMI models — an exact simulator version and exact HMI families, printed in the guide. Check the edition you actually run: if it does not name your simulator release, the combination is undocumented, whatever any forum thread claims.

The pattern is not Weintek-specific. One commercial driver, TOP Server's S7 Plus Ethernet product, documents symbolic addressing for the S7-1200 and S7-1500 families and requires TIA Portal V16 or higher — a version requirement stated as a number rather than implied by the protocol name. Read every tool in the path the same way, and verify the sides separately: engineering tool version, target model and firmware on the PLC side; driver and runtime on the HMI side. Absent from the list means unsupported, and a version match alone is still not a protocol match.

What setup works for commissioning the S7CommPlus driver? #

Two setups close the loop: a physical controller on the bench network addressed at its own IP, or a simulator arrangement documented as externally reachable with explicit protocol support for your driver; pick the physical controller whenever the guide does not cover your simulator release.

Path one, the physical controller: put a compatible PLC on the bench, enter its address as the PLC IP address in the device definition, and confirm the compiled PLC application and the HMI tags reference the same symbols. This is the configuration the driver documentation assumes, and it needs no compatibility argument.

Path two, the documented simulator: bring S7-PLCSIM Advanced up with TCP/IP enabled on a visible adapter, at a release your connect guide covers — the guide's documented example is SIMATIC PLCSIM Advanced V3.0, so confirm your edition's coverage before relying on it. Then run the sequence in order:

  • Bring the endpoint up and confirm the address answers from the simulation PC's network.
  • Set the device definition's PLC IP address to that address.
  • Compile the current PLC application so its symbolic definitions match the HMI project.
  • Start the PLC service before launching online simulation.
  • Read one changing value, then test a write, before trusting the session.

Keep the bench isolated from the plant network while you do this: a simulator answering at a controller's address is a hazard if the two can ever see each other. The acceptance method in Testing HMI Simulation Against a Live PLC applies unchanged once a real endpoint exists — writes, disconnects and restarts on an isolated bench, judged by whether the final counter value catches up. If neither path is open, the honest decision is that the S7CommPlus test cannot run on that bench: change the endpoint, not the tags.

Questions asked

Can S7-PLCSIM Advanced stand in for an S7-1200 project?

No. Siemens' function manual for S7-PLCSIM Advanced states it does not simulate S7-1200 or S7-1200 G2 CPUs. If your HMI device definition and PLC project target an S7-1200, the simulation route is closed before networking even starts: bench the physical controller, or move the test onto a controller family the simulator documents. Driver selection does not change this, because the gap is in the simulated hardware, not the protocol.

How should client software address the simulator once the endpoint is up?

The same way it addresses a physical controller: create the connection as an S7-1200 or S7-1500 device and point it at the IP address the simulator's adapter holds. Third-party users report exactly that pattern working with S7-PLCSIM Advanced. The simulator does not need a special driver entry; it needs a documented endpoint, a matching device definition, and a compiled PLC project whose symbols the HMI tags reference.

Can I switch the test to OPC UA instead of S7CommPlus?

Only as a deliberate redesign, not a workaround. OPC UA replaces the Siemens driver when the controller side runs an OPC UA server and you rebuild the HMI project with OPC UA client tags mapped to that server's variables. The simulator's own OPC UA server, the one your test client browsed, serves the opposite direction and cannot supply PLC tags. Keep the S7CommPlus driver for a Siemens-path test.

What should I check first when the online simulator will not connect?

Confirm the endpoint before touching tags: from the PC the project simulates on, verify the configured PLC IP address belongs to an interface that is up and reachable on your bench network. If nothing answers at that address, no driver setting, symbol export or bridge helps. Only when the address answers should you test the protocol session, and only then evaluate symbolic tag resolution.

Keep reading

  • Explainer

    Why HMI simulation cannot talk to a simulated PLC

    EasyBuilder's PC simulation communicates with a real PLC, but SimuLab runs a LogicLab program without any communications service, so two PC simulators never exchange data. Integrated testing needs at least one physical CPU module; until then, test the screens and the controller logic separately.

    HMI and touchscreens

  • Troubleshooting

    Why Weintek Online Simulator Fails Through a NAT 1:1 VPN

    The Weintek online simulator does not use whatever address ping proves reachable; it uses the PLC IP stored in the project's system parameters. Under an Ewon NAT 1:1 mapping that field must carry the translated address the remote PC reaches, and changing it was the fix that restored simulation while VNC, programming and ping kept working. Broadcast discovery loss is the second check, not the first.

    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