IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a Missing TCP/IP PG/PC Interface Breaks the HMI Link

HMI and touchscreens Published 6 min read By IMDTouch engineering team

Short answer

With the access point left at None, the PC runtime never opens the TCP socket to the controller, so every configured tag shows a broken-link icon even though the network itself is healthy. Select S7ONLINE in Set PG/PC Interface, assign TCP/IP on the network card, and run the SIMATIC S7 200 driver with tags addressed into DB1 V-memory.

On this page
  1. Why an empty access point kills every tag at once
  2. Restoring the S7ONLINE assignment
  3. The driver and V-memory side of the link
  4. Worked example: subnet check for a PC at 192.168.0.5 and a LOGO at 192.168.0.10
  5. Proving the link on the bench
  6. When the link still breaks after the access point is set
  7. Questions asked

Every tag in a project can be configured correctly and still report a broken link when the Windows-side access point is empty. The runtime reads the S7ONLINE assignment in Set PG/PC Interface when it starts; with that assignment at None it never binds the TCP socket to the controller, so the whole link fails at once. The fix is to select S7ONLINE, assign TCP/IP on the network card that reaches the controller, and run the SIMATIC S7 200 driver with tags addressed into the single data block DB1. This article walks the access point, the missing TCP/IP module, the driver and V-memory mapping, and the subnet check that rules out the network itself.

Why an empty access point kills every tag at once #

Set PG/PC Interface lives in the Windows Control Panel and assigns, for each access point, which communication module the software on that PC uses. S7ONLINE is the access point the SIMATIC runtime family reads. When the drop-down shows None, the runtime starts, tries to open the connection on TCP port 102, and fails before it sends a single frame. The controller IP stored in the connection does not save you here: the access point gates the socket, so without it the runtime has no module to open the port with.

Because the failure sits at the socket and not at an individual tag, every icon flips to the broken-link symbol at the same moment, while ping to the controller and its built-in web pages still answer normally. That combination, healthy ping with dead tags, is the signature of the empty access point and your cue to open the Control Panel dialog before touching the HMI project.

Installing the missing TCP/IP module #

Sometimes TCP/IP is not merely unselected but absent from the assignment list altogether, which means the module was never installed on that PC. Use the dialog's own module selection to add TCP/IP from the product installation media, reboot the PC, and then assign it to S7ONLINE. Do not try to patch this by editing network settings alone; the runtime looks for the installed module, not just for a configured network card.

Restoring the S7ONLINE assignment #

  1. Close the runtime so it re-reads the assignment at its next start.
  2. Open Set PG/PC Interface in the Windows Control Panel.
  3. In the access-point list, select S7ONLINE.
  4. Under the interface assignment, choose the TCP/IP entry that names the network card cabled to the controller.
  5. If TCP/IP does not appear in the list, install it through the dialog's module selection from the installation media, reboot, and repeat the selection.
  6. Confirm with OK and accept the prompt that the new assignment takes effect.

Start the runtime afterwards and watch the tag icons. If the link still stays broken, work through the driver and address checks below before suspecting the access point again.

A LOGO 0BA7 with Ethernet was not in the WinCC flexible 2008 device list, and the controller answers on the network as an S7-200. The documented configuration is therefore the SIMATIC S7 200 driver with the interface set to ETHERNET and the IP address and subnet mask of the runtime station entered on the connection. The controller exposes exactly one data block, DB1, and it makes function-block parameters visible only after its VM mapping table assigns each parameter a V address. The HMI tag then points at that same address as a DB1 VB byte for digital points or a DB1 VW word for analog and counter values.

For example, with a digital input mapped to VB0 bit 0, an output to VB1 bit 0 and a counter's actual value to VW100, the tag addresses look like this:

Controller element (example) V address in the VM mapping HMI tag address Data type
Digital input I1 VB0, bit 0 DB1 VB0, bit 0 Bool
Digital output Q1 VB1, bit 0 DB1 VB1, bit 0 Bool
Counter actual value VW100 DB1 VW100 Int

Test these changes on an isolated bench network; a wrong access point assignment also disturbs other engineering tools that share it on the same PC.

Worked example: subnet check for a PC at 192.168.0.5 and a LOGO at 192.168.0.10 #

Inputs: the runtime PC's network card sits at 192.168.0.5, an example address on an isolated bench network; the controller sits at 192.168.0.10, the example address used throughout this article; both carry the subnet mask 255.255.255.0.

