1. Problem Description
When commissioning a SIMATIC PC Station against an S7-314 CPU (6ES7314-xxx-xx-xx) over MPI, an engineer configured the CP 5512 (Siemens order code 6GK1551-2AA00) PCMCIA card together with the MPI programming cable c79459-a1890-a10 (HW adapter for CP 5511/CP 5512). The PC Station was inserted in the STEP 7 project, the Station Configurator Editor matched the indexed components, and NetPro > Save and Compile returned no diagnostics. Despite a clean compile, STEP 7 V5.3 raised the dialog:
"Could not install a driver"
The error appeared the moment the engineer selected PLC > Download or Online > Accessible Nodes. The block transfer aborted before the S7-314 was reached, leaving the CPU untouched. The same error appears whether the user invokes Download, Upload Station to PG, or Online > Monitor/Modify.
Environment:
- STEP 7 V5.3 (S7-Station programming tool, build >= V5.3 + SP3 typical)
- SIMATIC Net 2005 Edition (PC Station software, version 2005 + HF)
- PC with PCMCIA slot (CardBus or earlier), CP 5512 inserted
- MPI cable c79459-a1890-a10 between CP 5512 and S7-314 MPI port
- S7-314 (any 6ES7314-... variant) with default MPI address 2, baud 187.5 kbps
Symptoms that typically co-present with this dialog:
- NetPro diagnostics free of errors
- Station Configurator shows the CP 5512 index entry as "Configuration mode"
- Windows Device Manager lists the CP 5512 as operational (no yellow bang)
- STEP 7 Set PG/PC Interface still has the CP 5512 (MPI) selected as Online Access
2. Root Cause Analysis
The root cause is a mode/interface mismatch between the role the CP 5512 is playing in the PC Station configuration and the role STEP 7 expects when it acts as a programming device rather than a configurator.
CP 5512 has two mutually exclusive operating modes that the Station Configurator Editor controls:
| Mode | Owner Application | Function | STEP 7 Online Behavior |
|---|---|---|---|
| Configuration mode | SIMATIC Net / NCM PC / Station Configurator | Acts as a configured PC Station component in NetPro; carries the SIMATIC Net protocol stack (S7, OPC, SAPI) | STEP 7 cannot use it as a programming interface; online access fails with "Could not install a driver" |
| Programming mode | STEP 7 Set PG/PC Interface | Acts as a passive MPI/Profibus interface for online services (download, upload, monitor, diagnostic) | STEP 7 can attach; online services succeed |
When the PC Station is compiled, the Station Configurator binds the CP 5512 to Configuration mode. STEP 7 V5.3 then cannot simultaneously bind the same physical card to its PG/PC interface stack, and the loading of the S7PCI / S7Mpi driver fails, surfacing as "Could not install a driver".
Secondary causes that surface the same dialog:
- Wrong online interface selected in Set PG/PC Interface. The CP 5512 (MPI) entry is highlighted, but the card is already owned by the SIMATIC Net stack in configuration mode.
- SIMATIC Net service not started. The SIMATIC Net Configuration Service must be running before STEP 7 attempts the bind.
- Conflicting driver ownership. The CP 5512 driver (s7pciXXX.sys family) is bound to the SIMATIC Net stack; the STEP 7 programming interface stack (s7wnci??.dll / S7Mpi driver) is denied a handle.
- MPI address collision with the PC Station's logical address slot.
- CardBus / PCMCIA power management suspending the CP 5512 between Station Configurator and STEP 7.
3. Affected Versions, Hardware and Order Codes
| Component | Order Code / Part Number | Firmware / SW | Notes |
|---|---|---|---|
| CP 5512 PCMCIA card | 6GK1551-2AA00 | Firmware V2.x | CardBus (32-bit) PC Card; MPI/Profibus up to 12 Mbps |
| HW adapter (MPI cable) for CP 5511/CP 5512 | c79459-a1890-a10 (legacy); 6ES7901-0BF00-0AA0 (current equivalent) | n/a | 6-pin sub-D to CP 5512 PCMCIA plug |
| STEP 7 | 6ES7810-4CC07-0YA5 (V5.3 + SP3 kit) | V5.3 + SP3 or later | Includes S7Mpi / S7PCI driver family |
| SIMATIC Net | 6GK1704-0AA10-0AA0 (2005 edition) | V6.x (2005 + HF) | Includes Station Configurator Editor and PC station runtime |
| CPU target | 6ES7314-1AF10-0AB0 (S7-314, 24 DI / 16 DO, MPI) | Firmware V2.x or V3.x | Default MPI address 2, 187.5 kbps |
The "Could not install a driver" dialog is associated with the Windows kernel driver family s7pciXX.sys (CP 5512) and acpibXX.sys (older CP 5511). When the bind to a STEP 7 user-mode handle fails, STEP 7 raises the message before the actual MPI/Profibus transaction starts.
4. Pre-Diagnostic Procedure
Before changing settings, capture the following baseline so the change can be reversed if a new symptom emerges.
- Open Start > SIMATIC > SIMATIC Net > Station Configurator and screenshot the component list. Note which CP 5512 index entry exists (component index 1 is typical).
- Open Start > SIMATIC > STEP 7 > Set PG/PC Interface and record the currently selected access point of STEP 7 (typically S7ONLINE).
- Open Windows Device Manager and verify the CP 5512 shows no warning. Record driver file version and provider (Siemens AG).
- In STEP 7, open Options > PC Interface (when SIMATIC Net is installed) and confirm the active assignment table.
- Open Control Panel > Administrative Tools > Services. Confirm SIMATIC Net Configuration Service is Started and Startup Type = Automatic.
5. Solution A — Switch the Online Interface to PC Internal
This is the resolution that proved effective in the field. The PC Station is kept as a SIMATIC Net configuration target, while STEP 7 is rerouted through the loopback interface for online access to the S7-314.
- In STEP 7, choose Options > Set PG/PC Interface.
- Select the access point S7ONLINE.
- In the interface list, choose PC Internal (local) instead of CP 5512 (MPI).
- Click OK. The interface assignment is stored in
%WINDIR%\system32\s7onlinx.xmland the registry keyHKLM\SOFTWARE\Siemens\STEP7\Online. - Confirm in PLC > Accessible Nodes that the S7-314 (MPI = 2) appears.
The PC Internal interface does not require any physical hardware; it talks to the SIMATIC Net stack on the same host. If the PC Station is compiled and the CP 5512 is in configuration mode, the SIMATIC Net stack carries the MPI traffic from the PC Internal endpoint out through the CP 5512 to the S7-314.
6. Solution B — Switch the CP 5512 to Programming Mode
Use this path only when the PC Station is not needed (i.e., STEP 7 alone is the engineering client) or when a second CP 5512 is available to dedicate to STEP 7.
- Open Station Configurator Editor.
- Locate the CP 5512 component. Right-click and select Mode > Programming mode.
- Stop and restart the SIMATIC Net Configuration Service so the change is registered.
- Restart STEP 7.
- Open Options > Set PG/PC Interface. The entry CP 5512 (MPI) is now bindable. Select it as the access point of STEP 7.
- Click Diagnostics and run Test; the S7-314 should be detected at MPI address 2.
7. Station Configurator and NetPro Validation
When the PC Station is the engineering target, the binding between components must be consistent. Validate as follows.
- In NetPro, open the PC Station; the CP 5512 index should map to slot index 1 (or as configured in the Station Configurator). The Index tab of the component must show the same number as the Station Configurator entry.
- Save and compile. No error should appear in the Compile/Diagnose window.
- Open the Station Configurator; the CP 5512 row must show Mode = Configuration and a green status indicator (component active, configuration downloaded).
- Open Start > SIMATIC Net > Commissioning Wizard and run a Diagnostics pass. The wizard reads the running configuration of the PC Station; any mismatch between Station Configurator and the live stack is flagged here.
- Confirm in SIMATIC Net > PC Station > Diagnostics that the CP 5512 line shows OK and the S7 connection status is Established for any configured S7 connection.
8. Verification Procedure
- From STEP 7 V5.3, select PLC > Accessible Nodes. The S7-314 (MPI address 2) must appear in the list with status Online.
- Open the S7-314 hardware object in HW Config. Verify the rack configuration matches the physical plant.
- Initiate PLC > Download. The "Could not install a driver" dialog must not appear. A standard download progress dialog replaces it.
- After successful download, open an OB1 instance and toggle a tag in the watch table. The change should be visible in the S7-314 within one cycle (OB1 cycle, typically 50-200 ms for a small 314 program).
- Run PLC > Monitor/Modify on a few I/O addresses to confirm live data flow.
9. MPI Cable and Hardware Setup
The CP 5512 connects to the S7-314 MPI port through the dedicated MPI HW adapter. Verify the physical layer first.
| Pin (CP 5512 end) | Signal | Pin (MPI / S7-314 6ES7314 sub-D) |
|---|---|---|
| Adapter PCB end | Data line A (green) | Pin 3 |
| Adapter PCB end | Data line B (red) | Pin 8 |
| Shield | Functional earth | Pin 1 (optional bond) |
| +5 V (CP 5512 only) | Terminator power (optional) | Pin 6 (terminator bus) |
The c79459-a1890-a10 adapter integrates the bus terminator (220 Ω between pins 3 and 8, plus 390 Ω pull-up on pin 3 and pull-down on pin 8) on the S7-314 side. Do not add a second terminator. Default MPI baud is 187.5 kbps. Both ends of the bus must be terminated; for a 2-node point-to-point link the CP 5512 side is terminated by the adapter, and the S7-314 MPI port has its own internal terminator that is enabled when the bus is the final segment.
When using c79459-a1890-a10 / 6ES7901-0BF00-0AA0, the cable is pre-assembled and pre-terminated. Maximum segment length is 50 m at 187.5 kbps. For longer runs, switch to Profibus with 1.5 Mbps (CP 5512 supports up to 12 Mbps).
10. Fault and Symptom Matrix
| Symptom | Likely Cause | Fix |
|---|---|---|
| "Could not install a driver" on download | CP 5512 in configuration mode while STEP 7 binds it as online interface | Switch Set PG/PC Interface to PC Internal, or change CP 5512 mode to Programming |
| NetPro compile OK but runtime "Connection refused" | SIMATIC Net Configuration Service not started | Start service, set startup to Automatic, restart PG/PC |
| Yellow bang on CP 5512 in Device Manager | Driver not installed or wrong variant | Reinstall SIMATIC Net 2005 + HF; reboot |
| Station Configurator shows red bar on CP 5512 | Component index mismatch with NetPro | Match the index in NetPro with the Station Configurator row |
| Accessible Nodes returns empty | MPI address mismatch or wrong bus profile | Check S7-314 MPI address (default 2) and baud (default 187.5 kbps); verify terminators |
| Download appears to hang at 0% | Conflict between two PG/PC interface applications | Close any other SIMATIC Net tool (e.g., S7-PCT, Commissioning Wizard) before download |
| "Online: Different online and offline versions" warning | Previous incomplete download left PLC in inconsistent state | Run PLC > Clear/Reset on the S7-314, then re-download |
| PC Internal selected, but no connection from STEP 7 to S7-314 | SIMATIC Net stack not loaded with active connection | Run the Commissioning Wizard and activate the S7 connection in the PC Station |
11. Extended Field Notes
11.1 Driver Ownership
The CP 5512 is a single PCMCIA resource. Only one stack can own the device at a time. SIMATIC Net and STEP 7 each load their own version of the CP 5512 kernel driver. On Windows XP/2003, the driver family is s7pciXX.sys and s7wnciXX.dll. The Service Control Manager assigns the device to whichever user-mode process binds it first. The SIMATIC Net service binds it on boot; STEP 7 cannot subsequently claim it for online use unless the user manually disables the SIMATIC Net service. The recommended architecture is therefore to keep the SIMATIC Net service in control and to bind STEP 7 through the PC Internal interface (Solution A).
11.2 SAPI Buffer and Cycle Time
When using PC Internal + SIMATIC Net, the round-trip latency between STEP 7 and the S7-314 is dominated by the SAPI (SIMATIC Application Programming Interface) call into the SIMATIC Net stack. Typical latency on Windows XP with the 2005 edition is 8-30 ms per transaction, depending on PC load. For OB1 cycle times shorter than the latency, do not assume each cycle reflects the previous download; use monitoring with handshake.
11.3 Migration Path to Modern Stack
The CP 5512 is end-of-life. For new projects, use a CP 1623 (6GK1162-3AA00) PCIe, or a USB/PPI adapter for temporary commissioning, or a CP 5711 (USB to Profibus/MPI). STEP 7 V5.3 and SIMATIC Net 2005 are also legacy; current installations should be evaluated for migration to STEP 7 V5.6 or TIA Portal V16+. The diagnostics, Station Configurator logic, and PC Internal + SIMATIC Net pattern, however, remain conceptually identical.
11.4 Safety and Commissioning Constraints
12. FAQ
Why does STEP 7 V5.3 say "Could not install a driver" even when the CP 5512 is detected in Device Manager?
Device Manager only reports kernel presence, not stack ownership. The CP 5512 is owned by the SIMATIC Net configuration service; STEP 7 cannot bind the S7Mpi / s7pci driver on top. Switch Set PG/PC Interface to PC Internal so STEP 7 talks to the SIMATIC Net stack instead of the raw device.
Should the CP 5512 be in programming mode or configuration mode for a PC Station project?
Configuration mode. The CP 5512 must be a configured component of the PC Station in NetPro. Programming mode is only for projects that do not use the PC Station architecture (i.e., STEP 7 alone against the S7-314).
What is the default MPI address and baud rate of the S7-314?
Default MPI address is 2, default baud rate is 187.5 kbps. Both are set in HW Config under CPU > Properties > MPI Interface. The CP 5512 auto-detects the bus profile when started through the Commissioning Wizard.
Can I use the c79459-a1890-a10 cable with a CP 5611 A2?
No. The c79459-a1890-a10 (6ES7901-0BF00-0AA0) is designed for the CP 5511 and CP 5512 PCMCIA cards. A CP 5611 A2 (PCI) uses the standard 9-pin sub-D Profibus connector on its bracket and connects via a 6ES7901-0BD00-0AA0 or similar Profibus cable.
What services must be running for SIMATIC Net 2005 to host a PC Station on Windows XP?
The SIMATIC Net Configuration Service, the S7 DOS Configuration service, and (for OPC) the SIMATIC NET OPC Server. All three must be Started and Automatic. They are added to the Service Control Manager by the SIMATIC Net 2005 + HF installation.