Troubleshooting
Why a WinCC TCP/IP connection fails with the PC as endpoint
Short answer
A WinCC TCP/IP connection under the S7 Protocol Suite dials exactly the address typed into it; that field must hold the LOGO! 0BA8's IP address, not the PC running WinCC, with rack 0 and slot 2 as the CPU location for an S7-300-class partner and the HMI service enabled on the LOGO!. Fix the endpoint, confirm the service through channel diagnostics and tag status, and only then add tags.

On this page
The address you enter in a WinCC connection is the address WinCC dials. Under the TCP/IP channel unit of the S7 Protocol Suite, that field belongs to the controller — for this machine, the LOGO! 0BA8. Enter the PC's own address there and Runtime spends every connection attempt talking to itself: the session never opens, and the input and output tags built on it cannot travel anywhere. Fix it in one place — point the connection at the LOGO!'s address, enter the CPU location an S7-300-class partner presents (rack 0, slot 2), and switch the LOGO! side to serve an HMI before judging a single tag. The sections below separate the network path, the controller service and the tag data, so you repair the layer that is actually broken instead of editing tags that were never the fault.
The connection field is the remote endpoint #
A connection created in Tag Management under the TCP/IP channel unit of the S7 Protocol Suite carries one address parameter: the partner device on the Ethernet. The PC running WinCC is the client that initiates the session, so its own address identifies the caller, not the called device. Typing the PC's address into the partner field asks one channel to be both ends of the same S7 conversation, and the LOGO! — which never receives a request — stays idle.
That is why the symptoms split so cleanly. The programming tool reaches the LOGO!, the tags exist in the project, and Runtime still reports no connection: tag definitions sit on top of the session, and a session aimed at the wrong device cannot carry any of them. Reachability and application communication are different layers — a device that answers at the IP level is not thereby offering the S7 service WinCC requests.
Prove the network path with real numbers #
Worked example with example addresses: the LOGO! 0BA8 sits at 192.168.0.1, the PC at 192.168.0.20, both carrying subnet mask 255.255.255.0. A directly reachable partner shares the PC's network address, and the network address is the bitwise AND of address and mask:
- PC: 192.168.0.20 AND 255.255.255.0 = 192.168.0.0
- LOGO!: 192.168.0.1 AND 255.255.255.0 = 192.168.0.0
The two network addresses match, so a direct path exists and a ping between the stations should answer. If the PC instead sat at 192.168.1.20, the AND would give 192.168.1.0 — different from the LOGO!'s 192.168.0.0, so no direct path, and the fix is one shared subnet, not a gateway on a machine-level link.
Then check the endpoint itself: the connection's address field must hold the LOGO!'s address, 192.168.0.1 in this example. The PC's own address, 192.168.0.20, is never correct in that field. For the controller side of an Ethernet HMI link, the walk-through of connecting a LOGO! 0BA8 to an MT8050iE HMI over Ethernet works through the same LOGO! settings — address, mask and the server role the LOGO! takes toward a client.
Commission the corrected connection #
- Record both addresses: the LOGO!'s from its network settings and the PC's from its active adapter. Expect two distinct addresses with matching masks in one subnet, as in the worked example.
- In Tag Management, open the connection under the TCP/IP channel unit and set the address to the LOGO!'s. The PC's address is the one value that is always wrong in that field.
- Enter the CPU location the unit documents: WinCC's TCP/IP unit documentation requires the rack and slot number of the CPU, and an S7-300-class partner is addressed at rack 0, slot 2 — the CPU position in every physical S7-300. A wrong rack or slot makes the unit reject the session even when the address is correct.
- Switch the LOGO! side to serve a client: in the manufacturer's procedure for linking a LOGO! 8.3 — the 8.3 generation of the 0BA8 hardware family — to an HMI, the hardware type "LOGO! 8.3" is selected in the Settings dialog under the Offline settings tab, and the Ethernet connections are enabled there. Transfer that configuration to the device before testing.
- If your method instead uses configured transport access points, match the TSAP pair the LOGO! documentation specifies for its HMI service; the mismatched pair is exactly what why a LOGO! 0BA7 HMI connection fails despite matching TSAPs takes apart.
- If a firewall sits between the stations, allow the S7-over-TCP service on its registered port 102 — a blocked port looks identical to a wrong endpoint from Runtime's side.
- Keep the first test tag read-only, because once the session opens, a write from a test screen acts on the machine immediately. Create one read-only tag on a value that changes, activate Runtime, and judge the result through the channel diagnostics and the tag's quality before adding any other tags.
Read the diagnostics, not the picture #
WinCC provides two tag-quality indicators, tag status and quality code, as documented in its information system. Bad status with a frozen number means acquisition stopped, and the screen is showing the last value received — do not read that number as a live process value.
Split every remaining symptom by layer:
| Layer | Proof that counts | What failure looks like |
|---|---|---|
| IP path | subnet match in the AND arithmetic plus an answered ping | ping fails, or the session cannot start at all |
| S7 service | channel diagnostics show one established session | Runtime opens and reopens the session, tag status stays bad |
| Tag data | quality good and the value tracks the controller | status good but the value is wrong or never moves |
The decisions follow directly: a path failure is subnet work; a service failure is the endpoint address, the rack/slot pair or the LOGO!'s HMI connection; a data failure is the tag definition. A quality-good value that never changes usually points at the controller-side export — the LOGO! offers on Ethernet only what it publishes as network outputs, which is precisely the case in why a LOGO! 0BA8 network output does not update an HMI tag.
When the tool pairing is the blocker #
A programming-tool link that reaches the LOGO! proves reachability, not that Runtime's channel holds a service the LOGO! accepts. Engineering works while Runtime does not — that divergence is its own documented fault, covered in the fix for WinCC Runtime that connects to the PLC only via TIA Portal.
The manufacturer documents LOGO!-to-HMI commissioning for the TIA Portal generation of WinCC, with the LOGO! 8.3 hardware type and the Ethernet connections configured as in step 4. A V7-era WinCC Explorer station predates that recipe. Decision: if the session still refuses to open with the endpoint correct, rack 0 and slot 2 entered, and the LOGO!'s HMI connection enabled, build the HMI side in the TIA Portal generation of WinCC that documents the LOGO! 8.3 hardware type rather than editing further tags in the classic station.
The decision for each case #
- Endpoint holds the PC's address: replace it with the LOGO!'s address. With the path and service otherwise sound, this alone restores the session — it is the entire fault in the reported failure.
- Endpoint correct but diagnostics show repeated failed opens: work the service layer — rack 0 and slot 2 for an S7-300-class partner, the documented TSAP pair if your method uses one, the enabled HMI connection on the LOGO!, and port 102 open through any firewall.
- Session established but tags report bad status: the data layer — area, byte offset and data type in the tag definition, checked against the representation the S7 Protocol Suite expects.
- Session established but the value frozen: the LOGO!-side export first — map the signal to a network output — then confirm against a known changing value.
- V7-era WinCC Explorer that still refuses the session after all of the above: move the HMI project to the TIA Portal generation of WinCC with the LOGO! 8.3 hardware type, the documented pairing, instead of more tag edits in the classic tool.
Questions asked
The ping to the LOGO! answers instantly. Why does the WinCC connection still fail?
A ping proves IP reachability only: the LOGO! answers at the Ethernet layer whether or not any S7 service is offered behind it. The session WinCC opens needs the controller side to accept it, so the endpoint address, the CPU location and the enabled HMI connection all have to line up, and a controller with all of its S7 server resources occupied still answers pings while refusing the session. Let the channel diagnostics, not the ping, deliver the verdict.
The PC has two network cards — which one goes into the connection?
Neither. The connection field always carries the LOGO!'s address; Windows routing decides which adapter carries the traffic. Keep the machine subnet on one adapter and make sure no other adapter holds a route to that same subnet, or the S7 session can leave through the wrong card and time out. The PC's own addresses belong in the adapter settings, never in the WinCC connection.
Runtime now shows the connection established but the test tag stays bad. What is next?
An established session with a bad tag points at the data layer, not at the endpoint. Check the tag's memory area, byte offset and data type against the address representation the S7 Protocol Suite expects — a bit entered as a byte, or an area the LOGO! does not export, reads as invalid. Correct the tag definition on the working connection and leave the endpoint alone.
Can WinCC write back to the LOGO! as well as read?
Yes, once a read connection is proven: the same session carries writes to areas the LOGO! exposes. Commission the read path with the read-only test tag first, then add write tags one at a time behind an operator confirmation, because a write from the panel acts on the machine immediately. Keep setpoints and start commands behind a permit condition in the controller so a panel write can only take effect when the process allows it.


