Hello all.
I have to to a bg logic program where I do the R[1]=R[1]+1 incrementation for knowing x sec is passed. I did this and when i run it from my main program it does increment the counter but only once. This means that it has executed only once ? Why is this, I knew that bg logic programs will be executed cyclically.
My program:
IF (R[19]=1) THEN
R[20]=R[20]+1
ENDIF
IF (R[20]=125) THEN
R[21]=[R21]+1
R[20]=0
ENDIF
END
Thanx.