IMDTouchKnowledge BaseShop main store

How-to

WinCC faceplate authorization belongs on the commands

HMI and touchscreens Published 7 min read By IMDTouch engineering team

Short answer

WinCC evaluates authorization where the action starts, so a right on the faceplate container or on the popup that opens it does not protect the commands inside. Set the required user right on each button and I/O field in the faceplate type, or give the type an interface property of type Authorization and assign the function right at each instance. Keep position and fault indication readable for everyone and block only the writes.

On this page
  1. Why a right on the container misses the buttons
  2. Set the right inside the type once
  3. Pass the permission through an interface property
  4. Configure it step by step
  5. Keep status visible, block only the commands
  6. Worked example: four valve commands on twelve instances
  7. Verify on the bench before release
  8. Questions asked

Put the user right on the interactive objects inside the faceplate type, not on the container and not on the event that opens it. WinCC evaluates authorization where the action starts, and a faceplate draws an interface boundary between the screen instance and its internal objects: the popup opens for an authorized operator while every Open, Close and Reset button inside stays unprotected. Two documented routes fix that. Every button and I/O field in the type carries the same authorization property as a standalone screen object, so the right can be set once in the type, or the type gets an interface property of type Authorization that each internal command follows and each instance assigns. Keep position and fault indication readable for all operators and block only the writes.

Why a right on the container misses the buttons #

A faceplate type is a reusable object with internal controls and an external interface; what sits on your screen is an instance of it. Authorization placed on the calling object, on the container or on the open-popup event authorizes opening. It does not propagate inward, because each internal object evaluates its own authorization when its own event fires.

Three terms keep the diagnosis straight. Authentication establishes who is logged in. Authorization is the right that user holds for a protected operation. Visibility only decides whether an object is drawn, and it protects nothing.

What you see Likely condition What to inspect
Faceplate opens, every command available Right sits on the calling object or the open event Each interactive object inside the type
Unauthorized users lose valve status too Permission drives the whole faceplate's visibility Separate monitoring from command access
Buttons look active, writes do nothing PLC interlock blocks without visual feedback Enabled state against the write condition
All instances behave identically The type holds one fixed rule Expose the permission through the interface

Set the right inside the type once #

Every button in a faceplate type has a defined security property and a Boolean enable property, the same as a standalone screen object. Open the type in the editor, select each object that issues a command, and set its authorization to the required right. Every instance inherits the setting. For TIA Portal faceplates the vendor procedure reaches the same assignment from the instance side: from a screen holding an instance, open the faceplate's "Properties" and work through the access-rights assignment for the internal objects.

Choose this route when all instances should enforce one rule, the normal case for a library valve faceplate.

Pass the permission through an interface property #

WinCC Unified faceplates support interface properties of the "Authorization" type. This is documented behavior, not a workaround: such properties can be linked with authorizations, and the corresponding function right is then assigned at the faceplate instance. The pattern is to add an interface property "Authorization" to the type, bind every button and I/O field inside the faceplate to follow it, and assign the right once per instance. To reach that assignment, drag the faceplate type onto the screen to create the container and open the container's Inspector window, where the interface properties are listed.

An interface property carries no fixed value inside the type, the same limit behind why a WinCC Unified faceplate interface has no static value choice, so every instance must be given its right explicitly.

Use this route when instances must differ: a process valve and a maintenance-facing valve built from the same type. When the permission has to be computed per product or per shift, pass a Boolean permission bit through a Boolean interface property instead, and drive both the enable state and the write from that bit.

Configure it step by step #

  1. List every protected operation inside the type: objects that write a command, change a mode, acknowledge a fault or edit a setpoint, including keyboard and scripted paths.
  2. Create or pick the function rights and assign them to the groups that should hold them; the rights and group assignments live in user administration, covered in configuring WinCC Unified user administration and function rights. The faceplate references rights, never user names.
  3. Choose the evaluation point: a fixed right in the type for one shared rule, an "Authorization" interface property when instances differ, a Boolean permission bit when the rule is computed at runtime.
  4. Open the faceplate type, select each command object, and set its authorization property, or bind it to the interface property.
  5. At each instance, open the faceplate container's Inspector window and assign the function right, or connect the Boolean, to the interface property. Leave no instance unset.
  6. Drive the visual state and the write from the same permission: disable the button and guard every event or script that issues the write, including a second button or a keyboard path tied to the same command.
  7. Keep the process permissives in the controller. Mode, sequence and interlock validation stay in the PLC logic; the HMI right answers whether this person may ask, never whether the machine may move.
  8. Update all instances with the project's normal type-update workflow, then inspect each instance's binding for a missing or wrong connection.

Keep status visible, block only the commands #

Define permissions by operation, not by graphic. An operator who may not move a valve still needs its position, fault and interlock state.

Faceplate function Treatment
Position, fault and interlock indication Visible to every authenticated operator, read-only
Open and Close Command right plus PLC permissives
Reset or acknowledge Its own right when operational policy differs
Mode or maintenance selection Protected separately from routine operation

