[DLY_R] Delay for Real value
Function block DLY_R delays the input signal according to the delay time and provides it at the output.
DLY_R delays the input signal according to the delay time and provides it at the output.
Out(t) = ln(t-Dly)
DLY_RI writes each new input value [In] to its buffer. The real input value is new if the input value changes from the last saved input value by more than the threshold value [TshVal]. After the delay [Dly] expires, this input value is provided at the output. The last input value remains pending at the output until the next delayed input value is provided.
Multiple new input values
Multiple new input values arriving within the delay time are saved in sequence in the buffer (ring buffer). If the buffer is full (max. 100 values), the oldest saved input value is provided even if the delay time has yet to expire. This forced output occurs max. in the cycle time. No values are lost. The forced output is displayed [Sta]=1.

The initial value [Init] on the output is provided until the first delayed input value is provided.
Input | Description | Data type | Default value |
|---|---|---|---|
In | Input | Real | 0.0 |
Dly | Delay Time by which a new input value is displayed. | Time | 0 ms 0s…120s |
0ms: No delay | |||
Init | Initialization Initialization value until the first delayed input is provided. | Real | 0.0 |
TshVal | Threshold value Configured value to control function block write attempts. An attempt is permissible only if the change of value is greater than or equal to [TshVal]. Note | Real | 0.1 |
Output | Description | Data type | Default value |
|---|---|---|---|
Out | Output | Real | 0.0 |
Valid | Valid | Boolean | 0 |
0 - No input value provided, [Out] = [Init]. | |||
Sta | State | Boolean | 0 |
0 - Normal function. | |||
DLY_R allows for cascaded control of blinds motors to prevent electrical peaks when starting up simultaneously.