Kang
Hi sir
 
I found that the retain variable could not remember the value after controller power off, I am using v3 runtime in Linux system, is there any additional operation or setting need to be done?
 
Here is my setting in PLC project, not only I tried to use local retain variable, but also global retain variable, neither of them can remember the value after controller power off.
[203128%2F9643047%2Fmceclip0][203128%2F9643048%2Fmceclip0]
Reply 0 0
thiagoralves
On v3 runtime the only way to retain variables is by enabling persistent variables in settings (on the runtime settings). This will periodically backup all your memory variables (%MW, %MD, and %ML) on disk.
Reply 0 0
richw
Is the persistent variables setting available in version 4 runtime?
Reply 0 0
thiagoralves
Is the persistent variables setting available in version 4 runtime?
No, we will implement a proper retain on v4
Reply 0 0
Reply