IMDTouchKnowledge BaseShop main store

How-to

Why WinCC Unified screen windows replace template screens

HMI and touchscreens Published 6 min read

Short answer

WinCC Unified has no global template screens; you build the layout from a host screen holding screen windows, keep navigation in the host, change only the content window for page changes, and drive menu highlighting from one shared selection state routed through the same path for menu clicks and application-initiated navigation.

On this page
  1. What happens to a template when you migrate to WinCC Unified?
  2. Why does the navigation disappear during a page change?
  3. How do you build the host screen and its windows?
  4. How does menu highlighting work across screen windows?
  5. How do you route application-initiated navigation through one path?
  6. How do you prove layout and selection agree at runtime?
  7. What is the decision for each case?
  8. Questions asked

WinCC Unified replaces template screens with screen windows because it has no global template screens at all: the Siemens migration guide says plainly that the screen window concept is used for this application instead. The replacement for a Comfort or Advanced template is not an object you convert, it is a composition: one host screen (for example your start screen) holds several screen windows, the navigation lives directly in the host, and every page change swaps only the screen inside the content window. Menu highlighting comes from one shared selection state that both menu clicks and application-initiated navigation write. The article on why screen windows replace central screen management covers the concept itself; this one is the conversion procedure.

What happens to a template when you migrate to WinCC Unified? #

The migration guide for WinCC Unified HMI devices describes the move as a modernization: a Basic or Comfort Panel project is converted with the Data2Unified tool, which you start by right-clicking the Comfort panel in the project tree and choosing Start from the context menu, but the global template does not survive as a template. A template was a reusable arrangement of objects that central screen management inserted into every screen based on it. Unified moves that arrangement into the screen area. You create what the guide calls a template by structuring a screen, such as the start screen, with several screen windows and displaying other screens inside them. A published example layout consists of six screen windows; six is one arrangement, not a required count. Decide now: your number of windows equals your number of independent display regions, typically a navigation region, a content region and an alarm or status region.

Why does the navigation disappear during a page change? #

Because two different operations look alike: the navigation action is replacing the host screen instead of changing the screen inside the content window. Changing the screen displayed inside a window preserves everything around it; changing the host screen replaces the whole layout and recreates its screen windows and navigation objects, so any visual state you were tracking is gone. When a migrated application shows persistent navigation vanishing on a page change, the deciding check is to identify which screen or screen window receives the navigation action. If the answer is the host, redirect it to the content window. Reserve host-screen replacement for transitions that genuinely need a different overall layout, such as a full-screen diagnostic view.

How do you build the host screen and its windows? #

Work in this order:

  1. Inventory the shared objects in the old template. Separate persistent navigation and layout objects from page-specific process objects, and record which elements must stay visible during content changes.
  2. Create the host composition. Use one screen, such as the start screen, to hold the screen windows, one per independent display region.
  3. Assign screens to their windows. Put the navigation screens and the application screens into their intended regions.
  4. Write down the resulting hierarchy: which screen owns each navigation button, which window displays each application page, and which component controls the selected menu appearance. That ownership map is what you will diagnose against later.
  5. Redirect content navigation so that application page changes affect the content window only.
  6. Set initialization together: the initial content of the content window and the corresponding selected menu state must be defined in one place, including behavior for returning to the host screen.

How does menu highlighting work across screen windows? #

A button highlight is a visual representation of the navigation state, which is the identity of the currently selected page and its menu ancestry; it is not proof that the page is displayed. A published HMI template suite for Unified implements this with a script named HighlightButton that handles three menu levels universally, with the screens 03_MainNavigation, 04_SubNavigation and 05_ThirdNavigation. Those names identify that implementation, not mandatory Unified object names. The known failure mode is real: an attempt to change a menu button from an application window fails because a reference that resolves relative to a navigation screen does not find the object when the script runs from a separate application screen. The fix is not to keep editing the button's appearance settings; it is to resolve the target through the actual screen hierarchy and route the request through the same selection logic the menu itself uses. The approach is the same one described for active screen highlighting in global navigation bars: one selection-update path, not per-page writes.

How do you route application-initiated navigation through one path? #

Give the layout one selection-update path and use it for everything:

  1. Trace the highlighting implementation. If the project uses HighlightButton, record its callers, expected inputs, target objects and selection-reset behavior, and check that all three navigation levels are handled on every transition.
  2. Route application-initiated requests through that same logic. A button inside an application screen must not write button appearances directly; it calls the selection logic, which coordinates the content destination and the main, subnavigation and third-level selections together.
  3. Resolve references against the real hierarchy using the object-access facilities documented for your installed engineering version. If each application page writes its own button appearances, navigation behavior is distributed across screens and cannot be tested as one unit.

When the PLC is the source of the page change rather than an operator click, the same content window is the target; the article on changing the HMI screen from the PLC in WinCC Unified covers that wiring.

How do you prove layout and selection agree at runtime? #

Run these checks on the intended runtime target. Editor appearance alone does not exercise screen changes, object creation or script execution.

  1. Open the host screen. Expected: every display region shows its assigned initial screen, and the highlighted navigation entries match the visible initial content.
  2. Click a main menu button. Expected: the content window changes while the persistent regions remain present. If a region disappears, you have found a host replacement; go back to step 5 of the layout procedure.
  3. Select a nested page. Expected: the main, subnavigation and third-level selections match that page's ancestry, and the previous selection is cleared.
  4. Request a page from inside an application window. Expected: the content window changes and all three levels highlight correctly. This is the check that catches a cross-window reference resolving against the wrong screen.
  5. Return to the host or reopen it. Expected: initial content and initial menu state are restored together.

What is the decision for each case? #

  • A migrated project with a shared navigation bar: rebuild it as a host screen with screen windows; there is no template object to convert, and the Data2Unified tool will not create one for you.
  • Page changes that blank the navigation: the action hits the host instead of the content window; redirect it.
  • Menu buttons that will not update from an application window: a cross-window reference problem; route the request through the one selection path and resolve targets against the actual hierarchy.
  • Several menu levels highlighted wrongly: the three levels are not updated on the same transition; make the selection logic clear and set all three each time.

The legacy template concept itself is gone, and every behavior it gave you comes back as a property of the composition: persistence from the host, replaceability from the content window, and highlighting from one shared selection state.

Questions asked

Does the Data2Unified tool convert templates automatically?

The tool is started from the Comfort panel's context menu in the project tree and converts the project for Unified, but it cannot map a global template to a single Unified object because none exists. After running it, rebuild the shared layout as a host screen with screen windows and verify every navigation path on the runtime target.

Why does the navigation bar disappear during a page change?

When the host is replaced, its screen windows and navigation objects are recreated, so persistent layout and visual state are lost even though the requested page appears. Redirect the action to change only the content window.

How many screen windows should the layout use?

Exactly as many as you have independent display regions, for example a navigation region, a content region and an alarm region. A published example layout uses six screen windows, but that count illustrates one arrangement. Choose the number from your layout, not from the example.

Is the HighlightButton script part of WinCC Unified itself?

No. It belongs to a published template implementation, together with the screen names 03_MainNavigation, 04_SubNavigation and 05_ThirdNavigation. If you adopt that implementation, trace its callers and expected inputs; if you build your own, one selection script per layout with the same three roles is the pattern to copy.

Keep reading

  • Troubleshooting

    Adapt picture in WinCC 7.4 so migrated screens fit the new resolution

    Set Adapt Picture twice: once on the Graphics Runtime container under Computer Properties and once on every embedded picture window, because the runtime flag does not reach child picture windows. The OS Project Editor only remaps the design resolution; it does not scale the graphics into the space it frees. On clients, the @pclocal:: prefix fixes I/O fields but trend controls can keep plotting server data.

    HMI and touchscreens

  • Explainer

    Why screen windows replace central screen management

    WinCC Unified removes the dedicated screen-management area from the project navigation. Templates, pop-up screens, slide-in screens, the global screen and the permanent area are now built as ordinary screens and displayed through screen windows arranged on a start screen that acts as the layout. Design that layout, place the principal windows on it, and target each window, not just each screen, in your navigation.

    HMI and touchscreens

  • How-to

    Migrating a WinCC PC Runtime project to a Comfort panel

    There is no whole-project conversion from a WinCC PC runtime station to a TP1500 Comfort panel. Copying screens inside TIA Portal is supported, but each object, faceplate and system function must be dispositioned and reconfigured for the Comfort system. Advanced sources transfer with the least rework, Professional sources need object-by-object reconciliation, and a Unified source should move to a Unified Comfort panel instead of being converted.

    HMI and touchscreens