On the panel itself, operability and visibility are separate object settings, and enabling object access on a KTP700 Basic Panel with visibility shows the same separation on a standalone object. A disabled command should look access-restricted, greyed and still on screen, never broken, or operators will report a valve fault instead of a login problem.

Worked example: four valve commands on twelve instances #

Inputs, all taken from the valve faceplate in question; the counts are for this example, so count your own type:

  • Protected command objects in the type: 4 (Open, Close, Reset, Local/Remote mode).
  • Instances on the line overview screen: 12.
  • Read-only indication objects (position, fault): 2, bound to no right.
  • One project function right for valve commands, held by the operating group in user administration.

The rule in words: a setting written in the type is configured once and inherited by every instance; an interface-property assignment is written once per instance; a standalone object's authorization is written once per object occurrence.

Arithmetic:

  • Per-screen objects, no reusable rule: 12 instances × 4 commands = 48 authorization settings.
  • Right fixed in the type: 4 settings in the type + 0 per instance = 4.
  • Interface-property route: 1 interface property + 4 internal bindings + 12 instance assignments = 17.
  • Crossover: the interface route beats per-screen settings when 5 + N < 4 × N, which holds for N ≥ 2 instances.

Result: fixing the right inside the type replaces 48 settings with 4.

Decision: with one rule shared by all twelve instances, fix the right in the type. Move to the interface-property route only when at least one instance needs a different right; if Reset also takes a separate maintenance right, add a second interface property, giving 2 properties + 4 bindings + 2 × 12 = 30 assignments, still below the per-screen settings. From two instances upward the type route always wins; a single instance breaks even at 4 against 4.

Verify on the bench before release #

Run the writes on an isolated bench with verified test tags before the faceplate meets the line. Six checks cover the failure modes above:

  • Logged out: status readable, every protected command disabled or rejected, no PLC change.
  • Insufficient-rights account: protected operations unavailable; navigation and monitoring unaffected.
  • Authorized account: each permitted control enables, subject to the normal process permissives.
  • Mixed rights: only the operations granted to the test role enable.
  • Permission present, valve interlocked: the controller inhibits motion and the HMI shows the process condition, not an authorization error.
  • Logout on the open screen: enabled states refresh without navigation.

If a right is bound correctly and a user in the right group is still denied at runtime, the fault sits in the user or group assignment rather than the faceplate; the runtime side of that fault is covered in resolving WinCC V7.0 SP2 user rights permission errors.

Questions asked

Does hiding a button with a visibility animation protect the command?

No. Visibility is a display property: the object leaves the screen, but its scripts and tag-triggered events keep running, and any instance setting or animation that makes it visible again exposes the command unprotected. Hiding also removes the position and fault indication your operators need. Bind the authorization property or the enable property instead, so the command is refused while the status stays on screen.

Can a script change a faceplate's authorization while runtime is running?

Not through the Authorization-type interface property. That property is a configured setting in WinCC Unified and cannot be dynamized by a script or a tag. When the rule has to change while running, compute a Boolean permission bit in a script or in the PLC and pass it through a Boolean interface property that the internal buttons follow for both their enable state and their writes.

Where are the rights created and assigned to users?

In user administration, not in the faceplate. You create function rights there, add them to user groups, and place users in those groups; the faceplate only references a right by name. A right that no group holds is held by nobody, so a correctly bound button that blocks every account usually points at a right that was never assigned to a group.

After logout, an open faceplate still shows enabled buttons. What is wrong?

The buttons are following a fixed commissioning value, typically a constant true, instead of the right or the permission bit. An object's authorization is re-evaluated when the logged-in user changes, and a Boolean-bound enable follows its tag, so correctly bound objects refresh on a running screen. Rebind the interface property at the instance and repeat the session-change test without reopening the screen.

Keep reading

  • How-to

    Designing HMI User Access Levels for Operators and Maintenance

    Build the HMI around three access classes: operators get start, stop, status and recipe selection; supervisors add process parameter and recipe editing; maintenance gets clearly labeled overrides at the highest level. Commission all three with the data bindings by logging in as each class, proving one permitted and one prohibited action, and confirming every override is shown on the overview until returned to normal.

    HMI and touchscreens

  • How-to

    How to Set Up Granular User Access on a CODESYS Touch Panel

    Yes: a CODESYS panel takes any number of users. Activate user management in the Visualization Manager, add accounts and passwords in its user management editor, then tick the per-element user checkboxes that appear on every visualization element. Changing or removing the login password changes only the gate, never per-control rights; the defaults are admin, Operator and user.

    HMI and touchscreens

  • How-to

    How to Manage WinCC Runtime User Accounts and Password Changes

    Open the WinCC User Administrator at runtime by launching PassCS.exe from a button with a ProgramExecute C action, using the full installed path C:\Program Files\Siemens\WinCC\bin\PassCS.exe. Gate the button with an authorization, and keep operator login, own-password change, and account administration as three separately tested operations. Comfort and Advanced panels are administered in the engineering tool instead.

    HMI and touchscreens

Can a Weintek HMI Command Siemens CPU Run and Stop