What is an event?
An event is something that occurs to trigger an action.
Create events for a graphic element, an instance of an Add-On Graphic, a graphic element within the definition of an Add-On Graphic, or a screen. There are four types of events:
- Button Behavior. Touch or release a button or key on the HMI device, or configure a graphic element or Add-On Graphic with typical button behaviors.
- Touch Press and Touch Release.
- Key Press and Key Release.
- State Enter and State Exit.
Access
Project Explorer > Project Events
to create events for a project. Project events execute commands after evaluating an expression from false to true, or pressing a key. A project event triggers regardless of the screen or popup on the HMI device.Each event requires configuring one or more actions or commands that the event triggers. When the event occurs, the event performs the configured command. Depending on the type of event, commands from different categories can perform tasks.
- Alarm History.Remove all alarm events stored on the HMI device. Export alarm history to a .csv file on a USB device or an SD card in order to view the information on a computer, or cancel the export.
- Certificates.Import a digital certificate from removable media, or delete a certificate from the HMI device. A digital certificate allows the HMI device to access locations on the Internet using the secured HTTPS and WSS protocols.
- Data Logs.Clear one or more data logs. Export a data log to a .csv file on a USB device or an SD card in order to view the information on a computer, or cancel the export.
- HMI Device Configuration.Calibrate touch for the HMI device screen, load a runtime application from the HMI device, reboot the HMI device, or safely remove media when the event occurs.
- Language. Change the language that displays on the HMI device.
- Navigation.Open or close the web browser.Open the next or previous screen in your navigation history, a popup on the screen, a specific screen on the HMI device, or theNavigation menuon the HMI device when the event occurs.
- Notification.Send an email with a configurable subject and message to one or more recipients.
- PDF. Navigate through the pages of PDF documents.
- Security.Open theLogondialog box or log off when the event occurs.
- State.Apply the previous or next state in the selected State Table to the graphic element or Add-On Graphic when the event occurs.
- Value.Increment a tag value by a configured value or expression, toggle a tag value between True and False, or change a tag value by a configured value or expression when the event occurs.TIP:Tips:
- Import the desired languages before changing the language that displays on the HMI device.
- If a translatable string is left blank,View Designerdefaults to the download language for runtime applications downloaded to the HMI device. If the translated string for the download language is also blank,View Designerdefaults to the language used for designing the project.
Provide Feedback