I have a motion detector that when tripped, will power a motor, 12v relay and a time delay relay (which in turn will power a motor). I originally set this up so that when tripped, the motion detector would supply power to everything else and would cut power after elapsed time. Everything worked as planned except when the time delay relay first receives power, it trips and then starts its cycle. The time delay relay I have has an adjustable delay and an adjustable trip time. I need this to work this way so that I can get the end effect timed correctly. I can't figure out how to get the time delay relay to work the way I want without tripping as soon as it receives power. A friend of mine says it can't work the way I want and the relay has to have constant power and be tripped by the motion and will delay whatever I set it to but will not do both functions. Is there any way to get the desired effect - for example when tripped, delay for 20 seconds, then trip for 5 seconds?