IMDTouchKnowledge BaseShop main store

Troubleshooting

WinCC Runtime Faceplates: Slow Loading on Screen Activation

HMI and touchscreens Published 7 min read

Short answer

Screen activation time equals parse time plus serialized per-instance binding on the UI thread plus the S7 read jobs the screen's tag set needs. Repeat-open speed, core pinning and a bisection of faceplate instances split the delay; inconsistent multi-minute loads point to request packing, optimized DB access, acquisition cycles or stale tag addresses.

On this page
  1. What actually runs when the screen activates
  2. Three readings that split the delay
  3. Instance density and the reported limit
  4. Connection-layer causes of inconsistent load times
  5. Remediation, in order
  6. Decision
  7. Questions asked

When a WinCC Runtime screen with faceplates takes 10 to 15 seconds to finish loading on activation, the delay almost always sits in one of two places: the serialized binding of every faceplate instance's interface tags on the UI thread, or the number of S7 read jobs the driver needs to satisfy the screen's tag set. Three timed readings split the delay before you edit a single screen. A multi-minute, inconsistent activation is a different fault and lives in the connection layer, not in the faceplates themselves.

What actually runs when the screen activates #

Three jobs run in sequence, and only one of them is drawing. Model the activation time as:

t_activate = t_parse + t_bind + n_jobs x t_roundtrip

  • Parse: the runtime reads the screen definition and every faceplate type it references, from the project directory. Disk speed and file size set this term.
  • Bind: for each faceplate instance, the runtime instantiates the object and connects each interface property to its tag, serialized on the UI thread. A second CPU core does not shorten this, and neither does a faster PLC. A faceplate type is the reusable definition stored once in the project; an interface tag is any tag bound to one instance property.
  • Register and wait: the runtime registers the tag set with the data manager and the driver requests values from the S7-1500. The job count is set by how the driver can pack the unique tag set into read telegrams, not by how many values the screen displays.

A consistent delay in the 10 to 15 second range is nearly always the bind term or the job-count term. An inconsistent one, the same screen at 5 seconds once and minutes the next time, is the job-count term with retries underneath it.

Three readings that split the delay #

Take these in order, before touching the project:

  1. Repeat-open test. Open the same screen five times and time each activation. First open slow, repeats fast: disk and parsing dominate. Move the project to a local SSD and exclude the runtime directory from on-access virus scanning. Varies from seconds to minutes between opens: skip to the connection-layer checks below.
  2. Core pinning. Watch the logical-core view in Task Manager during one activation. One core pinned near 100 percent for the whole delay means instantiation and binding dominate; go to the density checks. All cores below roughly 20 percent while the delay elapses means the runtime is waiting on tag values from the channel; the binding diagnosis in that case belongs to the communication path, not the screen. The general method for separating driver, tag and screen faults is covered in the article on diagnosing HMI values (article:is-it-the-driver-the-tag-or-the-screen-diagnosing-hmi-values).
  3. Bisection. Duplicate the screen, delete half the faceplate instances and re-time it. Time roughly halves: linear per-instance cost, so instance density is the defect. Time barely moves: the cost sits in a shared element such as an alarm or trend control querying an archive at open, or a script on the screen-open event. Move those to a dedicated screen and re-time.

Instance density and the reported limit #

Count two numbers per screen: instances of each faceplate type, and interface properties per instance. Their product is the number of serialized bind operations the UI thread must finish before the screen appears. A widely repeated field figure puts the practical ceiling at 31 instances of one faceplate type in a single screen, past which activation degrades faster than linearly; Siemens' documentation for WinCC Unified states the number of faceplate instances per screen is not limited, while warning that opening and updating performance is affected by the count. Treat the ceiling as reported experience, and let the bisection test prove where your project's knee sits. For RT Unified projects, Siemens documents the Suspendable property of faceplate types as the documented way to improve runtime performance with large faceplate counts.

Worked example #

A screen with 40 instances at 12 interface properties each carries 40 x 12 = 480 serialized binds. At an example cost of 25 ms per bind, that is 480 x 25 ms = 12,000 ms = 12 s on the UI thread. Add 1 s of parsing and 60 read jobs at 20 ms each (60 x 20 ms = 1.2 s) and the screen completes at roughly 14.2 s. Delete half the instances and consolidate 12 scalar interface tags into one structure tag per instance: 20 x 1 = 20 binds at 25 ms is 0.5 s, and the job count collapses with the fragmented addresses. Same values, same PC, a screen that appears in about 2.7 s.

Three patterns make the bind term worse than it needs to be:

  • Nested faceplates. A faceplate type placed inside another multiplies the parse and bind work per outer instance. Flatten them.
  • Scalar interfaces. Eight separate scalar interface tags per instance cost eight binds and eight registrations. One structure tag covering the same PLC data costs far fewer and lets the driver read the block in one contiguous request.
  • Scripts on open. A script attached to a faceplate's open event runs once per instance, serialized with the build. Any tag access inside it adds a round trip per instance.

Connection-layer causes of inconsistent load times #

