Overview
Siemens WinCC Flexible 2007 (catalog family 6AV6613-1A... engineering software, paired with panels such as 6AV6643-0BA01-1AX0 MP 277 10" Touch or 6AV6642-0DA01-1AX0 MP 277 10" Key) is the predecessor to TIA Portal WinCC Comfort/Advanced. Engineers migrating STEP 7 V5.x projects into the HMI depend on the Import Tags command under the Project Tree to bulk-load shared symbols, DB structure members, and PLC tags as HMI tags. The command is context-sensitive: WinCC Flexible 2007 only renders it when the Tags node of the project tree is the active selection. The Import/Export cascade is bound to the same condition.
The most common field report is a four-step disappearance:
- The HMI engineer creates a new WinCC Flexible 2007 project.
- Project > Import Tags and Project > Import/Export are visible in the menu bar during the first session.
- After closing and re-opening the project, the menu entries are greyed out or removed.
- Re-creating the project, restarting the engineering station, or restoring from backup does not bring them back.
This article documents the root cause, the recovery procedure, the import/export workflow that survives across WinCC Flexible versions, and a forward-migration note to WinCC Unified V20 in TIA Portal V20.
Prerequisites
- WinCC Flexible 2007 SP5 or 2008 SP3 installed. The release build must be at least
2007 + HF7 (K 07.02.05.07)to handle the unicode symbol tables of STEP 7 V5.5 SPx projects. - A configured HMI device bound to a STEP 7 V5.x integration. Connections are defined under Project Tree > HMI device > Connections.
- Read/write access to the project folder (default path:
%ProgramFiles%\Siemens\Automation\WinCC flexible\Projects). - For STEP 7 to WinCC Flexible tag transfer, the standalone Tag Converter tool (ESM22_TagConverter, part of the WinCC Flexible toolset) is recommended.
- Local administrator rights on the engineering station to allow the registry keys under
HKLM\Software\Siemens\Automation\WinCC flexible\2007to be read by the user profile.
Why the Import Tags Menu Disappears
WinCC Flexible 2007 uses a context-sensitive menu model. The Import Tags and Import/Export items live in the Project menu, but their Enabled state is bound to three runtime conditions:
| Condition | Required value | Effect when false |
|---|---|---|
| Active selection in Project Tree | Tags node (or any child of Tags) | Menu items are disabled; toolbar icon greyed out |
Project integrity flag (.hmi) |
Tags container initialised | Project menu truncates the Import/Export block |
| User permission | At least "Engineer" role | Menu block removed (only Project > Close remains) |
If the active selection is Connections, Screens, Recipes, or the HMI device root, WinCC Flexible 2007 hides the entire Import Tags / Import / Export cascade. After closing and re-opening the project, the cursor defaults to the HMI device root in the Project Tree, so the menu appears to have "disappeared". This is by design and not a license, install, or project corruption defect.
State machine
Restoring the Import Tags Menu
Step 1 – Confirm the installed WinCC Flexible version
- Start WinCC Flexible 2007.
- Select ? > About WinCC Flexible 2007. The splash dialog shows the exact build, for example
WinCC flexible 2007 SP5 + HF7 (K 07.02.05.07)or2008 SP3 (K 08.03.01.01). - If the build is older than 2007 SP2, apply HF7 first. The bug-fix that binds the menu to the Tags node is delivered in HF4 and refined in HF7.
Step 2 – Select the Tags node in the Project Tree
- In the Project Tree (left pane, titled Project Tree), expand the HMI device.
- Click once on Tags (the icon with the small green tag symbol, located under the device, above Connections).
- Look at the menu bar. The Project menu now exposes Import Tags... and Import/Export.... The toolbar shows the import tag icon as active.
- If the menu is still greyed out, double-click Tags to open the tag editor in the work area, then re-click the Tags node in the tree to reset focus.
Step 3 – Reset the user permission role
- Select Project > User Administration > User Roles.
- Confirm the active user is assigned at least role Engineer. Roles Operator and Viewer strip the Import Tags block entirely.
- Save the project, close, and re-open. The menu now appears immediately because the Tags container has been touched during the previous session.
6AV6613-1XA51-1CA0) to enforce roles at runtime.Step 4 – Re-initialise the Tags container
If the menu is still missing after Step 3, the project's .hmi file lost the Tags container pointer. Recover with the following procedure:
- Close the project in WinCC Flexible 2007.
- Make a backup copy of
<projectname>.hmiand<projectname>_log.LDFin the project folder. - Open the project from a Windows command prompt with
WinCCflex.exe /reset "<path_to_project>\<projectname>.hmi". This re-creates the Tags container hash and restores the context-sensitive menu bindings. - Open the project normally, select the Tags node, and confirm Project > Import Tags is enabled.
Importing Tags from STEP 7 V5.x into WinCC Flexible 2007
Siemens supports two methods for moving STEP 7 symbols into the HMI: the integrated Import Tags wizard (one HMI, one STEP 7 project) and the standalone Tag Converter tool (many HMI targets, batch).
Method A – Integrated Import Tags wizard
- Select the Tags node in the Project Tree.
- Choose Project > Import Tags.... The wizard opens.
- Select the data source: STEP 7 Symbol Table or STEP 7 Data Block.
- Browse to the STEP 7 project (
.s7p). The wizard enumerates the available symbols and DB members. - Map each source tag to a target HMI tag. The wizard pre-fills Name, DataType, and Address. Adjust the Acquisition cycle (default 1 s) and the Update mode (Cyclic, OnChange, or OnCommand).
- Click Finish. WinCC Flexible 2007 inserts the tags under Tags > Import Tags with a read-only lock symbol.
Method B – Tag Converter tool (CSV batch import)
For larger projects, the Tag Converter exports STEP 7 symbols to a CSV file that WinCC Flexible 2007 imports through Project > Import/Export > CSV Import. The official procedure is published in Siemens Support Entry 22834940.
- Install the Tag Converter from the WinCC Flexible 2007 DVD under
Support\Tools\TagConverter. - Launch
TagConverter.exe. Select Source: STEP 7 Symbol Table and browse to the STEP 7 project. - Configure the Conversion filter: enter the symbol name pattern (for example
DB*orMotor*). - Choose the Output format: WinCC Flexible CSV and click Convert. The result is written to
<step7_project>\<program>\Sources\<symbol>.csv. - In WinCC Flexible 2007, select the Tags node, then Project > Import/Export > Import. Browse to the CSV file. The import dialog uses the semicolon separator defined by the Windows regional setting; on a German engineering station it is
;, on US English it is,. - Map the CSV columns. The required column set is shown in the table below.
| CSV column | Mandatory | Example | Notes |
|---|---|---|---|
Name |
Yes | Motor_Speed |
Max 32 chars, must match HMI tag naming rules |
Path |
No | \Production\Line1\ |
Folder structure inside Tags |
DataType |
Yes |
Int, Real, Bool
|
STEP 7 type mapping: INT→Int, REAL→Real
|
Connection |
Yes | S7-Connection_1 |
Must exist under Connections |
Address |
Yes | DB100.DBW 4 |
Absolute or symbolic |
Length |
For strings | 20 |
Used only for WString/String
|
AcquisitionCycle |
No | 1s |
Default 1s if omitted |
UpdateMode |
No | Cyclic |
Cyclic | OnChange | OnCommand
|
WString longer than 254 chars, and cannot import DTL (date/time long) at all. Map these types to String + DATE_AND_TIME on the STEP 7 side before conversion.Exporting Tags for Bulk Edit
The Import/Export > Export command writes the current tag database to a CSV file that can be edited in Microsoft Excel, Notepad++, or scripted with PowerShell. The export procedure is the only documented way to perform mass renames or address reassignments before WinCC Flexible 2008 SP2.
- Select the Tags node.
- Choose Project > Import/Export > Export > CSV Export.
- Choose the destination folder and the Export only the selected folder option to limit the dump to a sub-folder of Tags.
- Click OK. WinCC Flexible 2007 creates
TagExport.csvwith the column header row from the table above. - Edit the file in Excel. Keep the column header row intact. Save as CSV (Comma delimited) (*.csv) on US English stations, or CSV (Trennzeichen-getrennt) (*.csv) on German stations.
- Re-import with Project > Import/Export > Import > CSV Import. WinCC Flexible 2007 will refuse the import if the column order is altered, the file is saved as UTF-8 with BOM missing, or the regional separator is mismatched.
PowerShell bulk-rename example
$csv = Import-Csv "C:\Temp\TagExport.csv" -Delimiter ';'
foreach ($row in $csv) {
if ($row.Name -like 'OLD_*') {
$row.Name = $row.Name -replace '^OLD_','NEW_'
}
}
$csv | Export-Csv "C:\Temp\TagExport_renamed.csv" -Delimiter ';' -NoTypeInformation -Encoding UTF8
Forward Migration to WinCC Unified V20
WinCC Flexible 2007 projects migrate to TIA Portal V20 via the Migrate project wizard. The imported Tags container is preserved, but the Import/Export workflow is replaced by a TIA Portal command sequence using .xlsx instead of CSV. The official TIA Portal V20 documentation describes the new procedure in Configuring tags (RT Unified).
- Open the migrated project in TIA Portal V20 with WinCC Unified V20 installed.
- Open the HMI device > Tags editor.
- Click the Export icon in the toolbar. WinCC Unified writes an
.xlsxworkbook with one sheet per tag table. - Edit the workbook in Excel. WinCC Unified accepts a fixed sheet name (Tags) and the column set
Name | Path | DataType | Connection | Address | Length | Acquisition | Update. - Click the Import icon. The import preview shows the delta (new / changed / deleted tags) before commit.
| Feature | WinCC Flexible 2007 | WinCC Unified V20 |
|---|---|---|
| Import file format | CSV (regional separator) | XLSX (fixed schema) |
| Bulk import command | Project > Import/Export > Import | Tags editor toolbar > Import |
| STEP 7 symbol import | Tag Converter tool (CSV) | Direct from PLC data types |
| Maximum tags per import | 10,000 (tested) | No documented limit (device memory bound) |
| Unicode support | HF7 or later | Native UTF-8 |
| Import log | WinCCFlexible.log | TIA Portal Information window |
Verification Steps
After the recovery procedure, run the following checklist to confirm the import path is fully functional:
- Open the project, click the Tags node. Project > Import Tags... is enabled.
- Export the tag database. The CSV file opens in Excel without an error about the column separator.
- Re-import the unmodified CSV. The import dialog reports
0 added, 0 changed, 0 deletedand closes without a warning. - Compile the project. Project > Compiler > Check Consistency returns no tag errors.
- Download the project to the panel. The transfer ends with
Transfer completed successfully. - From the panel, open the Information > System view. The imported tags appear under Tags > Import Tags.
Troubleshooting Matrix
| Symptom | Likely cause | Resolution |
|---|---|---|
| Import Tags menu always hidden | Project Tree focus on a non-Tags node | Click Tags in the Project Tree |
| Import Tags menu missing after re-open | Focus reset to HMI root on load | Set Project > Options > Settings > Start view > Tags |
| CSV import reports "column not found" | Regional separator mismatch | Save CSV with the separator set in Windows regional settings |
| CSV import shows 0 tags added | Encoding is UTF-8 without BOM | Save with BOM or convert to ANSI |
| Tag names truncated to 24 chars | Pre-HF7 build | Apply HF7 or higher |
| Import wizard does not list STEP 7 project | STEP 7 V5.5 not installed or wrong version | Install STEP 7 V5.5 SPx; the integration is not supported with STEP 7 V4 |
| Compile error F-4500 after import | Tag address outside valid PLC range | Cross-check the address with the STEP 7 symbol table |
| Runtime tag shows ##### in the panel | Acquisition cycle too long for the update rate of the screen object | Reduce Acquisition cycle to 100 ms or use OnChange |
| Tag Converter tool missing from DVD | Custom install omitted the Support\Tools folder | Reinstall with "Complete" option |
| WString or DTL tag not imported | Unsupported data type | Map to String or DATE_AND_TIME in STEP 7 |
FAQ
Why does the Import Tags menu appear the first time I open a WinCC Flexible 2007 project but vanish after closing and re-opening?
The menu is context-sensitive and is bound to the Tags node of the Project Tree. During the first session the wizard positions the cursor inside the Tags container; on re-open the cursor resets to the HMI device root, which hides the menu. Click the Tags node in the Project Tree to restore it.
What is the minimum build of WinCC Flexible 2007 that supports the STEP 7 symbol import workflow?
Build 2007 + HF7 (K 07.02.05.07) or 2008 SP3 (K 08.03.01.01) or higher. Older builds do not handle unicode STEP 7 V5.5 symbol tables correctly and truncate tag names to 24 characters.
How do I import a list of more than 10,000 tags from STEP 7 into WinCC Flexible 2007?
Use the Tag Converter tool from the WinCC Flexible 2007 DVD (Support\Tools\TagConverter\TagConverter.exe) to export the STEP 7 symbol table to a CSV file, then import the CSV with Project > Import/Export > Import. Split the import into multiple CSV files if a single file exceeds 10,000 rows.
What is the column separator for the WinCC Flexible 2007 CSV import?
The separator follows the Windows regional setting. On a German engineering station the separator is ;, on US English it is ,. The import fails with "column not found" when the CSV is saved with a different separator.
Can I migrate the import workflow to TIA Portal WinCC Unified V20?
Yes. After migration, use the Tags editor toolbar Export/Import commands in TIA Portal V20. The legacy CSV is replaced by an .xlsx workbook with a fixed sheet schema; the official procedure is documented in the WinCC Unified V20 tag import/export manual.