Pages

Button Command

Description

The Button Command is a versatile button type that allows you to trigger specific system actions with a single click.
Typical use cases include:

  • Changing the language
  • Logging in or out
  • Acknowledging alarms

It serves as a key control element in any HMI interface where user actions must be executed efficiently and deliberately.


Configuration via Action (Control Properties)

In the Control Properties panel, under the Action section, you can assign one of the following four functions:

Function Description
setLang Switches the user interface language (e.g. en, de, tr, cn)
login Starts a login process
logout Logs the user out
confirm_alarms Acknowledges active alarms (if predefined)

Example Use Cases

  • Language Switch: A button with setLang: cn changes the interface language to Chinese on click.
  • Login Button: Immediately triggers the login dialog.
  • Logout Button: Logs out the user — perfect at the end of a session.
  • Alarm Acknowledge: Confirms active alarms or warnings with one click.

Note

This button works without a variable or connection string.
It directly controls system-level features of your UI — ideal for navigation, security, and global commands.