Establishing S7-200 to TP177A MPI Communication Cable, Baud

David Krause13 min read
S7-200SiemensTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Establishing S7-200 to TP177A MPI Communication: Cable, Baud Rate, and System Block Setup

This technical reference documents the exact parameter set, cable, and configuration procedure required to bring a SIMATIC S7-200 CPU 224 XP (or CPU 226) online with a SIMATIC TP 177A panel over MPI. It is built around a real field failure where inputs triggered from the HMI did not switch in the PLC despite correct cabling, and walks through the system-block and WinCC Flexible settings that restore the link.

1. Problem Description

Reported field configuration:

  • Controller: SIMATIC S7-200 CPU 224 XP (also applicable to CPU 226 in the extended scenario).
  • HMI: SIMATIC TP 177A (6 inch mono/stereo color panel, PN/DP and MPI variants exist).
  • Cable: 6ES7 901-0BF00-0AA0 (PC/PPI USB-to-MPI multi-master cable, originally a programming cable).
  • HMI MPI address (node): 1.
  • PLC MPI address (node): 2.
  • Baud rate: 187,500 bit/s (the default MPI/PPI rate for the S7-200 PPI port operating as MPI).
  • TP 177A DIP switches: all OFF (factory default).

Observed symptom: Triggering an input or memory bit on the TP 177A did not toggle the corresponding tag in the PLC. No process values updated on the panel. The cable type is officially listed as suitable for the TP 177A, so the issue is configuration, not hardware.

The 6ES7 901-0BF00-0AA0 cable is identified in the Siemens Panels_Connecting_Cables manual as valid for the TP 177A for process coupling, project download, and operating-system update. Cable hardware is not the fault vector.

2. Root Cause Analysis

Two separate, complementary configuration steps must agree before the S7-200 and TP 177A can exchange data:

  1. The S7-200 system block (configured in STEP 7 Micro/WIN) must declare a usable port address and baud rate on Port 0 (or Port 1 on the CPU 226).
  2. The WinCC Flexible (TIA Portal or stand-alone) project connection on the TP 177A must declare the same port number and baud rate, plus the correct MPI address pairing and the master mode flag.

When only the cable, addresses, and baud rate are matched at the hardware layer, but the Micro/WIN system block leaves Port 0 set to the default PPI slave personality at 9,600 bit/s, the panel's MPI frames are rejected by the CPU. Similarly, if the TP 177A connection leaves the "Panel is the only master on the bus" option enabled while the S7-200 is configured as a PPI/MPI slave without that expectation, polling fails silently.

The second failure mode is more subtle: the TP 177A will power up, display its screens, and report "Connect to PLC ... status: connection failed" or "No connection to PLC" without raising an alarm. Field users often interpret this as a hardware fault and change cables that were never defective.

3. Hardware Reference

3.1 SIMATIC S7-200 CPU 224 XP and CPU 226 Port Pinout

Both the CPU 224 XP (6ES7 214-2AD23-0XB0 and successors) and CPU 226 (6ES7 216-2AD23-0XB0 and successors) expose one RS-485 port on the bottom of the CPU. The CPU 226 adds a second RS-485 port (Port 1). The TP 177A MPI connection uses Port 0 by default.

Pin (RJ-50) Signal Direction
3 RS-485 B (Data+) Bidirectional
8 RS-485 A (Data-) Bidirectional
5 Shield / GND Reference
1, 2, 4, 6, 7, 9, 10 Reserved / +5 V (do not use) -

3.2 MPI Cable 6ES7 901-0BF00-0AA0

This is the PC-Adapter style USB-to-RS-485 cable, terminated to a 9-pin sub-D male on the panel side. It is a multi-master cable: it can be used on a bus that already contains a master (such as the TP 177A) without terminating the bus. Internal DIP switches on the cable select PPI/MPI/DP mode and 9.6 kbps / 19.2 kbps / 187.5 kbps. For an S7-200 ↔ TP 177A link between the CPU and the panel, the cable is used only as the physical media - the panel itself is the master on the bus segment; the cable's PC end is not used.

3.3 TP 177A DIP Switches

All DIP switches OFF (factory default) leaves MPI address 1 and baud rate 187.5 kbps active, which matches the S7-200 factory PPI default. When connecting to an S7-200, leave the switches OFF unless the bus master address collides with another node.

4. Communication Parameters Reference

The S7-200 ↔ TP 177A link is a multi-drop RS-485 bus running the PPI/MPI protocol at one of the following fixed rates. The S7-200 PPI/MPI port does not auto-negotiate - both ends must be set to the same value.

Baud rate (bit/s) Micro/WIN System Block value WinCC Flexible Connection value TP 177A DIP rate
9,600 9.6 kbps 9.6 kbps DIP 1=ON, 2=OFF
19,200 19.2 kbps 19.2 kbps DIP 1=OFF, 2=ON
187,500 187.5 kbps 187.5 kbps All OFF (default)

The 187,500 bit/s rate is the only rate supported by the TP 177A's MPI port for S7-200 coupling. Avoid 9.6 kbps / 19.2 kbps for S7-200 - the panel will not negotiate below 187.5 kbps for an S7-200 target.

