Configuring Maximum S7 Connections on a SIMATIC PC Station
The maximum number of S7 communication connections a PC Station can host in a SIMATIC environment is bounded primarily by the PLC hardware, not by the PC Station's own configuration. Field engineers routinely configure 20+ S7 connections against an S7-200 CPU 224, and STEP 7 has been demonstrated to compile more than 50 S7 connections in a single PC Station project. The two binding constraints are (a) the connection resource table published in the CPU's communication properties and (b) the available Ethernet/PROFIBUS bandwidth between the PC Station and the PLC subnet.
This reference covers the architecture that defines an S7 connection, where to read the connection limit for an S7-200 CPU, how STEP 7 and SIMATIC NET enumerate connection resources, why an OPC server does not consume an S7 connection, and how to verify the resulting PC Station topology before commissioning.
1. Connection Resource Model in S7 Systems
Every S7 CPU exposes a finite connection resource table. Each entry in that table represents one of the following:
- PG connection (programming device online access)
- OP connection (HMI panel)
- S7 connection (PUT/GET, USEND/URCV, BSEND/BRCV, fetch/write)
- Passive/active S7 connection (transport partner: PC Station, another PLC, third-party device)
- Reserved connection (used internally by Siemens firmware services)
The S7-200 family uses a different connection model than the S7-300/400/1200/1500 families. The S7-200 CPU 224 supports a fixed number of communication resources that are shared between:
| CPU 224 Communication Resource | Typical Allocation |
|---|---|
| PG mode (PPI / MPI / Ethernet via CP 243-1) | 1 reserved for programming |
| OP/HMI connection | Up to 2 simultaneous HMI partners |
| Freeport / USS / Modbus RTU master | 1 per configured port |
| Open User Communication / Ethernet (CP 243-1/243-1 IT) | Up to 8 connections per CP |
| S7 peer-to-peer (PUT/GET) | Consumes an S7 connection slot |
For exact values on the CPU 224, consult the S7-200 Programmable Controller System Manual at the Siemens Industry Online Support portal (support.industry.siemens.com). The number quoted for a specific CPU variant (CPU 224, CPU 224 AC/DC/RLY, CPU 224 XP, CPU 224XPs) can differ between firmware revisions, so always cross-reference the manual with the firmware version on the CPU's front panel label.
2. Where to Read the Connection Limit in STEP 7
The PC Station and the PLC expose their connection limits in two distinct places inside STEP 7 V5.x:
- Open the S7 project in SIMATIC Manager.
- Double-click Hardware on the S7-200 station (or on the PC Station for the PC side).
- In HW Config, right-click the CPU (or the PC Station's WinCC application / OPC server slot) and select Object Properties.
- Open the Communication tab.
- Read the Connection resources table — STEP 7 lists each configured connection, the local endpoint, the partner endpoint, and the connection type.
The Communication tab also reports maximum possible vs currently configured S7 connections. If the local endpoint (the PLC) is fully saturated, STEP 7 displays the entry in red and refuses to compile the configuration. If the partner endpoint (the PC Station) is saturated, STEP 7 likewise blocks compilation and emits a consistency-error popup listing the offending connection ID.
3. PC Station Connection Capacity
The PC Station is a software-defined endpoint. Its connection capacity is set by:
- The number of S7 connections configured in NetPro against the PC Station's OPC server / WinCC / user application slot.
- The licensed connection count of the installed SIMATIC NET component.
- The underlying transport driver — ISO, ISO-on-TCP, TCP, MPI, PROFIBUS — and the available MAC-level sockets on the host operating system.
For a SIMATIC NET 2006 installation on Windows XP/Server 2003 with a single CP 1613 or SoftNet S7 Lean card, STEP 7 has been demonstrated to compile and download a PC Station configuration with 51 S7 connections to a heterogeneous partner list (mixed S7-200, S7-300, S7-400 partners). The compilation limit is bounded by STEP 7's project memory, not by an arbitrary PC Station value. The runtime limit is bounded by the partner PLCs.
| Endpoint | Connection Limit Source | Typical Field Value |
|---|---|---|
| S7-200 CPU 224 | CPU firmware resource table | ~8 simultaneous partners (varies by firmware) |
| S7-300 CPU (e.g. 315-2 PN/DP) | CPU connection resources | 16 S7 connections |
| S7-400 CPU (e.g. 416-3 PN/DP) | CPU connection resources | 62 S7 connections |
| PC Station (SoftNet S7 Lean) | License + OS sockets | Up to 64 S7 connections per SoftNet driver |
| PC Station (CP 1613 / CP 1623) | Hardware + license | Up to 120 S7 connections per CP |
| OPC DA server on PC Station | DCOM session count | Independent of S7 connection count |
If the source user is running a PC Station with 20 S7 connections against a single CPU 224, the PC Station itself is not the constraint — the CPU 224 is. The user's PC Station can still host more connections to additional PLC partners on the same subnet.
4. OPC Server and Non-S7 Connections
A frequent misconception is that each OPC tag subscribed by a client application consumes an S7 connection. It does not. The data path is:
- OPC client (e.g. WinCC, iFIX, C# application using OPC DA automation) opens a DCOM session to the OPC server.
- The OPC server holds one or more S7 connections to the target PLC — typically one S7 connection is multiplexed to read many data items.
- The OPC server polls the PLC over that single S7 connection at the configured update rate.
- Updates are pushed to the OPC client over the DCOM session, which is not an S7 connection.
This is why a single S7 connection from a SIMATIC NET OPC server can service thousands of OPC tags. The PC Station therefore consumes one S7 connection slot per polling channel regardless of the number of OPC clients consuming that data.
For OPC UA servers, the situation is similar: the OPC UA server maintains its own session/secure channel table and reads from the PLC over the underlying S7 connection set configured in NetPro.
5. S7-200 CPU 224 Specific Case
The reported case — 20 S7 connections from a PC Station to a CPU 224 — works because the connection accounting on the S7-200 is different from S7-300/400:
- The S7-200 CPU 224 does not have a "free S7 connection pool" in the S7-300/400 sense.
- It exposes communication resources (often referred to as "Communication Connections" in the S7-200 System Manual) which are multiplexed across PPI, MPI, USS, Modbus, and Ethernet (CP 243-1) transports.
- A PC Station connected via a CP 243-1 (or CP 243-1 IT) module uses the CP's connection table, not the CPU's main resource table.
For a CP 243-1 / CP 243-1 IT, the maximum number of S7 connections is documented in the CP's manual. The CP 243-1 typically supports up to 8 S7 connections (one reserved for the STEP 7 programming interface, the remaining 7 for application data). When the source user reports 20 connections working against a single CPU 224, the actual transport may be multiplexed through one or more CP 243-1 modules, or it may represent a Mix of HMI/OP connections plus S7 connections sharing the same CP.
6. Configuring Multiple Connections in STEP 7 / NetPro
To add S7 connections to a PC Station in STEP 7 V5.x:
- Open the S7 project in SIMATIC Manager.
- Open NetPro by double-clicking the PC Station in the project tree and selecting the Connections tab.
- Right-click the OPC server / WinCC application row and choose Insert New Connection.
- Select the partner PLC, the partner's communication interface (MPI / PROFIBUS / Industrial Ethernet), and the connection type (S7 connection).
- Assign a local connection ID and verify the partner slot in the dialog. STEP 7 automatically populates the partner's connection ID on the PLC side.
- Save and compile the PC Station. STEP 7 reports Save and Compile Without Errors if the project fits both endpoints.
- Download the PC Station to the runtime machine using PC Station → Download to Target System.
For more than 16-20 connections, prefer a tabular workflow: define the partner list once in a CSV, then loop with a STEP 7 script or use the Import/Export of NetPro connection tables via the SD file format.
7. Bandwidth and Performance Considerations
A high S7 connection count on a single PC Station does not by itself guarantee reliable operation. The actual bottleneck is the available bandwidth between the PC Station and the partner PLCs. Considerations:
- Ethernet cabling: A standard Cat 5 cable caps at 100 Mbps. Replace the cable with a Cat 5e or Cat 6 cable to enable Gigabit speeds if the PC Station is on a 1 Gbit NIC — see Dell KB 000178859 for NIC-side diagnostics.
- Ethernet switch fabric: A managed Industrial Ethernet switch (e.g. SCALANCE XC/XB) with QoS rules prioritises S7 traffic over best-effort office traffic.
- PROFIBUS DP cycle time: Each configured S7 connection on PROFIBUS adds time to the DP master cycle. With 51 connections on a 1.5 Mbps PROFIBUS segment, the cycle can exceed the watchdog tolerance of an ET 200S station. Use DP/DP coupler to fan out to multiple segments.
- CP 1613 vs SoftNet: A CP 1613 / CP 1623 hardware offloads ISO-on-TCP processing from the host CPU. SoftNet (software stack on a standard NIC) shares the host CPU and degrades noticeably above ~40 connections at 10 ms polling.
8. SIMATIC NET Version Compatibility
The source references SIMATIC NET 2006 (i.e. SIMATIC NET V6.4 / V7.0 era). Compatibility notes:
| SIMATIC NET Version | STEP 7 Compatibility | Supported Host OS |
|---|---|---|
| V6.4 (2006 release) | STEP 7 V5.4 SP3+ | Windows XP SP2, Server 2003 |
| V7.1 (2008 release) | STEP 7 V5.4 SP5 | Windows XP SP3, Server 2003 R2 |
| V8.0 (2010 release) | STEP 7 V5.5 | Windows 7, Server 2008 R2 |
| V8.2 (2012 release) | STEP 7 V5.5 SP4 | Windows 7 SP1, Server 2008 R2 SP1 |
| V13 SP2 / V14 (TIA Portal) | TIA Portal V13+ | Windows 7 SP1 / Server 2008 R2 SP1 and later |
| V20 (current) | TIA Portal V18 / V19 | Windows 10 LTSC 2019, Server 2019 / 2022 |
If you are running SIMATIC NET 2006 against a newer STEP 7 SP, install the matching hotfix bundle. The PC Station configuration tool (Station Configurator) has been renamed to Communication Settings in TIA Portal and the V8.x onward line.
9. Verification Procedure
After compiling and downloading a PC Station configuration with many S7 connections, run the following verification:
- Open Station Configurator on the PC Station and confirm the OPC server / WinCC / S7 application slot is in RUN.
- In SIMATIC Manager on the engineering station, select PC Station → Diagnostics → Connection Status.
- Verify every configured S7 connection reports Established. A connection in Not Established state usually indicates either a wrong partner connection ID, a missing CP driver, or a saturated PLC partner.
- On the partner PLC side, open PLC → Module Information → Communication and read the resource table. The table should show the configured S7 connections plus reserved entries (PG, OP, system).
- Run a 24-hour soak test with all connections active. Capture the connection-down counters in the OPC server's diagnostic log.
10. Troubleshooting Matrix
| Symptom | Probable Cause | Remediation |
|---|---|---|
| STEP 7 refuses to compile "max connections exceeded" | Partner PLC connection resource table saturated | Open the partner PLC's HW Config → Communication tab and reduce the connection count, or split across a second CPU. |
| PC Station downloads OK, OPC tags show Quality = Bad | S7 connection not established | Verify CP driver in Station Configurator; check firewall rules blocking ISO/ISO-on-TCP port 102. |
| Sporadic disconnects on a 20-connection CPU 224 | CPU 224 firmware resource leak | Cycle power to the CPU; update to the latest firmware revision on the CPU 224 (verify with Micro/WIN module information). |
| STEP 7 reports OK but runtime connection drops after a few hours | PROFIBUS DP cycle time exceeded | Reduce DP baud rate, add a repeater, or split into multiple DP segments via DP/DP coupler. |
| Compilation OK on V5.5, fails after import to V13 SP2 (TIA) | TIA Portal enforces stricter connection accounting on S7-1200/1500 | Reconcile the connection table in TIA Portal; S7-1200/1500 requires explicit resource allocation. |
11. Recommended Architecture for High Connection Counts
When the application requires more simultaneous S7 connections than a single CPU can host, use one of the following patterns:
- Distributed I/O with PROFINET: Replace the PC Station's many S7 connections with PROFINET IO. The PC Station becomes an IO Controller with a single connection to each IO Device, dramatically reducing the connection count.
- OPC UA aggregation: Deploy an OPC UA server in front of multiple OPC DA / S7 connection sources. The OPC UA server publishes the consolidated data model and clients subscribe to the OPC UA server instead of the PLCs.
- Soft-PLC / WinAC RTX: Replace the physical S7-300/400 with a WinAC RTX soft-PLC. A soft-PLC has a much higher connection resource table (typically 128+) and runs on the PC Station hardware, removing the partner PLC from the constraint.
12. Frequently Asked Questions
Does a PC Station with 51 S7 connections actually run reliably?
STEP 7 has been demonstrated to compile a PC Station with 51 S7 connections without faults, but the runtime depends entirely on the partner PLCs' connection resource tables. A single S7-200 CPU 224 cannot host 51 simultaneous S7 connections — split the partner list across multiple PLCs.
Where do I find the maximum number of S7 connections for my CPU 224?
Open the S7-200 System Manual for your CPU variant and firmware revision in the Siemens Industry Online Support portal (support.industry.siemens.com). The Communication Resources table lists the exact count per transport (PPI, MPI, Ethernet via CP 243-1, Freeport/USS/Modbus).
Does each OPC tag consume an S7 connection?
No. The OPC server holds one S7 connection per polling channel and multiplexes thousands of OPC tags over that single channel. OPC client connections are DCOM or OPC UA sessions and do not count against S7 connection resources.
Can SIMATIC NET 2006 still be used on Windows 10 or later?
No. SIMATIC NET 2006 (V6.4 / V7.0) is officially supported only on Windows XP SP2 and Server 2003. Upgrade to SIMATIC NET V8.2 or later for Windows 7 SP1, or to the current SIMATIC NET release for Windows 10 LTSC and Server 2019/2022.
Is there a hard-coded maximum number of S7 connections per PC Station?
There is no fixed hard limit in the PC Station itself — STEP 7, the SIMATIC NET license, and the host OS socket table set practical ceilings. A CP 1613 / CP 1623 hardware card supports up to 120 S7 connections per card; SoftNet (software stack) typically peaks around 64. The binding constraint in almost all field cases is the partner PLC's connection resource table.