Dear Marco.
At first you should be aware, that you are using the words MW01 to MW04 for your values,
which means that all markers M01 to M64 should not be used inside your program.
The marker range is overlapping (see the online help by selecting any marker and hitting the
F1-button) and any change of a marker automatically changes your timer value and vice versa.
I propose to use a marker word MWxx or double word MDxx, whose marker bytes MBxx and
markers Mxx are not in use already.
Regarding the timer values at screen 06 you should be aware, that there are two different value ranges.
At first you have the "internal value", which is used inside the program (in your case as a timer value) and
at second the "displayed value", which is shown on the display.
For example if you use a word MWxx the max. value is 65535, you display it as 99999 by using the scaling
function in visualisation, assuming a time of 99999 ms but the internal value still is 65535 equalling 65535 ms.
I propose to use a double word and set the min. and max. values in the visualisation to 0 and 99999.
The value range of a double word is -2147483648 to +2147483647.
Regards
Maikky