This function block delays the negative-going edge of its input signal by a time given by Tv in seconds.

The output Q will change to a logic 0 after a time Tv from a negative transition on 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 may not be negative.

A free-running counter with 1ms 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 at logic 0 for a time less than Tv, the output state will not change and the delay will be applied to the last edge (see I1 and I2 in the figure).