/
RuntimeCounter Block
RuntimeCounter Block
RuntimeCounter
Used to calculate an expiration time. When the configured time is over, the output becomes TRUE.
The output defines if the time is expired or not, TRUE means expired while FALSE means not expired.
The output cannot be TRUE if the val input is FALSE.
If val input is TRUE, this block holds the output to a FALSE state for a defined amount of time.
If val input is FALSE, the output state is set to FALSE and the expiration time is reset.
The amount of time before the output TRUE state expires is defined either by maxOnTime or maxOnTimeDuration.
If set, maxOnTime wins over maxOnTimeDuration.
Input:
val (boolean)
maxOnTime (number)
maxOnTimeDuration (duration)
Output:
result (boolean)
, multiple selections available,
Related content
Logic Builder Blocks
Logic Builder Blocks
More like this
UpAndDownCounter Block
UpAndDownCounter Block
Read with this
Logic Builder Examples
Logic Builder Examples
Read with this
Enthalpy Block
Enthalpy Block
Read with this
If Block
If Block
Read with this
isType Block
isType Block
Read with this