The Retentive Timer (RET) function block generates a True (1) discrete output after the input has been True for a specified time period. The elapsed time the input has been True and the output value are reset when the reset input is set True.
IN_D is the discrete input value and status to be timed.
RESET_IN is the discrete input value and status used to reset OUT_D and ELAPSED_TIMER.
OUT_D is the discrete output value and status.
The following figure shows the internal components of the Retentive Timer function block: