Hello,
I am programming a schneider modicon M221 in machine expert basic. I am trying to calculate a value and then assign it to another memory word.
-I name existing memory words in the tools-> memory word side panel
-I use the operation block to perform the calculation
-%MW59 remains 0, if I give it an online value it immediately reverts to 0.
The Yellow and black exclamation mark warnings are just saying I should protect my program. I tried several different %mw memory locations to move the value in. I also made sure when selecting a memory location to use that both used and equ used were unchecked before giving them a symbolic name and adding them into the programming.
I'm puzzled. but I'm sure it's something straight forward that I'm missing...I've been hunting through youtube for information but I can't find anything specific to this issue.
Thank you
I am programming a schneider modicon M221 in machine expert basic. I am trying to calculate a value and then assign it to another memory word.
-I name existing memory words in the tools-> memory word side panel
-I use the operation block to perform the calculation
%MW59 := %MW98*%MW99
-I manually give %MW98 a value, %MW99 has a value from the HMI-%MW59 remains 0, if I give it an online value it immediately reverts to 0.
The Yellow and black exclamation mark warnings are just saying I should protect my program. I tried several different %mw memory locations to move the value in. I also made sure when selecting a memory location to use that both used and equ used were unchecked before giving them a symbolic name and adding them into the programming.
I'm puzzled. but I'm sure it's something straight forward that I'm missing...I've been hunting through youtube for information but I can't find anything specific to this issue.
Thank you