I’ve been informed that PERS data can be stored unless the controller is shut down, but, in my case, the data using PERS is gone after I turn off the controller. Can anyone know what is the conclusions to make data is kept store unless the controller is shutdown, even if I load a new program?
Persistent variables must have an initial value. When u change ur variable value, initialisation value of that persistent updated. So when u load module again controller creates persistent with last initialisation value and that keeps it unchanged.