Hello. I am a electrician who has been to a wonderware programming traning course about 9 months ago and has not used any of training since. Our wonderware programmer has since retired and I have been asked to make a wonderware program to control a process on one of our machines. I have built the screen and everything seems to be going pretty good. I am have a little trouble with some of the scripting though. I am needing to write a script that will be a simple timing loop. I have a user input that allow the user to input a varible to controll the off and on time of a valve. I have user input tags that will allow them to set either value on the timer. I have a enable tag that while true I would like for a control valve to be off for 15 sec. then on for 10 sec. I have been able to get it to do this once but am haveing trouble getting it to sit there and continue to toggle back and forth. I was hoping that someone could give me a simple script the will allow me to use the tags for the on time and off time to sit there and cycle back and forth between on and off while the enable is true.
Thanks in advance
Daymond
Thanks in advance
Daymond