WinCC Configuration Tool in Excel: Installation & Troubleshooting

David Krause11 min read
SiemensTutorial / How-toWinCC
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

WinCC Configuration Tool in Excel: Installation and Troubleshooting

The WinCC Configuration Tool is a Microsoft Excel add-in shipped as part of the WinCC "Smart Tools" component family. It enables engineers to bulk-edit WinCC tags, internal tags, and structure tags directly inside an Excel worksheet, replacing the manual point-and-click workflow in the WinCC Tag Management with spreadsheet-style mass data handling. When the tool has not been installed, the Excel toolbar appears with all buttons grayed out, leading to the common field symptom reported on WinCC v6.2 with Office 2003 and Office 2007 deployments.

This guide explains how to install the Configuration Tool, integrate it with Excel, restore the toolbar, and fix the most common enablement problems. Every step is anchored to the official Siemens installation procedure and the Smart Tools overview document (Entry ID 13681075).

1. Overview of the WinCC Smart Tools Family

The Smart Tools are an optional component group that is not selected by default during a standard WinCC installation. They are listed individually in the WinCC Setup's component tree and must be opted in to be deployed.

The WinCC Smart Tools currently exposed by Setup include (this list reflects the package contents documented in the Siemens support entry "Overview of the Smart Tools for WinCC" - Entry ID 13681075):

  • WinCC Configuration Tool – Excel add-in for editing tags/structure tags outside of WinCC Explorer.
  • WinCC Archive Configuration Tool – Excel add-in for configuring archive tags and their storage parameters in bulk.
  • WinCC Dynamic Wizard Editor – Tool for creating custom Dynamic Wizard scripts.
  • WinCC Documentation Viewer – Viewer component for the project documentation tree.
  • WinCC Cross Reference Assistant – Cross-reference tool for variables, functions, and pictures.

Both the Configuration Tool and the Archive Configuration Tool load directly into Microsoft Excel, register a custom command bar/ribbon, and write/read project data via the WinCC API. Because they share the same Setup payload, both must be selected on the same installation pass.

Architectural note: The Configuration Tool is a COM-based Excel add-in (XLA in Excel 2003 era, .XLAM under Excel 2007+). It depends on the WinCC OLE/COM automation interfaces being co-installed. If WinCC is removed or upgraded, the add-in must be re-registered.

2. Prerequisites

2.1 Software and License Requirements

Component Minimum Version Notes
WinCC (any edition) V6.0 SP3 or higher Configuration Tool is not available for WinCC < V6.0 SP3.
Windows OS Per WinCC version matrix WinCC V6.2 requires Windows XP Professional SP2/SP3; WinCC V7 supports Windows 7 and Server 2008 R2.
Microsoft Excel 2003 SP3 (V6.2 era), 2007 SP2 (V7 era) 32-bit only for V6.x and early V7.
Office Architecture 32-bit 64-bit Office is not supported by WinCC V6.2 Configuration Tool; V7 SP3 onward introduces mixed-mode support subject to compatibility list.
WinCC License No separate license required for Smart Tools Smart Tools are part of the WinCC setup package; the runtime licenses cover their use.
Local administrator Required The COM add-in registration writes to HKLM and installs components in %ProgramFiles%\Siemens\WinCC\SmartTools\.

2.2 Compatibility Verification

Before installation, confirm that the target Excel build is listed in the WinCC "compatibility list" referenced in the application FAQs. Compatibility is published per WinCC version and per Service Pack; a mismatch is the second most common cause of the grayed-button symptom after an uninstalled Smart Tools component. Always consult the official compatibility matrix shipped with the relevant WinCC Service Pack readme before deploying Smart Tools onto Office 2007 or 2010.

Ambiguity case: The source thread does not state whether the user's Office 2007 was 32-bit or 64-bit. WinCC V6.2 Smart Tools are 32-bit only on V6.2; if a 64-bit Office 2007 is present, the add-in will not load silently. Always verify the Office architecture (Help → About Microsoft Office) before continuing.

3. Step-by-Step Installation Procedure

3.1 Launch the WinCC Setup in Maintenance Mode

  1. Insert the Simatic WinCC installation media (DVD or mounted ISO). If WinCC V6.2 was deployed from a network share, browse to the Setup.exe at the root of the share.
  2. Right-click Setup.exe and select Run as administrator. On Windows XP, the current user must be a member of the local Administrators group; on Vista/7/Server 2008 the elevated token is mandatory.
  3. When the WinCC Setup dialog appears, choose "Select the components for installation or deinstallation" (i.e. maintenance/modify mode) instead of "Install WinCC". This allows the Smart Tools to be added without re-installing the entire SCADA runtime.

