WinCC Flexible Runtime: S7-200 Multi-PLC Connection Limits
Overview
WinCC Flexible Runtime (WinCC flexible RT) is the PC-based HMI runtime that pairs with the SIMATIC HMI panel configuration tool of the same name. The system supports direct communication with the SIMATIC S7-200 micro-PLC family over MPI or PROFIBUS DP using a Siemens PC communication card such as the CP 5611 (PCI) or CP 5612 (PCIe). A common integration task is to aggregate 20 or more S7-200 (CPU 226 classic) stations into one supervisory PC, but the runtime enforces a hard ceiling: only 8 simultaneously active HMI connections can be configured per WinCC flexible RT instance. This reference explains the underlying architecture, walks through DP slave configuration of the S7-226, and outlines the field-proven strategies for scaling beyond 8 PLCs.
WinCC Flexible Connection Architecture
Every WinCC flexible project — whether targeting a Panel or the PC Runtime — has a Connections editor. Each row in that editor represents one logical HMI-to-PLC link, and the runtime instantiates a separate communication task for every configured connection. The left side of a connection row is fixed: the local HMI / Runtime instance. The right side is the partner (the CP 5611, the CP 5612, an onboard MPI/DP port, or an Ethernet option module), which in turn talks to the S7-200.
| WinCC flexible target | Max connections | Typical use |
|---|---|---|
| Panel (8-line, OP 73, TP 177) | 1–2 | Single-machine HMI |
| Panel (TP/OP 277, MP 277, MP 377) | 4–6 | Mid-range multi-PLC panel |
| WinCC flexible PC Runtime (standard) | 8 | Supervisory PC |
| WinCC flexible PC Runtime (with PowerTags option) | 8 + extended tag count | High-tag-count SCADA-like use |
For the PC Runtime, the documented maximum is 8 logical connections, regardless of the underlying bus. The limit is enforced at compile time and at runtime startup — the Runtime will refuse to come up if more than 8 connections are present in the project. The same document that defines the limit also defines the S7-200 partner behaviour: when an S7-200 is paired with WinCC flexible RT, it must be operated only as a DP slave on PROFIBUS. See the official Siemens application note "S7-200 and SIMATIC Panels or WinCC flexible PC Runtime" (Siemens Support, attachment 28263099).
The 8-Connection Limit Explained
The 8-connection ceiling is a license, resource, and tag-database limitation rolled into one. Each connection consumes one communication channel of the underlying PC communication hardware (e.g., CP 5611) and one tag database partition. The CP 5611 itself supports far more DP slaves on its wire — the PROFIBUS stack on a CP 5611 typically allows up to 64 DP slaves per segment and 126 station addresses on the bus — but WinCC flexible RT does not allow you to map more than 8 of those slaves into its connection table.
S7-200 Communication Protocols
The S7-200 CPU 226 classic provides two onboard RS-485 ports (Port 0 and Port 1) that natively speak PPI and MPI. PROFIBUS DP is added through the optional EM 277 PROFIBUS DP slave module plugged into the CPU's right-side expansion bus. For WinCC flexible RT integration, the EM 277 is the recommended path because it provides galvanic isolation, deterministic DP cycle times, and the baud rates that the CP 5611 expects.
| Interface | Module | Protocols | Max baud rate | Max cable / segment | Notes |
|---|---|---|---|---|---|
| Port 0 (RS-485) | Onboard | PPI, MPI, Freeport | 187.5 kbps (PPI/MPI); 38.4 kbps (Freeport typical) | 50 m at 187.5 kbps; 1200 m at 9.6 kbps | Default engineering port (Micro/WIN) |
| Port 1 (RS-485) | Onboard | PPI, MPI, Freeport | 187.5 kbps | Same as Port 0 | Available for HMI / peer link |
| EM 277 | Expansion module | PROFIBUS DP slave | 12 Mbps | 100 m at 12 Mbps; 1000 m at 187.5 kbps | DP slave only; supports up to 16 words of inputs and 16 words of outputs |
For the use case of 20 S7-226 stations in a 25 m line (1 m pitch), the EM 277 at 12 Mbps is the practical choice: at 12 Mbps the maximum trunk segment is 100 m, well within the 25 m physical extent, and termination is straightforward.
Hardware Prerequisites
- PC communication card. Siemens CP 5611 (PCI, PROFIBUS/MPI up to 12 Mbps) or CP 5612 (PCIe). Driver installed via SIMATIC NET PC software; the card must appear in the Windows Device Manager under "SIMATIC NET" with no yellow bangs.
- PROFIBUS cable. Siemens 6XV1 830-0AH10 (violet, 2-core, shielded, characteristic impedance 150 Ω) or equivalent PROFIBUS DP cable. Strip length 5–7 mm; do not untwist the pair more than necessary.
- PROFIBUS connectors. Siemens 6GK1 500-0FC10 (with PG socket and 220 Ω termination switch) at both physical ends of the bus. Activate the terminating resistor ON at the first and last connector, OFF everywhere else.
- EM 277 PROFIBUS DP slave module on every S7-226. Order number 6ES7 277-0AA22-0XA0 (last compatible FW version 2.1 for classic S7-200 series).
- STEP 7 Micro/WIN V4.0 SP9 or later for S7-200 project transfer and EM 277 address/configuration.
- WinCC flexible 2008 SP5 (or SP5 + HF7 for Windows 10 support) with the WinCC flexible PC Runtime license key.
Configuring the S7-200 (CPU 226) as a DP Slave
The S7-200 is a DP slave only on the EM 277. It cannot be a DP master. The DP master in this topology is the CP 5611 on the PC, and the EM 277 exposes a fixed set of input and output slots that the master can read or write.
- Power down the S7-226, snap the EM 277 onto the right side of the CPU until the latch clicks, power back up. The SF (system fault) LED on the EM 277 should extinguish after about 5 s.
- Open STEP 7 Micro/WIN. From the menu select Tools → EM 277 Configuration (or use the wizard in the Instruction Tree under Wizard → PROFIBUS). Set the DP slave address in the range 3–99. Addresses 0–2 are reserved; 1 is the CP 5611 master by default.
- Set the I/O mapping. The EM 277 supports up to 16 words of inputs and 16 words of outputs. Typical mapping for an HMI is:
Master output area → S7-200 V-memory (e.g., VW100)andS7-200 V-memory (e.g., VW200) → master input area. The exact offsets are configured in the EM 277 wizard and exported to a GSD file for the master. - Download the project to the S7-200. Cycle power on the EM 277 to make the new address active.
Configuring the WinCC Flexible PC Runtime Connection
- Open the WinCC flexible project in the engineering station. In the project tree, double-click Connections.
- Click the first empty row. The Communication Driver on the right (the partner side) must be set to SIMATIC S7-200. The driver dialog opens.
- In the driver dialog, set:
- Station address = the PROFIBUS address of the EM 277 you set in Micro/WIN (e.g., 3).
- Master address = the CP 5611 PROFIBUS address (typically 1).
- Bus profile = PROFIBUS, baud 12 Mbps (or 1.5 Mbps if you use a 1.5 Mbps PROFIBUS segment for longer reach).
- Slot = the EM 277 input/output slot used for the data exchange (default 0, 1, 2, 3 depending on I/O width).
- Click OK. The connection row is filled. Repeat for up to 7 more S7-200 stations, each with its own unique PROFIBUS address and its own connection row.
- In the tag editor, browse the S7-200 area via the connection. Use the address syntax
V(V-memory),I/Q(process image, if mirrored),M(bit memory),AI/AQ(analog), andDBis not available on the S7-200 (no DBs — use V-memory instead). - Compile the project and start the WinCC flexible Runtime. The status bar in the Runtime should show all 8 connections in the green "connected" state.
Reading and Writing S7-200 Tags from WinCC flexible
The S7-200 tag addressing in WinCC flexible follows the standard SIMATIC syntax but is restricted to the S7-200 memory model. A common mapping is shown below.
| WinCC flexible address | S7-200 area | Width | Example usage |
|---|---|---|---|
V0.0 – V511.7 |
Variable memory (bit) | Bit | Boolean flags, handshakes |
VB0 – VB5119 |
Variable memory (byte) | 8 bits | Counters, status words |
VW0 – VW5118 |
Variable memory (word) | 16 bits | Process values, recipes |
VD0 – VD5116 |
Variable memory (double word) | 32 bits | Long counters, 32-bit floating (REAL) |
I0.0 – Ix.y |
Process input (digital) | Bit | Push-buttons, sensors |
Q0.0 – Qx.y |
Process output (digital) | Bit | Coils, lamps |
AIW0, AQW0 |
Analog input / output | 16 bits (word) | 4–20 mA, 0–10 V |
SMB0 – SMB299 |
Special memory | Byte | System status, scan time |
Scaling Beyond 8 S7-200 PLCs
Three field-proven strategies exist to reach 20 S7-226 stations. The choice depends on license budget, long-term project direction, and how much engineering rework is acceptable.
Strategy A — Multiple WinCC flexible RT instances on one PC
Run two or three WinCC flexible RT instances side by side, each with up to 8 connections. Each instance is launched as a separate Windows process and binds to a separate CP 5611 (or to a different logical interface on the same card if the bus is shared and a PROFIBUS repeater is used). Field engineers commonly use this approach when the project is locked to WinCC flexible and the existing HMI panels must remain.
- Create ProjectA with connections to S7-200 stations 1–8 and ProjectB with connections to stations 9–16. A third project, ProjectC, takes 17–20.
- Install a second CP 5611 for the second instance, or place a PROFIBUS repeater (Siemens 6GK1 500-0AA00) to split the bus and keep the stubs short.
- Configure the start order and recovery in Windows Task Scheduler or in the WinCC flexible autostart settings. Use one "head" Runtime with a navigation screen that opens the others as picture windows if user-friendliness is required.
Strategy B — S7-200 PC Access as the OPC aggregator
Use the free Siemens S7-200 PC Access OPC server as the gateway to the S7-200 bus. S7-200 PC Access can address many more than 8 S7-200 stations over MPI/PPI/DP. The OPC server then exposes all PLC tags to a single WinCC flexible RT instance through the OPC channel. This bypasses the WinCC flexible RT native 8-connection ceiling because the OPC driver uses a single "connection" entry that points to the OPC server instead of directly to a CPU.
- Install S7-200 PC Access on the supervisory PC and add one item per S7-200 station by browsing the PC Access tag list.
- In WinCC flexible, change the connection driver from SIMATIC S7-200 to OPC and point it at the local S7-200 PC Access server.
- Map WinCC flexible tags to OPC items. The quality code and timestamp from OPC are preserved on the HMI tags.
Strategy C — Migrate to WinCC Professional / TIA Portal
WinCC Professional (part of the TIA Portal engineering suite) does not have the 8-connection ceiling. The lowest WinCC Professional license tier supports 16 connections; the higher tiers support 64, 256, 512, and 3,200 PowerTags with up to 16 S7 connections, while WinCC Professional as part of WinCC V7.x can scale to 128 or more connections. A migration of the 20-PLC project to TIA Portal / WinCC Professional is the recommended long-term path for any new system, but it requires:
- Re-creating the HMI screens (WinCC flexible to WinCC Comfort/Advanced via migration tool, then on to WinCC Professional if needed).
- Converting STEP 7 Micro/WIN programs to STEP 7 Basic / S7-1200 — the S7-200 is a discontinued platform, so a true "scale-up" usually means S7-1200 with the original wiring retained and the EM 277 swapped for a CM 1243-5 PROFIBUS master on the supervisory side.
Network Topology and Cable Lengths
For the 20-PLC, 25 m total extent, 1 m pitch scenario, a single PROFIBUS segment at 12 Mbps is feasible but tight. The DP standard mandates 100 m segment length at 12 Mbps. With 25 m total and EM 277 stubs up to 1 m each, you are well within the limit. A recommended topology is a backbone PROFIBUS cable run past the line of 20 PLCs, with short stubs (≤ 1 m) tapping each station via a 6GK1 500-0FC10 connector with the PG socket capped.
| Baud rate | Max segment (trunk, no repeater) | Recommended for this project |
|---|---|---|
| 9.6 kbps | 1200 m | Overspec for 25 m |
| 187.5 kbps | 1000 m | Yes, if longer runs are added |
| 1.5 Mbps | 200 m | Yes, safe headroom |
| 12 Mbps | 100 m | Yes, fastest, fits 25 m easily |
Troubleshooting Matrix
| Symptom | Likely cause | Diagnostic | Remedy |
|---|---|---|---|
| Runtime reports "Connection failed" for all stations | CP 5611 driver not loaded / wrong interface | SIMATIC NET Commissioning diagnostic, set PG/PC interface to CP 5611 (PROFIBUS) | Re-install SIMATIC NET, set the PG/PC interface in Windows Control Panel |
| One station shows SF on the EM 277 | Duplicate PROFIBUS address or wrong I/O mapping | Read CP 5611 diagnostic buffer | Re-number the offending EM 277, verify the slot mapping matches the GSD |
| Tags show "#" or question-mark quality | Wrong area or DB reference (S7-200 has no DBs) | Cross-check tag address in WinCC flexible against V-memory map | Replace DB1.DBW0 with VW0 or VD0
|
| Compile error: "More than 8 connections" | Project exceeds WinCC flexible RT limit | Inspect Connections editor | Split project (Strategy A) or move to OPC (Strategy B) or migrate (Strategy C) |
| Random dropouts every few minutes | Termination not at both physical ends, or cable damaged | Inspect with PROFIBUS tester or oscilloscope on the differential voltage | Activate terminating resistor on the two end connectors; replace cable |
| Newly added PLC is invisible | EM 277 not cycled after address change | EM 277 BF LED on | Power-cycle the EM 277; verify address in Micro/WIN |
Verification
After commissioning, run the following verification sequence:
- Open the WinCC flexible Runtime. In the Tools → Diagnostics → Connections view, confirm all configured connections show a green "connected" icon.
- Toggle a tag in the HMI (e.g., a momentary button that writes
1toVW100) and read it back in the Runtime tag list. The value should round-trip in under 1 s at 12 Mbps. - Disconnect the PROFIBUS connector at one EM 277. The Runtime should report "connection lost" for that station only; all others remain green. This confirms the per-connection fault isolation.
- Reconnect and confirm the Runtime re-establishes the connection without needing a restart of the Runtime itself.
Field-Proven Caveats
- The S7-200 platform has been officially discontinued. For new installations, weigh the S7-200 vs. S7-1200 decision. The wiring, addressing, and toolchain are not interchangeable.
- The CP 5611 is a PCI card and may not be available on modern industrial PCs. The CP 5612 (PCIe) or CP 5622 are the modern equivalents. The driver is the same SIMATIC NET package.
- WinCC flexible itself is in the "legacy" phase, with TIA Portal / WinCC Comfort & Professional as the supported successor. Plan a migration path before the S7-200 / WinCC flexible stock becomes unobtainable.
- For very long busses or harsh EMC environments, fibre-optic PROFIBUS (OLM / OBT) is a field-proven alternative to copper and is immune to ground loops across long distances.
FAQ
Why does WinCC flexible Runtime limit me to 8 S7-200 connections?
The limit is enforced in the WinCC flexible RT connection editor and at runtime startup; the documented maximum is 8 logical HMI connections per RT instance regardless of the bus type. The CP 5611 itself supports far more DP slaves, so the cap is in the WinCC flexible software, not the hardware. See the official Siemens note S7-200 and SIMATIC Panels or WinCC flexible PC Runtime.
Can a S7-200 CPU 226 act as a PROFIBUS master to talk to WinCC flexible RT?
No. The S7-200 can only operate as a DP slave on PROFIBUS, and only through the EM 277 expansion module. The DP master on the bus is the PC communication card (CP 5611 or CP 5612) on which WinCC flexible RT is running.
How many S7-200 stations can I connect on one WinCC flexible RT connection entry?
Exactly one S7-200 station per connection entry. The 8-connection limit means a single WinCC flexible RT instance can supervise a maximum of 8 S7-200 CPUs. To reach 20, use multiple RT instances, the S7-200 PC Access OPC aggregator, or migrate to WinCC Professional / TIA Portal.
What is the maximum PROFIBUS DP cable length for 20 S7-200 stations at 1 m pitch and 25 m total extent?
At 12 Mbps the standard PROFIBUS segment is 100 m, so a 25 m line is well within the limit. For a 1.5 Mbps segment the maximum is 200 m, and at 187.5 kbps the segment can run to 1000 m. The CP 5611 and EM 277 both support all three rates; pick the one that matches your bus plan and termination.
What replaces the CP 5611 on a modern PC without a PCI slot?
Use the CP 5612 (PCIe) or CP 5622 (PCIe), both shipped with the same SIMATIC NET PC software. The configuration dialog in WinCC flexible is unchanged — only the device name in the PG/PC interface settings changes from "CP 5611" to "CP 5612" or "CP 5622".