TIM function block acts as a rising edge delay, meaning that when there is a change of 0->1 at its input the output follows after the delay. A change 1->0 goes through immediately.
TIM function block has two parameters:
Hash mark (#) in the beginning of the delay length parameter indicates that it is an immediate number instead of a reference (address) to memory.