IMDTouchKnowledge BaseShop main store

Troubleshooting

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

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

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.

On this page
  1. What the project cannot set
  2. Bind the interface on the Runtime computer
  3. Prove the addressing with the mask
  4. The STEP 7 test and what each result means
  5. Match the connection to the proven path
  6. The fix in order
  7. Questions asked

When a WinCC flexible 2008 project configured for Ethernet stays silent against a VIPA PLC, the fault is usually not in the project. Choosing Ethernet in the connection configures the HMI side only; the setting that decides which network adapter the Siemens communication software actually sends through lives in Windows, in the PG/PC interface of the computer running Runtime. Set that first: open the Runtime computer's Control Panel, open Set PG/PC Interface, and bind the access point the connection uses to the adapter cabled to the PLC. Then prove the path with a STEP 7 upload at the PLC's configured address before you touch a single tag. That one test splits every case into a network fault or an HMI fault, and the rest of this article follows it.

What the project cannot set #

The path from a screen tag to the controller has four links: the tag references a connection, the connection hands its requests to the PC's communication software, that software transmits through whichever adapter its access point is bound to, and the network delivers the frames to the PLC. Your project configures the first two links and can only name the third. An access point is the logical name that pairs an application with a physical interface; the first tab of Set PG/PC Interface lists these names under Application, among them S7ONLINE (STEP 7), each with an interface assignment you choose.

On a computer without SIMATIC NET, the S7 connection of WinCC flexible Runtime uses that same access point, so no PC station or Station Configuration Editor is needed — but the binding itself exists only on the Runtime computer, and no project setting creates it. This is also why a project copied to a second computer shows ### where values belong; the copied-target-PC case is a close cousin of yours.

Bind the interface on the Runtime computer #

Open the Control Panel of the computer that runs Runtime and click Set PG/PC Interface. In the first tab, select the access point the Runtime connection uses in the Application list and assign it to the Ethernet adapter that is physically cabled to the PLC network. On a machine with several adapters — wired, wireless and virtual ones all appear here — choose by what is plugged in, not by position in the list, and confirm with OK.

If SIMATIC NET is installed on the computer, access points are administered in the station configuration instead, under the branch SIMATIC NET Configuration with its Access points page; configuring a PC station there does not remove the need to point the access point at the adapter that reaches the PLC. Either way, the Windows IP settings and this binding solve two different problems: a correct address does not fix software bound to the wrong adapter, and the right binding does not fix a wrong address.

Prove the addressing with the mask #

Before blaming the binding, do the ten-second subnet check on the adapter and the PLC. Take example values: the adapter at 192.168.1.50 with mask 255.255.255.0 and the PLC at 192.168.1.10. The mask keeps the first three octets, so 192.168.1.50 AND 255.255.255.0 gives 192.168.1.0, and 192.168.1.10 AND 255.255.255.0 also gives 192.168.1.0. Equal networks mean the PC delivers frames straight to the PLC with no gateway involved. If the PLC instead sat at 192.168.2.10, its network would be 192.168.2.0: the PC would hand those frames to its default gateway, a direct cable offers none, and both STEP 7 and Runtime would fail no matter how the access point is set.

Two more addressing rules for a direct connection: the PC and the PLC must hold distinct addresses, because duplicates produce intermittent and misleading results, and a routed connection needs the gateway entered consistently at both ends. The PLC-side steps for this CPU family are shown in configuring the IP address on a VIPA CPU315SB in STEP 7.

The STEP 7 test and what each result means #

Run the test on the computer that runs Runtime, not on your engineering laptop: a pass elsewhere proves the PLC is reachable from that other machine, and nothing about this one. An upload only reads the controller, so it is the safe test; a download stops the CPU and replaces its program, so keep any download for a machine in a safe state. Then read the result against this table.

Result on the Runtime computer What it proves Decision
STEP 7 upload fails at the configured address The fault is below the HMI: cabling, addressing or the access-point binding Fix the path; no connection setting in WinCC flexible helps until STEP 7 connects
STEP 7 connects, Runtime stays silent The PLC is reachable through the working binding The fault is in the HMI connection: activation, destination, parameters or tags
Ping answers, STEP 7 and Runtime both fail IP traffic passes; S7 communication does not Recheck the binding and anything filtering S7 traffic between the two devices; a ping says nothing about the access point
Runtime connects, values wrong or frozen The link is up; the data layer is not Check tag addresses, data types, connection assignment and update behavior

Two rows have their own walkthroughs here: when an HMI and PLC ping but will not communicate for the ping-yes data-no case, and diagnosing whether it is the driver, the tag or the screen for the frozen-values case. One habit regardless of row: judge the link by Runtime's own connection messages and by a value you know is changing in the PLC, because a screen showing zeros may be showing initial display values, not successful reads.

Match the connection to the proven path #

