IMDTouchKnowledge BaseShop main store

Troubleshooting

WinCC flexible 2008 cannot reach a CPU 224 over PPI

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

Set the link up in STEP 7-Micro/WIN first, then mirror the CPU 224's port 0 station address and baud rate in the WinCC flexible SIMATIC S7 200 connection, giving the HMI its own station address. A KTP600 DP that lost power during an OS update comes back only through a ProSave OS update with Reset to factory settings, not through a normal transfer.

On this page
  1. Read the symptoms first
  2. Set the link up in Micro/WIN first
  3. Worked example: a CPU 224 at station address 2 and 9600 bps
  4. Enter the connection in WinCC flexible 2008
  5. Pitfalls that mimic a dead link
  6. When the SCADA runs on a PC
  7. Why a power cut stops the KTP600 DP cold
  8. Recover the panel with ProSave
  9. Checks that close each fault
  10. Questions asked

The link between WinCC flexible 2008 and a CPU 224 comes up as soon as three settings agree: the port 0 station address and baud rate stored in the CPU's system block, the baud rate entered in the WinCC flexible connection, and an HMI station address that no other device on the cable holds. Prove the cable with STEP 7-Micro/WIN first — if Micro/WIN cannot see the CPU, WinCC flexible never will. The second fault in this case is different in kind: a KTP600 DP that lost power during an OS update never reaches the transfer screen again, because its operating system image is half-written. No interface setting brings that panel back; a ProSave OS update with Reset to factory settings does.

Read the symptoms first #

Two faults sit in this question and they fail at different layers. Sort them before touching a setting:

  • No connection from WinCC flexible, or tags that stay bad — the connection's driver, interface, baud rate or station address does not match the CPU. Compare the Connections editor against the system block.
  • Micro/WIN cannot find the CPU — the cable, the PG/PC interface or the baud rate. Search with the same cable you intend to use for the HMI.
  • A KTP600 DP that never shows the transfer screen after power failed mid OS update — an incomplete operating system image. Only the ProSave recovery below fixes it.
  • ProSave finds no panel although the interface looks right — the panel is not listening on the selected channel, or the ProSave release predates the reset option.

Out of the box, a CPU 224 answers PPI as a slave, so the PC or panel runs the link as master and polls it. The cable built for this job is the PC/PPI cable; a communications processor such as the CP 5611 also reaches an S7-200 port from a PC. An MPI cable can carry the link too when its access mode matches the port — the ways an adapter set for MPI talks past a PPI port are covered in why PC adapter MPI settings fail on a PPI S7-200 port.

One check belongs in front of all of it: the Micro/WIN release has to support the CPU variant you are wiring to, and how to get the right Micro/WIN version for an S7-200 CPU 224 walks that pairing.

WinCC flexible uses the same cable, the same PG/PC interface and the same baud rate as Micro/WIN, so a link that fails in Micro/WIN fails everywhere:

  1. Set the PG/PC interface to the adapter and access point that carries the cable, then run Micro/WIN's communications search. Seeing the CPU here proves cable, adapter, driver and baud rate in one step.
  2. Open the system block and read port 0's station address and baud rate as the CPU actually holds them. Defaults exist, but a CPU that has been configured before may not carry them.
  3. Only once Micro/WIN talks to the CPU do you move to WinCC flexible.

Worked example: a CPU 224 at station address 2 and 9600 bps #

The inputs, each with its source: a CPU 224 whose system block shows port 0 at station address 2 and 9600 bps — those are the S7-200 factory defaults, confirmed by reading the system block rather than assuming them; an HMI station address of 6, an example choice of a free address for this link; and the programming PC's own address, read from Micro/WIN's communications dialog, which the example only assumes is not 6.

The rule in words: every station on a PPI link carries one address and no two stations may share it, so the HMI address must differ from the CPU's and from the programming PC's. Both ends of a serial link run at one clock rate, so the baud rate entered in the connection must equal the baud rate in the system block.

