Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Enable push buttons

  • Last UpdatedMar 17, 2025
  • 2 minute read

You can create touch sensitive objects that start action scripts by using touch push button links.

Action scripts can set tags to specific values, start and control other applications, execute functions and so on.

Create a discrete value touch link

  1. Select the object you want to apply the animation to.

  2. On the Draw menu, in the Mode group, select Animate.

    Alternatively, right-click the object and then select Animation Links.

    The Animation Links window appears.

  3. In the Touch Pushbutton area, select Discrete Value.

    The Pushbutton -> Discrete Value dialog box appears.

    Pushbutton: Discrete Value

  4. In the Tagname box, type a discrete type tagname.

  5. Select Key to assign a key equivalent to the link.

  6. In the Action area, select one of the following types:

    • Select Direct to set the value equal to 1 as long as the push button is pressed and held down. The value automatically resets to 0 when the button is released.

    • Select Reverse to set the value equal to 0 when the push button is pressed and held down. The value automatically resets to 1 when the button is released.

    • Select Toggle to reverse the state of the discrete tag.

    • Select Reset to set the value equal to 0.

    • Select Set to set the value equal to 1.

  7. Select OK.

Create an action script link

  1. Select the object you want to apply the animation to.

  2. On the Draw menu, in the Mode group, select Animate.

    Alternatively, right-click the object and then select Animation Links.

    The Animation Links window appears.

  3. In the Touch Pushbutton area, select Action.

    The Touch-> Action Script dialog appears.

    Touch: Action Script dialog

  4. In the Condition Type list, select a script type. For more information on the types of action scripts, see Script triggers.

    Note: If you assign a key equivalent link to an action push button and to the same key is used for a key script, the key equivalent link you assign takes precedence over the key script.

  5. In the Script Editor window, type the script to execute when the object is activated.

  6. Select OK.

    TitleResults for “How to create a CRG?”Also Available in