3.2 Add the Configuration Tool Component

  1. In the components tree, scroll down until "Smart Tools" appears. On a fresh installation it is collapsed by default; expand the node to reveal its children.
  2. Select the Smart Tools parent node.
  3. In the right-side description panel, tick the checkbox labeled "Configuration Tool". Tick "Archive Configuration Tool" at the same time if archive tag configuration is required.
  4. Optionally enable the Cross Reference Assistant, Dynamic Wizard Editor, and Documentation Viewer.
  5. Click Next to advance through the wizard, accepting the license agreement and confirming the destination path. The default install path is C:\Program Files\Siemens\Automation\WinCC\SmartTools\.
  6. Click Finish. Setup will register the OLE/COM components, write the registry keys under HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\Automation\WinCC\Smart Tools\, and add a Start menu shortcut.

3.3 Verify the Installation

  • Confirm the file C:\Program Files\Siemens\Automation\WinCC\SmartTools\CCConfigTool.xla (WinCC V6.2) or the equivalent .XLAM for V7 exists.
  • Confirm the registry key HKLM\SOFTWARE\Microsoft\Office\Excel\AddIns\WinCCConfigTool.Connect was created.
  • Open Excel → Tools → Add-Ins. The entry "WinCC Configuration Tool" should now appear and be ticked.

4. Excel Integration and Toolbar Enablement

4.1 First-Time Excel Launch

  1. Start Microsoft Excel as the user that will run the engineering workstation (the same Windows account used to launch WinCC Explorer).
  2. Excel may show a security warning that "macros have been disabled". Click Enable Macros; the WinCC Configuration Tool relies on VBA behind the XLA wrapper.
  3. The WinCC Configuration toolbar appears as a floating command bar (Excel 2003) or as a dedicated ribbon add-in tab (Excel 2007). On a clean install the toolbar appears; if only grayed buttons are visible, the COM connection to the WinCC project is not active (see Section 6).

4.2 Connecting to the WinCC Project

The Configuration Tool reads and writes the currently open WinCC project database. The connection is established by clicking the "Open Project" or "Project Connect" button on the toolbar and navigating to the project .MCP file. Once a project is bound:

  • Tags appear as rows in the Excel sheet.
  • Tag properties (name, type, limits, scaling, archive settings) become editable cells.
  • The Write Back to WinCC button commits the worksheet to the project.
First-time tip from the in-package help file: Always open the WinCC project in WinCC Explorer first so that the project database is unlocked. WinCC acquires an exclusive file lock on the project files when running, so WinCC must be closed (or the project closed in Explorer) before the Configuration Tool can write back.

5. Configuration Tool vs Archive Configuration Tool

Tool Purpose Worksheet Produced Typical Use Case
Configuration Tool Bulk-edit WinCC tags: internal tags, external tags, structure tags, tag groups Tabbed sheets: Process Tags, Internal Tags, Structure Tags, Groups Renaming hundreds of tag limits, changing addressing in bulk, importing tag lists from vendor documentation
Archive Configuration Tool Bulk-edit archive parameters: archive name, storage cycle, archiving method (acyclic/cyclic), events Single sheet per archive with one row per tag Switching an entire plant from 1 s to 500 ms logging cycle, applying new retention periods

Both tools are Excel add-ins and share a common toolbar layout. The Archive Configuration Tool is documented separately as a mass-data configuration helper for WinCC archives and is the second most-installed Smart Tool component.

6. Troubleshooting Grayed or Missing Toolbar

The grayed-button symptom has a defined set of root causes. Diagnose them in the order listed below.

6.1 Root-Cause Matrix

# Symptom Likely Root Cause Fix
1 Toolbar absent entirely Smart Tools "Configuration Tool" was not selected during Setup Re-run Setup in modify mode (Section 3)
2 Add-In listed in Tools → Add-Ins but unchecked Add-In disabled by user or by Office macro security policy Tick the box; lower macro security to Medium
3 Toolbar appears, all buttons grayed No WinCC project open or WinCC has the project file lock Close WinCC Explorer; re-open the .MCP from the tool
4 Toolbar grayed despite WinCC closed Architecture mismatch (64-bit Office vs 32-bit WinCC) Install 32-bit Office, or upgrade to a WinCC build with 64-bit Office support
5 Add-In fails to load with "Cannot load add-in" Missing Visual Basic for Applications runtime; Office 2003 with V7 Smart Tools Reinstall Office with VBA; install WinCC build matching the Office major version
6 Config Tool buttons enabled but writes fail silently WinCC project stored on a read-only network share or UAC virtualized Copy project locally; run Excel elevated

6.2 Registry Reset Procedure

If the Add-In entry is corrupted, perform a controlled re-registration:

  1. Close Excel.
  2. Open an elevated command prompt.
  3. Re-register the automation server:
    %SystemRoot%\System32\regsvr32.exe "C:\Program Files\Siemens\Automation\WinCC\SmartTools\CCConfigTool.dll"
  4. Re-open Excel and verify Tools → Add-Ins shows the Configuration Tool ticked.
