ON Delay

This function block introduces a delay mechanism that is triggered when the input signal transitions to a True state. It prevents immediate feedback by introducing a defined delay period before allowing the output signal to reflect the change.

📥 Inputs

Boolean A Boolean input signal that will be monitored for changes.

📤 Outputs

Boolean The output signal will be True only after the defined delay when the input signal goes to True.

🕹️ Controls

Delay Time (seconds) A text field where you can specify the duration of the delay before the output signal changes to match the input signal. The default value is set to 5 seconds.

🎨 Features

Delay Control Implements a delay mechanism that can be adjusted based on user-defined requirements.

Signal Filtering Once triggered, the block filters the input signal to prevent premature activation of the output signal.

📝 Usage Instructions

  1. Connect Input Signal: Attach a Boolean signal to the input socket.

  2. Set Delay Time: Input the desired delay duration in seconds in the Delay Time (seconds) control.

  3. Run Evaluation: When the input transitions to True, the output will remain False until the specified delay has passed, after which it will output True.

📊 Evaluation

On evaluation, this function block will monitor the input signal. If the signal goes to True, it will impose a delay before allowing the output to reflect this change.

💡 Tips and Tricks

Fine-tuning Delays

Experiment with different delay times depending on the use case, such as events requiring longer delays for stability.

Combining with Other Controls

This block works exceptionally well when combined with other function blocks, such as Multi Port Switch, to control multiple outputs based on a single input scenario.

🛠️ Troubleshooting

No Output Response

If you notice that there is no output changing as expected:

  • Verify that the input signal is indeed transitioning to True.

  • Check the set delay time; ensure that you are waiting long enough for the output to change.

Last updated