Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-09-07 12:44:19

hubc
Member
Registered: 2016-09-05
Posts: 60

Storing variables in non-volatile memory

Hello,

Is there a way to store some variable values in none volatile memory?

Example:
Storing a set point value, that after power failure it will come back to the last value set.

Are trends and archives the answer?

Regards
Hubert

Offline

#2 2016-09-08 07:40:52

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Storing variables in non-volatile memory

Hi Hubert,
thanks for your question. Trends and archives are not the answer, these are "write-only".

The answer is the SGSLP function block, which does exactly what you need.

If you need additional information, I'll be happy to help.

Jaroslav

Offline

#3 2016-09-08 10:29:41

hubc
Member
Registered: 2016-09-05
Posts: 60

Re: Storing variables in non-volatile memory

Hi Jaroslav,
thank you very much!

Unfortunately SGSLP is in ADVANCED licensing group wink

In case of any doubts about SGSLP I'll post my questions here.

Regards
Hubert

Offline

#4 2016-09-08 14:16:44

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Storing variables in non-volatile memory

Hi Hubert,

there is also one more possibility - you can use REXLANG function block to save and load value to / from text file.
See this example: REXLANG Reading values from file

Some more details can be found in this topic.

If you require any further information, let me know.

Cheers, Tomas

Offline

#5 2016-09-08 21:42:35

hubc
Member
Registered: 2016-09-05
Posts: 60

Re: Storing variables in non-volatile memory

Great smile
Tomas, thanks for this info!

Regards
Hubert

Offline

Board footer

Powered by FluxBB