I have a structure declared as GLOBAL PERSISTENT RETAIN in the code (see attach).
My problem is that sometimes, if I change the value of the elements of this structure during runtime, after a normal power cycle of the machine I sometimes find that the variables have still the old value.
Is there a limit of size of persistent/retain data dimension?
The structure is about 4000 word.
Should I find any file with the persistent data stored?
Hi all
I am totally new to Codesys.
I have PC with runtime 3.5.14 running
I have a structure declared as GLOBAL PERSISTENT RETAIN in the code (see attach).
My problem is that sometimes, if I change the value of the elements of this structure during runtime, after a normal power cycle of the machine I sometimes find that the variables have still the old value.
Is there a limit of size of persistent/retain data dimension?
The structure is about 4000 word.
Should I find any file with the persistent data stored?
Someone can help?
thank you
Hi, did you get any solution. I am facing similar problem. I lost all the values
IDK why you lost values but about the limit, when you compile, you should have the information about the memory remaining.
Last edit: totorovic 2024-09-13