Add an event command to load a runtime application

Create an event to load a runtime application from a USB storage device or SD card. Add a
Load Application
command to a touch or key event to load the application. When triggered on the HMI device, the event with the command loads the .vpdr file from the specified removable media. If required, the
Load Application
command updates the firmware version on the
PanelView
5000 HMI device before loading the runtime application file. To enable updating firmware, copy the correct version of the .dmk firmware file to the removable media along with the .vpdr application file.
TIP:
Firmware update using the Load Application command only works in two cases:
  1. When the firmware on the HMI device is already V6 or later, and the firmware you want to load is V6 or later.
  2. When the HMI device is running out-of-the-box manufacturing firmware, was manufactured after the V6 release date, and the firmware you want to load is V6 or later.
Prerequisites
  • Create an event to trigger the command:
    • Touch press.
      Occurs when touching the item on the screen that is configured with the event.
    • Touch release.
      Occurs when releasing the item on the screen that is configured with the event.
    • Key press.
      Occurs when
      pressing the specified key.
    • Key release.
      Occurs when releasing the specified key.
To add an event command to load a runtime application
    1. Select the graphic element configured with the touch or key event.
    2. In the
      Properties
      pane on the
      Events
      tab, select
      Add Command
      .
    Expand the
    HMI Device Configuration
    command category and select
    Load Application
    .
  1. Under
    Load Application from
    on the command card, in the
    Source
    box, select
    USB
    or
    SD Card
    .
  2. In the
    FileName
    box, type the name of the runtime application to load.
    TIP:
    Bind the
    FileName
    box of the Load Application event command to a graphic element property or a tag in the controller. Binding the file name specifies the file name to load on the HMI device. For example, bind the
    FileName
    box of the
    Load Application
    event command to the text property of Text Input graphic element. Use the Text Input graphic element to then enter the name of the .vpdr file to load from the removable media to the HMI device.
  3. In the
    HMItoControllerPath
    box, specify the controller path to use by selecting either:
    • Keep paths on HMI device.
      Use the HMI to controller path currently in use on the HMI device.
    • Load path in VPDR file.
      Use the HMI to controller path in the runtime application file that is loading.
  4. In each box, select
    Select tag
    ST5K_Project_Properties_Browse_button.jpg to open the
    Tag Browser
    and browse to select the tag or manually enter a graphic element property to receive the value to display on the HMI device when the event command triggers:
    • FirmwareUpdateRequired
      . Whether or not a firmware update is required on the HMI device to load the runtime application file from the removable media.
    • VPDRMajorVersion
      . The major version of the runtime application file on the removable media.
    • FirmwareVersionToInstall
      . The version of the firmware that the
      Load Application
      command installs on the HMI device from the removable media.
      TIP:
      Rockwell Automation
      recommends binding to tags of graphic element properties in the
      FirmwareUpdateRequired
      ,
      VPDRMajorVersion
      , and
      FirmwareVersonToInstall
      boxes to display updated firmware version information on the HMI device when loading the runtime application file.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal