OFF Delay
This function block holds a boolean signal high for a configurable time when the input changes from True to False. Use it to prevent brief false pulses from immediately turning an output off.
π₯ Inputs
Input Signal A boolean signal that controls the block. Provide True/False values (or connect a boolean-producing function block).
π€ Outputs
Output Signal The resulting boolean after the off-delay logic. When the input falls from True to False, this output remains True until the configured delay elapses.
πΉοΈ Controls
Delay Time (seconds) Set how long the output stays True after the input goes False. Enter the delay duration in seconds (supports decimal values).
βοΈ Running mechanism
The block monitors the incoming boolean signal and remembers its recent state.
When the input transitions from True to False, an internal timer starts and the block keeps the
Output Signalas True.If the configured delay time passes without the input returning to True, the block then sets the
Output Signalto False.If the input returns to True before the delay finishes, the delay is canceled and the output follows the input immediately.
On initial start the block waits for the first input change to begin normal operation.
π― Features
Prevents short-lived false pulses from toggling downstream logic.
Simple numeric control for delay length in seconds.
Works with any boolean-producing blocks or signals in your scenario.
Stateless on removal β releases internal timers when removed from the flow.
π Usage instructions
Connect a boolean source (for example a manual switch or a logic-producing block) to the
Input Signal.Set
Delay Time (seconds)to the duration you want the output to remain True after a falling edge.Use the
Output Signalto drive downstream logic or indicators.
π‘ Tips and Tricks
For manual testing, use the
Logic Inputblock as a controllable boolean source.To add a delay on the rising edge as well, pair this block with the
ON Delayblock for symmetric behaviour.Detect single transitions then delay the fall by combining with the
Rising Edgeblock upstream.Use logical combinations like
And,Or, orSet - Resetwith this block to create more advanced control flows (for example, require multiple conditions to be True before the delay behavior is allowed).Connect the output to
Led OutputorScopeto visualize or indicate the delayed state in the UI.
π οΈ Troubleshooting
If the output never goes False: check the value entered in
Delay Time (seconds)and confirm the input actually transitions to False.If the output drops immediately: verify the input truly went from True to False and that no upstream blocks (like a pulse generator) are briefly forcing the input low.
If you need to ignore spurious signals, consider adding a short
ON Delaybefore this block or pre-filtering with logical conditions.
Last updated
Was this helpful?