About the FreeMASTER 1.3 problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About the FreeMASTER 1.3 problem

1,254件の閲覧回数
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;
      }
  }

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

821件の閲覧回数
giacomopetrini
Contributor IV

- slow sample time

- freemaster reads the variables sequentially

 

Bye Giacomo

0 件の賞賛
返信

821件の閲覧回数
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 件の賞賛
返信