IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC RT Professional shows a different online target with PLCSIM

HMI and touchscreens Published 6 min read By IMDTouch engineering team

Short answer

The offline versus online target warning during PLCSIM simulation is expected: PLCSIM reports its own identity and TIA Portal accepts the difference. The fault to fix is the route — bind the access point the HMI connection requests, normally S7ONLINE, to PLCSIM.TCPIP in the Windows PG/PC interface, restart Runtime, then prove the path with the M0.1 animation test. D0C5 clears separately with a compile and reload.

On this page
  1. What the target warning says during simulation
  2. The three layers the connection path needs
  3. Bind the access point to PLCSIM.TCPIP
  4. Worked example: the CPU 315-2 PN/DP project at 192.168.0.1
  5. Clear the D0C5 debugging event separately
  6. What each symptom decides
  7. Questions asked

When TIA Portal warns that the offline and online targets differ, WinCC RT Professional can still be configured correctly: PLCSIM answers the online search with its own simulated identity instead of the offline CPU's order number, and TIA Portal accepts that difference while it simulates. The circle that never changes color on the runtime screen is a separate fault in the same project: the HMI connection, the access point it names and the Windows PG/PC interface binding must all chain into one route that ends at PLCSIM.TCPIP. The debugging event D0C5 in the same log is a third, unrelated matter that a compile and reload clears. This article classifies each message, gives the binding steps, then proves the repaired path with the M0.1 animation test.

What the target warning says during simulation #

The offline project configures PLC_1 as an S7-300 CPU 315-2 PN/DP with order number 6ES7 315-2EH14-0AB0. Going online through the simulator, TIA Portal prints:

The online side is not the configured CPU. PLCSIM supplies the identity the online search finds, and it can arrive as a different order number or as an unspecified CPU in the device type after Start Search. TIA Portal compares the offline configuration with that answer and prints the warning; under the simulator the difference is accepted, so the session continues with the message still listed.

The classification decides the action. While PLCSIM runs, leave the warning in place and test the tags. Against the physical CPU, the same message is a stop condition: the search has found some other station, so never download to a target whose identity you have not confirmed — correct the selected interface, the target address or the hardware configuration first.

The three layers the connection path needs #

A tag on a WinCC RT Professional screen reaches the simulated CPU through three named layers, and all three must agree:

  • HMI connection transport. This project configures an Ethernet TCP/IP connection between the WinCC RT Professional station and PLC_1, so the transport is Ethernet. MPI cannot be selected for the runtime connection because the project contains no MPI connection between the HMI station and the PLC.
  • Access point. The HMI connection's settings name the access point the connection travels through; the normally preconfigured entry is S7ONLINE, and some projects show an entry named PLCSIM instead.
  • Windows binding. The Set PG/PC Interface dialog in the Windows Control Panel maps an access point to a concrete interface. For this route the interface is PLCSIM.TCPIP.
Layer Where it is set Correct entry for this project
Connection transport The HMI station's connection settings in TIA Portal Ethernet (TCP/IP) to PLC_1
Access point The same connection's settings S7ONLINE, or the PLCSIM-named entry the project shows
Interface binding Set PG/PC Interface in the Windows Control Panel PLCSIM.TCPIP on that access point

A binding placed on WinCC(MPI) looks configured and does nothing here: it feeds a different access point, so the Ethernet connection still has no path to the simulator.

Bind the access point to PLCSIM.TCPIP #

  1. Start PLCSIM and load the simulated CPU; leave it running.
  2. In TIA Portal, open the settings of the HMI connection that carries the screen tags and read the exact access point name it uses — normally S7ONLINE, sometimes an entry named PLCSIM.
  3. Open Set PG/PC Interface in the Windows Control Panel.
  4. Select that exact access point entry in the list.
  5. Assign PLCSIM.TCPIP as its interface.
  6. Apply the setting, then close and restart WinCC Runtime Professional so the connection reopens through the new binding.

The deciding relationship is exact: the access point the HMI connection requests must be the entry mapped to PLCSIM.TCPIP. Reading the name from the connection settings first prevents a near-miss, because entries named similarly are not interchangeable. For a full walk-through of this route, see Connecting WinCC to PLCSIM through the S7Online access point.

Worked example: the CPU 315-2 PN/DP project at 192.168.0.1 #

Inputs, each taken from the case as reported:

  • Offline target: S7-300 CPU 315-2 PN/DP, order number 6ES7 315-2EH14-0AB0, from the project's device configuration.
  • Online target address: 192.168.0.1, from the warning text.
  • Connection: an Ethernet TCP/IP HMI connection from the WinCC RT Professional station to PLC_1, access point S7ONLINE.
  • Screen object: a circle animated by bit M0.1, white at 0 and red at 1.
  • Interface to bind: PLCSIM.TCPIP.

The rule in words: the session works when transport, access point and Windows binding chain into one route — Ethernet to S7ONLINE to PLCSIM.TCPIP — while the identity difference stays accepted because the target is the simulator.

