Cyclic script in wincc oa
- kumar.samarth@tcs.com
- Posts:7
- Joined: Wed Jul 10, 2019 6:45 am
Cyclic script in wincc oa
Hi I am having a cyclic.lst script in my project which is called in control manager. However, the interval or the frequency of the script calling cyclicaly using control manager is not known. Can some one help me out here, as I am new to this WinCC OA platform.
- nmnogueira
- Posts:125
- Joined: Thu May 05, 2011 12:59 pm
Re: Cyclic script in wincc oa
The scripts in WinCC OA are not cyclic, they are called once. If you want a job to run cyclically, you have to either:
- Place it inside a loop with a delay (e.g. while(1){...delay(xxs)})
- Use the scheduler, or timedFunc (see help)
- Call it using a dpConnect, connecting to a DPE that is changing with the frequency you want to run the script.
- Place it inside a loop with a delay (e.g. while(1){...delay(xxs)})
- Use the scheduler, or timedFunc (see help)
- Call it using a dpConnect, connecting to a DPE that is changing with the frequency you want to run the script.