Hello, Nitturis;
There are 5 timer types in Simatic S5 (pulse, extended pulse, On delay, retentive On delay, Off delay) and 2 counter types (Up and Down).
Basic timer and counter operations are described in the system manuals for the S5 family you are working with (S5-95U, S5-115U, S5-135U, S5-155U). I suggest you download the correct S5 family systems manual from the Siemens website:
You should find among the Step5 binary instructions all the info to program timers and counters in STL, ladder ans CSF. It will also show you what parameter formats are needed in the program to control them.
Hope this helps,
Daniel Chartier