Antonio89
Hello. I have one question,  there is in openplc editor some funtion to make some data remain after power off or power cycle in raspberry pi?? For example i need program some recipes and i need save some data (real) is that posible in openplc?
Reply 0 0
NWT.Stuff
@Antonio89

Can you be more specific about the data you need to save ? What Hardware are you using ? Application ? 
Reply 0 0
thiagoralves
Just enable Persistent Storage on settings. It will save whatever you put on %MW variables and restore their content upon startup 
Reply 0 0
Kristoffer
Hi thiago. Realy like what you do. Is it posible for you the do a quick screen print to show how this is done? 
 
tanks in advance
Kristoffer
Reply 0 0
thiagoralves
This only works for the Linux and Windows runtimes that have the web interface. Once you’re on the web dashboard, then just click on Settings on the left menu. 
Reply 0 0
Kristoffer
Ok. is ther a way to store date if you use for instance an arduino board?
Reply 0 0
thiagoralves
Nope. Arduino boards don’t have any permanent storage. One could use the built in flash or eeprom, but this would burn cycles quickly. 
Reply 0 0
Kristoffer
ok tanks!
Reply 0 0
Kristoffer
Is this the same with esp32 or rp2040 boards also?
Reply 0 0
thiagoralves
Yes. Ideally, permanent storage on a PLC works with a battery backed up RAM. None of the boards offer that.
Reply 0 0
Reply