IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC flexible runtime has no Set PG/PC interface entry

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

WinCC flexible runtime fails with ping working because the S7ONLINE access point has no interface assigned, not because the PLC is unreachable. The Set PG/PC Interface entry exists on the runtime PC too: switch Windows Control Panel to classic view, open the entry, assign the installed interface that matches the physical PLC-network adapter, restart runtime, and confirm a continuously changing tag reads with good quality.

On this page
  1. Why does WinCC flexible runtime fail while ping still works?
  2. What does the S7ONLINE access point actually control?
  3. Where is the Set PG/PC interface entry in Windows 7?
  4. Which interface should S7ONLINE be assigned to?
  5. Why does the SIMATIC Manager PC have the entry and this PC not?
  6. How do you restart runtime and prove the connection works?
  7. What is the check order when ping works but runtime does not?
  8. Questions asked

The Set PG/PC Interface entry is not missing from a WinCC flexible runtime PC; Windows 7's Control Panel hides it behind category view. Switch Control Panel to the icon view — the classic view — open Set PG/PC Interface, and assign the installed interface that matches the physical PLC-network adapter to the access point the project's connection uses, S7ONLINE (STEP 7) for an S7 connection. Then restart runtime and accept the fix on a tag that changes continuously. A green ping never proves this path: ping tests only the network layer, while the runtime talks exclusively through the interface its access point names, so a reachable PLC and a dead runtime can — and here do — coexist.

Why does WinCC flexible runtime fail while ping still works? #

Ping proves only that the PLC's address answers at the network layer; WinCC flexible runtime connects through the S7ONLINE access point, and with no interface assigned to it, every tag read and write fails while ping stays green.

The reported case matches that signature exactly: the alarm view raised a connection error, no PLC tag read or wrote, and ping answered throughout. The pairing of a green ping with dead tags is common enough that the article on an HMI and PLC that ping but will not communicate keeps reachability and communication as separate checks.

A worked example shows how both signals can be true at once. The PC's Ethernet adapter holds 192.168.0.10 with subnet mask 255.255.255.0; the PLC holds 192.168.0.2. AND each address with the mask: 192.168.0.10 AND 255.255.255.0 gives 192.168.0.0, and 192.168.0.2 AND 255.255.255.0 gives 192.168.0.0. Same subnet, so Windows sends the echo request straight out the Ethernet adapter and the PLC answers — ping is green. The runtime never consults that routing decision. It sends through the interface its access point names, and if that assignment points at a wireless, virtual or disconnected interface, the runtime has no path onto the PLC network at all: the alarm view reports the connection error while not one tag updates.

What does the S7ONLINE access point actually control? #

An access point is a named hand-off between an application's communication request and one installed interface; S7ONLINE (STEP 7) is the access point an S7 connection in WinCC flexible uses, so whatever interface it points to becomes the runtime's only path to the PLC.

The dialog that sets it lists the application access points in the first tab. Select the entry S7ONLINE (STEP 7) and read the interface assigned beneath it — that line is the whole diagnosis. A reachable PLC and a wrong assignment coexist so easily because Windows routing and the access point assignment are two independent decisions. Simulation rides the same mechanism: the walkthrough for connecting WinCC to PLCSIM through the S7ONLINE access point shows one application, one access point, one interface. If the project's connection was configured with a different access point or logical device name, select that name from the list instead of S7ONLINE.

Where is the Set PG/PC interface entry in Windows 7? #

The entry is on the runtime PC already, and Windows 7's Control Panel hides it only because category view is active; switch the view to icons — the classic view — and Set PG/PC Interface appears as its own icon.

Work it in this order:

  1. Open Windows Control Panel.
  2. Switch the view from Category to small or large icons — the classic view this installation needed.
  3. Open Set PG/PC Interface.
  4. In the first tab, under the application access points, select S7ONLINE (STEP 7), or the access point configured in the project.
  5. Record the interface currently assigned before changing anything.
  6. Select the installed interface that matches the physical PLC connection and apply.
  7. Restart WinCC flexible runtime and verify with a changing tag, as the next section describes.

If the icon is still absent after the view switch, the Siemens communication components are not fully installed on that PC; repair or reinstall WinCC flexible following the installation requirements of the verified release instead of hunting for a standalone copy of the setting.

Which interface should S7ONLINE be assigned to? #

Assign the installed interface that matches the physical cable to the PLC: for an Ethernet connection that is the TCP/IP interface bound to the adapter wired to the PLC network — never a wireless, virtual or disconnected adapter, even when ping through another adapter works.

On a PC with several adapters, separate the plant-network adapter from wireless, virtual, docking and leftover adapters before choosing. The test that settles it is addressing: the assigned interface must be the one whose address sits in the PLC's subnet for an Ethernet connection, or the adapter on that port for a serial connection. Pick by adapter and subnet, not by a familiar interface name — the two-adapter trap in the worked example above is the common failure form, because ping through one adapter says nothing about the interface the runtime was given. When ping is the side that fails instead, the usual cause is the PC adapter holding no address in the PLC's subnet, which the note on a ping failure caused by a laptop NIC with no subnet IP walks end to end.

Why does the SIMATIC Manager PC have the entry and this PC not? #

Both PCs have the entry; only the Control Panel view differs, because Set PG/PC Interface belongs to the Siemens communication components installed alongside WinCC flexible, and SIMATIC Manager is just one more route to the same dialog rather than a prerequisite.

