Troubleshooting
Why KTP 1000 PN simulation needs the TCP/IP PLCSIM interface
Short answer
Yes, a KTP 1000 PN project simulates against PLCSIM in WinCC flexible Runtime. The TP177B DP project had worked without a change, but a PN panel needs the simulation communication interface set to TCP/IP (PLCSIM) instead of a physical Ethernet adapter selection; restart the Runtime simulation and the tags connect.

On this page
Yes, a KTP 1000 PN project simulates in WinCC flexible Runtime, and the fix is one selection: set the simulation communication interface to TCP/IP (PLCSIM) instead of the physical Ethernet adapter. A TP177B DP project had simulated cleanly on the same computer, so the interface setting that worked for DP carried over as the hidden fault. DP never forced the adapter choice; the PN panel project does, and an adapter selection sends Runtime toward the physical network instead of the simulated PLC. Change the interface, restart the Runtime simulation, and the tags connect. Everything below keeps that path working and shows how to prove the link with one tag.
Why the PN panel broke a working simulation #
Two separate programs run on the engineering computer during this test. WinCC flexible Runtime executes the HMI project, and S7-PLCSIM executes the PLC program without a physical controller; setting that PLC side up is covered in the guide on how to simulate a PLC behind WinCC flexible 2008 SP3. Runtime must reach the simulated CPU through a path the engineering software provides for exactly that purpose.
The names in the interface list describe destinations, not just protocols. TCP/IP names the protocol family. The PLCSIM designation names the simulation path. An entry that names a physical adapter, for example the computer's onboard Ethernet controller, is a different destination even though the words TCP/IP appear in it. Select it and Runtime sends its requests toward the network port, where PLCSIM never answers.
The earlier TP177B DP test passing tells you the PLCSIM installation works; it tells you nothing about the PN panel's connection, because the DP project never traversed this selection. If that panel change came from a hardware replacement, the TP177B to KTP 600 replacement compatibility guide maps what shifts between the panel types themselves.
Set the simulation interface to TCP/IP (PLCSIM) #
WinCC flexible keeps the simulation communication settings in the dialog that starts the Runtime simulation, together with the start options for the simulated panel. Open that dialog, find the interface selection, and choose the entry that explicitly names PLCSIM rather than any adapter. Menu placement can differ between installations, so verify the selection itself rather than trusting a remembered navigation sequence.
Apply the change, then restart the Runtime simulation. A running simulation session keeps using the interface it started with, so the restart is not optional. Reopen the dialog afterwards and confirm the saved selection still names PLCSIM. If Runtime now reports the connection instead of timing out, the interface question is closed and any remaining fault lives in the tag configuration, not the path.
Checklist: run these checks in order #
- PLCSIM is open with the intended STEP 7 program loaded and the simulated CPU in RUN, with the RUN indicator lit.
- One known variable is monitored directly from STEP 7, independent of the HMI, so you have a reference observation.
- The interface selection in the simulation settings reads TCP/IP (PLCSIM), not an adapter entry.
- The Runtime simulation was restarted after the interface change.
- The HMI test tag is an external tag assigned to the PN connection, not an internal tag, which never leaves the HMI and cannot prove PLC communication.
- The test bench has no path to connected equipment, because simulated writes land in a simulated CPU but a wrong selection can reach a real one.
That last line is the safety note for this whole procedure: keep the bench isolated while the interface selection is being sorted out.
Worked example: prove the link with one tag #
Create an external tag named TestWord, data type Int, at MW100 (an example address), on the PN connection used by the project. Test reads first. In PLCSIM, set MW100 to 500. The I/O field bound to TestWord shows 500. You can double-check the encoding while you are there: 500 is 0x01F4, so the byte view of PLCSIM shows MB100 as 0x01 and MB101 as 0xF4, and 1 × 256 + 244 = 500.
Then test the write direction. Enter 1234 in the HMI field. The STEP 7 monitor on MW100 shows 1234, which is 0x04D2. Choose a value the PLC logic does not own, because a program that immediately overwrites an input field hides a successful write before you can see it. When both directions pass on the same tag, the simulation path, the connection and the tag mapping are all proven together. This read-then-write order is the same one used when testing an HMI simulation against a live PLC, and it transfers directly to real hardware later.
If the entry is missing or values still fail #
A missing TCP/IP (PLCSIM) entry means the simulation component is not installed or the versions do not match the engineering software. Install or repair S7-PLCSIM from the vendor's own media, confirm the documented version compatibility between STEP 7, WinCC flexible and PLCSIM, and restart the computer.
If the entry is present and tags still fail, the fault has moved to the project: check that the tag is external, bound to the PN connection, and that its address and data type match the STEP 7 declaration. When the HMI simulation and the simulated PLC each run but never reach each other, the reasons are covered in the article on why HMI simulation cannot talk to a simulated PLC.
What this proves and what it does not #
A passing simulation proves the screens, the tag addressing and the interaction with the PLC program on the PC. It does not prove the physical panel: its PN port, the download path, the machine's network settings and the cable all remain untested until a real panel is connected. Before commissioning hardware, switch the connection configuration back to the controller's actual address on the machine subnet and use the normal physical adapter selection for the download. Simulate on the bench, commission on the bench, and only then take the panel to the line.
Questions asked
Why did the TP177B DP simulation work without touching the interface?
The DP project ran its Runtime simulation with the interface selection already in place and never forced an Ethernet adapter choice the way the PN panel project does. That earlier pass proves the PLCSIM setup and the engineering software work; it does not validate the PN connection, because the PN project traverses the interface selection that decides where Runtime sends its requests.
What interface do I select when commissioning the physical KTP 1000 PN?
For a real panel you leave the simulation entry behind: the HMI connection points at the controller's address on the machine subnet, the panel's IP settings sit in that same subnet, and the engineering computer uses its normal physical adapter selection for the download. The TCP/IP (PLCSIM) entry belongs only to bench simulation and must be switched back before hardware commissioning.
The TCP/IP (PLCSIM) entry does not appear in the interface list. What now?
That means the simulation component is missing or the versions do not line up. Install or repair S7-PLCSIM from the vendor's own installation media, confirm the STEP 7 and WinCC flexible versions are documented as compatible with each other and with the installed PLCSIM, and restart the engineering computer before checking the list again.
Does a passing simulation mean the project is ready for the real panel?
No. Simulation proves the screens, tag addressing and interaction with the PLC program on the PC. It says nothing about the panel's PN port, the download path, network wiring or switch configuration on the machine. Commission the physical panel on an isolated bench first, verify one read and one write there, and only then connect it to the running line.
