Configuring the Siemens CP5611 with Citect SCADA on an S7-300 Profibus Network
Integrating a legacy SIMATIC S7-300 CPU 313C-2DP into a Citect (now AVEVA) SCADA HMI through a CP5611 PCI communication processor is one of the most common brownfield integration tasks in European process plants. The CP5611 was the original Siemens PROFIBUS/MPI PCI card for PCs; it was superseded by the CP5611 A2 and later by the CP 5603 (USB) and CP 5711 (USB). The integration can fail at three levels: PC-side driver installation, SIMATIC NET configuration, and Citect port/board addressing. This reference consolidates the field-proven procedure to bring the link up reliably.
1. Problem Definition
Classic symptoms reported by integrators using Citect 5.5 / 6.10 with a CP5611 against an S7-300 CPU 313C-2DP:
- Driver load failure: "zip file is corrupted" when unpacking a third-party Siemens S7 Profibus driver.
- Port stays in "Stopped" state in the Citect Device Editor.
- OPC DA server does not enumerate S7 variables when SIMATIC NET is started in the wrong mode.
- BSEND/BRECV timeout on MPI baud rate (19.2 kbps default), no handshake with the PLC.
Root cause in roughly 80% of these cases is a missing or mismatched SIMATIC NET installation (or a Citect I/O Device pointing to the wrong logical board). The remaining 20% is wiring, baud rate, or PLC PROFIBUS address mismatch.
2. System Architecture
Three implementation paths are viable. The choice depends on the Citect version, the available SIMATIC NET version, and whether the Citect licence includes the native S7 MPI/DP driver.
| Architecture | Protocol stack on PC | Citect I/O Device type | Typical use |
|---|---|---|---|
| A. Native S7-MPI / S7-DP driver | SIMATIC NET PC Software v6.x / v7.x + S7 driver DLL | [S7]MPI or [S7]PROFIBUS | Citect 5.5 / 6.10 with bundled SIEMENS_2.01.02 driver |
| B. OPC DA Client | SIMATIC NET OPC Server v6.x or v8.x | [OPC] Client to local/remote OPC server | Recommended path - decouples Citect from SAPI S7 driver |
| C. TCP/RFC1006 (ISO-on-TCP) | CP 343-1 Lean / CP 343-1 on the S7-300 side; standard Ethernet on PC | [S7]TCPIP | Eliminates CP5611 entirely if Ethernet module is present |
Architecture B (OPC) is the most robust and is what most field integrators converge on once a single CP5611 problem has eaten a commissioning day.
3. Hardware Identification: CP5611 vs CP5611 A2
Two card variants are commonly encountered in the field. They share the same Windows driver package but differ in firmware and maximum bus speed.
| Feature | CP5611 (6GK1 561-1AA00) | CP5611 A2 (6GK1 561-1AA01) |
|---|---|---|
| Bus protocol | PROFIBUS DP-V0, MPI, S7 communication | PROFIBUS DP-V0/V1, MPI, S7 communication |
| Max. baud rate | 12 Mbps | 12 Mbps |
| Host interface | PCI 5 V, 33 MHz | PCI 5 V, 33 MHz |
| Number of DP slaves | 32 (logical) | 32 (logical), DP-V1 diagnostics |
| Firmware update | via SIMATIC NET | via SIMATIC NET, supports FW 5.x |
| Replacement | Discontinued | Discontinued; successor: CP 5603 (USB) / CP 5711 |
Both cards expose a 9-pin D-sub PROFIBUS connector on the bracket. The CP5611 A2 is the only one still receiving firmware updates in SIMATIC NET v8.x. Cards reported with yellow warning triangles in Windows Device Manager are usually missing the s7onlinx service.
4. Software Prerequisites
| Component | Minimum version | Recommended | Notes |
|---|---|---|---|
| SIMATIC NET PC Software | V6.0 SP2 | V6.4 HF1 or V8.2 | V6.x covers Win XP/7; V8.x for Win 10 |
| STEP 7 | V5.4 SP5 | V5.5 SP4 / V5.6 | Required to set PLC PROFIBUS address in HW Config |
| Citect SCADA | 5.50 | 6.10 / 7.40 / 2018 | Native S7 driver shipped in 5.5x; later versions still include it |
| Windows | XP SP3 | Windows 7 x64 / Windows 10 LTSC | SIMATIC NET v6.x is 32-bit only |
The CP5611 Windows driver lives in \Windows\System32\s7onlinx.dll after SIMATIC NET installation. If this file is missing, no Citect I/O Device will start, regardless of Citect configuration.
5. Step-by-Step: Architecture A (Native S7 Driver in Citect)
5.1 Install SIMATIC NET PC Software
- Insert SIMATIC NET V6.x DVD. Run
Setup.exeas Administrator. - Select Installation Type: User-defined.
- Tick the following components:
- Communication Services - includes S7DOS, S7OPCX, SAPI-S7
- OPC Server (Data Access)
- SIMATIC NET Driver for CP5611 / CP5611 A2
- During hardware detection, point the wizard to the CP5611 slot. The card should appear as CP5611-A2 MPI/DP or CP5611 MPI/DP.
- After install, run Commissioning > Set PC Station from the SIMATIC NET start menu. Assign the CP5611 to Index 1 in the PC Station configuration.
5.2 Configure STEP 7 Hardware (PLC Side)
- Open STEP 7, open the S7-300 project.
- In HW Config, double-click the CPU 313C-2DP. On the DP Interface tab, set:
- Address: 2 (default; must not conflict with any other DP node)
- Subnet: PROFIBUS(1) at 1.5 Mbps
- Operating Mode: DP-Master or DP-Slave (set as Master for SCADA pull)
- Download HW Config to the CPU.
- Insert the CP5611 as a DP-Slave in the PROFIBUS subnet; the wizard will add a GSD file (
SIEM81AF.GSDfor CP5611 A2).
5.3 Verify with SIMATIC NET Diagnostics
- Start SIMATIC NET Commissioning > Diagnostics (
scs7pc.exeorPC Internalstation editor). - Right-click the CP5611 entry and select Operating Mode > PROFIBUS DP Master.
- From Diagnostics > Bus Nodes, run a network scan. The CPU 313C-2DP must appear with its configured PROFIBUS address (2).
- If the node does not appear, the physical bus is the problem (terminators, shielding, baud rate).
5.4 Citect Board Definition
Open the Citect Computer Setup Editor (ctedit) and configure the board:
| Field | Value |
|---|---|
| Board Name | PROFIBUS |
| Board Type | PROFIBUS |
| Adapter | CP5611 |
| Address | 0 (logical slot index of CP5611 in PC Station) |
| Port | Leave blank (set per I/O Device) |
5.5 Citect I/O Device Definition
| Field | Value |
|---|---|
| I/O Device Name | PLC_313C |
| Board Name | PROFIBUS |
| Number | 0 (or 1 for redundancy) |
| Protocol | S7PROFIBUS |
| Address | 2,2 (Rack, Slot) - the CPU 313C-2DP defaults to Rack 0, Slot 2 |
| Poll | 1000 ms |
| Timeout | 3000 ms |
Compile the Citect project (ctcomp) and restart the Citect kernel. Watch the Kernel.log for the line:
PROFIBUS: S7 connection to address 2 established
6. Step-by-Step: Architecture B (OPC DA - Recommended)
When the bundled Citect S7 driver fails or the integrator wants to swap SCADA software later, OPC DA provides a clean abstraction.
6.1 SIMATIC NET OPC Server Configuration
- Launch Station Configuration Editor (
sce.exe) and add the CP5611 to Index 1. - Save and close; restart the
S7DOSandS7OPCXWindows services. - Open the OPC Scout V10 (or the version bundled with your SIMATIC NET). Click Connect to OPC.SimaticNET.
- Add a new group and define an S7 connection:
- Name:
S7_313C - Partner:
CP5611 - PROFIBUS - Remote Address: PROFIBUS node 2 (the CPU)
- Rack/Slot: 0/2
- Name:
- Test by reading an item, e.g.
S7:[S7_313C]DB1,W0. A non-zero value or the configured initial value indicates a working stack.
6.2 Citect OPC Client Configuration
- In Citect Computer Setup, define a new Board of type OPC.
- Board Name:
OPC_S7 - Adapter:
OPC - Address:
OPC.SimaticNET(the ProgID of the SIMATIC NET OPC server)
- Board Name:
- Create an I/O Device:
- Protocol:
OPC - Address: empty
- Protocol:
- Map a Citect tag to an OPC item name using the syntax:
- Variable Tag > Item:
S7:[S7_313C]DB1,W0
- Variable Tag > Item:
- Recompile and restart.
OpcEnum and S7OPCX. If Citect shows "Access Denied" on startup, run dcomcnfg and grant the Citect runtime user account Launch + Activation permissions on the SIMATIC NET server.7. Driver Download Path: Avoiding "zip file is corrupted"
The Citect native S7 driver historically shipped as SIEMENS_2.01.02_RELEASE.zip. If the archive extracts with errors, the file is partially downloaded. Use the official Siemens delivery channels rather than third-party mirrors:
- Siemens Industry Online Support: support.industry.siemens.com (search for the entry ID 60596849 - CP5611 A2 communication processor manual)
- Citect/AVEVA Driver Packs: supplied with the Citect installation media, or via AVEVA Connect & Control download portal under valid licence.
Verify the zip CRC32 after download. For SIEMENS_2.01.02_RELEASE the expected size is 1.4 MB; smaller files are truncated. Re-download over HTTPS and disable any proxy SSL inspection that mangles binary downloads.
8. Baud Rate and Timing Parameters
For a 1.5 Mbps PROFIBUS segment (default for S7-300 DP), the CP5611 internal timing budget is:
| Parameter | Value | Source |
|---|---|---|
| Baud rate | 1.5 Mbps (or 12 Mbps if cable < 10 m) | STEP 7 HW Config > Properties PROFIBUS |
| Slot time T_sl | 300 bit-times | PROFIBUS DP master config |
| Min station delay T_sdr | 11 bit-times | CP5611 default |
| Quiet time T_quiet | 0 | CP5611 default |
| Setup time T_set | 1 bit-time | CP5611 default |
| Target rotation T_tr | 10000 bit-times | DP-V0 default |
For an MPI link (19.2 kbps or 187.5 kbps), increase the Citect I/O Device timeout to at least 5000 ms; the S7-300 CPU takes up to 2 s to respond on a cold MPI bus.
9. Troubleshooting Matrix
| Symptom | Probable cause | Diagnostic step | Resolution |
|---|---|---|---|
| Citect port "Stopped" | SIMATIC NET not installed or service stopped | Check s7onlinx service status, look for scs7pc.log errors |
Reinstall SIMATIC NET, restart S7DOS
|
| "zip file is corrupted" on driver extract | Truncated download, FTP ASCII mode, or proxy corruption | Compare file size with catalogue value, compute MD5 | Re-download over HTTPS, disable SSL inspection |
| OPC items return Bad quality | Wrong PROFIBUS address or rack/slot | OPC Scout V10 > Read test item | Correct partner address in Station Configuration Editor |
| Intermittent timeout, BSEND/BRECV fail | Baud rate mismatch or terminator missing | Check DP connector terminator on last node; verify with diagnostic repeater | Set bus terminator ON at both physical ends only |
| DCOM "Access Denied" | Local security policy blocks out-of-process OPC |
dcomcnfg > Component Services > Computers > DCOM Config > S7OPCX |
Add Citect runtime user with Launch + Activation rights |
| Yellow bang in Device Manager on CP5611 | Driver not matched to OS, e.g. SIMATIC NET v6 on Windows 10 | Check OS compatibility matrix | Upgrade to SIMATIC NET V8.2 or migrate to CP 5603 |
| Citect 7.x on Windows 10 with CP5611 A2 | No signed driver for 32-bit Citect runtime on x64 OS | Check \Windows\SysWOW64\s7onlinx.dll presence |
Run Citect runtime in 32-bit mode, install SIMATIC NET x86 on WoW64 |
10. Verification Procedure
- Open OPC Scout V10, read a known S7 tag (e.g.
DB1.DBD0from a project-loaded value). The value must update within 1 s. - In Citect Cicode, run
DevSetInfo()against the I/O Device. The return value should be0(no error). - Force a bit in STEP 7 (e.g.
DB1.DBX0.0); the corresponding Citect tag must reflect the change within the configured poll period. - Disable the CP5611 cable mid-run; Citect should log "Comm Error" and resume automatically when the cable is reinserted (no need to restart the Citect kernel).
- Run a 24-hour soak test. The Citect
Kernel.logshould contain zero "BSEND failure" or "S7 timeout" entries.
11. Migration Path: From CP5611 to Modern Hardware
For new installations or when the CP5611 fails, the recommended replacement is the CP 5603 (USB) or CP 5711 (USB), which are functionally identical at the SIMATIC NET API level. Configuration steps in this article remain unchanged; only the Windows driver identifier switches from CP5611 MPI/DP to CP 5603 or CP 5711.
If the S7-300 has an Ethernet CP (CP 343-1 Lean or CP 343-1), the CP5611 can be retired entirely. Use Architecture C (TCP/RFC1006) with Citect I/O Device protocol S7TCPIP on port 102. This eliminates one PC hardware failure domain and improves cybersecurity posture (PROFIBUS cables are a frequent tampering vector).
12. Field-Commissioning Checklist
- [ ] CP5611 / CP5611 A2 seated in 5 V PCI slot, no warning in Device Manager
- [ ] SIMATIC NET PC Software installed,
S7DOSandS7OPCXservices running and set to Automatic - [ ] Station Configuration Editor contains CP5611 at Index 1, configuration downloaded
- [ ] STEP 7 HW Config: CPU 313C-2DP DP address matches Citect I/O Device
- [ ] PROFIBUS cable shielded, terminated at both ends, shield grounded at one end only
- [ ] OPC Scout V10 reads at least one tag successfully before launching Citect
- [ ] Citect kernel started with -h to enable hex logging for first 24 h
- [ ] Cyber: Windows firewall restricts
S7OPCXto localhost only; remote Citect clients connect via Citect's native TCP port 2074/2075, not DCOM
FAQ
Does Citect 5.5 support PROFIBUS natively, or do I need SIMATIC NET?
Citect 5.5 ships the SIEMENS_2.01.02 native S7 driver, but it still depends on the SIMATIC NET SAPI-S7 DLLs (s7onlinx / S7API) to access the CP5611 hardware. Both products must be installed; the Citect driver is not standalone.
Can I use a CP5611 A2 in a PCIe x1 slot with a passive adapter?
No. The CP5611 / CP5611 A2 is a 5 V PCI card; it does not negotiate with PCIe controllers, even with passive PCI-to-PCIe adapters. Use a USB CP 5603 or CP 5711 if the SCADA PC only has PCIe slots.
Why does the Citect kernel log "BSEND failure" intermittently on MPI?
Usually a baud rate mismatch or insufficient timeout. The S7-300 cold-start can take 2 s on the MPI bus. Set the Citect I/O Device timeout to 5000 ms and verify the baud rate (19.2 kbps or 187.5 kbps) matches the STEP 7 MPI interface properties exactly.
Is OPC DA still supported on Windows 10 / 11 for SIMATIC NET?
Yes, with SIMATIC NET V8.2 (released 2018) and later. Older V6.x releases are not signed for Windows 10. AVEVA recommends SIMATIC NET V8.2 SP1 or newer for any Citect 2016+ runtime on Windows 10 LTSC.
What is the maximum number of Citect tags per CP5611?
SIMATIC NET limits the OPC group size to 1000 items per group for performance reasons; Citect itself scales to several thousand tags. The bus bandwidth, not the card, is the bottleneck at high tag counts. For tag counts above 5000, distribute across multiple CP 5603 cards or migrate to Ethernet.