Function Block DELAYVALUE3

The Function Block DELAYVALUE3 delays the input signal until it no longer changes and immediately implements the first change.

Note: The times of the Function Block are absolute. This means that the same reaction occurs upon restart or after a server failure.

Input IN

The input is checked for any change. Every data type at the input is supported. After a change has been detected, the value is immediately transferred to the output Q and the internal timer is started. This is reset upon another change of the input or after the time PT has elapsed.

Input PT

The delay time for transferring the input IN to the output Q in T#.

Input DIS

If the input is true, no change from the input IN is passed on to the output Q and the delay is reset.

Input SET

If the input is true, the value at the input IN is immediately passed on to the output Q. The delay is reset in this process. The input SET has priority over the input DIS.

Output Q

After a change at the input IN has been detected, the value from the input IN is immediately transferred to the output until the time PT has elapsed. Another change of the input IN automatically increases the delay.

Output ET

In the idle state, i.e., when no change at the input IN has been detected, the output is equal to T#0ms. If a change has been detected, ET starts counting up until the time PT is reached. Then the output is equal to PT for one cycle.