Button Properties - Action tab

The following table shows options in the
Action
tab.
Options
Description
Action
Click the down arrow to scroll the list of actions and select one. The action that you select determines which fields will be available in the tab.
  • Set tag to 1
    Sets the specified tag to 1 when the button is clicked. (Mouse down = do nothing; mouse up = set <tag> to 1)
  • Set tag to 0
    Sets the specified tag to 0 when the button is clicked. (Mouse down = do nothing; mouse up = set <tag> to 0)
  • Toggle tag value
    Sets the button to 0 or 1 depending on its current value. If the tag’s value is 0, the tag is set to 1 when the button is clicked. If the tags value is non-zero, the tag is set to 0 when the button is clicked.
  • Set tag to 1 on press and to 0 on release
    Sets the specified tag to 1 when the button is pressed (mouse button is pressed down and held), then sets it to 0 when the button is released (mouse button is released).
  • Set tag to 0 on press and 1 on release
    Sets the specified tag to 0 when the button is pressed (mouse button is pressed down and held), then sets it to 1 when the button is released (mouse button is released).
  • Run command
    Runs the FactoryTalk View commands specified as Press, Repeat and/or Release actions. You do not have to specify an action for each type.
Tag
This is displayed when any Action option except Run command, is chosen. Specify the path and name of the tag that will be the recipient of the action.
Remark
This is displayed when the Action option is
Toggle tag value
. Enter a customized message that will be shown in the
Diagnostic List
when changing the tag's value at runtime. This is helpful for monitoring and identifying operations that change tag values among a large number of diagnostic messages.
You can configure multiple languages for remark at design time. However, the remark message is only logged in the default language. For example, your application has three languages configured and the remark messages are also configured in those three languages. If the application's default language is English and the current language is Chinese, the remark messages are logged in the default language English.
The following placeholders are available:
  • /C
    Use it as a placeholder for the current value.
  • /N
    Use it as a placeholder for the new value.
For example, a message for changing the automatic/manual mode of a water pump motor control circuit could be
Changed water pump motor control circuit mode from /C to /N
.
If you want to switch the language of extended tag properties added by the
Insert Tag
option, use
/L
before the inserted tag without space.
Tip
: Semicolon (;) is
FactoryTalk View SE
's reserved character. If you want to use the semicolon in the remark message, you must enclose it in double quotation marks.
Press action
This field, and those that follow, are available when
Run command
is chosen as the button's action. Type the FactoryTalk View command to be executed when the mouse cursor is over the button and the mouse button is pressed down, or else click the browse button to open the Command wizard and use it to build a command string.
Repeat action
Type the FactoryTalk View command to be executed when the mouse cursor is over the button and the mouse button is pressed and held down, or else click the browse button to open the Command wizard and use it to build a command string. The action is repeated at the rate specified by Repeat Rate as long as the mouse button is held down.
Repeat rate (secs)
Type the rate in seconds at which the repeat action is to be executed.
Release action
Type the FactoryTalk View command to be executed when the mouse cursor is over the button and the mouse button is released, or else click the browse button (...) to open the Command wizard and use it to build a command string. If no press or repeat action is specified, the release action occurs when the button is clicked (mouse button is pressed and released).
Confirm and E-Signature settings
Select an option to configure the confirmation type before actions are performed.
  • No Confirmation
  • Require Confirmation
  • Require E-Signature
  • Use Variable
    to use a tag or parameter to determine the confirmation types.
    The settings are available when the action is:
    • Set tag to 1
    • Set tag to 0
    • Run command
      and you specify the release action.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal