On-delay

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

The output Q will change to a logical 1 after a time Tv in seconds from a positive 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 not 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.

Signals

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

Visualization

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

Comment

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