IMDTouchKnowledge BaseShop main store

Explainer

Why a WinCC Unified Faceplate Interface Has No Static Value Choice

HMI and touchscreens Published 6 min read

Short answer

The WinCC Unified faceplate interface offers no static-versus-tag choice: the field takes a tag connection. Pass your constant through a WString or ULInt interface property and apply it in a script on the faceplate's Loaded event, or hold the constants as tags in a PLC data-block array and pass the selected tag.

On this page
  1. Why the static-value choice is missing
  2. Route A: carry the constant as a value-type property
  3. Route B: turn the constants into PLC tags
  4. Worked example: three offset cases in pixels
  5. Which route fits which constant
  6. Verify the offset path before sign-off
  7. Questions asked

The static-value choice is not hiding in your project. A WinCC Unified faceplate does not offer it: on TIA Portal V19 Update 3 the interface field of a faceplate takes a tag connection and nothing else, so a typed number such as a dynamized XY offset has no slot to land in. Two routes carry the constant anyway. Declare the interface property as a WString or ULInt value type and apply it in a script on the faceplate's Loaded event, or keep the constants as tags in a PLC data block and pass the selected tag to the interface. This article explains why the old choice disappeared, how each route works end to end, and which route fits which constant.

Why the static-value choice is missing #

In the WinCC Advanced workflow used for Comfort panels, each faceplate interface entry offered a pick: enter a static value or interconnect a tag. The Unified faceplate model is typed instead. A property either holds a value or it connects to a tag, and the interface entry for an Int parameter on V19 Update 3 offers only the tag side, so a literal has nowhere to go.

Current documentation closes part of that gap. The V21 faceplate documentation describes a Static value column in the interface configuration, where a fixed value is assigned to the property. The V20 documentation places WString and ULInt on the list of data types that are not supported for linking to a faceplate interface tag, which makes them value carriers by that definition and usable as constants. The V19 Update 3 interface does not show the column, and that absence is exactly what you ran into. So the decision is short: on V19 Update 3, build one of the two routes below; on a version whose interface offers the Static value column, enter the fixed value there and skip both detours.

Route A: carry the constant as a value-type property #

Declare the faceplate interface property as WString or ULInt. Both sit on the documented non-linkable list, so the property holds a value instead of asking for a tag, which is what a constant carrier needs. Pick the type that matches the value: ULInt carries an unsigned 64-bit integer, WString carries text. If WString carries a numeric offset, the script does the text-to-number step itself.

Add a script to the faceplate's Loaded event. The event is documented to occur when the screen is fully loaded, after a screen change or at runtime start, which is the right moment for geometry: the objects exist and the position applies before the operator touches anything. In the script, read the property and write or calculate the offsets to the faceplate objects. The sample project published for Unified faceplates links the property by script in the faceplate's load event and addresses the objects through Faceplate.Items, each by its name.

Route B: turn the constants into PLC tags #

Give the interface what it asks for. Create a data block in the PLC holding the constants as an array with one entry per case, transfer those tags into the HMI tag table, and interconnect the tag for the active case to the faceplate interface property. The faceplate now receives a genuine tag connection, the one thing the V19 Update 3 interface field accepts without argument.

The route also puts the value where machine data is already maintained. Change the offset in the PLC project, download the PLC, and the faceplate follows at runtime through the tag, with no HMI edit and no script to re-check. Use it when the constant is machine data, when several faceplates share the same values, or when plant rules keep process parameters under PLC-project change control.

Worked example: three offset cases in pixels #

The numbers here are chosen for the example and carry no authority beyond it. A faceplate holds a group of indicators whose vertical offset depends on the active case. The cases are numbered 0, 1 and 2, and each case steps the group down 45 pixels.

Route A: declare a ULInt interface property, call it OffsetIndex for this example, and set the case number on the faceplate instance, in the Static value column on a version that offers one. The Loaded-event script computes the offset as OffsetIndex × 45 pixels and writes it to the group's vertical position. For OffsetIndex = 2 the group lands at 2 × 45 = 90 pixels down; OffsetIndex = 1 gives 45 pixels and OffsetIndex = 0 leaves the group at 0. With a WString property the script converts the text to a number first and applies the same multiplication.

Route B: the PLC data block holds the offsets themselves, 0, 45 and 90, one tag per case, and the faceplate receives the tag for the active case. No script arithmetic remains, because the PLC already carries the result in pixels.

Whichever route you take, document which case number or array entry maps to which screen position, so the next engineer can trace where the geometry comes from.

