IMDTouchKnowledge BaseShop main store

Troubleshooting

WinCC flexible 2007 invalid patch position warning causes

HMI and touchscreens Published 5 min read By IMDTouch engineering team

Short answer

When one HMI device in an integrated project triggers the EvaluateStringRelations invalid patch position warning on one engineering PC but compiles on another, the fault lies in that workstation's WinCC flexible installation, hotfix level, or cached build files rather than the HMI panel. Align the software and hotfix version across both PCs, delete temporary compile files for the affected station, and run a full rebuild on that device alone.

A laptop connected by an Ethernet cable to a black touch operator panel on a bench stand
On this page
  1. Why does one HMI device fail on one PC but build on another?
  2. How do you clear stale build files and rebuild one device?
  3. How do you isolate a station in an integrated STEP 7 project?
  4. When should you reset the engineering workstation cache?
  5. Does resetting the panel or changing addresses fix this warning?
  6. When does replacing the HMI hardware make sense?
  7. Questions asked

When one HMI station in a multi-device project produces the EvaluateStringRelations: invalid patch position warning on one engineering workstation but compiles cleanly on another, fix the local engineering environment first. Because the warning happens during PC compilation before any download occurs, changing PLC network addresses or wiping the panel will not resolve it.

  • Workstation scope: The fault follows the local Engineering System installation, hotfix level, or incremental build cache on that PC, not the target panel.
  • Standard basis: IEC 61131-3 (3rd Edition) defines character string literal rules used in PLC programs bound to HMI string tags, while Siemens WinCC flexible documentation governs project generation, temporary file cleanup, and workstation resets.
  • Worked check: For a project with 4 HMI devices where 3 stations compile on PC A and all 4 compile on PC B, 3 of 4 stations (75%) pass on PC A and 0 of 1 failing station (0%) passes until PC A's build state and version match PC B.
  • Decision: Keep the existing panel and network addressing when another PC compiles the station cleanly; clear temporary files and rebuild only that station on the affected PC.

Why does one HMI device fail on one PC but build on another? #

A station that compiles on one workstation and warns on another points to a difference in software revision, hotfix level, endpoint file interference, or cached compiler state on the failing PC. WinCC flexible 2007 uses incremental generation by default so only modified parts regenerate unless a full rebuild or exception occurs.

Compare the two engineering PCs before touching the project. Check the exact WinCC flexible 2007 edition, service pack, and hotfix installed on each machine; for example, one workstation may run Hotfix 3 while the other runs Hotfix 4 (released in March 2008 as a cumulative update of 95,741 KB). Also verify that the workstation meets WinCC flexible 2007 engineering PC requirements, such as Windows XP Professional SP2, a Pentium 4 processor at 1.6 GHz or faster, and at least 1.5 GB of RAM, and check whether endpoint antivirus software is scanning engineering processes.

How do you clear stale build files and rebuild one device? #

Delete temporary compile files and run a full rebuild on the single failing HMI device so stale incremental data cannot carry a bad string offset forward. Incremental builds accumulate temporary state across repeated edits and can leave outdated references behind.

  1. Close WinCC flexible and save any pending STEP 7 project changes cleanly, working from a local hard drive rather than a network share or removable drive.
  2. Reopen the project and select only the affected HMI station using the station selection dialog for generation instead of regenerating every device in the project.
  3. Run the temporary-file cleanup action from the engineering menu (Tools > Delete temporary files in current menus, or Options > Delete temporary files in earlier menus) to remove temporary configuration data and compiled .fwx or .srt runtime files.
  4. Run a full rebuild on that single HMI device so the compiler regenerates the station from scratch.
  5. Inspect the compiler output list for any remaining string, alarm, or script object references that need correction.

How do you isolate a station in an integrated STEP 7 project? #

Export a standalone copy of the single HMI station into its own folder when testing compilation in an integrated STEP 7 project. Isolating one station avoids re-touching unrelated stations or waiting on full multi-station passes while narrowing down the fault.

Open the HMI station from SIMATIC Manager and use Project > Copy from STEP 7... to save a separate copy in a dedicated local directory. That command leaves the original integrated station inside the STEP 7 project while giving you a standalone copy to test compilation. If a PLC CPU type changed in STEP 7, verify symbol bindings with Reconnect so HMI tags stay aligned with PLC strings.

When should you reset the engineering workstation cache? #

Reset the local WinCC flexible workstation cache or reinitialize the Engineering System only if deleting temporary files and rebuilding the single station does not clear the warning. Stale workstation cache files can persist across project sessions on one PC.

Close WinCC flexible and STEP 7, end lingering background processes in Task Manager if needed, and clear the WinCC flexible 2007 cache directories for your user profile and All Users on that PC. You can also reinitialize WinCC flexible 2007 to post-installation defaults using Hmies.exe -reset -new as documented by Siemens. Check endpoint security exclusions for HmiES.exe and TraceServer.exe if security software interferes with build files; if a related project copy behaves differently, see why a WinCC Flexible Save As copy fails while the original builds.

Does resetting the panel or changing addresses fix this warning? #

No, resetting panel memory or altering PLC and HMI network addresses will not clear an EvaluateStringRelations compile warning. The compiler evaluates string relations on the engineering PC while building the project, before any transfer to the target device takes place.

An OS update or memory reset on an HMI panel such as an MP 370 acts on the panel's onboard user storage—where up to 7 MB of 12 MB free flash holds configuration data—rather than fixing a local PC build defect. Touching network settings or running an OS update on a working panel only adds downtime without addressing the compiler fault.

When does replacing the HMI hardware make sense? #

Keep the existing panel if the compilation fix succeeds and the hardware still meets your machine's needs; replace it only when the panel itself is obsolete, physically damaged, or lacking memory for the application. For example, Siemens discontinued the MP 370 series effective August 1, 2008, with MP 377 models serving as the direct replacement family, and 370- and 377-series Multi Panels require WinCC flexible 2007 Standard or higher rather than Micro or Compact.

If you do replace a panel or move an operator station to a PC-based setup, check opening dimensions against the panel cut-out reference and choose hardware matched to the environment, such as industrial panel PCs for PC-based operator stations.

Questions asked

Does resetting HMI flash memory clear an EvaluateStringRelations compiler warning?

No. The warning occurs inside the engineering workstation compiler before runtime files are transferred to the target panel. Running an OS update or memory reset on a panel such as an MP 370 clears onboard user storage, where up to 7 MB of 12 MB free flash holds configuration data, without fixing corrupted local compiler cache or mismatched hotfix builds on the engineering PC.

When should you decouple an HMI station from STEP 7 during troubleshooting?

Decouple a single station into a separate project folder when an integrated multi-device STEP 7 project makes isolating compilation errors slow or mixes edits across multiple stations. In WinCC flexible, open the station and use Project > Copy from STEP 7... to save an independent copy without deleting the original station inside the STEP 7 project.

Can localized characters in tags or script object names trigger string-relation issues?

Yes. Although WinCC flexible supports the full ASCII character set, special or localized characters in object names referenced by scripts or alarm texts can cause parsing or synchronization trouble. Check recent string or object edits on the affected HMI station when a full rebuild still flags text-related diagnostics.

When does replacing an aging HMI terminal make sense over further software troubleshooting?

Once compilation succeeds cleanly on a verified workstation, stay with your existing panel if its runtime and hardware remain serviceable. Consider replacement only when the hardware itself is discontinued, memory-constrained, or failing physically, checking panel cut-out dimensions and selecting hardware suited to the job.

Keep reading

  • Troubleshooting

    Why WinCC flexible 2008 closes with a version information error

    When WinCC flexible 2008 closes before the project selection with Reading version information failed followed by Root element is missing, the engineering system cannot read its own XML version information during AppLoader.Initialize(). Run Reset... from the tray icon and restart; if the exception returns, reinstall 2008, SP1 and HF3 with a restart after each layer; if projects then fail with an SQL error, delete the per-user WINCCFLEXEXPRESS folder. When an Office 2013 installation triggered the crash, settle the Office layer first.

    HMI and touchscreens

  • Troubleshooting

    WinCC Flexible 2007 runtime start skipped by compiler errors

    WinCC flexible 2007 skips the runtime start when the compile ahead of it stops early, which is why the success line never appears in the output window. Run Options > Delete Temporary Files, compile again, and start the runtime simulator. If the compile still ends without the success line, save the project into a fresh local folder with File > Save As, reopen it there, and compile again.

    HMI and touchscreens

  • Troubleshooting

    Get past the application password into PanelView Plus configuration

    Touch the white square that appears for one to two seconds in the lower-left corner during boot to open Configuration Mode, then use file management to delete the MER, font and log files blocking the firmware upgrade. If no square appears, search the documentation printed from the original project for the passwords, then download a one-screen version 4 MER with a Goto Config button.

    HMI and touchscreens

Evaluating a GP-Pro EX Language Patch Before Rollout