Problem Overview
The Siemens WinCC Configuration Tool is an Excel-based SmartTool add-in (distributed with WinCC under Smart Tools > WinCC Configuration Tool) that allows editing of tags, connections, alarms, and limit-value monitoring rows of a WinCC project from outside the WinCC Explorer. The tool is frequently used to bulk-modify large tag lists without opening Graphics Designer or Tag Management.
A documented failure mode occurs when a project is created cleanly (no error during new project generation) but cannot be opened from a different workstation, or after a WinCC reinstallation. The tool launches Excel, mounts the project file, and immediately aborts with two companion messages:
-
Top-level dialog:
"Not all limit value monitoring could be generated! Errors occurred while reading the object" -
Reading Error tab (per-row entries):
Table type: Connection table → Error text:"The communication driver set is unknown!"
Table type: Tag table → Error text:"The set connection does not exist!"
Both messages block the import of the tag database; the user cannot view, edit, or export tags, and any pending CSV/Excel modifications cannot be re-imported into WinCC.
Affected Software Versions
| Component | Tested Version | Notes |
|---|---|---|
| WinCC | 7.0 SP3 (7.0.3.0) | Reproduced on clean install; also reported on 7.0 SP1, SP2 |
| Windows | 7 Professional 64-bit | Affected on Win7/Server 2008 R2 and later |
| Microsoft Office | 2007 (32-bit), 2003 SP3 | Office 2010/2013 32-bit are also compatible; 64-bit Office is not supported by WinCC 7.x SmartTools |
| ConfigurationTool add-in | Shipped with WinCC 7.0 DVD (folder \WinCC\SmartTools\ConfigurationTool) | Native add-in, not a click-once package |
Exact Error Messages and Where They Originate
The Excel workbook produced by the tool contains a hidden diagnostic tab called Reading Error (sometimes rendered ReadingError). Open it manually via right-click → Unhide if it is not visible. The two error classes encountered are:
| Table Type | Error Text | Interpretation |
|---|---|---|
| Connection table | The communication driver set is unknown! | WinCC cannot resolve a channel name referenced in the project to an installed channel DLL (e.g., ChannelS7.dll, ChannelModbus.dll). The channel physical is missing on the host running the tool. |
| Tag table | The set connection does not exist! | Tags point to a logical connection (e.g., AS1, Modbus_1) that is not present in the connection list because the underlying channel is missing. |
The cascade is direct: the missing channel prevents connection enumeration, which in turn invalidates every tag bound to those connections. The limit-value monitoring row of the Reporting tabs is the first object the tool tries to rebuild from the WinCC database, which is why that error surfaces first.
Root Cause Analysis
The error is not caused by a broken tag, a corrupted MDF/SDF, or a registry ACL. In every reported case the underlying cause is one of the following:
-
Missing communication channel on the operator station running the Excel tool. The project was created on a WinCC engineering station with SIMATIC S7 Protocol Suite and MODBUS Serial installed; the operator station has only WinCC Runtime with a subset of channels. The configuration tool enumerates
HKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\ChannelUnitsand the registry subkeys matching the project's connection records. When the key is missing, the error is thrown. -
WinCC Custom Installation missing the channel. A typical custom install path under the WinCC 7.0 SP3 setup is WinCC Installation → Additional Languages / Options → Communication → SIMATIC S7 Protocol Suite. If the box was unchecked, the DLL is never registered with
regsrv32. -
Mixed project on a network share. WinCC project is stored on a UNC path (e.g.,
\\eng-pc\WinCCProj\PlantA) but the channel search path resolution expects the channel DLLs to be local under%ProgramFiles(x86)%\Siemens\Automation\WinCC\bin. A blocked UNC load throws the unknown-driver message. - Office 64-bit vs Configuration Tool 32-bit mismatch. The SmartTool is compiled against Excel 2003/2007 COM (32-bit only). With Office 64-bit the COM registration is correct but the add-in refuses to enumerate tags and silently degrades; some users perceive this as the same "driver set is unknown" symptom.
- Project originally authored on a different WinCC version. For example, the project was created on WinCC 6.2 with the Channel APACS driver and later migrated to 7.0. The migration copies the connection records but the channel DLLs are version-mismatched or absent.
"The set connection does not exist!" for tags whose parent connection is broken by a missing channel. Fixing the channel eliminates the second error automatically; do not attempt to repair tag rows first.
Diagnostic Workflow
Run the following checks on the workstation that hosts the failing Excel tool. Each step confirms or eliminates a candidate root cause before any destructive change is made.
-
Confirm the Excel add-in is loaded. Open Excel → File → Options → Add-Ins → Manage: COM Add-Ins → Go. Verify WinCC ConfigurationTool is present and enabled. If absent, re-register with
regsvr32 "C:\Program Files\Siemens\Automation\WinCC\SmartTools\ConfigurationTool\CCConfigTool.dll"from an elevated command prompt. -
Verify the channel DLLs exist on disk.
Expected entries includedir "%ProgramFiles(x86)%\Siemens\Automation\WinCC\bin\Channel*.dll"ChannelS7.dll,ChannelModbus.dll,ChannelALL.dll. A missing entry is the smoking gun. -
Inspect the WinCC channel registry hive.
Each installed channel exposes a subkey (e.g.,reg query "HKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\ChannelUnits" /s\ChannelS7). If the channel referenced in the project is absent here, the tool will fail. -
Read the project's connection list manually. Open
<ProjectName>.mcpin the WinCC Explorer → Tag Management → [your driver] → Connections. Note the channel name and connection count. Cross-check the count against what the Excel tool reports as unknown driver set rows. - Open the WinCC Channel Diagnostics applet. Start → Siemens Automation → WinCC → Channel Diagnosis. It enumerates the same registry hive and reports Channel is registered / Channel is not registered for each known driver.
- Check the Application event log (eventvwr.msc) under Siemens Automation source. Log entries such as Event ID 4900 confirm channel load failures at WinCC startup.
-
Verify Office bitness.
or simply File → Account → About Excel in Excel 2013+. It must read 32-bit for WinCC 7.0 SP3 SmartTools.reg query "HKLM\SOFTWARE\Microsoft\Office\<version>\Outlook" /v Bitness
Solution Path A — Install the Missing Communication Channel
This is the fix in roughly 90% of incidents. The channel that the project uses must be present on the local disk and registered with Windows.
- Insert the original WinCC 7.0 SP3 installation media (DVD or mounted ISO).
- Run Setup.exe as Administrator.
- When prompted, choose Modify / Add Components (the Repair path also works but reinstalls the full package).
- Expand the tree: WinCC → Communication and tick the boxes for every channel used by the project (typically SIMATIC S7 Protocol Suite and OPC).
- Click Next → Install. Setup registers the channel DLLs into
%ProgramFiles(x86)%\Siemens\Automation\WinCC\binand writes the registry subkeys. - Reboot. WinCC Runtime services must restart for the new channel to bind to the process.
- Re-open the Excel ConfigurationTool and point it at the project.
Solution Path B — Re-register the Excel ConfigurationTool Add-in
If the channel is installed correctly but the COM bridge is broken (typically after an Office update), re-register the in-process server:
- Close all Excel instances.
- Open cmd.exe with Run as Administrator.
- Execute:
cd /d "%ProgramFiles(x86)%\Siemens\Automation\WinCC\SmartTools\ConfigurationTool" regsvr32 /u CCConfigTool.dll regsvr32 CCConfigTool.dll - Re-launch Excel and verify the add-in is enabled.
If the registration returns 0x80070005 (access denied), stop the WinCC CCAgent and WinCC Runtime services first; they hold handles on the DLL during shutdown.
Solution Path C — Repair the Project's Connection Records
When a project was authored on a workstation with a different set of channels and the source workstation is gone, you may have orphaned connection records that the target cannot resolve. The cleanest remedy is to rebuild the connection list:
- Open WinCC Explorer on the target machine.
- Right-click Tag Management → Add New Driver → select the correct channel (e.g., SIMATIC S7 Protocol Suite).
- Open the new driver → right-click → New Connection → name it identically to the orphaned record (the Excel tool expects the same logical name).
- Reassign the tags to the new connection via the Excel ConfigurationTool: load the project, ignore the warnings, then use the Search & Replace column on the tag sheet to update the connection reference from the old name to the new one.
- Save the project. The Reading Error tab should now be empty.
Solution Path D — Clean Tag-Logging References
If the user has already attempted a fix and rebuilt connections but still sees a few hundred rows of "The set connection does not exist!" in the tag table, those are tags referencing a connection that no longer exists. The fastest cleanup is:
- Open WinCC Explorer → Tag Logging → open the Archives node.
- For every archive, verify the Tag Selection dialog shows only valid tags. Delete orphan tag references with the red exclamation mark icon.
- Repeat for Alarm Logging → Message Classes → tag triggers.
- Open the Excel tool, the Reading Error tab will be empty for the tag table.
Verification
After applying the fix, perform the following confirmation steps before declaring the workstation healthy:
- Launch the WinCC ConfigurationTool from Start → Siemens Automation → WinCC → Configuration Tool. Excel opens with the project loaded.
- Right-click the worksheet tabs → Unhide → select Reading Error. The sheet must be empty (no rows).
- Switch to the Tag tab. The row count must equal Tag Management → All Tags in WinCC Explorer. If a delta exists, the rows correspond to internal Structure tags (e.g.,
@System) which the tool always hides — a difference of 30–80 rows is normal. - Edit a test cell, save, and re-open in WinCC Explorer. The change must be visible.
- Start WinCC Runtime. The connection status icon in the Channel Diagnosis applet must turn green within the configured timeout (default 5 s).
- Trigger one limit value from the PLC. The alarm must appear in Alarm Logging Runtime within 1 s.
Prevention Checklist
| # | Action | Why |
|---|---|---|
| 1 | Maintain a station build sheet listing every WinCC channel installed on engineering and operator workstations. | Catches drift between stations before the Configuration Tool is migrated. |
| 2 | Always install the same channel set on any machine that hosts the project file (engineering station, backup server, or the file-share host). | Prevents orphaned connections. |
| 3 | Lock the Office version to 32-bit via Group Policy or ODFP customizations. | Prevents accidental 64-bit Office upgrades that break the COM add-in. |
| 4 | Document a project hand-over: include the project's Connections export (CSV) and the channel DLL list. | Allows fast rebuild on a new workstation. |
| 5 | Run the WinCC Channel Diagnosis applet monthly on operator stations. | Detects a missing channel after Windows updates that touched comrepl.dll. |
| 6 | Snapshot the HKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\ChannelUnits hive as part of the system image. |
Speeds up forensic comparison when the error reappears. |
Troubleshooting Matrix
| Symptom | Likely Cause | Action |
|---|---|---|
| "Communication driver set is unknown!" on every connection | Channel DLL missing | Solution Path A |
| Same error after Solution A | Registry hive not refreshed | Reboot, then re-run Channel Diagnosis |
| Add-in missing from Excel COM Add-Ins list | COM registration lost | Solution Path B |
| Excel crashes when opening project | Office 64-bit installed | Uninstall 64-bit Office, install 32-bit |
| Only OPC connections fail | OPC core components unregistered |
regsvr32 opccomn_ps.dll, opcproxy.dll
|
| Tags in Internal driver fail, S7 tags OK | Corrupted internal variable list | Solution Path D |
| Error appears only when project on UNC path | Constrained delegation / SMB signing | Copy project locally, retry, then re-save |
Related ConfigurationTool Behavior
Two ancillary behaviors often observed alongside the reported error are worth understanding:
-
ConfigurationTool will not load a project in Read-Only mode from a UNC share. The WinCC Runtime must hold a Server license on the host that owns the project directory; the tool checks for the ProjectPath registry value in
HKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\Projectsbefore mounting the workbook. - ConfigurationTool tags include limits of 65 535 per workbook. Excel 2003 hard-limits at 65 536 rows; the tool emits a warning when the project exceeds that. Upgrade to Excel 2010+ and use the .xlsx format before re-running.
-
Channel name resolution is case-sensitive. A connection named
PLC1in the project is looked up asPLC1in the registry. Channels installed underSimaticS7(no space) will not matchSimatic S7.
FAQ
What does "The communication driver set is unknown!" actually mean in the WinCC Configuration Tool?
It means a connection row in the WinCC project references a channel (e.g., SIMATIC S7 Protocol Suite) whose DLL is not installed on the local machine. The tool enumerates the registry hive HKLM\SOFTWARE\Wow6432Node\Siemens\WinCC\ChannelUnits to resolve the channel; if the subkey is absent, every connection under that channel is flagged as an unknown driver set.
How do I check which WinCC channels are installed on a workstation?
Open Start → Siemens Automation → WinCC → Channel Diagnosis. The applet lists every channel with status registered or not registered. Equivalently, run dir "%ProgramFiles(x86)%\Siemens\Automation\WinCC\bin\Channel*.dll" from a command prompt to list the DLLs physically present on disk.
Does the WinCC Configuration Tool work with 64-bit Office?
No. The WinCC 7.0 SP3 SmartTools (including the Configuration Tool) are compiled against 32-bit Excel COM. A 64-bit Office install will fail to load the add-in, and even when loaded, channel enumeration silently breaks. Uninstall the 64-bit Office and install the 32-bit edition (Office 2007, 2010, 2013, or 2016 32-bit are all supported).
Can I rebuild a missing channel without re-installing the entire WinCC package?
Yes. Run the WinCC 7.0 SP3 setup and choose Modify / Add Components, then tick the required channel under Communication. Setup registers the DLL and updates the registry without touching the rest of the installation. A reboot is required.
Why does the Reading Error tab still show errors after I install the channel?
Two possibilities: (1) the WinCC Runtime services were not restarted and the channel DLL is still not bound, or (2) some tags reference a connection name that no longer exists because the project was migrated from a different WinCC version. Restart WinCC, then verify the connection list in Tag Management matches the logical names referenced in the Excel tool.
Is it safe to edit a WinCC project via the Excel Configuration Tool while Runtime is running?
Yes for tag limits, alarm texts, and connection parameters that are not currently used by an active screen. Tag names and connection names should never be modified while a graphics picture is open, because the runtime caches the old name in memory and the change will not take effect until the picture is reloaded.
How can I export the limit-value monitoring rules for offline editing?
Open the Excel Configuration Tool → File → Export → choose Limits. The tool produces a CSV with columns TagName, LowLimit, HighLimit, Hysteresis, MsgClass. After editing, use File → Import to write the values back; the tool will rebuild the limit-value monitoring rows and surface any unresolved tag references in the Reading Error tab.