The chain check, written out:

  • Transport: the project joins the stations by Ethernet and the HMI connection is Ethernet, so the route is a TCP/IP route and PLCSIM.TCPIP is the right end point.
  • Access point: the connection requests S7ONLINE and Windows maps S7ONLINE to PLCSIM.TCPIP, so requested entry = mapped entry.
  • Identity: the offline order number differs from the identity PLCSIM reports at 192.168.0.1; in simulation the difference is accepted, so the warning stays and the session continues.
  • Function: set M0.1 to 1 and the circle turns red; set M0.1 to 0 and it returns to white. Both transitions prove the read path in both display states.

Result: the target warning remains listed while the animation follows the bit — the configured route working as designed.

Decision: if M0.1 toggles the circle, the path is proven and the warning can stay. If the circle never changes while PLCSIM runs, the binding sits on the wrong access point — move PLCSIM.TCPIP onto the entry the connection requests and restart Runtime. If the binding is right and values stay frozen, the fault has moved from the path to the tag or the screen object, which the driver, tag or screen diagnostic for HMI values separates next.

Clear the D0C5 debugging event separately #

The second message has nothing to do with the HMI path: TIA Portal refuses to start program debugging and logs event D0C5, "Display of block stack inconsistent, because blocks were deleted/reloaded."

A block stack is the debugger's record of the nested execution context it is watching. Deleting or reloading blocks while that record still references them leaves TIA Portal without a coherent context, so debugging cannot start. Clear it on the PLC side, in this order:

  1. Stop the active debugging session.
  2. Finish every intended block edit.
  3. Compile the PLC program so the offline block set is consistent.
  4. Load the compiled blocks into the simulated CPU.
  5. Start a fresh debugging session only after the load completes.

The recovery belongs to the debugger, not to WinCC RT Professional: a clean block status view with a still-white circle means the connection path is the open issue. The knowledge-base page on PLCSIM D0C5 block stack inconsistent fix walks the same recovery sequence with the checks around it.

What each symptom decides #

  • Target warning naming PLC_1 while PLCSIM runs — an accepted identity difference; leave it and test the tags.
  • Unspecified CPU in the device type after Start Search — the simulator's reported identity; expected in simulation, not a fault.
  • The same warning against the physical CPU — a wrong target was reached; correct the interface, the address or the hardware configuration before any download.
  • MPI missing from the interface selection — no MPI connection exists between the HMI station and the PLC; use the Ethernet route.
  • D0C5 with debugging refused — a stale debug context; compile, reload and start a new session.
  • Circle never animates while PLCSIM runs — the binding sits on the wrong access point; rebind and restart Runtime.
  • Binding correct but tags stay frozen or show no data from PLCSIM — why WinCC Runtime Professional shows no data from PLCSIM takes the diagnosis from there.

Questions asked

What changes when I move the project from PLCSIM to the physical CPU 315-2 PN/DP?

Leave the HMI connection and its access point untouched and rebind that same access point in the Windows PG/PC interface to the interface that reaches the real CPU, typically the TCP/IP entry of the adapter on the machine network. Before downloading, confirm the detected device matches the offline order number 6ES7 315-2EH14-0AB0. The difference the simulator supplies is accepted only in simulation; against hardware it stops the download.

Does this binding method still apply in current TIA Portal releases?

Yes. The Windows-side step is unchanged: the Set PG/PC Interface dialog in the Windows Control Panel maps the access point named by the HMI connection to an interface, and current TIA Portal documentation still covers configuring that interface for online functions and S7-PLCSIM simulation. The three-layer check of connection transport, access point and interface binding applies on any release, not only V13.

Why does the target warning appear again every time I go online?

TIA Portal recomputes the comparison at each online session: it reads the identity the connected target reports and compares it with the offline device configuration. Because PLCSIM keeps answering with its own simulated identity, the message returns by design each session. It is a per-connection notice, not an accumulated fault, and it disappears only when you connect to hardware whose identity matches the configuration.

Keep reading

  • Explainer

    Why WinCC RT Professional V11 shows decimals for S7-1200 DTL tags

    WinCC RT Professional V11 SP2 has no I/O field format that interprets an S7-1200 DTL structure, so the field shows the raw byte values as decimals. Convert the DTL to one STRING[20] per timestamp in an SCL block and display that, or split it into six integer fields when the panel must lay out each part separately.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC Runtime Professional Shows No Data From PLCSIM

    The runtime window opening with static screens means the runtime process runs but its path to the simulated CPU does not. Point the access point in Set PG/PC Interface at PLCSIM or the matching TCP/IP route, compile the PC station, connect the TIA project to PLCSIM, and put the CPU in RUN before the runtime starts.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC RT Professional clients change screens slowly

    When the server changes screens quickly and every client screen runs fine once it is open, the delay is the compiled picture being fetched over the terminal bus, not tag processing. Enable the local picture cache on each client, give the terminal bus its own network adapter with the binding order Siemens' distributed-systems requirements specify, and keep antivirus and indexer scanning out of the project folders.

    HMI and touchscreens

WinCC simulation with tags does not write to PLCSIM tags