5. STEP 7 Micro/WIN System Block Configuration

Open the S7-200 project, expand the System Block tree, and select the port used for the HMI (Port 0 on CPU 224 XP, Port 0 or Port 1 on CPU 226). Configure as follows:

  1. Port 0 (or Port 1 if used) → address: 2.
  2. System block address fields for the CPU are 1 by default; override to 2 to match the TP 177A node 1 in the panel's connection table.
  3. Set baud rate to 187.5 kbps via the dropdown.
  4. Set Mode to PPI slave (or PPI master if the CPU will be reading other PPI slaves). For a single-CPU link to a panel, PPI slave is correct.
  5. Leave Multiple Master unchecked unless a second master (e.g., a Micro/WIN PC on the same bus) will be present.
  6. Click OK, then download the system block to the CPU. Micro/WIN prompts to download the system block on first compile; this is mandatory - storing the project is not enough.
The S7-200 stores the port address in non-volatile memory. A cold start of the CPU does not change it, but a factory reset or firmware update that clears the system data area will. After any such event, re-download the system block.

6. WinCC Flexible Connection Configuration

In the WinCC Flexible project (WinCC Flexible 2008 SP5 or WinCC Comfort/Advanced in TIA Portal V15.1 and later for TP 177A targets):

  1. Open Project → Connections.
  2. Add a connection of type SIMATIC S7-200.
  3. Set the HMI device address: 1.
  4. Set the PLC address: 2.
  5. Set the Interface to IF 1B (MPI / PROFIBUS) for the TP 177A.
  6. Set the Baud rate to 187.5 kbps.
  7. Open the panel's Control Panel → MPI / PROFIBUS Settings on the device (or via the WinCC Flexible Transfer settings) and uncheck "Panel is the only master on the bus" only if a second master is on the bus. For a single S7-200 + TP 177A segment, leave this option checked; for a segment that also carries a Micro/WIN programming PC, uncheck it.
  8. Compile the project and transfer to the TP 177A via Ethernet or USB-PPI.

7. Multi-Master Communication: TP 177A + WinCC Flexible Runtime + S7-200 CPU 226

The follow-up requirement was to run both the TP 177A and a WinCC Flexible Runtime on a PC simultaneously against the same S7-200 CPU 226 bus. This is a standard multi-master PPI/MPI segment.

7.1 Node Plan

Node Address Role Baud rate
TP 177A 1 MPI master (panel) 187.5 kbps
S7-200 CPU 226 Port 0 2 PPI slave 187.5 kbps
WinCC Flexible Runtime (PC) 3 MPI master (PC adapter) 187.5 kbps

7.2 Configuration Steps

  1. In the S7-200 system block, set Port 0 to address 2, PPI slave, baud rate 187.5 kbps, and Multiple Master = enabled. This is mandatory so the CPU's token rotation is aware of two masters on the bus.
  2. In the TP 177A control panel, uncheck "Panel is the only master on the bus". Without this change, the panel will hold the token and ignore other masters, breaking the PC Runtime connection.
  3. Set the PC adapter's MPI address to 3, baud rate 187.5 kbps, in the PC adapter properties. The same PC adapter can then be used both for programming and for the WinCC Flexible Runtime HMI tag service.
  4. Make sure the panel project, the Runtime project, and Micro/WIN use disjoint MPI address ranges so a future addition (e.g., a second panel on address 4) does not collide.
The S7-200 PPI port is a single RS-485 transceiver shared between Port 0 and Port 1 logic; both ports cannot transmit at the same instant. The CPU arbitrates internally. Do not wire two physical segments to the same CPU and expect true parallel access - the bus is half-duplex.

8. Verification Procedure

  1. Power-cycle the TP 177A. The connection status indicator (bottom-right of the project screen) should change from a red broken-link icon to a green chain within 5-10 s.
  2. In the TP 177A Control Panel → OP / Diagnostics → Connection Status, verify that the configured connection shows Connected with the correct remote address (2).
  3. In Micro/WIN, use PLC → Information → CPU Status and confirm the port address is 2 and the baud rate is 187.5 kbps. If the system block was not downloaded, this dialog will show the factory defaults (address 2, 9.6 kbps PPI).
  4. Toggle a discrete input mapped to a V-memory bit from the panel. The bit should change in the Micro/WIN Status Chart within one scan.
  5. Force a process value display on the panel and confirm the value tracks the PLC's VW/VB at the configured update rate.

9. Troubleshooting Matrix