Ambiguity case: On WinCC V7 the file name and install path differ from V6.2 (typically %ProgramFiles%\Siemens\Automation\WinCC_V7\SmartTools\). Always substitute the path discovered on the engineering station before re-registering.

7. Office 2007 and Office 2010 Considerations

Office 2007 introduced the ribbon UI and a revised security model. WinCC V6.2 with Office 2007 was treated as a partially supported combination in the official compatibility list. The most common field failures are:

  • Ribbon tab hidden: The WinCC add-in registers as a "command-based" add-in under Office 2007 and may need to be enabled via Office Button → Excel Options → Add-Ins → Manage: COM Add-Ins → Go.
  • Trust Center blocking VBA: Office 2007 introduces the Trust Center. Add the WinCC SmartTools install folder to Trusted Locations or set the macro setting to Disable all macros except digitally signed macros with the WinCC certificate installed.
  • Excel 2010 (64-bit): Not supported by WinCC V6.x Smart Tools. To use V6.x Smart Tools, install the 32-bit edition of Office.

For Office 2010 and Office 2013 deployments, upgrade to at least WinCC V7 SP3 or V7.4 respectively and verify against the official compatibility list. The maintenance-mode Setup (Section 3) still applies; the Smart Tools checkbox location is unchanged.

8. Operational Workflow and Field-Proven Tips

  1. Always edit a copy. Use File → Save As to write the project spreadsheet to a working folder before performing mass edits. The Configuration Tool retains the last opened path.
  2. Bulk import via copy/paste. Paste structured data from vendor tag lists into the tool's Process Tags sheet. Validate column ordering before committing.
  3. Use Excel's =CCValidateTag() formula (WinCC V7+) to check syntax before writing back.
  4. Coordinate with the runtime. When WinCC Runtime is active on the same station, Configuration Tool changes are blocked. Stop WinCC Runtime or perform edits on an offline engineering station.
  5. Generate a CSV export of every batch edit for change-control records. Use File → Export → CSV (audit).

9. Verification After Installation

Run the following checks in order to confirm a valid Smart Tools deployment:

  1. Component check: Confirm CCConfigTool.xla / .XLAM exists on disk.
  2. Registry check: regedit → HKLM\SOFTWARE\Microsoft\Office\Excel\AddIns contains the WinCC add-in CLSID entry.
  3. Excel check: Open Excel → File → Options → Add-Ins → Manage: COM Add-Ins. The Configuration Tool appears with status Loaded.
  4. Project connection check: Open a WinCC project; toolbar buttons become enabled; clicking Write Back succeeds without error 0x80004005.
  5. Round-trip check: Add a test tag named Tool_Test_Bool; save; reload in WinCC Explorer; confirm presence.

10. Alternate Deployment Paths

On locked-down engineering workstations (for example, validated pharma or nuclear environments), running the WinCC Setup interactively may be restricted. The equivalent unattended command line is:

Setup.exe /silent /components:"SmartTools.ConfigTool,SmartTools.ArchiveConfigTool" /log:C:\Temp\smarttool_install.log

Verify with the setup's exit code: 0 on success, non-zero on failure. The exact switch syntax was introduced in WinCC V7.2 and may differ on V6.2 — consult the V6.2 setup help before scripting unattended installs on legacy deployments.

Why are all buttons on the WinCC Configuration toolbar grayed out after install?

The Smart Tools "Configuration Tool" checkbox was not selected during WinCC Setup. Rerun the WinCC Setup, choose "Select the components for installation or deinstallation," expand Smart Tools, and tick Configuration Tool (and Archive Configuration Tool if needed). On V6.x with Office 2007, also verify the architecture is 32-bit.

Does the WinCC Configuration Tool work with Office 2007 or only Office 2003?

The Configuration Tool supports both, but the exact combination depends on the WinCC version and Service Pack. Office 2007 requires the add-in to be enabled under the COM Add-Ins manager and the macro security relaxed in the Trust Center. Always cross-check the official WinCC compatibility list before deployment.

Can I edit tags while the WinCC runtime is running?

No. WinCC holds an exclusive write lock on the project files while the runtime is active or while the project is open in Explorer. Close the project (or stop the runtime) first; the Configuration Tool will then allow the write-back.

Do I need an additional license for the Smart Tools?

No separate license is required. Smart Tools ship as a free Setup component group and are activated by selecting them during installation. The runtime licenses you already own cover their use.

Where can I find the official overview of all WinCC Smart Tools?

Siemens publishes the Smart Tools overview on the Industry Online Support portal under Entry ID 13681075 - Overview of the Smart Tools for WinCC. The in-package help file also contains tips and tricks for first-time use of the Configuration Tool and the Archive Configuration Tool.

Back to blog