SIMATIC Manager on the working computer simply offered a convenient way into the settings; its presence does not make installing the full engineering package necessary on a runtime PC. The working PC is still worth a visit: note which interface it assigns to the access point, then select the equivalent local adapter on this PC rather than copying an adapter name blindly, because adapter names and bindings do not transfer between machines. Before matching documentation or compatibility tables, read the installed software identity from the installed software information: product name, release and service pack. The reported installation identifies itself as WinCC flexible 2003 SP3; verify that designation on the PC itself rather than trusting a label.

How do you restart runtime and prove the connection works? #

Restart WinCC flexible runtime so the connection initializes as a fresh attempt, then watch a PLC tag that changes continuously: an updating value with good quality proves the access point path, while a static number proves nothing because it can be an initial or retained display value.

Put the process in a state that tolerates a brief communication interruption, and note which other applications use the same access point before changing it. After the restart, the connection alarm should not return. Finding the dialog and watching the alarm disappear is still not the proof. The read proof is a PLC variable that changes on its own — a clock bit or a free-running counter — updating live in the runtime. The write proof goes into a designated, non-hazardous test tag only, never an actuator command and never a safety-related signal. If a second, more detailed alarm surfaces long after startup instead, branch on its exact text: how late a fault message arrives is set by the driver timeout, the retry behavior and the display cadence, and encodes no fault code of its own.

What is the check order when ping works but runtime does not? #

Work the checks in order and stop at the first one that fails: reachability, software identity, project connection, access point assignment, restart, acceptance; most ping-green runtime failures end at the access point assignment.

  • Ping the PLC once as the reachability baseline; a green result here is the floor this article builds on, not its conclusion.
  • Read the installed software identity: product, release and service pack.
  • Open the project connection and read the PLC type, communication driver, access point and address.
  • In Control Panel in icon view, open Set PG/PC Interface and read the assignment behind the project's access point.
  • Assign the installed interface that matches the physical PLC-network adapter and apply.
  • Restart runtime and confirm a continuously changing tag reads with good quality.
  • Run the write test on the designated harmless test tag only.

Decision: a runtime PC that alarms while ping answers gets its access point assignment fixed, not its project re-edited. Switch Control Panel to icon view, open Set PG/PC Interface, point the project's access point at the installed interface bound to the PLC-network adapter, restart the runtime, and accept on a changing tag plus a harmless write test. Correct the local assignment before touching a project that already communicates on another computer, and only when the entry is absent in icon view too does the installation itself need repair.

Questions asked

Was Windows 7 Professional 64-bit a supported system for WinCC flexible 2003?

In the reported installation the release installed and started on Windows 7 Professional 64-bit with this exact fault, which proves only that it ran. Treat the combination as working but unverified: check the supported operating system list for the exact release and service pack, and if Windows 7 is not on it, plan a supported system or a newer release instead of stacking workarounds.

Can I copy the interface assignment from the working computer?

Use it as a reference only. Note which interface the working PC assigns to the access point, then select the installed interface on the runtime PC that matches its own physical PLC adapter. Adapter names, numbers and bindings differ between machines, and a copied name that does not exist locally leaves the access point without a working interface again.

Which access point do I select when the connection is not S7ONLINE?

Select the access point or logical device name configured in the WinCC project from the same drop-down list in the Set PG/PC Interface dialog; the project's connection settings show which one it uses. Everything else stays identical: assign the interface matching the physical connection, apply, restart runtime, and retest with a changing tag.

Why did the extra error message only appear after about 20 minutes?

A delay of roughly twenty minutes in the reported installation encodes no timeout value and identifies no fault code. How fast a communication fault surfaces depends on the driver timeout, the retry behavior and the display update cadence, so branch on the exact alarm text the runtime shows rather than on how long the message took to arrive.

Keep reading

  • Troubleshooting

    Why WinCC flexible 2008 PC Runtime will not reach a VIPA PLC

    Choosing Ethernet in the WinCC flexible 2008 project does not bind the Runtime computer's communication software to the right network adapter. Open Set PG/PC Interface in that computer's Control Panel and bind the access point the connection uses to the adapter cabled to the PLC. Then run a STEP 7 upload at the PLC's configured address: if it fails the fault is below the HMI, if it works the fault is in the HMI connection.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC Flexible transfer to a TP177B PN/DP fails instantly

    The error appears instantly and identically with or without the panel and cable attached, so WinCC Flexible 2008 stops while opening the local interface, before any message reaches the TP177B. Use the PC Adapter USB 6ES7 972-0CB20-0XA0 instead of the serial cable through a converter, assign its entry in Set PG/PC Interface, activate the matching data channel on the TP177B 6AV6 642-0BA01-1AX1, and start the transfer again.

    HMI and touchscreens

  • Troubleshooting

    Why WinCC flexible Runtime Cannot Control an S7-1200

    WinCC flexible Runtime on the PC is a separate HMI station, not a view into the MP277, so a working panel proves nothing about the PC path. Ping the S7-1200 from the Runtime PC, confirm the project connection uses the S7Online access point, then map that access point in Set PG/PC Interface to the adapter that reaches the real PLC, or to the simulation path when PLCSIM is the destination.

    HMI and touchscreens

Why WinCC Runtime V13 cannot run two instances on one PC