Pls tell me how to generate delay using timers in PLC 2129
Why should we other users of Keil software give sample code?
Are you saying that you are not happy with the sample code already availble from the Keil site? Or the NXP site? Or the sample code you get installed on your own hard drive when you install the Keil tools?
"but i faced some problems"
So why not tell what problems you faced? The risk of own work?