IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a WinCC Flexible PPI Link Fails on Baud Rate and Address

HMI and touchscreens Published 9 min read

Short answer

Matching baud rates satisfies only one of the five settings a PPI link needs between a WinCC flexible 2008 PC Runtime and an S7-200. Check the other four in order — cable mode, the CPU station address in the system block (typically address 2 at 9.6 kbps), the master address with the highest station address, and the tag binding — with Micro/WIN closed so Runtime can open the COM port.

On this page
  1. What the frozen circle tells you
  2. How a PPI link is built
  3. Cable mode: the switches or the driver
  4. The CPU station address in the system block
  5. Master address, highest address and the connection
  6. Online state and the tag binding
  7. Working the checks on a CPU 224 XP left at address 2 and 9.6 kbps
  8. Faults that return after the first fix
  9. Verification
  10. Questions asked

A WinCC flexible 2008 PC Runtime screen that stays frozen while the S7-200 runs is seldom a baud-rate fault, because matching baud rates satisfies only one of the five settings a PPI link needs. The other four are the cable's mode, the CPU station address in the system block, the master address together with the highest station address, and the tag binding on the screen object. Work through them in that order, with Micro/WIN closed so Runtime can open the COM port at all. And the PPI cable without DIP switches is not the fault: its speed follows the driver setting, so nothing needs setting on the cable and nothing needs buying before the first test.

What the frozen circle tells you #

Put an alarm view with system messages on the test screen before touching any parameter. Without it, a dead link and a quiet link look identical, and every later check is guesswork. Then read the symptom against this table:

What Runtime shows Where the fault sits Next check
A system alarm about the connection, or no connection at all Cable, COM port, baud rate or station addresses Cable mode, system block, addresses
Connection up, but the value never changes Wrong memory area in the tag, or no cyclic acquisition Tag binding
Value changes in the tag table but not on the circle Missing animation on the object Tag binding
No change and no alarms anywhere Connection left offline, or no alarm view on the screen Online state

A circle that never moves, whatever the baud rate, sits in the first or the last row: the link is down, or it is down and invisible.

The PC acts as a master with its own station address, and the S7-200 answers at the address stored in its system block. The CPU port speaks PPI only, so the network profile in the connection must be PPI, never MPI or PROFIBUS. The baud rate lives in three places — the CPU's system block, the PG/PC interface and the HMI connection — and all three must hold the same value. Port ownership counts as much as any parameter: Micro/WIN holds the COM port or USB driver while it is online, and Runtime cannot open the same interface. The identical conflict on another platform explains why one FX3U port cannot serve GX Works2 and WinCC Flexible.

With the programming software offline, the four settings still open after the baud rate, in order:

  1. Cable mode — the DIP switches, or the driver on a switchless cable.
  2. CPU station address — read from the system block.
  3. Master address and highest station address — in the PG/PC interface and the connection.
  4. Online state and tag binding — in the project.

Cable mode: the switches or the driver #

  • A PC/PPI cable with DIP switches sets its converter speed and its PPI mode in the switches. Turn the cable so the status LEDs sit to the right of the switches; a switch flipped up is position 1. Set the switches for the baud rate in use and for PPI — a cable parked in freeport mode behaves as a dead link for Runtime.
  • A cable without DIP switches is not defective and needs no replacement. Its speed follows the setting in the PG/PC interface, so the switch question does not apply. Confirm only that the driver shows in Windows Device Manager without a warning icon, and note the COM number it received.

Either way the mode must be PPI. A baud rate matched everywhere cannot rescue a converter locked to another speed or to the wrong mode.

The CPU station address in the system block #

In Micro/WIN, open the system block and read the communication port in use; the station address and the baud rate are stored per port. A CPU 224 XP carries Port 0 and Port 1, and each port keeps its own address and speed — a change to one never touches the other — so read the entry for the port the cable actually plugs into. The typical factory values are station address 2 at a port speed of 9.6 kbps, but read the real values instead of assuming them.

If you change anything here, download the system block: communication parameters take effect only after the download and a CPU restart or mode cycle, as the download dialog indicates. Reading the block also assumes a Micro/WIN release that supports a CPU 224 XP, so confirm right Micro/WIN version for an S7-200 CPU 224 before the first download attempt.

Master address, highest address and the connection #

On the PC side, open the PG/PC interface and select the entry for the PC/PPI cable with the PPI protocol. Set the baud rate to the CPU's port value, give the PC its own station address — for example 0 — and set the highest station address. That setting is a ceiling: every address on the network must sit at or below it, and a master never polls a station above it. The usual default is 31, and it is the first suspect when the addresses look right yet nothing answers.

In the project, the connection is configured under Project > Communication > Connections. Add a connection with the S7-200 driver and make these fields agree with everything above:

  • the interface — the COM port the cable occupies;
  • the network profile — PPI;
  • the baud rate — the CPU port value;
  • the partner address — the CPU station address from the system block;
  • the master address and highest station address — matching the PG/PC interface.

WinCC flexible 2008 does carry the S7-200 connection, so the tool side needs no upgrade for this case; if the project ever moves to another WinCC generation, settle which WinCC version links to an S7-200 CPU 224XP first.

Online state and the tag binding #

Two project settings produce a perfectly still screen with no error anywhere:

  • A connection left offline. Set the connection to Online; an offline connection never opens the port and raises no alarm for it.
  • An unbound object. The circle needs an appearance or a visibility animation tied to the bit tag for values 0 and 1, and the tag needs cyclic acquisition. If the value changes in the tag table but not on the circle, the binding is the fault — diagnosing whether it is the driver, the tag or the screen walks exactly that split.

Check the tag address against the program too: it must point at the input byte.bit the program actually evaluates, not at a memory area that never moves.