With the path proven, open the connection in WinCC flexible and check it against what just worked. Its Active parameter must be set to On; double-click Configuration to reach the parameters, and point the destination at the address that answered the STEP 7 test. Where the connection exposes rack and slot, take those values from VIPA's documentation for the CPU315SB and from a project that already communicates — the CPU type shown in the hardware configuration does not give them.

Two entries in your hardware configuration deserve calm, not surgery. An upload showing a CPU 318-2 on a physical VIPA CPU315SB is the compatible-controller representation, expected for this family and not a communication fault, so do not rebuild the configuration to make the name match the label. The CP341-1 you added with its own address is a project entry, not proof of which interface carries the S7 traffic; the STEP 7 test, and only that, decides which address is live.

The fix in order #

Work through the checks in this order and stop at the first failure:

  1. Record the current state: save the STEP 7 and HMI projects, and note the PLC address, the adapter address and mask, the current access-point assignment and the connection parameters.
  2. Confirm the adapter: link status up, and its address inside the PLC's subnet by the mask arithmetic above.
  3. Open Set PG/PC Interface in the Runtime computer's Control Panel and bind the connection's access point to that adapter; confirm with OK.
  4. Run a STEP 7 upload at the configured address on this same computer. If it fails, stop: the fault is cabling, addressing or the binding, and no HMI setting will help. If it connects, continue.
  5. In the connection, set Active to On, double-click Configuration, and point the destination at the address that just answered.
  6. Check rack and slot against VIPA's documentation, and confirm the test tags sit on this connection with the right addresses and data types.
  7. Generate the project, transfer it, close Runtime and start it again so the corrected configuration is what loads.
  8. Verify on a value you know is changing in the PLC, and read Runtime's connection messages, not just the screen.

For an installation like this one — Ethernet chosen in the project, Runtime silent, no SIMATIC NET on the computer — step 3 is the step most often left out, and step 4 is what proves whether it was the fault. Where the STEP 7 upload fails as well, the fault sits in the path below the HMI, and it will defeat every HMI you point at that PLC until cabling, addressing or the binding is fixed.

Questions asked

Where exactly is the PG/PC interface setting on the Runtime computer?

In the Windows Control Panel of the computer that runs Runtime, as the entry Set PG/PC Interface. The dialog lists each access point in its Application column with the interface currently assigned to it, so you can see a wrong binding before changing anything. Remember that the binding lives on one machine: one set on your engineering laptop does nothing for the computer running Runtime.

Does WinCC flexible PC Runtime need SIMATIC NET or the Station Configuration Editor?

No. Without SIMATIC NET, the S7 connection runs through the access point binding in Set PG/PC Interface, which is the simpler arrangement and the one to use when nothing is installed. With SIMATIC NET present, access points are administered in the station configuration instead, and the binding still has to name the adapter that reaches the PLC.

STEP 7 shows a CPU 318-2 for my VIPA CPU315SB. Is my hardware configuration wrong?

No, and do not rebuild it over the name. Compatible controllers identify themselves to STEP 7 through a Siemens CPU type, so the uploaded configuration can carry a different designation from the label on the module. What matters for communication is the address that answers an upload and the parameters VIPA documents for the connection, not the CPU name shown in the configuration.

Runtime shows values but they never change. Is that the same fault?

Treat it as a different fault. A live but frozen display means the link came up and the data layer is wrong: confirm the tags sit on the connection you corrected, with the right addresses and data types, and watch a value you know is moving in the PLC, such as a running timer. Zeros alone prove nothing, because they can be initial display values rather than reads.

Can I run the STEP 7 test from my engineering laptop instead?

You can, but it proves only that the PLC is reachable from that laptop. The Runtime computer can hold a different adapter address, a different subnet and a different access-point binding, so a pass elsewhere leaves all three unverified where it matters. Run the upload on the machine that runs Runtime, and treat a pass there as the green light for the HMI connection settings.

Keep reading

  • Explainer

    Why an HMI second Ethernet port does not route PC Runtime to the PLC

    A WinCC flexible transfer to the HMI's second Ethernet port proves only PC-to-HMI reachability. The two interfaces are separate networks; a PC Runtime reaches the controller through an explicitly configured network route or supported S7 routing, never automatic bridging inside the HMI.

    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

  • Troubleshooting

    Fix WinCC Runtime That Connects to the PLC Only via TIA Portal

    The runtime PC's PG/PC interface is bound to the wrong network adapter, so WinCC Runtime has no path of its own until a TIA Portal online session brings one up. Open Set PG/PC Interface in Windows Control Panel, assign the PLC-facing adapter to the S7 access point, restart the runtime, and confirm with ping plus a live tag. If ping already works, check the access point, the connection configuration, and PLC access permissions instead.

    HMI and touchscreens

Why WinCC flexible 2008 fonts look oversized on another PC