Configuring WinCC to Monitor Multiple S7-1200 PLCs via SIMATIC NET
Engineers scaling a small machine network to nine or more S7-1200 CPUs frequently discover that WinCC (WinCC RT Professional, WinCC Flexible, or WinCC Unified) cannot service every PLC directly through native S7 connections. This article documents the standard Siemens architecture, the connection-capability boundary, the role of SIMATIC NET PC Software as an OPC server, and the certificate handling required for WinCC Unified V21 secure communication. Use this reference when consolidating a line of 4–16 S7-1200 stations behind a single HMI/SCADA PC.
1. System Overview and Connection Model
WinCC supports two principal paths for talking to S7-1200 CPUs:
- Native S7 channel (S7MAX, S7-MAX, or the SIMATIC S7-1200/S7-1500 channel in WinCC Unified) - direct TCP/ISO-on-TCP communication from the WinCC station to the PLC. Fastest path, but limited by the connection count supported by the WinCC runtime.
- OPC DA / OPC UA channel with SIMATIC NET OPC Server acting as the data broker. The OPC server holds the S7 connections and exposes a consolidated tag namespace to WinCC.
For four to eight S7-1200 stations, the native S7 channel is acceptable. For nine or more CPUs, or any deployment that mixes S7-1200, S7-1500, S7-300/400, and third-party devices, the SIMATIC NET OPC Server topology is the supported path.
| Number of S7-1200 CPUs | Recommended WinCC Path | Required Components |
|---|---|---|
| 1 - 4 | Native S7 channel (WinCC RT / TIA HMI) | WinCC + TIA Portal project, no SIMATIC NET |
| 5 - 8 | Native S7 channel with multiple S7MAX connections | WinCC + S7-1200 channel license |
| 9 - 32 | SIMATIC NET OPC Server (PC station) + OPC DA/UA channel in WinCC | SIMATIC NET PC Software, OPC Scout, configured PC station in TIA Portal |
| 32 - 128+ | SIMATIC NET OPC Server with redundant pair and load distribution | SIMATIC NET, Softnet-IE S7 Lean / Standard / Power, license per connection |
2. Prerequisites
Before commissioning, verify the following:
- Engineering software - TIA Portal V18 or later. WinCC Unified V21 documentation targets TIA Portal V21. Earlier TIA Portal versions (V16/V17) support WinCC RT Professional and WinCC Unified V17 with the same connection model.
- Runtime software - WinCC RT Professional, WinCC RT Advanced, or WinCC Unified PC RT, installed on the HMI/SCADA PC. License key (RT) for the runtime must be active.
- SIMATIC NET PC Software - V18 or V21, matching the TIA Portal version. Required for OPC server operation beyond eight S7 connections.
- S7-1200 firmware - V4.4 or later for TIA Portal V18; V4.5+ recommended for V21. CPU types 1211C through 1215C have one PROFINET interface; 1217C and 1215FC have two PROFINET interfaces usable for HMI traffic separation.
- Network - Managed industrial Ethernet switch (SCALANCE XC-200/XB-200/XR-500 family recommended). Each S7-1200 station gets a unique IP in the same subnet (commonly 192.168.0.0/24).
- User rights - Local administrator on the WinCC PC for SIMATIC NET configuration and certificate installation.
BAD on tag reads with diagnostic code 0x80040217.3. Reference Network Topology
The standard Siemens-recommended topology for nine S7-1200 CPUs uses two cascaded switches:
| Node | Device | IP Address | Role |
|---|---|---|---|
| HMI/SCADA PC | WinCC RT + SIMATIC NET | 192.168.0.1 | OPC client and HMI |
| Switch A | SCALANCE XC208 | 192.168.0.10 | Aggregates 5 PLCs |
| Switch B | SCALANCE XC208 | 192.168.0.20 | Aggregates 4 PLCs |
| PLC 1 - PLC 5 | S7-1214C / S7-1215C | 192.168.0.101 - 192.168.0.105 | Connected to Switch A |
| PLC 6 - PLC 9 | S7-1214C / S7-1215C | 192.168.0.106 - 192.168.0.109 | Connected to Switch B |
The cascaded switch approach is a deliberate Siemens recommendation: it keeps the HMI/engineering traffic on a separate broadcast domain from field I/O networks and lets you trunk the inter-switch link with port priority for HMI traffic.
4. The 8-Connection Boundary in WinCC
WinCC Runtime Professional and WinCC Unified V17/V21, when used with the native SIMATIC S7-1200/S7-1500 channel (channel name SIMATIC S7-1200/S7-1500), allow a maximum of 8 S7 connections per HMI station in the default licensed configuration. The boundary is enforced by the channel DLL (S7CHN.dll) and is independent of PLC type.
When a ninth S7 connection is configured, the WinCC runtime returns error 0xE0FF4001 ("Maximum number of S7 connections exceeded") and refuses to bring the channel online. OPC channels do not carry this constraint because the OPC server, not WinCC, terminates the S7 protocol.
5. Configuring SIMATIC NET as the OPC Server
5.1 PC Station in TIA Portal
- Open the TIA Portal project that contains the S7-1200 stations.
- Insert a new device: PC station > SIMATIC PC Station. Use a name that matches the host PC (e.g.
HMI_PC_LINE1). - Add an IE General module in slot 1 of the PC station. Assign the same PROFINET interface name as the OS adapter that will be used at runtime (commonly the Intel I219-V or I225-V on-board NIC).
- Drag an OPC Server application onto the PC station. The OPC Server slot is automatically configured as index 2.
- Switch to the Network view, connect the OPC Server's PROFINET interface to the same subnet as the S7-1200 CPUs.
5.2 S7 Connection Configuration
- Right-click the OPC Server > Properties > S7 connections.
- Click Add new S7 connection for each S7-1200 CPU. Set the partner IP to the CPU's PROFINET address (e.g.
192.168.0.101). - Leave the Connection type as
S7 connection(ISO-on-TCP, port 102). - In the Connection resources tab, the partner's local connection resource is the S7-1200's PROFINET interface. The partner's TSAP defaults to
01.01(slot 1, rack 0). For S7-1200, the default TSAP is03.01for an unspecified slot; verify against the CPU's Properties > PROFINET interface > Ethernet addresses.
| Parameter | Value (Local OPC Server) | Value (Remote S7-1200) |
|---|---|---|
| Connection type | S7 connection | - |
| Partner IP | - | 192.168.0.101 - 192.168.0.109 |
| Local TSAP | 10.00 (OPC server default) | - |
| Partner TSAP | - | 03.01 (or 01.01 for slot 1) |
| Port | 102 (ISO-on-TCP) | 102 |
| Active connection establishment | Checked (server initiates) | - |
5.3 Compile and Download the PC Station
- Select the PC station > Compile > Hardware (complete recompile).
- Right-click the OPC Server > Download to target device > PC station. The TIA Portal deploys the PC station configuration to
C:\ProgramData\Siemens\Automation\PCStation\<stationname>. - On the WinCC PC, open SIMATIC NET Configuration Console (Start > Siemens Automation > SIMATIC NET). The newly compiled configuration should appear in the station editor.
- Start the S7ONLINE service and the OPC Server service. Use
net start s7oie_sx64from an elevated command prompt as an alternative.
6. Tag Mapping with OPC Scout V10
OPC Scout V10 is shipped with SIMATIC NET and is the primary tool for creating DA items on the OPC server. The TIA Portal project only handles the connection; the tag items must be added in OPC Scout for the OPC client (WinCC) to read or write PLC memory.
- Launch OPC Scout V10 (Start > Siemens Automation > OPC Scout V10).
- Add a new OPC DA server:
OPC.SimaticNET.1. This is the ProgID of the SIMATIC NET OPC DA 3.0 server. - Navigate to the S7 connection you created (e.g.
S7:[HMI_PC_LINE1]PLC1) and right-click > Add Item. - Define the tag using the S7 address syntax. For a DB word at DB10.DBW0 on PLC1:
S7:[HMI_PC_LINE1]PLC1,DB10,W0,1
Where:
-
S7:[...]- OPC server prefix and station/connection name -
DB10- Data block number -
W0- Word offset, even-aligned -
1- Length in words (1 = 16 bits, 2 = 32 bits, etc.)
| PLC Address | OPC Scout Syntax | Data Type | Length |
|---|---|---|---|
| I0.0 (bit) | E0,X0 |
Boolean | 1 bit |
| IW0 (word) | E0,W0 |
Word (UInt16) | 1 |
| QW0 | A0,W0 |
Word | 1 |
| MW0 | M0,W0 |
Word | 1 |
| DB10.DBX0.0 | DB10,X0 |
Boolean | 1 bit |
| DB10.DBW0 | DB10,W0 |
Word | 1 |
| DB10.DBD4 (real) | DB10,D4 |
Real (Float32) | 2 |
| DB10.DB[0..20] (string) | DB10,S0.20 |
String[20] | 20 bytes |
7. WinCC Configuration (RT Professional)
7.1 Add the OPC DA Channel
- Open the WinCC project in TIA Portal. Navigate to HMI tags > Show/Hide > OPC tags.
- Insert a new OPC DA channel. The default channel name is
OPC_DA_1. - Set the OPC server entry to
OPC.SimaticNET.1. - Right-click the channel > New connection. Map each OPC Scout item to a WinCC HMI tag.
7.2 HMI Tag Mapping
For each PLC item:
- Create a new HMI tag with the desired name (e.g.
PLC1_DBW0). - Set Connection to the OPC DA connection.
- Set Item name to the OPC Scout item path (e.g.
S7:[HMI_PC_LINE1]PLC1,DB10,W0,1). - Select the data type (Word, Int, Real, Bool, etc.) matching the PLC address.
Repeat for all 9 (or more) PLCs. The OPC channel does not enforce the 8-connection cap; only the number of S7 connections the SIMATIC NET license authorizes is relevant.
7.3 WinCC Unified V21 (OPC UA)
WinCC Unified supports OPC UA natively. With SIMATIC NET V21, the OPC UA server endpoint is opc.tcp://<PC>:4840. In the Unified project, add an OPC UA connection and browse the server. Secure communication is mandatory in Unified V21 by default.
8. Certificate Management for WinCC Unified V21
When Secure communication is enabled in the S7-1200 CPU (default in TIA Portal V21 for new devices), the CPU presents a self-signed X.509 certificate to the OPC client. WinCC Unified must trust this certificate or the connection drops with error 0x800B010F (certificate chain untrusted).
Reference: Communication with S7-1500 and S7-1200 (WinCC Unified Runtime, TIA Portal V21)
8.1 Export the PLC Certificate
- In TIA Portal, open the S7-1200 CPU > Properties > Security > Certificate manager.
- Select the device certificate and click Export. Save as a
.cerfile (DER-encoded X.509). - Repeat for each S7-1200 CPU (each CPU has its own self-signed cert by default).
8.2 Install the Certificate on the WinCC PC
- Copy the
.cerfiles to the WinCC PC. - Open the certificates MMC:
certlm.msc(Local Machine) or import via the WinCC Unified Certificate Administration tool. - Import each certificate into Trusted People > Certificates. Use the Place all certificates in the following store option.
- Restart the WinCC Unified Runtime service to reload the trust store.
8.3 Trust Levels in WinCC Unified
| PLC Option | Legacy Communication | Secure Communication | Use Case |
|---|---|---|---|
| Option enabled, secure only | Not allowed | Required (TLS 1.3) | Production lines, GMP environments |
| Option enabled, legacy allowed | Allowed | Optional | Migration windows, mixed-version fleets |
| Option disabled | Required | Not allowed | Air-gapped test cells, TIA Portal V16 backward compat |
For a 9-PLC deployment where PLCs are at mixed firmware levels (e.g. some V4.4 legacy), leave Legacy communication allowed active during the cutover and tighten security after every CPU is upgraded to V4.6+.
9. Verification Procedure
Use the following sequence to verify the full stack end-to-end:
-
Layer 1 - Physical/PROFINET: From the WinCC PC,
ping 192.168.0.101throughping 192.168.0.109. All must respond with < 1 ms on a dedicated switch segment. -
Layer 2 - S7 connection: In OPC Scout V10, right-click each S7 connection and read a known tag. If the read returns the expected value with quality
Good (0xC0), the S7 connection is healthy. - Layer 3 - OPC DA: Use OPC Scout's Read and Write toolbar to exercise a tag. Confirm the value matches the PLC online value in TIA Portal.
-
Layer 4 - WinCC runtime: Activate the WinCC RT project. On a faceplate, force a tag (e.g.
PLC1_DBW0= 1234) and verify it appears in TIA Portal's Watch table on PLC1. -
Layer 5 - Certificate trust (Unified): Open WinCC Unified's diagnostic log (
C:\ProgramData\Siemens\Automation\WinCCUnified\Log). No entries with0x800B010Fshould appear. -
Layer 6 - Load test: In WinCC, force the tag update rate to 250 ms for all 9 PLCs. With 200 tags per CPU, expect OPC server CPU usage < 35% and tag quality
Goodfor > 99.9% of samples over a 1-hour run.
10. Troubleshooting Matrix
| Symptom | Error Code | Likely Root Cause | Corrective Action |
|---|---|---|---|
| Channel fails to start, "Max S7 connections exceeded" | 0xE0FF4001 | Native S7 channel hit 8-connection cap | Migrate to SIMATIC NET OPC topology |
| OPC tag quality BAD after license upgrade | 0x80040217 | Softnet-IE S7 license count exceeded | Move to Softnet-IE S7 Standard (64) or Power (256) |
| WinCC Unified connection refused | 0x800B010F | PLC self-signed cert not in Unified trust store | Export CPU cert and import into Local Machine \ Trusted People |
| Tags read zero or stale data | 0x80070005 (E_ACCESSDENIED) | OPC server DCOM permissions on the HMI PC | Add the WinCC user to OPC server's launch & access ACL via dcomcnfg |
| Intermittent timeouts on Switch B PLCs | n/a (no error, dropped samples) | Port priority not set; HMI traffic deprioritized | Configure VLAN / CoS on SCALANCE for HMI traffic |
| OPC Scout sees server but items list empty | n/a | PC station not compiled / deployed | Recompile PC station, run Commissioning Wizard on the HMI PC |
| CPU reports "Connection resources exhausted" in diagnostic buffer | SF LED + diagnostic buffer entry | S7-1200 max 16 connection resources consumed by other apps | Audit TIA Portal online connections and PG/PC slots; reduce simultaneous HMI connections |
11. Performance and Capacity Planning
Each S7-1200 CPU provides up to 16 PG/HMI connection resources (firmware V4.4+). When 9 PLCs each consume 1 connection from the SIMATIC NET OPC server, the per-CPU footprint is minimal, but TIA Portal online, HMI panels, and other engineering clients also count. For a 9-PLC deployment, keep TIA Portal online to one CPU at a time and avoid running parallel WinCC instances on the same OPC server.
| Connection Resource | Default (V4.4+) | Max (V4.6+) | Notes |
|---|---|---|---|
| Reserved for PG (engineering) | 1 | 1 | Always 1 for TIA Portal online |
| Reserved for HMI | 3 | 12 | Configurable in CPU properties |
| Reserved for OPC/S7 | 0 | 8 | Per OPC server connection |
| Web server (HTTPS) | 1 | 1 | If web server enabled |
| Total available | 16 | 32 (V4.5+ extended) | Sum of all configured resources |
12. Migration from Native S7 to OPC Topology
For existing WinCC RT installations already at the 8-connection limit, follow this migration path:
- Install SIMATIC NET on the WinCC PC alongside the existing WinCC project. No need to uninstall.
- Create the PC station in TIA Portal as described in section 5.
- Add OPC items in OPC Scout for one PLC as a pilot.
- Add a parallel OPC DA channel in WinCC, mapping the new items to new HMI tags. The original S7 channel tags remain for PLCs 1-8.
- Incrementally move PLCs 1-8 to OPC items over multiple engineering windows.
- Once all 9+ PLCs are on OPC, retire the native S7 channel and remove the original S7 connection entries from the WinCC project.
- Re-import certificates on the WinCC PC if using Unified, then re-validate the full tag set with the verification procedure in section 9.
S7CHN.dll, S7SRT.dll) in the project backup for at least 30 days. The OPC topology is non-destructive; reverting requires only restoring the previous TIA Portal project archive.13. Best Practices and Field-Proven Caveats
-
Use unique S7 connection names (e.g.
PLC1_LineA,PLC2_LineA) so that WinCC tag item names are human-readable in OPC Scout. - Set the OPC tag update rate to 500 ms - 1 s for monitoring tags. Sub-100 ms update rates saturate the S7-1200 OB1 priority class and starve user code.
- Group tags by DB on the PLC side. A single DB20 with 50 contiguous words consumes 1 OPC item group read instead of 50 individual reads.
- Disable web server on the S7-1200 if unused; it claims a connection resource and CPU cycles.
- Use SCALANCE switch port security to lock the 9 PLC MAC addresses to their ports; prevents rogue devices from spoofing PLC IP and confusing the OPC server.
- Document TSAP pairs in a network map. S7-1200 TSAP changes after firmware updates that reset to factory defaults.
- Schedule certificate renewal. S7-1200 self-signed certs are valid for 5 years; coordinate renewal with the plant's annual outage.
How many S7-1200 CPUs can WinCC connect to directly without SIMATIC NET?
Up to 8 S7 connections per WinCC HMI station through the native SIMATIC S7-1200/S7-1500 channel. Exceeding 8 returns runtime error 0xE0FF4001 ("Maximum number of S7 connections exceeded"). For 9 or more PLCs, use SIMATIC NET OPC Server as the data broker.
Do I need SIMATIC NET to connect 9 S7-1200 PLCs to WinCC?
Yes, in practice. WinCC's native S7 channel caps at 8 connections per HMI station. SIMATIC NET PC Software, configured as an OPC DA server, holds the S7 connections and exposes a consolidated namespace to WinCC through an OPC DA or OPC UA channel. Install SIMATIC NET V18 or V21 to match the TIA Portal version.
Which Softnet-IE S7 license do I need for 9 S7-1200 connections?
Softnet-IE S7 Lean (16 connections) covers up to 16 S7 connections and is sufficient for a 9-PLC deployment. Softnet-IE S7 Standard (64) or Power (256) is required if you plan to scale above 16 connections or add redundancy. Insufficient licensing surfaces as OPC quality BAD with diagnostic code 0x80040217.
Does WinCC Unified V21 require certificates to talk to S7-1200?
Yes, when secure communication is enabled (default in TIA Portal V21 for new S7-1200 devices). Each CPU presents a self-signed X.509 certificate; the certificate must be exported from TIA Portal and imported into the WinCC PC's Trusted People store. The Unified connection fails with error 0x800B010F (untrusted chain) if the certificate is missing.
What is the recommended update rate for OPC tags from S7-1200?
500 ms to 1000 ms for monitoring tags. Update rates below 250 ms consume excessive S7-1200 OB1 priority class resources and reduce user program headroom. Group tags by data block on the PLC side so the OPC server can perform single block reads instead of one read per tag.
Can I mix legacy V4.4 and current firmware S7-1200 CPUs in the same OPC topology?
Yes. SIMATIC NET does not differentiate by firmware version for the S7 protocol itself. However, S7-1200 CPUs on V4.4 with secure communication not yet enforced can be left in legacy mode while V4.6+ CPUs use TLS 1.3. Configure the security level per CPU in TIA Portal and align the WinCC Unified trust store accordingly.