### DEL – Delay with initialization

Block SymbolLicensing group: STANDARD

Function Description
The DEL block implements a delay of the input signal u. The signal is shifted n samples backwards, i.e.

${y}_{k}={u}_{k-n}.$

If the last n samples are not yet known, the output is set to

${y}_{k}={y}_{0},$

where ${\mathtt{\text{y}}}_{0}$ is the initialization input signal. This can happen after restarting the control system or after resetting the block (R1: off$\to$on$\to$off) and it is indicated by the output $\mathtt{\text{RDY}}=\mathtt{\text{off}}$.

Inputs

 u Analog input of the block double R1 Block reset bool y0 Initial output value double

Outputs

 y Delayed input signal double RDY Ready flag indicating that the buffer is filled with the input signal samples bool

Parameter

 n Delay (number of samples). The resulting time delay is $\mathtt{\text{n}}\cdot {T}_{S}$, where ${T}_{S}$ is the block execution period.  $↓$0 $↑$10000000 $\odot$10 long nmax Limit for parameter n (used for internal memory allocation)  $↓$10 $↑$10000000 $\odot$100 long

2019 © REX Controls s.r.o., www.rexygen.com