Button behaviors

An event where a graphic element or Add-On Graphic behaves like a button triggers specific button behavior. When creating a Button Behavior event for a graphic element or Add-On Graphic, select a behavior:
Behavior
Description
Set a tag to 1 on release
Set the value of the selected tag to 1 by releasing the button.
To configure this command, in the
Tag
box, enter or browse to select the tag.
Set a tag to 0 on release
Set the value of the selected tag to 0 by releasing the button.
To configure this command, in the
Tag
box, enter or browse to select the tag.
Set a tag to 1 on press, 0 on release
Set the value of the selected tag to 1 by pressing the button and then setting the value to 0 by releasing the button. Select a minimum hold time for this button behavior.
To configure this command, in the
Tag
box, enter or browse to select the tag.
For momentary button behaviors, press the button for a minimum length of time. The button stays pressed even when releasing the button before the minimum hold time. To set a minimum hold time for the momentary button, select the
Minimum Hold Time
box, and then select a minimum hold time. Pressing the button again before the minimum hold time expires is not allowed. If a screen or popup containing the button closes before the hold time expires, the hold time resets. The minimum hold time does not support binding.
Set a tag to 0 on press, 1 on release
Set the value of the selected tag to 0 by pressing the button and then setting the value to 1 by releasing the button. Select a minimum hold time for this button behavior.
To configure this command, in the
Tag
box, enter or browse to select the tag.
For momentary button behaviors, keep the button pressed for a minimum length of time. The button stays pressed even when releasing the button before the minimum hold time. To set a minimum hold time for the momentary button, select the
Minimum Hold Time
box, and then select a minimum hold time. Pressing the button again before the minimum hold time expires is not allowed. If a screen or popup containing the button closes before the hold time expires, the hold time resets. The minimum hold time does not support binding.
Toggle a tag on release
Toggle the value of the selected BOOL tag from 0 to 1, or from 1 to 0, by releasing the button.
To configure this command, in the
Tag
box, enter or browse to select the BOOL tag.
Write to a tag on release
Write a value to the selected tag by releasing the button. Specify the value with a number, a tag, or an expression.
To configure this command, in the
Tag
box, enter or browse to select the tag. In the expression
box, create the expression value to write to the tag when you release the button.
Incrementally change a tag on release
Increment the value of the selected tag by releasing the button. Specify the value with a number, a tag, or an expression.
To configure this command, in the
Tag
box, enter or browse to select the tag. In the
By
box, create the expression value by which to increment the tag when releasing the mouse button. The increment can be either negative or positive.
Logix HMIBC set to 1 on press, 0 on release
Use high priority communication to set the value of the .ButtonState member of the selected HMIBC tag to 1 when pressing the button, and to 0 when releasing the button.
To configure this command, in the
HMIBC Tag
box, select an HMIBC type tag. The
Tag Browser
filters HMIBC type tags from the Logix Designer project file (.acd). Select the HMIBC type tag only. Creating an HMIBC button using the Logix HMIBC
set to 1 on press, 0 on release
Button Behavior option automatically uses the .ButtonState member of the HMIBC tag.
Logon on release
Open the
Log On
dialog box to log on to the HMI device. When the
Log On
dialog box opens, any open popup closes.
Logoff on release
Log the current user off the HMI device. This logs on the Guest user role automatically to show only the items to which the Guest role has access.
Open popup on release
Open a specific popup when the event occurs.
To configure this command, in the
Open Popup
box, navigate to and select the popup the event is to open. The popups listed exist in the
User-Defined Screens
and
Predefined Screens
folders of the
Project Explorer
. Only popups appear for the
Popup Open
command. Only one popup at a time can open on the HMI device. When a popup opens, any previously open popup closes.
If the selected popup has a user-defined data type property, a
Property Configuration
box appears under the command. To pass a value to the popup on the HMI device when the popup opens, bind the value in the
Property Configuration
box to the user-defined data type property of the popup.
Close popup on release
Close the popup on the HMI device when the event occurs. Only one popup at a time can open on the HMI device.
Navigate to screen on release
Open the specified screen or shortcut by releasing the button.
To configure this command, in the
Navigate To
box, select the shortcut or screen the event is to open. Navigate to the contents of the Navigation Menu, User-Defined Screens, and Predefined Screens folders of the
Project Explorer
.
If the selected screen has a user-defined data type property, a
Property Configuration
box appears under the command. To pass a value to the screen on the HMI device when the screen opens, bind the value in the
Property Configuration
box to the user-defined data type property of the screen.
Navigate backward on release
Navigate back in history to open the screen opened using the
Navigation
menu or a
Screen Navigate
command.
Logging off the HMI device erases the navigation history.
Navigate forward on release
Navigate forward in history to open the screen opened using the
Navigation
menu or a
Screen Navigate
command.
Logging off the HMI device erases the navigation history.
Show Navigation Menu on release
Open the
Navigation
menu on the HMI device screen by releasing the button.
Switch language on release
Switch to a specific language when the event occurs.
Tip:
Import the desired languages before switching to a specific language.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal