About the FreeMASTER 1.3 problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About the FreeMASTER 1.3 problem

740 Views
APPLE_Sam
Contributor I

I found a problem in FreeMASTER 1.3,

 

as fllow: in a Infinite loop ,after simple calculate in TEMP1 and I store TEMP1 value  to TEMP2. In general  TEMP1 and

 

TEMP1 must be have the same value, but I use FreeMASTER 1.3  to read TEMP1and TEMP2  ,it show different 

 

Curve(value). Could anyone explain it?

  

 

 

 

for(i=0;i<=20;i++)
  {
      a=a+2;
      TEMP1=(i+a); 
      TEMP2=TEMP1;
      if(i=10)
      {
        i=0;
      }
      if( a==100)
      {
        a=0;
      }
  }

Labels (1)
0 Kudos
2 Replies

307 Views
giacomopetrini
Contributor IV

- slow sample time

- freemaster reads the variables sequentially

 

Bye Giacomo

0 Kudos

307 Views
APPLE_Sam
Contributor I

- slow sample time

 -freemaster reads the variables sequentially

 

thank for your reply

 

you mean when TEMP1 and TEMP2 are still calculating at that time,maybe TEMP1 is update but  TEMP2 is not.

 

At that time  FreeMASTER will load TEMP1 and TEMP2 ,causes TEMP1 is not equal TEMP2? 

0 Kudos