When using retain and persistent variables, are there any limits related to write cycles or memory wear?
It looks like retained variables might be stored in the Linux file system, so I’d expect wear leveling to be handled by the OS. But I haven’t found anything that actually confirms this or explains how it works in practice.
Do frequent updates to retain variables cause any wear concerns, or is that taken care of by the system?
Hello,
For the retain variable, it is device dependent.
Edge computer with the SL runtime will save the retain in the file system every x minutes or when save retain command is used.
Other wago device have a special memory chip which is using a hybrid ram/flash system where the special ram is flushed to the flash when a power loss is detected (In theory i think).
Persistent is I am not mistaken are only flushed when a Download command is detected.