The LSTP function block generates a True (1) discrete output for a specified time duration when the input makes a positive (False-to-True) transition. The output remains True even when the input returns to False. The output returns to False only when the elapsed time is more than the specified time duration. A False to True transition causes the timer to restart from zero but the output remains True.
The following diagram shows the internal components of the LSTP function block.