IMDTouchKnowledge BaseShop main store

Troubleshooting

Why ActiveX and .NET controls do not work in WinCC Advanced

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

WinCC Advanced does not support ActiveX and .NET custom controls: items you place from My Controls appear on the screen but their functionality is blocked. If you only need fixed or tag-driven text, use a native WinCC object; if you genuinely need a custom control, WinCC Professional is the supported edition.

On this page
  1. Why can I place a .NET Label but not set its caption in WinCC Advanced?
  2. What does the documentation actually restrict in RT Advanced?
  3. Which requirement genuinely needs a custom control?
  4. How do I replace the .NET Label with a native WinCC object?
  5. How do I connect dynamic text to an HMI tag in Advanced?
  6. When is moving to WinCC Professional the right decision?
  7. What is the decision for each case?
  8. Questions asked

The Label you placed from My Controls, .NET controls does nothing in WinCC Advanced V13 because user-specific controls are not supported in that edition: the object appears on the screen while its functionality is blocked, including its caption and every path to an HMI tag. Siemens' own support answer states it directly: My Controls are not supported in WinCC Advanced and their functionality is blocked; ActiveX and .NET controls can be used from WinCC Professional onward. That makes your symptom an edition boundary, not a damaged object or a configuration mistake. Decide it this way: if the screen only needs fixed text, a displayed process value or a state-dependent message, replace the control with a native WinCC object and stay in Advanced; if a custom property, method or event is genuinely required, the supported path is WinCC Professional. This article walks through the diagnosis, the native-object replacement and the Professional decision.

Why can I place a .NET Label but not set its caption in WinCC Advanced? #

Because placing an object proves only that the editor can draw it, not that the edition implements the interfaces the control needs. A custom control requires the engineering system and runtime to host the component, expose its properties and methods, and exchange values with HMI tags; WinCC Advanced implements none of that hosting for My Controls items, so the inspector shows nothing usable and the tag binding is absent. The documentation for screens in RT Advanced and RT Professional makes the scope explicit: configuration of user-specific controls on levels is not supported, only simple .NET controls are supported, and the use of parameters is not supported.

The distinction to carry into every check is visible result versus implemented function. A .NET Label drawn on the screen is a visible result. Setting a caption, reading it back, or attaching the Label text to an HMI tag are functions, and in Advanced those functions are blocked. The project edition field in the project properties should read WinCC Advanced; when it does, treat the inaccessible members as a limit of the edition rather than a corrupt control or a broken installation, and do not spend time reinstalling the portal or the panel image.

What does the documentation actually restrict in RT Advanced? #

Three things, and they cover every attempt you will make from the toolbox. First, user-specific controls configured on levels are not supported, so there is no project-level setting that re-enables them. Second, only the simple .NET controls are supported; XAML controls, for example WPF (Windows Presentation Foundation) controls, are not supported. Third, the use of parameters on the controls that do appear is not supported, which is why even a caption string on the .NET Label has no working configuration path in Advanced.

Read together, these rules explain the exact symptom from the bench: the Label places, the screen compiles, and neither the caption property nor any tag connection exposes itself. There is no hidden option, compatibility mode or switch in the runtime settings to change this, because the restriction is stated as a property of the edition, not of the installation. The practical reading is: anything you intended to do through a My Controls item in Advanced needs either a native object or a different edition.

Which requirement genuinely needs a custom control? #

Only a requirement that names a custom property, method or event implemented inside the assembly. Fixed engineering text, a displayed process value and a tag-selected message are all native-object jobs in Advanced; nothing about them needs a .NET Label. Methods, custom events or behavior implemented inside a third-party assembly are the cases that establish a real custom-control requirement.

Work the separation as a list before you decide:

  • Record the required on-screen result: fixed caption, tag value, or state-dependent message.
  • List every custom property, method and event the application actually calls on the control.
  • Remove items that duplicate native WinCC text, field, animation or event functions.
  • Classify what remains as either a native-object requirement or a custom-control requirement.

If the list ends with nothing left in the custom-control column, the decision is already made: delete the .NET Label and use native objects. If a control-specific member survives the list, do not try to force it into Advanced; carry it to the runtime-architecture decision below. This separation also stops a toolbox choice from becoming an architecture constraint, since migrating the runtime solely to display a caption adds a custom hosting dependency without adding any required behavior.

How do I replace the .NET Label with a native WinCC object? #

Delete the unsupported .NET Label and insert the native object that matches the data type: a text object for a fixed caption, an I/O field or text field for a tag value, and the native dynamic text mechanism for state-selected messages. The steps, in order:

  1. Copy the existing position, dimensions, font, colors and alignment from the .NET Label into the replacement object.
  2. Enter the caption directly in the text property when the text is fixed.
  3. For dynamic content, bind the replacement object's value or text property to the required HMI tag, or configure the text-list dynamic that selects the message.
  4. Confirm that no screen event or script still refers to the removed control.
  5. Compile the HMI configuration and resolve any remaining reference to the removed object.

A native object participates directly in the Advanced engineering model, so its configurable properties are available in the inspector and to the supported HMI dynamics without an external control host. The acceptance test is concrete: the replacement object's text or value property is editable in the inspector, and the project compiles without a reference to the .NET Label. If the displayed value then does not follow the tag, work through the connection, the tag and the binding in order — the diagnosis in the article on isolating a driver, tag or binding fault applies unchanged here.

How do I connect dynamic text to an HMI tag in Advanced? #

Bind the tag directly on the native object's supported property; do not try to attach a tag to the blocked .NET text property, and do not use a screen script as a substitute when the property already accepts a tag. Match the data type: a numeric process value belongs in a numeric-capable field with its format configured in the object; a string belongs in a text-capable binding; a Boolean or enumerated state selects among configured messages or text states through a text-list dynamic.

The verification runs in runtime or simulation. Open the HMI tag monitor, apply a known test value, and expect the native object to show the corresponding text or process value without invoking any custom-control method. Include a communication-loss condition if the object represents controller data, so you know what the operator sees when the PLC is offline. Direct native binding is the easier configuration to diagnose because the tag value and the display property can be checked independently; a script-mediated copy gives you three places to look instead of one.

When is moving to WinCC Professional the right decision? #

When your list from the requirement separation still contains a custom property, method or event that no native object provides. WinCC Professional supports the ActiveX and .NET path: the documentation gives a supported route for creating a .NET control in Microsoft Visual Studio and integrating it into the project, and the runtime hosts the component with its properties, methods and tag interfaces available in engineering and on the screen. Before migrating, confirm the project compatibility, the target runtime station, the control deployment and every required interface, because a Professional runtime is a PC-based station, not a Comfort Panel image.

In that Professional design, tag access from inside the control's code goes through ITag, with the Siemens.Runtime.ControlDev.dll reference set in the control project; methods read or write tag values synchronously or asynchronously. Note the scope of that interface carefully: it is part of a supported Professional custom-control design. It does not turn WinCC Advanced into a supported custom-control host, and there is no equivalent supported interface in Advanced, so ITag code is not a workaround for the blocked functionality there. Acceptance for the Professional route is equally concrete: the control's members are accessible in engineering and runtime, and a controlled read/write test updates the intended HMI tag.

What is the decision for each case? #

Map every required function to one supported path and reject any design that depends on Advanced merely displaying the control in My Controls:

Required function Supported path in Advanced? Decision
Fixed or tag-driven text Yes, with native objects Replace the .NET Label; stay in Advanced
State-dependent message Yes, with native dynamics Replace the .NET Label; stay in Advanced
Custom properties or methods No Design the control for WinCC Professional
Tag access from control code No ITag via Siemens.Runtime.ControlDev.dll in a Professional design

For the case in question — a Label whose caption could not be set or read — the decision is the first row: after replacing the unsupported .NET Label with a native WinCC object, its caption is configurable and can be driven by an HMI tag in WinCC Advanced V13. The appearance of the control under My Controls does not make it functional in the Advanced runtime, and the edition boundary for ActiveX and .NET controls is WinCC Professional.

Questions asked

Why does WinCC Advanced show .NET controls under My Controls if they are not supported?

The catalog entry exists so that one screen definition can be shared across editions: the same object appears in the toolbox whether the target is Advanced or Professional. The engineering documentation states that user-specific controls and their parameters are not supported in Advanced, so the object places and displays but does not expose its properties, methods or tag binding.

Can a .NET control read and write HMI tags in WinCC Professional?

Yes. A .NET control built for WinCC Professional accesses runtime tags through the ITag interface, with the Siemens.Runtime.ControlDev.dll assembly referenced from the control project. That interface belongs to a supported Professional control design; there is no equivalent supported interface in Advanced, so the same code cannot rescue a blocked control there.

Is an ActiveX control treated the same way as a .NET control in WinCC Advanced?

Yes. The restriction is on the My Controls category as a whole: ActiveX and .NET items both place from the catalog and both have their functionality blocked in Advanced. The supported use of either kind begins at WinCC Professional, where the runtime hosts the component and its scripting and tag interfaces.

How do I display changing text in WinCC Advanced without a .NET Label?

Bind a native object instead. A text field or I/O field takes the HMI tag directly on its value or text property, and a symbolic or text-list dynamic selects between configured messages for Boolean or enumerated states. If the displayed value then fails to update, diagnose the connection, the tag and the binding before touching the screen object.

Keep reading

  • Explainer

    Why the WinCC OA GEDI RDP ActiveX list is not a remote desktop

    The GEDI ActiveX list is only an inventory of COM components registered on that Windows PC; a Microsoft RDP client control dropped onto a panel creates a host rectangle, not a session. A working remote desktop needs four checks in order: a plain client test from the runtime computer, matching control and host bitness, the documented properties and methods called from panel scripts, and verified keyboard focus and sizing.

    HMI and touchscreens

  • Explainer

    Why a VB ActiveX DLL Does Not Work From WinCC C-Scripts

    A Visual Basic ActiveX DLL fails in a WinCC C-script because it is a COM server, not a flat Win32 DLL: the script binds only exported function names, does no COM initialization, and the class must be registered on the runtime PC. Register the DLL with regsvr32 and call it through a small C wrapper that handles the COM lifecycle.

    HMI and touchscreens

  • Troubleshooting

    What WinCC Runtime Advanced needs on an S7-1200 HMI PC

    A PC that only operates an S7-1200 needs one software package: WinCC Runtime Advanced, installed from the dedicated runtime setup, plus a compiled project and a working Ethernet path. SIMATIC NET is not required for this HMI connection; it enters only when the same PC also runs a Siemens software controller. The example station runs V13 SP1 Update 9.

    HMI and touchscreens

Fix a Vijeo Designer Popup Blocked by a Script Busy Wait