Working the checks on a CPU 224 XP left at address 2 and 9.6 kbps #

Inputs, with where each comes from:

  • CPU: S7-200 CPU 224 XP — the unit on the bench.
  • Cable: PC/PPI cable without DIP switches, so the converter speed follows the driver — the cable on the bench.
  • CPU station address 2 and port baud rate 9.6 kbps — the typical factory values, assumed never changed; the system block read above confirms that.
  • PC master address 0 — an example choice in the PG/PC interface.
  • Highest station address 31 — the usual default.
  • Tag: one input bit, the one the circle is bound to.

The rule, in words: the baud rate must be identical in the system block, at the PG/PC interface and in the connection; the partner address must equal the CPU station address; the master address must differ from the CPU address; and the highest station address must be at least the largest address on the network.

The arithmetic, written out:

  • Addresses present: master 0, CPU 2 — largest = max(0, 2) = 2.
  • Highest-address condition: 31 ≥ 2 — satisfied, with 31 − 2 = 29 addresses of headroom.
  • Collision test: 0 ≠ 2 — no duplicate master.
  • Baud chain: 9.6 kbps (system block) = 9.6 kbps (PG/PC interface) = 9.6 kbps (connection) — equal.

Result: with these values and the programming software offline, a scan lists the CPU, Runtime raises no connection alarm, and the circle follows its input bit.

The decision forks on the scan. If the CPU is listed, cable, port and parameters are proven, and a still-frozen circle is a project fault — the binding or the online state, fourth check. If nothing is listed, the fault sits below the project — cable mode, COM port or baud, first three checks. And the moment any address on the network rises above the configured highest station address, raise that ceiling above the largest address before anything else, because a station above it is never polled.

Faults that return after the first fix #

  • Baud rate changed in one of its three homes only. The system block, the PG/PC interface and the connection each store it; change all three, then download the block and cycle the CPU.
  • The wrong port entry on a two-port CPU. Port 1 may hold a different address or speed from Port 0; read the block for the port in use.
  • Two masters at one address. Give the PC and any panel distinct addresses — a panel sharing the net, as in connecting a Weintek MT8050iE to an S7-200 over PPI, needs the same agreements from its side, at its own address.
  • Another program holding the interface. Close every PPI utility on the PC, not only the programming package, while Runtime runs.
  • An offline connection or a missing alarm view. Both leave a static screen without a visible error.

Siemens support also publishes a worked example project for S7-200-to-HMI communication; loading it and comparing its connection parameters line by line against yours catches typos that re-checking your own numbers never will.

Verification #

Two checks close the job:

  1. With Micro/WIN online only for this step, the station scan in its communications dialog lists the CPU at the station address from the system block. Expected: the CPU found, at the configured baud rate.
  2. With Micro/WIN closed again, the Runtime alarm view stays clear across several acquisition cycles and the circle follows its input. Expected: no communication alarm, and a screen change for every toggle.

If the circle still will not move with the link proven, swap the wired input for an internal memory bit the program toggles on a timer — or one of the CPU's built-in clock bits — and watch that instead. When the internal bit moves the circle, the link and the tag path are good and the fault is the input address or the field wiring. Run the toggle test with the machine stopped or the outputs disabled; toggling a real input can drive real outputs through the program.

Questions asked

Can an operator panel and the PC Runtime both act as masters on the same PPI network?

Yes. PPI carries more than one master provided each has its own station address and the highest station address setting covers every address in use. For the first test, unplug the panel so only the PC talks; once the circle follows its input, reconnect the panel at its own address and confirm both masters again.

Should I use the CPU 224 XP's second port to keep Micro/WIN online while Runtime runs?

Yes. With a two-port CPU you can leave the programming PC on one port and Runtime on the other, which removes the need to close Micro/WIN between tests. Point the connection at the port the HMI cable uses, give the two ports different addresses so the two masters never collide, and read each port's entry separately when checking.

Why does the link fail after moving a USB-to-PPI adapter to another USB socket?

Windows can hand the adapter a new COM number when it enumerates on a different USB socket. The PG/PC interface and the HMI connection still point at the old number, so the link dies with no visible hardware fault. Check the current number in Device Manager, select it again in both places, and keep the adapter on its original socket.

Keep reading

  • Troubleshooting

    Why an OP77B project transfer fails over PROFIBUS at 1.5 Mbps

    A failed OP77B download over PROFIBUS is a settings mismatch, not a dead panel: the PC adapter must run at the segment's baud rate, the DIP-set PROFIBUS address must match both the panel's Transfer settings and the STEP 7 slave entry, and the panel must sit in transfer mode with automatic transfer off for the first download. Clear the only-master setting when the S7-315 shares the segment.

    HMI and touchscreens

  • Explainer

    Which WinCC Version Links to an S7-200 CPU 224XP

    The installed product name decides the link. WinCC flexible connects through its own S7-200 driver over PPI; the classic WinCC SCADA line has no S7-200 channel and needs SIMATIC PC Access as an OPC server between the runtime and the CPU, with the tags created in PC Access first.

    HMI and touchscreens

  • How-to

    Connecting a Siemens CPU315 to a Pro-face HMI over MPI RS-485

    The CPU315's MPI socket is an RS-485 multi-point interface, so standard PROFIBUS Type A cable and quick connectors are the right link: data A on pin 8, data B on pin 3, termination on at both ends. Keep the CPU at its default MPI address 2 and 187.5 kbit/s, run GP-Pro EX's SIMATIC S7 MPI Direct driver, and point its PLC station at the CPU.

    HMI and touchscreens

Connecting a PanelView Plus to a Mitsubishi FX PLC over RS-422