Overview
Engineers commissioning a SIMATIC KTP900 Basic panel frequently need to show or hide entire groups of screen objects based on a tag value, user role, or process state. The intuitive expectation is a single "Visibility" property on the group, similar to the per-object Visibility animation available in TIA Portal. In practice, the WinCC Basic engineering tool that ships with the KTP900 Basic family does not expose a dynamic Visibility property on a group object: animations on groups are not available in the Basic runtime, and visibility must therefore be controlled either by overlaying objects with a screen-colored rectangle, by routing the content into a Popup Screen, or by migrating to a Comfort panel where faceplates carry the visibility into a single interface tag.
This reference documents each technique with the exact TIA Portal menus, tag settings, and object properties involved, together with a verification procedure that confirms runtime behavior on a physical or simulated KTP900 Basic device.
Prerequisites
- TIA Portal V17 or later with the WinCC Basic option installed (the Basic editor is bundled with the SIMATIC Basic Panels HSP). See the TIA Portal Installation and Commissioning Manual.
- SIMATIC KTP900 Basic (6AV2 123-2JB03-0AX0) or compatible Basic panel image. The firmware of the device must match the HSP used in TIA Portal; mismatch triggers compile error "HMI device type not supported". See the KTP900 Basic Operating Instructions.
- A defined HMI tag of data type Bool (e.g.,
GroupVisible) exposed in the PLC data block, or a local HMI tag for testing. - Project access rights allowing editing of screens and animations in the HMI device configuration.
KTP900 Basic Capability Matrix
The KTP900 Basic is a 9-inch TFT panel with a 800 x 480 pixel display, 6AV2 123-2JB03-0AX0 catalog number, and runs the WinCC Basic runtime. The capabilities of the Basic runtime differ from the Comfort runtime in several areas that affect dynamic visibility:
| Feature | Basic (KTP900 Basic) | Comfort (e.g., TP900 Comfort) |
|---|---|---|
| Per-object Visibility animation | Supported | Supported |
| Group-level Visibility animation | Not available | Not available natively; available via faceplate interface |
| Faceplates | Not supported | Supported |
| Popup Screens | Supported (single layer) | Supported (overlapping layers) |
| Screen-global visibility tag | Not available | Not available |
| Layers (multiple) | Not available | Available (32) |
The conclusion is that visibility on a group is not a first-class property in either Basic or Comfort: the difference is that Comfort provides higher-level containers (faceplates, layers) that make per-instance visibility trivial, whereas Basic forces the engineer to engineer the workaround into the screen layout itself.
Why Native Group Visibility Is Not Available
In the TIA Portal screen editor, a "group" is a selection of objects that have been grouped through Edit > Group or with Ctrl+G. Grouping is a layout convenience: it collapses multiple primitive objects (rectangles, text fields, IO fields, buttons) into a single selectable unit for moving, copying, and aligning. The group is not a runtime object on the HMI; the runtime still enumerates and renders the original primitive objects. As a result, animations attached to the group do not exist on the panel image; the engineering tool shows the property in the inspector, but the WinCC Basic runtime does not honor it.
The same limitation exists in WinCC Comfort, with one critical difference: Comfort faceplates encapsulate the grouped objects behind a single interface, and the faceplate's interface can carry one or more Visibility tags that are mapped to each contained object during the faceplate engineering pass. The result appears to be "group-level visibility" but is implemented by enumeration of the contained objects.
Method 1: Rectangle Overlay Workaround (Basic Panels)
The accepted workaround for the KTP900 Basic and the broader Basic Panels family is a screen-colored rectangle that covers the group and is itself animated with the Visibility property. The runtime still renders the original group objects, but the user perceives them as hidden because the opaque rectangle sits on top.
Step-by-Step Procedure
-
Identify the group to be hidden. Open the target screen in the TIA Portal HMI editor and select the group. Note the group's bounding rectangle in the Properties pane under Layout > Position and Size:
X,Y,Width,Height. - Insert a rectangle. From the Toolbox, drag a Rectangle object onto the screen. In the inspector, set its Position and Size to match the group's bounding rectangle exactly. Snap to the integer pixel grid to avoid sub-pixel seams.
- Match the background color. Set the rectangle's Background color to the exact screen background color. The KTP900 Basic default screen background is pure white (RGB 255,255,255). If you have a custom background or gradient, sample a representative pixel and use that color. Mismatches become visible as a faint halo at the edges of the overlay.
- Disable the border. Set Line > Style to None and Line > Weight to 0. A visible border is the most common defect in this workaround.
- Send the rectangle to the back. Right-click the rectangle and choose Order > Send to Back. The rectangle must be drawn over the group, so it must sit at a higher Z-order. If the group was grouped after the rectangle was placed, re-issue the send-to-back command on the rectangle.
-
Create the visibility tag. In the HMI tag table, add a Bool tag (e.g.,
GroupVisible). Map it to a PLC address such as%DB5.DBX0.0or define it as an internal HMI tag for local testing. -
Attach the animation. Select the rectangle. In the inspector open Properties > Animations. Click Add and select Visibility. Configure the animation:
-
Tag:
GroupVisible - Trigger: Change of value
- Range: Value 1 → Visible; Value 0 → Invisible (or invert as required)
-
Tag:
- Compile and transfer. Right-click the HMI device → Compile > Software (rebuild all). Resolve any warnings regarding the unused group. Transfer the project to the panel via PROFINET, USB, or MPI.
- Verify on the panel. Toggle the visibility tag from the PLC (or from the HMI tag table in the simulation). The group must appear and disappear in unison as the tag changes.
Limitations of the Overlay Technique
- Input objects remain active. Buttons, IO fields, and sliders inside the group continue to receive touch events because they are not hidden at the runtime level. The visual effect is correct, but a user can still tap a "hidden" button. Always combine the overlay with disabling the inputs using the Enable animation on each interactive object, or move the interactive elements into a Popup Screen.
- Color drift. Lighting conditions and any gradient background expose the overlay edges. Sample the background color at the four corners of the group's bounding box and pick the dominant value, or use a solid background.
- Animation count. Each animated object consumes runtime resources. A panel with dozens of group overlays may show slow screen redraws on lower-end Basic devices.
Method 2: Popup Screen (Single-Group Scenarios)
If the screen contains a single dynamically shown group, the cleanest Basic-panel solution is to host that group in a Popup Screen and open or close the popup from a tag. The popup acts as the group container, and the visibility is implemented by the popup's own open/close state.
Step-by-Step Procedure
- In the HMI device, open Screens & Popups > Add new Popup Screen. Name it
Popup_Group1. - Design the group content inside the popup using the same objects you would otherwise have placed on the parent screen.
- Define a Bool tag
Popup_Group1_Open. - On the parent screen, place a button. In its Events tab, add a Click event that calls the system function ShowPopupScreen with the popup name and an open/close tag.
- To close the popup, configure a button on the popup itself that calls ClosePopupScreen or write the value 0 to the open tag.
- Compile, transfer, and verify. The popup must appear over the parent screen with the configured modal behavior, and all contained objects must be inactive while the popup is closed.
Popup Screens are documented in the WinCC Basic V17 Programming and Operating Manual, section "Configuring Popup Screens".
Method 3: Faceplate Visibility (Comfort Panels and WinCC Professional)
On Comfort panels and on WinCC Professional (PC Runtime), the recommended approach is a faceplate. A faceplate is a reusable HMI screen object with its own interface, properties, and tags. Visibility is exposed as a single interface tag on the faceplate instance, and the faceplate's internal event wiring animates each contained object using that tag.
Step-by-Step Procedure
- In the project tree, expand HMI > Faceplates. Add a new faceplate, e.g.,
GroupFaceplate_1. - In the faceplate editor, add a Bool interface tag
Visibility. - Place the group objects inside the faceplate. For each object, open Properties > Animations > Visibility and set the tag to the faceplate's
Visibilityinterface tag. - Save the faceplate. The faceplate appears in the toolbox under My Faceplates.
- Drag the faceplate instance onto any screen. In the instance's Interface properties, bind
Visibilityto the project tagGroupVisible. - Compile and transfer. The single tag now controls the visibility of all objects inside the faceplate instance.
Faceplates are documented in the WinCC Comfort/Advanced V17 Programming Manual, section "Working with Faceplates".
Animation Configuration Details in TIA Portal
The animation dialog for Visibility exposes the following parameters. Default values are those used by a fresh installation of TIA Portal V17.
| Parameter | Description | Typical Value |
|---|---|---|
| Tag | Source of the visibility state | HMI Bool tag |
| Trigger | When the animation re-evaluates | Change of value, Range, Cyclic |
| Range | Mapping of tag value to visibility state | 0 = invisible, 1 = visible |
| Enable | Master enable of the animation | Always (no enabling tag) |
For most use cases the trigger is Change of value, which avoids the runtime cost of a cyclic evaluation. The Range mapping supports multiple ranges: a single Bool is sufficient, but a UInt tag with thresholds allows the same animation to drive opacity as well (e.g., 0 = invisible, 1 = 50% opacity, 2 = full).
Tag Configuration Recommendations
- Polarity. Decide whether the tag represents visible or hidden. A polarity of 1 = visible is the most common; the alternative (1 = hidden) is used when the safe state of the panel is "objects visible if the PLC is offline".
- Initial value. Set the tag's Initial Value in the HMI tag table. The KTP900 Basic applies the initial value on every cold restart, including power-on. If the initial value is undefined, the group may flicker on the first screen load.
- Update cycle. The default update cycle for HMI tags is 1 s. For a visibility animation tied to operator input, change the update cycle to 100 ms or use Change of value trigger on the connected PLC tag.
- Acquisition mode. Use Cyclic continuous only for monitoring tags. For visibility, On demand with an Update on change from the PLC is more efficient.
Verification Procedure
- Compile check. Right-click the HMI device → Compile > Software (rebuild all). The output window must show "0 errors, 0 warnings". Warnings about unconnected animations or unused groups are tolerated.
-
Simulation. Start the HMI simulation: Online > Simulation > Start with current project. Use the tag simulator panel (View → Tag simulator) to toggle
GroupVisibleand confirm the group appears/disappears. - Transfer to panel. In the device toolbar, click Download to device and follow the prompts. Select the correct PG/PC interface (PROFINET, USB, or MPI). The transfer log must report "Download successful".
-
On-panel test. On the KTP900 Basic, navigate to the target screen. Toggle the visibility tag from the connected PLC using a watch table in TIA Portal. Confirm:
- The group becomes invisible when the tag is 0.
- The group becomes visible when the tag is 1.
- The animation is smooth (no flicker, no half-rendered frames).
- No unintended color halo at the group edges.
- Input lockout test. If the group contains interactive objects, attempt to operate them while the group is hidden. Inputs must not be triggered. If they are, add the Enable animation in addition to the Visibility animation.
Method Comparison
| Criterion | Rectangle Overlay | Popup Screen | Faceplate |
|---|---|---|---|
| Supported on Basic | Yes | Yes | No |
| Single-tag control | Yes | Yes (open/close) | Yes |
| Input lockout included | No (manual) | Yes (popup modal) | Yes (when animated) |
| Engineering effort | Low | Medium | High (reusable) |
| Reusable across screens | No | Yes (popup) | Yes (faceplate) |
| Recommended for | Small Basic projects | Single group per screen | Comfort / WinCC Professional |
Troubleshooting Matrix
| Symptom | Root Cause | Corrective Action |
|---|---|---|
| Group does not hide when tag changes | Visibility animation attached to group, not to overlay rectangle | Attach the animation to the overlay rectangle; remove any animation on the group itself |
| Overlay rectangle visible as a square | Border not set to None or color mismatch | Set Line > Style to None; sample background color and reapply |
| Hidden button still operable | Overlay hides only visually | Add the Enable animation to each interactive object, or use a Popup Screen |
| Animation present in editor but ignored at runtime | Group animation not supported on Basic | Convert to overlay rectangle or popup |
| Faceplate instance does not refresh | Interface tag not connected or update cycle too slow | Verify interface binding; reduce update cycle to 100 ms |
| Compile error "Faceplate not supported" | Basic runtime image selected | Switch device to a Comfort panel or to WinCC Professional |
Field-Proven Cautions
- Grouping in TIA Portal can be undone by an Ungroup in the next editing session if the project is shared. Document the group definition in a comment block on the screen.
- The Basic runtime limits the number of simultaneous animations per screen; the exact limit depends on the device and the firmware version. See the KTP900 Basic Operating Instructions, section "Performance".
- When the panel loses connection to the PLC, the last visible value of the tag is held (or zero, depending on tag acquisition mode). A visibility animation tied to a connection-loss tag should use the PLC's LifeBit to display a safe state.
FAQ
Can I add a Visibility animation to a group on a KTP900 Basic panel?
No. WinCC Basic does not support a Visibility animation on a group object. Use a screen-colored rectangle overlay animated with Visibility, route the content into a Popup Screen, or migrate to a Comfort panel and use a faceplate.
What is the catalog number for the KTP900 Basic 9-inch panel?
The SIMATIC KTP900 Basic 9-inch panel is 6AV2 123-2JB03-0AX0. Confirm the latest revision in the KTP900 Basic Operating Instructions.
How do I make a faceplate instance visible or invisible from a single tag?
Add a Bool Visibility tag to the faceplate interface. Animate the Visibility property of each contained object with that tag. On the faceplate instance, bind the interface tag to your project tag (for example GroupVisible).
Why does the overlay rectangle show a faint edge on the panel?
The rectangle border is not set to None, the background color does not match the screen, or the rectangle is sub-pixel aligned. Disable the border, sample the screen background color, and snap the rectangle to the integer pixel grid.
How do I disable buttons inside a hidden group on a Basic panel?
Combine the overlay rectangle with an Enable animation on each interactive object, or move the interactive elements into a Popup Screen, which is modal by default and disables inputs on the parent screen.