Hello;
I'm programming a Wago 750-842 and am stuck on something that should be quite simple.
I want to save in an array ten values from an AI over a period of two seconds. Then I'll calculate the avarage and save in another variable. This procedure will repeat endlessly.
I'm trying to use TP set to 0.2 seconds in a while-loop, but the programming software (WAGO-IO-PRO 32; same thing as CoDeSys) warns about infinite loop.
Do you have any solution? (Preferably in ST).
Thanks!
Peter
I'm programming a Wago 750-842 and am stuck on something that should be quite simple.
I want to save in an array ten values from an AI over a period of two seconds. Then I'll calculate the avarage and save in another variable. This procedure will repeat endlessly.
I'm trying to use TP set to 0.2 seconds in a while-loop, but the programming software (WAGO-IO-PRO 32; same thing as CoDeSys) warns about infinite loop.
Do you have any solution? (Preferably in ST).
Thanks!
Peter