The function block executes a delay of the 0-1 edge by a time given by Tv in seconds.

The output Q will stay on 1 for Tv seconds after the 1-0 change of P. The real delay time is the value of Tv rounded up to the next cycle; in practice this means that only delay times which are multiples of the cycle time can be realized. Tv is given as a float value, expressed in seconds. Tv may have a value smaller than one second, but never negative.

A free-running counter with a 1 ms cycle time will be used as reference value. Any impulse shorter than the delay time will be ignored.


Name I/O Type(s) Function
P I BIT Input signal
Tv I FLOAT Delay time value in [s]
Q O BIT Output signal


If the output Q is logical 1, the function block will be highlighted. (Only during online monitoring mode).


If P stays positive for a time less than Tv, the output state will not change (see I2 in the figure).