About the FreeMASTER 1.3 problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

About the FreeMASTER 1.3 problem

1,249 次查看
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 回复数

816 次查看
giacomopetrini
Contributor IV

- slow sample time

- freemaster reads the variables sequentially

 

Bye Giacomo

0 项奖励
回复

816 次查看
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 项奖励
回复