Countdown
This element is a backward counting to indicate the remaining time before an event occurs.
This element must be used with HMI context.
Icon
HMI Representations
Default | Gauge | Hourglass |
---|---|---|
![]() | ![]() | ![]() |
External parameters
Show/Hide all parameters
parameter | editable via "Parameter" tab | updatable via a mapping | description | unit | type |
---|---|---|---|---|---|
X-axis position | ✔️ | ✔️ | Position of the element's on the X-axis. | px | Integer number |
Y-axis position | ✔️ | ✔️ | Position of the element's on the Y-axis. | px | Integer number |
Visibility | ✔️ | ✔️ | This parameter allows you to choose if you want the element to be visible or not on the scene during the execution of the scenario. If the item is part of a group, it can inherit the value of that group. | - | Enumeration (visible, hidden, inherit) |
State | ✔️ | ✔️ | State of the countdown. | - | Enumeration (Off, On) |
Precision | ✔️ | ✔️ | Number of decimals after the point, when the "Display Mode" parameter is at Only seconds. | - | Integer number |
Remaining time | ✔️ | ✔️ | The remaining time of the countdown. | s | Decimal number |
Font Color | ✔️ | ✔️ | Color of the element. This parameter can be edited. | - | Hexadecimal |
Font size | ✔️ | ✔️ | Size of the font. | - | Integer |
Font style | ✔️ | ✔️ | Style of the font. | - | Enumeration (Regular, Italic, Bold, Bold Italic) |
Style | ✔️ | ✔️ | CSS style of the element. You can change here parameters of the elements that are not already present in other fields. Choose a preset definition. | ||
Width | ❌ | ❌ | Maximal length of the element on the X-axis. | px | Decimal number |
Height | ❌ | ❌ | Maximal width of the element on the Y-axis. | px | Decimal number |
Angle | ✔️ | ✔️ | Angle of rotation of the element compared to its initial position. | degree | Decimal number |
Mode | ✔️ | ✔️ | Mode of the countdown, play once or in repeat. If Play once is selected, the icon ![]() ![]() | - | Enumeration (Play Once, Repeat) |
Display Mode | ✔️ | ✔️ | This parameter allows you to choose the display mode of the countdown. | - | Enumeration (Only seconds, Hour minute second) |
Animation Mode | ✔️ | ✔️ | This parameter allows you to choose the HMI animation representation of the countdown. | - | Enumeration (None, Gauge, Hourglass) |
Gauge Color | ✔️ | ✔️ | Color of the gauge's filling. This parameter can be edited. | - | Hexadecimal |
Triggered behaviours
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all triggered behaviours
Destroy
At the reception of the flow, the element is destroy.
No parameters for this triggered behaviour.
Start the countdown
Starts the countdown.
Show/Hide all parameters
parameters | description | unit | type |
---|---|---|---|
Remaining time | The counter time. | s | Decimal number |
Stop the countdown
Stops the countdown without triggering the "Countdown ended" event.
No parameters for this triggered behaviour
Pause the countdown
Pauses the countdown.
No parameters for this triggered behaviour
Resume the countdown
Resumes the countdown.
No parameters for this triggered behaviour
Events
See Triggered behaviours and events page for more explanation: Triggered behaviours and events.
Show/Hide all events
event | description |
---|---|
On Parameter Value Changed | The element can send information to the model when the value of the selected parameter has changed |
Countdown ended | The countdown can send information to the model when the counter is ended |
At initialization | The countdown can send information to the model once at initialization |
Continually | The countdown can send information to the model continuously |