The LSRET function block generates a True (1) discrete output after the input has been True for a specified time period. The time for which the input has been True and the output value are reset only 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.