PLC Programming Timer

Hi Koti,
While I personally don't have much experience in STL programming (I'm assuming that you're talking about Siemens PLCs) if you check out the YouTube video "Learn Basic Programming STL in Siemens" you may find some valuable info there.
The link to this video:
(Disclaimer: I've never seen this channel before, but it can't hurt to have a look.)
Kind regards,
Roger V.
Look at the interrupts some are for the resolution and accuracy, that would depend on the plc
Exactly why you would not use a timer..I dont know
Im sure there are other ways of doing it..but thats the first thought that comes to mind....but you will be lookibg at some sort of clock....time is time it will boil down to the processor way or another