Rule: two devices reach each other directly only when each address ANDed with the mask yields the same network ID.

Arithmetic: 192.168.0.5 AND 255.255.255.0 leaves the first three octets unchanged and zeroes the last, because 5 AND 0 = 0, giving network ID 192.168.0.0. The controller side gives 192.168.0.10 AND 255.255.255.0, which likewise reduces to 192.168.0.0. The two IDs are equal, so both devices sit on the same /24 subnet and the controller is reachable without a gateway.

Now move the PC to 192.168.1.5: the same masking yields 192.168.1.0, which differs from 192.168.0.0 in the third octet. Traffic between them must traverse a router, and with no default gateway configured on the PC the connection on TCP port 102 never opens. The symptom then looks exactly like the empty access point again, which is why this check comes before you reinstall anything.

Decision: with equal network IDs, set S7ONLINE to TCP/IP and start the runtime. With differing IDs on a bench setup, move one device into the other's subnet rather than adding a gateway, and only then configure the connection.

  • Ping the controller address from a command prompt; replies confirm the physical network and addressing.
  • Open the controller's web page in a browser to confirm the TCP stack on the device answers.
  • Start the runtime and confirm every tag icon has cleared to its normal state.
  • Force an input on the controller and confirm the mapped tag changes state within its configured acquisition cycle.
  • Disconnect and reconnect the Ethernet cable once and confirm the link recovers by itself.

A serial link that fails on baud rate or station address is a different fault family entirely, covered in the article on why a WinCC Flexible PPI link fails on baud rate and address. If your test target is a simulation rather than real hardware, S7ONLINE must point at the simulation target, which is what the article on connecting WinCC to PLCSIM through the S7Online access point walks through. And on newer installations that no longer offer the legacy S7-200 channel for a given controller, the Modbus TCP tag configuration in WinCC Professional is the supported path instead.

The decision in every case: confirm S7ONLINE points at TCP/IP first, verify the driver and the DB1 addresses second, and only re-examine the controller side once a ping from the runtime PC succeeds.

Questions asked

Why is there no controller entry for LOGO in the WinCC flexible driver list?

WinCC flexible 2008 predates LOGO Ethernet integration, so no native LOGO driver exists in that tool. The controller answers on the network as an S7-200, so the documented path is the SIMATIC S7 200 driver with the interface set to ETHERNET and the controller IP address entered on the connection. Function-block values reach the runtime only after you map each parameter to a V-memory address in the controller's VM mapping table.

Can other software change the access point after I have set it?

Yes. Set PG/PC Interface is a machine-wide assignment, and installation or configuration work for other Siemens software can switch what S7ONLINE points at. If a link that worked before is broken today with an unchanged project, open the dialog again and confirm that S7ONLINE still points to TCP/IP on the network card cabled to the controller before you change anything in the HMI project.

Which V-memory formats can HMI tags use on a LOGO controller?

Digital points map to bits inside a data byte, for example DB1 VB0 bit 0, and analog or counter values map to words such as DB1 VW100. The controller exposes a single data block, DB1, so every tag starts with that block number. Assign free V addresses in the controller's VM mapping table, then use exactly those addresses in the HMI tag list.

What do I check first when TCP/IP is selected but the link still breaks?

Confirm the runtime PC and the controller sit on the same subnet, then ping the controller address from a command prompt. If ping fails, the fault is cabling or addressing, not the HMI project. If ping succeeds, check that nothing on the PC blocks TCP port 102, then force an input on the controller and watch the mapped tag update within its configured acquisition cycle.

Keep reading

  • 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 TIA Portal V13 Keeps Reprompting for the Online Access Card

    The prompt repeats because TCP/IP(AUTO) on a DHCP-assigned adapter lets the PG/PC access point re-bind after every tool switch. Set a static IP on the plant adapter, bind the access point to plain TCP/IP, and store the per-device path in Online & Diagnostics so SCOUT TIA and WinCC share one stable route.

    HMI and touchscreens

  • Troubleshooting

    Fix WinCC Professional runtime not connecting to the S7-1500

    WinCC Professional Runtime can start, load screens and raise no error while the HMI connection leaves through the wrong PC network adapter, because the access point selects the interface automatically. Disable that automatic option, assign the access point to the PLC-facing adapter in Set PG/PC interface, re-download the runtime and restart.

    HMI and touchscreens

When an M580 Downloads but Sends No Data to the HMI