When the same screen takes 5 seconds once and minutes the next time, work down this list:

  • Block access attribute. Open each DB the screen reads and check the optimized-block-access attribute. Tags in optimized DBs are addressed symbolically and cannot be packed into contiguous absolute reads, so the screen's tag set fragments into many small jobs. Standard-access DBs let the driver collapse a contiguous address range into few large telegrams.
  • Job count on the wire. Capture traffic on the HMI network adapter during one activation and count the S7 read jobs. Dozens to hundreds of jobs for one screen confirms fragmentation; the fix is data layout, not bandwidth.
  • Acquisition cycles. List the cycle of every tag the screen uses. Fast cycles applied wholesale keep the channel permanently loaded, so each new registration queues behind existing traffic. Reserve the fastest cycle for the handful of values that need it. The general behavior of screens that update slowly over a PLC link is covered in the article on slow HMI point updates (article:why-hmi-point-updates-run-slow-on-an-ethernet-plc-link).
  • CPU communication budget. In the CPU properties, read the setting that limits cycle load due to communication. A low limit throttles how fast the CPU answers large read jobs; combined with fragmented requests it produces exactly the inconsistent, minutes-long activation.
  • Connection resources. Confirm how many HMI connections the CPU is serving and that extra clients, engineering sessions or third-party readers are not consuming the pool.
  • Network path. Ping the CPU continuously during an activation. Any loss or latency spike belongs to the physical path. A second adapter with a stale route, or a client-server setup pointing at a name that resolves slowly, turns every registration into a timeout-and-retry cycle.
  • Stale addresses. After a PLC download that renamed or moved variables, the driver retries failed items on every registration. Recompile the HMI connection and clear address errors before re-timing.

Remediation, in order #

  1. Bring engineering and runtime to the same patch level of the installed TIA Portal version, then re-measure before editing screens.
  2. Cap instances of one faceplate type where your bisection shows the knee; split denser screens, or switch a screen window with an ActivateScreenInScreenWindow-style call.
  3. Replace overview faceplate instances that only display state with plain I/O fields or status objects bound directly to the tag; keep full faceplates for the detail popup, where one instance is open at a time.
  4. Consolidate interface properties into structure tags, and move HMI interface data into dedicated standard-access DBs laid out contiguously in read order.
  5. Re-time the repeat-open, core and bisection readings to confirm which term you moved.

Decision #

Consistent multi-second activation with one core pinned: instance density and binding are the defect, so split the screens and consolidate interface tags. Consistent delay with idle cores: the job count is the defect, so fix data layout, acquisition cycles and CPU communication load. Inconsistent loads ranging into minutes: the connection layer is the defect, so work the seven connection checks in order, starting with the block access attribute. First open slow with fast repeats: move the project to local storage. A faster IPC or a bigger PLC fixes none of these except the parse term, and the repeat-open test tells you in one minute whether that is the one you have.

Questions asked

Is there a hard limit on faceplate instances per screen in WinCC Runtime?

No documented hard limit exists in Siemens' own documentation; the WinCC Unified manual states the number of instances is not limited while warning that opening and updating performance depends on instance count. The oft-quoted ceiling of 31 instances of one faceplate type in a screen is a reported field figure, not a published limit. Bisect your own screen to find where activation time degrades on your project.

Why does a faster industrial PC not fix slow screen activation?

Because only one of the three activation terms is CPU-bound in parallel. Parsing scales with disk speed and file size, so a local SSD helps the first open. Binding is serialized on one UI thread, so extra cores sit idle while it runs. Waiting on tag values is set by the PLC link, the job count and the acquisition cycles, none of which a faster PC changes. Measure first; the core-pinning reading tells you which term you actually have.

Do optimized DBs really make HMI reads slower?

Not per value, but they change how reads are packed. Tags in optimized DBs are addressed symbolically, so the driver cannot merge them into a few large contiguous absolute reads, and a screen's tag set fragments into many small jobs. Each job has its own round trip, so registration time grows with job count. Standard-access DBs laid out contiguously let the driver collapse the same values into few large telegrams, which is the fix for fragmented loading.

What should I measure first when load time varies from seconds to minutes?

Open the same screen several times in a row and time each activation. First-open slow with repeats fast means disk and parsing; consistent multi-second delay points to binding or instance density; inconsistent times ranging into minutes mean the channel layer, so move to the connection checks: block access attribute, captured job count, acquisition cycles, CPU communication load and stale addresses after a PLC download.

Keep reading

  • 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

  • Troubleshooting

    PlantPAx faceplate display not found at runtime creation

    Runtime creation fails with display not found because the PlantPAx faceplate button computes a display name that matches no display in the project. With HMI_Lib = P and HMI_Type = Motor, the expression builds "(P-ME) Motor-Faceplate", not the P_Motor-Faceplate you named. Compare the computed string against the display list character by character, rename the display to the computed name, and rebuild the .mer.

    HMI and touchscreens

  • How-to

    Binding PLC tags from different DBs to a WinCC HMI UDT

    No configuration makes an HMI UDT span multiple data blocks: a structured HMI tag resolves to one addressable PLC instance. With the PLC program frozen, keep every existing address, create one external HMI tag per variable, and assign them to the faceplate interface properties at each instance; the screen-window tag prefix cannot supply per-equipment data and only reaches shared values with the documented marker.

    HMI and touchscreens