IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a WinCC Unified faceplate rejects a UDT with an array

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

The faceplate rejects the UDT because its lowest configured device version is still V16.0.0.0, which predates array support in faceplate interface tags. Discard unpublished changes on the faceplate type, run Upgrade Device Version to set V17.0.0.0 or higher, recompile and rebind, and the array is accepted. Panel firmware and TIA Portal version play no part in this check.

On this page
  1. Why does a faceplate reject a PLC UDT that contains an array?
  2. Which version decides what a faceplate accepts?
  3. How do you raise the faceplate's device version to V17 or higher?
  4. Which UDT shapes pass and which still fail?
  5. What if the faceplate must still run on a V16 runtime?
  6. How do you verify the fix before it reaches the machine?
  7. Do scripts and screen tags hit the same limit?
  8. What is the decision when the faceplate rejects the UDT?
  9. Questions asked

WinCC Unified accepts a PLC data type with an array — for example ARRAY[0..20] of struct — as a screen-level tag and rejects the same type inside a faceplate with an unspecific not-supported message. The gate is not the TIA Portal release and not the panel firmware: it is the faceplate type's lowest configured device version, which new faceplate types carry as V16.0.0.0. Version 16 predates array support in faceplate interface tags, so the compiler refuses the array on a current project until you raise it. Discard the faceplate type's unpublished changes, run Upgrade Device Version to set V17.0.0.0 or higher, recompile and rebind, and the UDT is accepted. Below are the cause, the procedure, the shapes that stay excluded and the workarounds when a faceplate must remain on version 16.

Why does a faceplate reject a PLC UDT that contains an array? #

The faceplate interface rejects the UDT because the faceplate type's lowest configured device version is V16.0.0.0, and version 16 predates array support inside PLCUDT interface tags; raising that version to V17.0.0.0 or higher clears the error.

The reported case used a UDT with an array of structs over indices 0 to 20, then a variant whose array elements were themselves a UDT, and both shapes failed at the faceplate; deleting the array let the faceplate accept the UDT immediately. The same UDT bound to an HMI tag on a screen without complaint, so the type was legal in the project and only the faceplate interface refused it.

The refusal comes from the faceplate compiler, which reads the version recorded on the type and accepts only the tag shapes that version supported. It was tested, not guessed: with the lowest device version raised, the identical UDT passed on TIA Portal V19 Update 2 with no other change to the project.

Which version decides what a faceplate accepts? #

The faceplate type's lowest device version decides, not the TIA Portal release and not the runtime image on the panel: a new faceplate type is stamped V16.0.0.0 so that older Unified runtimes can still load it, and only tag shapes that version supported pass.

The property exists for backward compatibility, and the TIA Portal help for Unified faceplates documents both the property and the upgrade command that changes it. Data-type limitations have narrowed with each Unified generation, and arrays inside a PLCUDT-bound structure are exactly the shape that left the rejected set at V17.

The engineering installation and the target stay out of the decision. The reported case ran on an MTP1900 Unified Comfort at firmware 19.0.0.2, and nothing on the panel changed during the fix — it happened entirely in the project. Pairing the panel image with the project version remains its own task before a download; the article on device version versus panel OS image on Unified Comfort panels covers that pairing.

How do you raise the faceplate's device version to V17 or higher? #

Discard the faceplate type's unpublished changes, right-click the faceplate type in the library, choose Upgrade Device Version, and set the lowest device version to V17.0.0.0 or higher; then recompile and bind the UDT.

Three conditions come first: the type must carry no unpublished draft, you need engineering access to the project that owns it, and every runtime that will load the faceplate must be V17 or newer, because a version-16 runtime cannot load the upgraded type.

  1. Open the project and find the faceplate type in the project library, or under the HMI device if your project stores it there.
  2. Discard unpublished changes on the type — right-click it and discard the draft, or publish the draft first if you want to keep those edits.
  3. Right-click the faceplate type and choose Upgrade Device Version.
  4. In the dialog, select the desired lowest device version: accept the highest version the dialog proposes or pick V17 or higher, then confirm.
  5. Recompile the HMI device.
  6. Open the faceplate interface, set the interface tag's data type to PLCUDT and bind the tag based on the PLC UDT.
  7. Recompile again and read the compile output; the not-supported message is gone.
  8. Download to the panel or the PC runtime and place a faceplate instance on a screen.

Which UDT shapes pass and which still fail? #

After the upgrade, a PLC UDT that contains an array of structs is accepted: define the faceplate interface tag with the PLCUDT data type and bind the tag based on the PLC UDT, and the not-supported message is gone.

The interface tag's data type must match the structure's origin: PLCUDT for a structure that lives in the PLC program, HMIUDT for a type defined in the HMI project. The array of structs over indices 0 to 20 is the shape the reported case fixed with the upgrade alone.

  • Arrays of WChar, WString and HMIUDT are excluded by the faceplate interface documentation at every device version, and no upgrade lifts that.
  • A multi-dimensional array declaration is not accepted as one interface tag; split it into single tags.
  • The variant whose array elements are themselves a UDT was not re-tested after the fix in the reported case, so prove that shape on the bench before you build a design on it.

