For example, a rising edge delay can be made by using the TON function block that is found in the Basic Instructions section of the Instructions window under Timer operations. If the Instructions window is not visible, you may need to activate the program area (for example, an OB1 block) by clicking it.
S_ODT function block has three inputs. The delayed signal is connected to the S input. Output Q can be reset at any time by setting input R true. The R input can be left unconnected if no reset is needed. The length of the delay is given by as S5 time type, where for example 2 s delay is given in the form of S5T#2s.
For more information, see Siemens help texts by clicking on the function block and pressing F1.