The arithmetic: the CPU's 2 against the HMI's 6 — different; the HMI's 6 against the PC's address — different by assumption; the CPU's against the PC's — two distinct numbers in the dialog. No collision anywhere. Baud: the connection's rate against the system block's rate — 9600 bps on both sides, a match.

The result is a consistent parameter set: PLC address pointing at the CPU's station address, HMI station address 6, baud rate equal at both ends. Enter exactly those values in the connection editor.

The decision, with its threshold: any equality between two station addresses is a fault. An HMI left at the CPU's own address would not fail cleanly — it produces intermittent timeouts and stalled polls — so a link that runs for a few seconds and then hangs is an address collision first.

Enter the connection in WinCC flexible 2008 #

With the CPU proven reachable, the connection is a short list of fields:

  1. Create the project for the target and open the Connections editor.
  2. Add a connection and select the SIMATIC S7 200 driver.
  3. Set the interface to the port that carries the cable.
  4. Enter the baud rate the system block showed, the HMI station address you chose, and the CPU's station address in the PLC address field.
  5. Put a tag on a screen in an I/O field, transfer to the panel or start the runtime, and watch the value follow a change made in Micro/WIN's status chart.

The last step is the real test. A screen that follows a live value proves driver, addresses, baud rate and wiring together; a screen of dead tags with these values in place points back at the interface or the cable.

  • Entering assumed defaults instead of the values read from the system block is the quiet one: a CPU configured earlier answers at its stored address, not the documented one.
  • A system block edited but never downloaded leaves the CPU running port settings the project no longer shows, and every value built on them is a phantom. Change the system block only with the project saved and downloaded.
  • A device added to the link later at an address already in use brings the stall back — keep the working address list and check every addition against it.

When the SCADA runs on a PC #

WinCC flexible SCADA usually means the runtime on a PC rather than on a panel, and three things then change:

  • The runtime opens the PG/PC interface itself, so select the same adapter and access point that worked in the Micro/WIN test.
  • One program owns the serial adapter at a time. Close Micro/WIN before starting the runtime, or the second program finds the port busy without a helpful message.
  • The runtime needs a license matched to the tag count in use; obtain it from the vendor or an authorized distributor in the normal way.

The runtime-side settings known to work against an S7-200 PPI port are collected in WinCC Flexible Runtime to S7-200 PPI Settings That Work. If this runtime is to be the operator station at the machine, it belongs on a touchscreen computer built for panel mounting — the role industrial panel PCs fill.

Why a power cut stops the KTP600 DP cold #

An OS update erases the panel's operating system and rewrites it in flash. Power lost mid-write leaves the image incomplete. The panel then cannot start its OS, and the transfer screen that an ordinary transfer needs never appears, because ordinary transfer and a normal OS update both assume a running OS on the panel. What survives is the boot loader, a small separate piece of firmware whose job is to accept a new image at power-up. That is why re-setting the PG/PC interface and power-cycling the panel produces nothing: the request has to go through the boot loader. A power cut corrupting a panel's stored image is not unique to this model — why an MP 377 shows image is corrupted after a power loss is the same failure shape on another panel family.

Recover the panel with ProSave #

The recovery runs through the boot loader, so the order of the steps matters:

  1. Install a current ProSave release from the panel maker's support portal. The option the recovery depends on is absent from releases as early as V7.4.6.0; in such a release the same function is labelled Booting, and a current one shows Reset to factory settings outright.
  2. Start ProSave from the Start menu and enter the panel type — the KTP600 DP here — on the General tab.
  3. Select the transfer channel the panel supports, its MPI/PROFIBUS DP port with a suitable adapter, and the matching interface on the PC side.
  4. Open the OS update function, choose the image that matches both the panel type and the WinCC flexible version that owns the project, and select Reset to factory settings.
  5. Start the update on the PC first, then apply power to the panel so the boot loader picks the request up. Do not interrupt power or the cable until ProSave reports the update complete.
  6. When the panel restarts, retransfer the project from WinCC flexible. The factory reset has removed the old project and its transfer settings.

Secure the supply before you start: the write must not lose power a second time, because one interruption created this fault and a second can leave the panel beyond even this recovery. A panel that comes back drawing an inverted or mirror-image picture has a display fault rather than a communication one — KTP600 inverted mirror-image troubleshooting covers that check.

Checks that close each fault #

  • Micro/WIN's communications dialog lists the CPU at its station address.
  • The WinCC flexible connection reports online, with no connection error on the screen or in the runtime alarm area.
  • Change a value in Micro/WIN's status chart: the HMI field follows it within a polling cycle.
  • Write a value from the HMI field: the status chart shows it, which confirms write access and the right data type.
  • After the OS recovery, ProSave reports the update finished, the panel reaches its start screen, and a fresh project transfer from WinCC flexible completes without a connection error.

Questions asked

Will an MPI cable work against a CPU 224 PPI port?

It can, but only if the adapter exposes a PPI-capable access mode in the PG/PC interface. The wiring side is the same RS-485; what decides the link is the access point the adapter offers and the baud rate both ends run. Test the cable in Micro/WIN's communications dialog before you build the WinCC flexible connection on it, and read the interface list on your own PC rather than trusting the cable's label.

Does a CPU-224 CN need different communication settings?

The settings themselves do not change: port 0 still carries a station address and a baud rate, and the WinCC flexible connection still uses the SIMATIC S7 200 driver. What can differ is which Micro/WIN release supports the CN hardware variant, so settle that pairing before you wire anything. The readme that comes with your Micro/WIN release lists the CPU variants it supports.

What does Reset to factory settings remove from the panel?

Everything the project had put on the panel: the runtime project, the transfer settings and any user data the panel kept locally. The OS update rebuilds the panel software only, so once the panel restarts you retransfer the project from WinCC flexible and re-enter anything the project does not carry. The option suits a panel this far gone because one that cannot show the transfer screen has no reachable project to save.

Why does the link work in Micro/WIN but fail in the runtime on the same PC?

The runtime reads the PG/PC interface once, at startup, so a change made while it runs does not take effect. After any interface change, set the same adapter and access point the Micro/WIN test used and restart the runtime before judging the link. Judge it on a live tag, not on the absence of an error — a mismatch shows up as dead tags rather than a message.

Keep reading

  • Troubleshooting

    Why a TP900 Comfort boots to a black screen

    Measure the 24 V DC input at the TP900 Comfort terminals under load first. Correct voltage plus ProSave or TIA Portal communication means you can attempt the documented OS update or factory reset; correct voltage with no communication means a service evaluation, while TIA Portal simulation with the PG/PC interface set to the PC's TCP/IP card keeps the operator screens running meanwhile.

    HMI and touchscreens

  • Troubleshooting

    Why a TP177A Runs Slowly After a WinCC Flexible 2008 Transfer

    A TP177A that slows down only after a WinCC flexible 2008 transfer has one of three causes: the panel image never got the OS update the 2008 build demands at first transfer, the engineering station lacks the latest 2008 service pack and its cumulative update, or the MPI or PROFIBUS segment runs at a rate and length the 2008 polling exposes. Run the OS update, install the newest pack, then set the highest baud rate the cable length and every node allow.

    HMI and touchscreens

  • Troubleshooting

    Why an OP77A transfer stops on a panel version mismatch

    WinCC flexible 2008 transfers to an OP77A over the USB-PPI cable, and a version-mismatch stop means the link already works. Because the project targets an older version than a new panel's image, raise the project's device version, or on an empty panel load the image the project expects with ProSave. Firmware loading over that cable needs adapter hardware revision E-Stand 4 or higher.

    HMI and touchscreens

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