This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilehmi:screenevent:index [2023/04/08 15:11] COMFILE Technology [Screen Event Types] |
comfilehmi:screenevent:index [2023/04/08 15:25] (current) COMFILE Technology [Add Events] |
||
---|---|---|---|
Line 3: | Line 3: | ||
Screen events are events that only occur when the associated screen is being displayed. | Screen events are events that only occur when the associated screen is being displayed. | ||
- | {{ :comfilehmi:screenevent:screenevent.png?nolink |}} | + | {{ :comfilehmi:screenevent:screenevent.png?nolink |screenevent}} |
===== Screen Event Types ===== | ===== Screen Event Types ===== | ||
Line 11: | Line 11: | ||
There are 4 screen event types: | There are 4 screen event types: | ||
- | * Screen Start Event: This event occurs when the screen is first displayed. | + | * 1. When Screen Opens: This event occurs when the screen is first displayed. |
- | * Screen End Event: The event occurs when the screen is no longer displayed (e.g. Immediately before transitioning to a different screen). | + | * 2. When Screen Closes: The event occurs when the screen is no longer displayed (e.g. Immediately before transitioning to a different screen). |
- | * Timer Event: This event occurs periodically while the screen is being displayed. | + | * 3. Timer: This event occurs periodically while the screen is being displayed. |
- | * Device Event : This event occurs when data in a device's memory meets a specified condition. | + | * 4. Monitor by Expression : This event occurs when a variable or expression evaluates to a specified condition. |
- | * Expression Event : This event occurs when a variable or expression evaluates to a specified condition. | + | * 5. Monitor Device : This event occurs when data in a device's memory meets a specified condition. |
- | ===== Adding Actions to an Event ===== | + | ===== 1. When Screen Opens ===== |
Press the down arrow icon next to the event type to add actions to an event. | Press the down arrow icon next to the event type to add actions to an event. | ||
Line 23: | Line 23: | ||
{{ :comfilehmi:screenevent:screenactionadd.png?nolink |}} | {{ :comfilehmi:screenevent:screenactionadd.png?nolink |}} | ||
- | The following window will appear to provide the ability to add multi-actions to the event. | + | ===== 2. When Screen Closes ===== |
- | {{ :comfilehmi:globalevent:eventadd.png?nolink |}} | + | Press the down arrow icon next to the event type to add actions to an event. |
- | [[comfilehmi:multiaction:index|What is a multi-action?]] | ||
- | |||
- | |||
- | ---- | ||
- | ===== Adding a Timer Event ===== | + | ===== 3. Timer ===== |
Press the down arrow icon next to the //Timer// node to add a new timer event. | Press the down arrow icon next to the //Timer// node to add a new timer event. | ||
{{ :comfilehmi:screenevent:screentimeradd.png?nolink |}} | {{ :comfilehmi:screenevent:screentimeradd.png?nolink |}} | ||
- | |||
The following window will appear. | The following window will appear. | ||
Line 49: | Line 44: | ||
{{ :comfilehmi:screenevent:screentimeradd2.png?nolink |}} | {{ :comfilehmi:screenevent:screentimeradd2.png?nolink |}} | ||
- | ---- | ||
+ | ===== 4. Monitor by Expression ===== | ||
+ | Press the down arrow icon next to the //Expression// node to add a new expression event. | ||
+ | {{ :comfilehmi:screenevent:screensusikeventadd.png?nolink |}} | ||
+ | |||
+ | Enter the expression specifying the condition that must be met for the event to occur. | ||
+ | |||
+ | {{ :comfilehmi:globalevent:susikwatch.png?nolink |}} | ||
+ | |||
+ | Add actions to be executed when the event occurs. | ||
+ | |||
+ | {{ :comfilehmi:screenevent:screensusikeventadd2.png?nolink |}} | ||
+ | |||
+ | ===== 5. Monitor Device ===== | ||
- | ===== Adding Device Events ===== | ||
Press the down arrow icon next to the //Device// node to add a new device event | Press the down arrow icon next to the //Device// node to add a new device event | ||
Line 68: | Line 74: | ||
---- | ---- | ||
+ | ===== Add Events ===== | ||
- | ===== Adding Expression Events ===== | + | The following window will appear to provide the ability to add multi-actions to the event. |
- | Press the down arrow icon next to the //Expression// node to add a new expression event. | + | {{ :comfilehmi:globalevent:eventadd.png?nolink |}} |
- | {{ :comfilehmi:screenevent:screensusikeventadd.png?nolink |}} | + | [[comfilehmi:multiaction:index|What is action?]] |
- | Enter the expression specifying the condition that must be met for the event to occur. | ||
- | |||
- | {{ :comfilehmi:globalevent:susikwatch.png?nolink |}} | ||
- | |||
- | Add actions to be executed when the event occurs. | ||
- | |||
- | {{ :comfilehmi:screenevent:screensusikeventadd2.png?nolink |}} | ||
- | |||
- | |||
- | ---- | ||
====== Video ====== | ====== Video ====== | ||