Which route fits which constant #

Route Constant lives in Who applies it Fits when
Value-type property plus Loaded-event script The HMI project The faceplate script, on every screen load The offset is pure screen geometry that belongs to the faceplate's own layout
PLC data-block array passed as HMI tags The PLC project The tag connection itself, no script The value is machine data the PLC already owns, or several faceplates share it

Decide by ownership. If the number exists only to place objects on the screen, Route A keeps the geometry with the faceplate and the Loaded event reapplies it after every screen change. If the number is process or machine data, Route B keeps a single source in the PLC and feeds every consumer through tags. Keep each constant in exactly one place: a step size stored both in a PLC tag and in a script constant guarantees that the next change updates one and misses the other.

The same interface logic runs in the other direction when a faceplate opens as a popup: handing the operator's selection back onto different tags is its own path, covered in the guide on returning a faceplate popup selection to different tags. And if a staged migration keeps the original running on a Comfort panel, the guide on passing a constant value to a Comfort faceplate property shows the workflow you are replacing.

Verify the offset path before sign-off #

  • Instance check: open the faceplate instance and confirm the interface property shows the intended value or tag. On the PLC route, confirm the selected HMI tag points at the intended data-block entry, because a valid tag can still carry the wrong constant.
  • Event check: reach the faceplate by a screen change, not only after a download; the Loaded event runs on both, and the offset must land either way.
  • Value check: drive each case number in turn and measure the resulting position. The expected result is the mapped offset for that case, never a default or a neighboring case's value.
  • Repeat check: close and reopen the faceplate with the same case number. Same input must produce the same position on every load; a different one points to initialization logic worth re-reading.

If the script runs but the objects keep the values from before the screen change, the tag acquisition behind the script is the usual cause, and the article on why a WinCC faceplate script does not auto-refresh walks that fault down to the setting.

One safety check belongs with the rest: if the faceplate carries alarm or safety-status objects, confirm once that the applied offset leaves every such object fully visible, because a scripted position that clips an indication off the screen hides it from the operator.

Questions asked

Which faceplate interface property types cannot link to a tag in WinCC Unified?

The V20 documentation names WString, WChar, ULInt, LInt, LWord, LTime, DateTime, Date and LTime_Of_Day as data types not supported for linking to a faceplate interface tag. Those properties hold values instead, which is why a constant passed through WString or ULInt reaches the faceplate as a literal for the Loaded-event script to read.

Why can I not type a number into an Int faceplate parameter?

Int is not on the documented non-linkable list, so the interface treats the property as a tag connection, and V19 Update 3 offers no static-value alternative beside it. Change the property type to a value type such as WString or ULInt and consume it in the Loaded-event script, or keep Int and interconnect a tag from the PLC data block.

How are several fixed values entered in the Static value column?

Current faceplate documentation says the individual entries are separated with semicolons in the Static value column. The column belongs to the newer TIA Portal documentation; a V19 Update 3 interface does not show it. There the constant travels as a typed property read by the Loaded-event script, or as an HMI tag supplied from the PLC data-block array.

Does a WString interface property carry a numeric offset directly?

It carries text. Any numeric use happens inside your script, so parse the text to a number explicitly and check the result before applying it as a position. Relying on the runtime to convert the text on its own leaves the offset undefined whenever the text is not a clean number.

Keep reading

  • Troubleshooting

    Why WinCC Flexible Smart V3.2 Has No English Interface

    WinCC flexible Smart V3.2, the engineering tool for the Smart 700 IE V3, is China-market software with a Chinese-only interface: no English edition, language pack or language setting exists, and the Windows system locale only gates the installer. Correct operator texts through the Chinese interface, or migrate to an HMI family engineered by a tool with several interface languages.

    HMI and touchscreens

  • Explainer

    What an HTML5 HMI runtime lacks in its first release

    The first HTML5-based HMI runtime shipped with TIA Portal V16 (build 16.0.0.x) cannot mirror dotted PLC tag names, rejects nested anonymous STRUCTs in UDTs, restricts plant objects to the S7-1500, strips flashing from graphics lists, and blocks Alarm View, Trend View, graphics-list inputs and constants inside faceplates. Flatten nested STRUCTs into named UDTs, rename tags through a mapping export, script the flash, and pass the feature checklist on your build before committing a migration.

    HMI and touchscreens

  • How-to

    Why WinCC Unified screen windows replace template screens

    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.

    HMI and touchscreens

Why a WinCC connection alarm cannot hand its text to a script