1. Problem Overview
Siemens WinCC Runtime Advanced (the HMI runtime that ships with TIA Portal) raises a modal dialog at startup with the message:
"Too many tags (power tags) have been configured. WinCC Runtime Advanced 128 power tags."
The error appears even when the engineer has only configured 60–70 tags, which is what makes the message confusing. The dialog halts the runtime before the project screen can be displayed, blocks the simulation environment, and prevents any HMI panel from coming online. The error fires identically in:
- The PC-based WinCC Runtime Advanced loader
- The integrated simulator (Start > Simulation > Start with simulator)
- Comfort Panel and WinCC RT Advanced on a Unified Comfort Panel (where applicable)
2. What Is a Power Tag?
WinCC distinguishes two categories of tags:
| Category | Definition | Counts Against License? |
|---|---|---|
| Power tag | Any tag that holds a runtime-mapped process value (HMI tag with a PLC connection, area pointer, or system tag tied to a controller cycle). | Yes |
| Internal tag | Local variable stored only in the HMI; no PLC connection configured. | No |
A configured power tag is any tag created in the HMI tag table that has a valid connection assigned in its properties (PLC name, address, and acquisition cycle). A tag created but left without a connection is an internal tag and is not counted.
Each of the following also counts as one power tag per occurrence:
- HMI tags bound to a PLC via an S7 / PROFINET / PROFIBUS connection
- Tags used as the trigger of a scheduler
- Tags referenced by an area pointer (coordination, job mailbox, date/time, etc.)
- Tags used in the Tag simulation table
- Tags driven by the Logging subsystem for active logging tags
3. Root Cause Analysis
The "too many power tags" error is fundamentally a license capacity issue, not a configuration defect. The runtime is enforcing the upper bound of the active license at startup before opening any project screen.
Three underlying conditions can trigger the dialog:
- No Automation License Manager (ALM) license installed. WinCC Runtime Advanced runs in a 30-day trial mode by default. If no license was activated (or the trial expired), the runtime is treated as if it had a 0-power-tag license. The error dialog then displays the size of the trial allocation the user is attempting to exceed.
- License tier undersized for the project. A 128-power-tag license cannot serve a 200-tag project. TIA Portal does not block you from authoring more tags than the license supports; the runtime enforces the cap at load time.
- Stale license key / license moved to a different PC. If a license was installed on the engineering station, moved, or the hard disk was re-imaged, the runtime can fall back to a missing-license state even though TIA Portal still appears to have an entitlement.
4. WinCC Runtime Advanced License Tiers
The WinCC Runtime Advanced power tag entitlements (TIA Portal V15 / V15.1 / V16 / V17) are sold in fixed tiers. Each tier adds archive tags, scripts, and user administration scope, but the power tag count is the binding limit on what the runtime will load.
| License Article No. (typical) | Power Tags | Typical Use |
|---|---|---|
| 6AV2104-0AA01-0AA0 (or trial) | 128 | Small machines, single-station HMIs |
| 6AV2104-0AA02-0AA0 | 512 | Medium lines, multi-station |
| 6AV2104-0AA03-0AA0 | 2 048 | Large lines, redundant panels |
| 6AV2104-0AA04-0AA0 | 4 096 | Plant-wide visualization |
| 6AV2104-0AA05-0AA0 | 8 192 | Plant-wide, multiple panels |
Counts are cumulative: a 2 048-power-tag license accepts any project up to 2 048 power tags. A 128-power-tag license is the minimum commercial entitlement; smaller projects must still purchase the 128-tier or higher.
5. Diagnostic Procedure
Run the following checks in order before reinstalling anything.
5.1 Verify the project tag count
- Open the TIA Portal project.
- Select the HMI device in the project tree.
- Open Device view > Information (or Properties > General > Tag list).
- Note the Power tags used count. Cross-check it against the configured HMI tag table (right-click > Used filter).
5.2 Verify the installed license
- Close TIA Portal.
- Start Automation License Manager (Start > Siemens Automation > Automation License Manager).
- Confirm the target PC is selected in the left pane.
- Look for the WinCC Runtime Advanced entry. Verify:
- The status field shows the correct power-tag count.
- The "Valid until" date is in the future.
- The license is not marked as Missing, Defective, or Not licensed.
5.3 Verify the ALM service is running
- Open services.msc (Win + R >
services.msc). - Locate ALM (or Automation License Manager Service). Confirm Startup Type is Automatic and Status is Running.
- If the service has stopped, right-click > Start and re-test.
5.4 Distinguish a license fault from a tag-count fault
To isolate the two cases, create a minimal test project with five power tags and the same HMI device type. If the same dialog appears, the issue is purely licensing. If the dialog disappears, the production project has crossed the license tier threshold and the resolution path is "upgrade license" rather than "reinstall license".
6. Resolution Steps
6.1 Reinstall or repair the license
- Insert the license USB stick from Siemens (or download the license file from the Software Delivery Portal).
- Open Automation License Manager.
- Select the target PC in the left pane.
- Drag the WinCC Runtime Advanced license from the right pane onto the target PC, or use Edit > Install License.
- Wait for the transfer to complete; the ALM will show a green check beside the license.
6.2 Activate a trial license
- In Automation License Manager, click Edit > Activate Trial License.
- Select WinCC Runtime Advanced.
- Confirm. A 30-day trial license will be written to the ALM repository.
6.3 Upgrade the license tier
If the tag count has genuinely grown above 128:
- Order a higher-tier license (512, 2 048, 4 096, or 8 192 power tags) from your Siemens representative.
- Transfer the new license key through ALM. The upgrade replaces the 128-tier entry; the runtime reads the higher value on next start.
- Reboot the HMI runtime PC. License changes are only read at process launch.
6.4 Reduce the project's power-tag footprint
When budget constraints prevent an upgrade, restructure the project to use fewer power tags:
- Convert raw bit tags to word-level tags and read individual bits via tag multiplexing in scripts.
- Use arrays of tags (e.g. one array of 50 words equals 50 power tags instead of 800 bit tags).
- Move rarely-used faceplate references to internal tags if the value is computed locally.
- Delete unused tags from the HMI tag table; the runtime counts every configured tag, even if no screen references it.
6.5 Reset the trial clock (engineering station only)
7. Verification
After applying any fix, verify the runtime launches cleanly:
- Restart the WinCC Runtime Advanced loader (or the TIA Portal simulator).
- Confirm the error dialog does not appear.
- Confirm the start screen of the HMI project is rendered within 5–10 s.
- From the HMI project, open the online diagnostics: System > Diagnostics > License Information. Confirm the displayed power-tag tier matches the entitlement.
- In the project, perform an end-to-end tag check: trigger one input from the PLC side and confirm the HMI value updates within one acquisition cycle.
Expected runtime log line
When the runtime starts successfully, the Windows Event Log (Application channel) shows an entry from CCAgent or HMIRuntime indicating the active license tier, e.g.:
License "WinCC Runtime Advanced 128 Power Tags" valid until 2099-12-31.
8. Common Pitfalls
| Symptom | Likely Cause | Fix |
|---|---|---|
| Error appears on a brand-new PC that has never run WinCC before. | No license was ever installed; the runtime is using the default missing-license stub. | Install the license via ALM or activate the trial. |
| Error appears after a Windows update or major upgrade. | ALM service was disabled by the update. | Set ALM service to Automatic and start it. |
| Error appears only on the second runtime instance (start a second loader). | WinCC Runtime Advanced licenses are single-instance; launching a second loader exceeds the count. | Close the first instance, or upgrade to a multi-instance entitlement. |
| Error appears after copying a project to a new PC. | The license is bound to the original PC's hard disk serial; the new PC has none. | Reinstall the license on the new PC. |
| Error appears after editing the project to add a single tag. | Project was already at the tier limit; the new tag pushed it over. | Upgrade the license tier or reduce tag count. |
| Error does not appear in the TIA Portal simulator but does appear on the panel. | Engineering license and runtime license are different. | Install a runtime license on the target device. |
9. Edge Cases and Field Notes
9.1 Power tags vs. archive tags
Archive tags are counted separately from power tags, but a tag that is both an HMI tag and an archive entry still counts as one power tag. The 128/512/etc. limits apply to power tags; the archive tag ceiling is governed by the same license but reported independently in Runtime > Reports > Licensing.
9.2 Indirect tag creation
Tags are created silently by some wizards:
- Recipe views add power tags for each recipe element.
- User administration enables power tags for user IDs, passwords, and group memberships.
- Alarm logging adds system tags for acknowledged state, lock state, and time stamps.
A project with no "user-authored" HMI tags can still report 30–60 power tags once alarms and user administration are enabled. Always audit the project tree, not just the HMI tag table.
9.3 Mixed Comfort Panel / RT Advanced environments
If a Unified Comfort Panel (UCP) is used in parallel with a separate PC-based WinCC Runtime Advanced instance, each device needs its own license. The "128 power tags" in the dialog refers only to the device that raised it.
9.4 TIA Portal V15 vs V16 vs V17 license compatibility
Licenses issued for V15 are forward-compatible with V16 and V17. A V17 license is also downward-compatible to V16 and V15. The runtime checks the entitlement text in the license key, not the TIA Portal version that issued it. However, license files generated under a newer ALM may not transfer cleanly to an older ALM on legacy panels; keep the ALM version in step with the runtime version.
9.5 Virtualization
WinCC Runtime Advanced licenses are bound to the host hardware. In virtual machines, the license binds to the VM's virtual hardware ID. Cloning a VM after licensing invalidates the bound license. Use the Siemens SUS (Software Update Service) portal to reissue, or transfer the license to a fresh VM after each clone.
10. Preventive Measures
- Document license tier in the project header (e.g. HMI splash screen info text) so future engineers know the limit.
- Track tag count in version control: add a pre-build step that reads the TIA Portal project XML and asserts the configured power tag count is below 80% of the active tier.
- Keep the ALM service automatic in Group Policy to prevent Windows updates from disabling it.
- Order the next tier up front during commissioning; a license upgrade in a live production environment is more disruptive than during build-up.
- Avoid bit-bomb tag patterns: a 16-bit boolean status is one word, not 16 booleans.
11. Related Errors You May Also See
| Dialog Text | Meaning |
|---|---|
| "WinCC Runtime Advanced 128 power tags" | License tier or trial expired; project exceeds tier. |
| "WinCC Runtime Advanced 512 power tags" | Project exceeds 512 tags; upgrade needed. |
| "Trial license has expired" | 30-day trial used up; permanent license required. |
| "License is missing or defective" | ALM cannot read the key (service stopped, hardware change, file corruption). |
| "The maximum number of runtime instances has been exceeded" | Single-instance license; a second loader is open. |
Why does the error say "128 power tags" when my project only has 62 configured?
Because the number in the dialog is the size of the license entitlement that the runtime is trying to enforce, not the size of your project. The diagnosis is almost always that the Automation License Manager (ALM) is missing a license for your installation. Open ALM, install the license, restart the runtime.
Does the error appear in the TIA Portal simulator as well as on the panel?
Yes. WinCC Runtime Advanced enforces the power tag cap in every load path: the PC runtime, the integrated TIA Portal simulator, and the Comfort / Unified Comfort Panel. The same license mechanism protects all three.
Can I develop a project that uses more power tags than my license tier?
You can author the project; TIA Portal does not enforce the limit at design time. The runtime refuses to load the project until either the license tier is increased or the tag count is reduced. Use the "Power tags used" counter in the device information to monitor the gap.
How do I count power tags accurately before commissioning?
Open the HMI device properties, then the Tag list (or the Information > Power tags field). Power tags include every HMI tag with a PLC connection plus system tags required by alarms, recipes, user administration, and schedulers. A project with all four features can easily consume 30–60 power tags of overhead before any user tag is added.
Is the trial license enough for a production machine?
No. The 30-day trial is for engineering evaluation only. Production panels must run with a permanent commercial license of the appropriate tier. Plan the purchase in parallel with the build-up so a permanent license is in place before the trial expires.