Add an event to a project (Project Event)

Add an event to a project to execute commands on the HMI device after:
  • Evaluating an expression from false to true
  • Pressing a key
    Tips:
    • Project events trigger regardless of the screen or popup displayed on the HMI device.
    • View Designer
      supports adding up to 1000 project events.
To add an event to a project
  1. In the
    Project Explorer
    , navigate to the
    Project Events
    folder.
  2. Right-click the
    Project Events
    folder and click
    New Project Event
    . The event has the default name ProjectEvent_001.
  3. In the
    Properties
    pane, click the
    Properties
    tab.
  4. Expand a category to change a property value or bind a property of the project event.
    • Enabled
      . Select or bind this property to enable the evaluation of the event. If the
      Enabled
      property is false, the event is not evaluated and the commands of the event do not perform.
    • ExecuteWhen
      . Bind this property to enter a tag or expression to trigger the event. The event triggers when the expression evaluates from false to true.
    • ExecuteOnKey
      . Select the key to trigger the event.
      Touch Only
      is the default. Select
      None
      if not using a key to trigger an event.
    • EvaluationPeriod
      . Select the rate to evaluate events.
      TIP:
      Any
      ExecuteOnKey
      project event configured for a specific key does not trigger on the HMI device if the open screen or a graphic element on that screen on the HMI device has a
      Key Press
      ,
      Key Release
      , or
      Button Behavior
      event configured for the same key.
  5. Click the
    Events
    tab
    TIP:
    The
    Events
    tab only contains one project event card.
    View Designer
    does not allow deleting or adding project event cards.
  6. Click
    Add Command
    .
  7. Expand a command category to list the commands in that category:
    • HMI Device Configuration.
      Commands that configure screen calibration and reboot the HMI device.
    • Navigation.
      Commands that navigation to screens on the HMI device.
      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.
    • Security
      . Commands that log on or log off the HMI device.
    • Value.
      Commands that increment, toggle, or write a value to the selected tag.
    • Language
      . Command that changes the language that displays on the HMI device.
    • Window.
      Tip:
      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.
Select and configure the command that the event will perform.
Tip:
  • You can create multiple commands for each event. The order of execution may not correspond with the order of commands listed on the
    Event
    card.
  • If the events for an item include more than one screen navigation command, only the first screen navigation is performed on the HMI device. The screen navigation occurs after all other commands for the events are performed.
  • 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 controller at the same time.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal