HI Guys,
I made code that worked perfect , just add few Retain variable, now I got the problem that some other Retain variable change to zero when I run the code , I am not able to change the value of that retain variable.
what can be problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think more information is needed to help solve the issue. Can you list the exact steps to reproduce the issue? What version of Codesys are you using? Did you add a persistentVars object to your project? I would recommend browsing all instances of the retain variable to see all possible writes to the variable in question.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI Guys,
I made code that worked perfect , just add few Retain variable, now I got the problem that some other Retain variable change to zero when I run the code , I am not able to change the value of that retain variable.
what can be problem?
I think more information is needed to help solve the issue. Can you list the exact steps to reproduce the issue? What version of Codesys are you using? Did you add a persistentVars object to your project? I would recommend browsing all instances of the retain variable to see all possible writes to the variable in question.
Hi,
thanks for help,
I add some retain variable , then some other variable change to zero , andI was not able to change the value