Trigger an action on a State Enter or State Exit event

Configure an action to occur when a graphic element, Add-On Graphic, screen, popup, or System Banner enters or exits a specified state. Configure states using the
State Table
on the
Animations
tab.
Prerequisites
  • Verify that the graphic element, screen, popup, or System Banner is configured for
    State Table
    animation.
To trigger an action on a State Enter or State Exit event
    1. Select the item to have the event. The item can be a graphic element, a graphic element in the definition of an Add-On Graphic, an Add-On Graphic instance, a group of elements, a screen, a popup, or the System Banner.
      TIP:
      Select items on either the
      Screen
      area,
      Project Explorer
      , or
      Graphic Explorer
      .
    2. In the
      Properties
      pane, click the
      Events
      tab.
    3. Select
      Add Event
      and select an event from the list.
    • State Enter.
      Occurs when a graphic element, Add-On Graphic, screen, popup, or the System Banner transitions into the selected state through an animation.
    • State Exit.
      Occurs when a graphic element, Add-On Graphic, screen, popup, or the System Banner transitions out of the selected state through an animation.
  1. In the
    State Table
    box, select the State Table containing the desired state.
  2. In the
    State Name
    box, select the state to trigger the event.
  3. Select
    Add Command
    .
  4. Expand a command category to list the commands in that category:
    • Alarm History.
      • Data Log.
        • HMI Device Configuration.
          • Language
            . Change the language that displays on the HMI device.
            TIP:
            Tips:
            • Import the desired languages before changing the language that displays on the HMI device.
            • If a translatable string is left blank,
              View Designer
              defaults to the download language for runtime applications downloaded to the HMI device. If the string that is translated for the download language is also blank,
              View Designer
              defaults to the language used for designing the project.
              • Navigation.
                Navigate to screens on the HMI device.
                TIP:
                Multiple screen navigation commands can exist for an event. All other types of commands for the event are executed before the navigation command. Only one navigation command is executed for an event. This is generally the first navigation command. The remaining navigation commands are ignored on the HMI device. To ensure the navigation command is the navigation command executed, Rockwell Automation recommends adding only one navigation command to an event.
              • Language
                . Command that changes the language that displays on the HMI device.
              • Notification
                . Send an email notification.
              • State.
                Commands that apply a state from the selected State Table.
                TIP:
                Tips:
                • Import the desired languages before changing the language that displays on the HMI device.
                • If a translatable string is left blank,
                  View Designer
                  defaults to the download language for runtime applications downloaded to the HMI device. If the translated string for the download language is also blank,
                  View Designer
                  defaults to the language used for designing the project.
                  • PDF
                    . Commands that zoom or navigate pages in a PDF file.
                  • Security
                    . Log on or log off the HMI device.
                  • Value.
                    Commands that increment, toggle, or write a value to the selected tag.
                  • Windows
                    . Commands to open a program or file from the Emulator or a View 5000 Client for a project configured with a View 5000 Server HMI device or to open Logix Designer.
          Configure screen calibration, load a runtime application from removable media to the HMI device, reboot the HMI device, and safely remove media.
        Cancel export of data log, clear data log, or export data log to a USB or SD card.
      Cancel export of the alarm history, clear alarm history, or export alarm history.
  5. Select and configure the command the event is to perform.
TIP:
Tips:
  • Create multiple commands for each event. The order of execution may not correspond with the order of commands listed on the
    Event
    card.
  • Creating many tag write commands for an event may pause screen updates while the writes occur.
  • When an event performs multiple commands that write to multiple tags, all of the write commands occur sequentially. Therefore, you may not see all of the tag values in the Logix controllers at the same time.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal