How-to
Enable object access on a KTP700 Basic Panel with Visibility
Short answer
On a KTP700 Basic Panel you cannot use VBScript or the Control enable animation, so you gate operator access with an Animations > Display > Visibility animation instead. The on-screen keyboard layout is fixed on smaller panels and only resizes on larger Comfort Panels.
On this page
On a KTP700 Basic Panel (order number 6AV2123-2GA03-0AX0) there is no direct replacement for the WinCC flexible 2008 "enable object" option: Basic Panels support neither VBScript nor the Control enable animation. The supported fix is to gate the object with a Visibility animation — select the object, then Animations > Display > Add new animation > Visibility — so the object is only present at runtime when your access condition is true. The on-screen keyboard is a separate limitation: on smaller panels its layout is fixed and cannot be resized; resizing and relocation exist only on larger Comfort Panels.
Why the old enable-object route is closed #
Two features you might reach for are simply not available on this panel class:
- VBScript. Basic Panels do not support scripts at all. The classic answer of setting operator-control enable from a script does not exist here; scripts are a Comfort Panel, Multi Panel and Mobile Panel capability.
- The Control enable animation. In the Inspector window under Properties > Animations you will not find it on a Basic Panel. It only appears on non-Basic panels — Multi Panel, Comfort Panel, Mobile Panel — where it works the same way it did in WinCC flexible.
That is not a setting you have missed; it is a documented panel-class limit. The same class distinction applies elsewhere on these panels — for example, the visibility animation is also the tool behind button color changes on a KTP700 Basic, as covered in KTP700 Basic button color change via TIA Portal V15.1 animations.
Gate the object with a Visibility animation #
The Visibility animation makes the object appear or disappear based on a tag or expression. Configuring it takes a minute per object:
- Select the screen object (button, input field, graphic) in the TIA Portal screen editor.
- In the Inspector window, open Properties > Animations > Display.
- Choose Add new animation, then pick Visibility.
- Set the animation's tag (for example, a PLC BOOL such as
"Access_Level_Operator"in your S7-1200 or SIMOTION D program) and the range or value for which the object is visible. - Test both states in runtime: with the tag false the object must be gone from the screen, with it true the object must be back and operable.
Understand what this does and does not give you. Visibility removes the object entirely when the condition is false — the operator never sees it, so never tries to press it. It is not the same as a visible but grayed-out, disabled control; that behavior needs the Control enable animation, which this panel class does not have. If your specification demands a disabled-looking control rather than a hidden one, the panel cannot deliver it and you either hide the object or move the application to a panel class that supports Control enable.
Where the gate lives is your choice, and the PLC-side tag keeps the logic testable: the HMI only displays, the controller decides. Writing the access condition in the PLC also means one tag drives several objects on several screens, so you are not repeating an animation condition per button.
The on-screen keyboard cannot be resized on this panel #
The second part of the request — a bigger keyboard for field entry — has the same class answer. On the smaller panels the on-screen keyboard layout is fixed. There is no WinCC setting that enlarges it on a KTP700 Basic; the numbers of keys, rows and their positions do not change.
If keyboard size is a hard operator requirement, the decision is the panel class: larger Comfort Panels provide a normal on-screen keyboard that can be resized and relocated. That is a hardware migration decision, not a software toggle, so weigh it before you build screens around the fixed layout.
Decision #
- KTP700 Basic, access gating needed: use Animations > Display > Visibility per object, driven by a PLC access tag. Accept that hidden-not-disabled is the only form this panel offers.
- Visible-but-disabled controls required: this panel class cannot do it; move the application to a Comfort, Multi or Mobile Panel and use the Control enable animation.
- Keyboard too small for operators: no setting fixes it on this panel; resizing and relocation require a larger Comfort Panel.
One safety note: visibility gating is an operator-convenience screen behavior, not a safety function. Any action that can start, stop or endanger the machine must be interlocked in the controller or by hardware, never only by hiding an HMI button.
Questions asked
How do I enable or disable a button at runtime on a KTP700 Basic Panel?
You cannot, not as a visible-but-disabled control. Basic Panels have no Control enable animation and no VBScript. Select the button, open Properties > Animations > Display, add a Visibility animation and tie its range to your access tag, so the button is present when access is allowed and absent when it is not.
Can I use VBScript on a Siemens Basic Panel to control objects?
No. Scripting is not supported on Basic Panels; it is a Comfort Panel, Multi Panel and Mobile Panel capability. On a KTP700 Basic the equivalent of the old WinCC flexible enable-object behavior is the Visibility animation configured in the Inspector window.
Can I enlarge the on-screen keyboard on a KTP700 Basic Panel?
No. On the smaller Basic Panels the keyboard layout is fixed and there is no setting that enlarges it. If resizing and relocating the keyboard are hard requirements, move the application to a larger Comfort Panel, whose normal on-screen keyboard supports both.