DEL – Delay with initialization

Block SymbolLicensing group: STANDARD
PIC

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

yk = ukn.

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

yk = y0,

where y0 is the initialization input signal. This can happen after restarting the control system or after resetting the block (R1: off on off) and it is indicated by the output RDY = 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 [samples] (the resulting time delay is n TS, where TS is the block execution period)   0  10000000 10

long

nmax

Limit for parameter del (used for internal memory alocation)   1  10000000 10

long