Off-Delay

 

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.

Signals

NameI/OType(s)Function
PIBITInput signal
TvIFLOATDelay time value in [s]
QOBITOutput signal

Visualization

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

Comments

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).