Symptom Likely cause Corrective action
Panel shows "No connection to PLC" Baud rate mismatch (panel at 187.5 kbps, PLC at 9.6 kbps default) Re-download Micro/WIN system block at 187.5 kbps
Status icon stays red, no project download TP 177A DIP switch 1 or 2 forced a different rate Set all DIP switches OFF
Panel connects only when Micro/WIN is online Multiple Master flag not set on PLC, panel is sole master, PC steals token Enable Multiple Master in PLC system block, uncheck "Panel is the only master" in panel
Inputs from HMI flicker on PLC Address overlap (e.g., TP 177A node 1, PLC node 1) Set PLC address to 2 in system block
Runtime on PC connects, panel does not Two masters fighting for token with inconsistent "only master" flags Uncheck "Panel is the only master" in TP 177A control panel
Communication works, then drops after 30-60 s Token timeout mis-configured; cycle time exceeded Reduce number of polled tags, raise acquisition cycle, or lower baud rate to 19.2 kbps (only if S7-200 / panel support it - not for TP 177A)
All tags show "####" or zero Area-pointer or DB mapping incorrect in WinCC Flexible connection Re-verify the connection's area pointer table; for S7-200 the connection uses V-memory and bit memory, not DB

10. Diagnostic Aids

On the TP 177A, the Control Panel → OP / Diagnostics → Connection page lists each configured connection and its live status (Connected / Disconnected / Error). The error code field uses standard MPI/PPI diagnostic codes:

  • 0x0001 - timeout, panel did not receive an acknowledge within the watchdog window.
  • 0x0002 - frame error, RS-485 parity or overrun on the physical layer.
  • 0x0003 - bus short-circuit, A and B tied together; inspect cable and shield grounding.
  • 0x0004 - duplicate station address detected on the bus.

On the S7-200 side, the diagnostic LEDs on the CPU (SF/DIAG, BF for bus fault) will illuminate if a permanent bus error is detected. A solid BF LED means the CPU port is configured for a baud rate the panel cannot match; a flashing BF indicates a transient bus error such as a duplicate address or a disconnected cable.

11. Cable, Termination, and Shielding Notes

The 6ES7 901-0BF00-0AA0 cable has internal termination. For a short two-node segment (panel ↔ CPU) under 5 m, no external termination is required. For longer runs approaching 50 m, place a 220 Ω termination resistor between A and B at each end of the bus, with a 390 Ω pull-up to +5 V on the B line and a 390 Ω pull-down to GND on the A line at one end only. Standard PROFIBUS DP purple cable (6XV1 830-0EH10) is the recommended medium.

Ground the cable shield at one end only - typically at the panel's ground stud - to avoid ground-loop currents. The S7-200 port pin 5 is the shield connection point; do not tie shield to earth at both ends.

12. Field-Proven Caveats

  • Micro/WIN does not warn when the system block being downloaded differs from the one in the project. After a project change, right-click the system block and select Download explicitly.
  • The TP 177A's MPI address is stored in the panel's project, not in DIP switches, once a project is loaded. Re-loading a project with a different HMI address silently overwrites the previous address.
  • When the TP 177A is the sole master, set the PLC's Multiple Master flag to disabled. Enabling it without a second master on the bus causes the CPU to wait for a token holder that does not exist, and the panel will see a timeout.
  • For an S7-200 → TP 177A link, the WinCC Flexible connection is always a single-master, single-slave configuration in the software sense, even when the bus carries multiple masters. The connection object is bound to one remote address.
  • Do not use the S7-200's Port 0 and Port 1 simultaneously on the CPU 226 for two HMI panels at 187.5 kbps unless the polled area count on each port is small; the single RS-485 transceiver becomes the bottleneck.

FAQ

Is cable 6ES7 901-0BF00-0AA0 the correct MPI cable for TP 177A to S7-200?

Yes. The Siemens Panels_Connecting_Cables manual lists 6ES7 901-0BF00-0AA0 as approved for the TP 177A for process coupling, project download, and operating-system update. It is a multi-master RS-485 cable, so it is safe to leave on the bus with the panel active.

What baud rate do I set in Micro/WIN and WinCC Flexible for an S7-200 to TP 177A link?

Set both sides to 187.5 kbps. This is the only rate the TP 177A supports for an S7-200 target. Configure the baud rate in the Micro/WIN system block for Port 0 and in the WinCC Flexible connection's IF 1B (MPI/PROFIBUS) settings, with all DIP switches OFF on the panel.

Why does the TP 177A connect only when Micro/WIN is online?

The PLC's PPI/MPI port defaults to "single master only" mode. The PC programming tool acts as the master when it is online, and the panel takes over when it is. To have both online at the same time, enable the Multiple Master flag in the S7-200 system block and uncheck Panel is the only master on the bus in the TP 177A's MPI settings.

Can I run WinCC Flexible Runtime and TP 177A on the same S7-200 bus at the same time?

Yes. Use the CPU 226 with Port 0 at address 2, baud rate 187.5 kbps, PPI slave, Multiple Master enabled. Set the TP 177A to address 1, the PC Runtime / PC adapter to address 3, and uncheck "Panel is the only master on the bus" on the panel. All three nodes share the same bus at 187.5 kbps.

The panel shows "No connection to PLC" but the cable is correct. What is the first thing to check?

Verify that the system block has actually been downloaded to the CPU - not just compiled. Open PLC → Information → CPU Status in Micro/WIN. If the port address is 2 but the baud rate shows 9.6 kbps, the system block download was skipped, and the panel cannot match 187.5 kbps. Download the system block again.

Back to blog