What if the faceplate must still run on a V16 runtime? #

A faceplate type kept at version 16 cannot carry the array, and raising its version locks the type out of V16 runtimes, so the choice is between upgrading and one of the workarounds below.

  • Flatten the UDT: ARRAY[0..20] of struct spans indices 0 through 20, which is 20 - 0 + 1 = 21 elements, so flattening means 21 individually named members, and PLC loops that iterate the array lose their index.
  • Split the array into separate interface tags: the same count as single-value tags, 21 of them to wire instead of one UDT tag, with no runtime iteration from the faceplate.
  • Keep two faceplate variants, one for each device version, and pick the variant that matches each target. Every edit then lands twice.
  • Drive the values from a screen-level script or dynamic properties instead of a faceplate instance.

Decision: if every target loads V17 or newer, upgrade — the change is project-side metadata with no PLC change and no visualization re-engineering. A live version-16 runtime in the machine mix is the only reason to pay the workaround cost.

How do you verify the fix before it reaches the machine? #

Verify on the engineering side and the runtime side separately: the recompiled project reports the faceplate without the data-type error, and a faceplate instance on a test screen updates the array elements against known PLC or simulated values.

Recompile the HMI device after the upgrade and again after the rebinding, and read the compile output rather than trusting the editor. Arrays also inflate the compiler's tag count; the article on why the WinCC Unified compiler tag count includes arrays explains how each array is counted there.

Then bench it: place the faceplate on a test screen, connect to the PLC or to tag simulation, write known values into a few array elements and confirm they arrive and update, and cycle the connection to confirm the display recovers. Run this on a bench unit or a stopped machine, because the check writes to live tags; only then download to the running line.

Do scripts and screen tags hit the same limit? #

No — the version gate is a faceplate-interface rule: a UDT with an array binds to a screen-level HMI tag as before, and script access to those arrays follows its own release-dependent limits.

The reported case used the screen-level binding as proof that the UDT itself was legal while the faceplate refused it. Scripts that read PLC UDT arrays fail for a different reason, covered in the article on why a WinCC Unified script cannot read an array of PLC UDTs; when both symptoms appear in one project, fix the faceplate version first and the script limits separately.

What is the decision when the faceplate rejects the UDT? #

Read the faceplate type's lowest device version first: at version 16, upgrade the type to V17 or higher — discarding unpublished changes first — then rebind, recompile and download; only a V16 runtime still in the mix justifies flattening the UDT, splitting the tags or keeping two variants.

The upgrade costs no PLC change, no panel change and no re-engineering of the screens; the workarounds cost tag wiring or doubled maintenance, so pay that only where a version-16 image still runs. If the type already shows V17 or higher and the array still fails, compare the structure with the excluded shapes above and confirm the recompile ran after the upgrade before suspecting anything else.

Questions asked

Does the panel firmware need an update after the faceplate fix?

No. The MTP1900 Unified Comfort in the reported case stayed on firmware 19.0.0.2 while the whole fix happened in the project; no image update was touched. Match the panel OS image to the project as its own check before the download, because that pairing is independent of the faceplate's lowest device version.

Do I have to change the PLC program or the UDT itself?

No. The upgrade touches only the faceplate type inside the HMI project; the UDT, the data block built on it and the tag path stay as they are. Leave the route to the UDT instance unchanged so the rebound interface tag resolves at recompile, then download the HMI project alone.

Does the same limit apply to WinCC Unified PC Runtime?

Yes. The gate lives on the faceplate type, so a PC runtime target behaves like a panel target; the reported case ran on a panel, but the check is project-side either way. Whatever runs the faceplate, its lowest device version decides, and the upgrade happens in TIA Portal on the engineering station.

Why is a new faceplate type still set to version 16?

New faceplate types default to the V16 generation so that older Unified runtimes can still load them, and a type reused from a library or an earlier project keeps whatever version it carried there. The property belongs to each faceplate type, so raising one type does not lift the others in the library.

Keep reading

  • Explainer

    Why WinCC Advanced looks gone in TIA Portal V18

    WinCC Advanced still ships in TIA Portal V18; only the classic device list is frozen, so you configure Comfort and Advanced panels as V17 device versions and lose nothing on existing projects. WinCC Unified, the web-based successor line, is where new device development goes, and new projects should plan for it.

    HMI and touchscreens

  • Troubleshooting

    Why a WinCC Unified script cannot read an array of PLC UDTs

    A WinCC Unified script tag must resolve to one scalar leaf, so an HMI tag pointing at an array of PLC UDTs stays uninitialized and the debugger shows Object not properly initialized. The fix is one HMI tag per primitive member of each element the script reads, read by name, with the leaf bindings verified at the runtime debugger.

    HMI and touchscreens

  • Troubleshooting

    Why the WinCC Unified compiler tag count includes arrays

    The WinCC Unified compiler reports one total of configured tags: local tags, unused tags and every array element are counted individually, so a PLC array of N elements adds N and an HMI array adds N plus one. That total is an inventory of configuration, not the licensing count; compare the power tags against the documented maximum for your exact target before changing anything.

    HMI and touchscreens

Why COROS COMED Rejects S5L Files Before a WinCC Migration