Loop run for period and begin another cycle

Thanks to both of you. This sketch has helped give me a little insight. I'm going to keep studying the reference page. What i want is a solid 5 seconds on each 10% cycle up to 100% and then to start over. I can manually write the code if I knew how to start a counter. if counter > 5 seconds move to next cycle kind of thing.