Hi Temco Technical Support,
I have a question regarding the T3-TB-11i and T3-BB-32i controllers.
Is there any command or function that allows a Variable value to be saved periodically to non-volatile memory, so that the value can be retained after a power failure?
I don’t need the value to be saved exactly at the moment when the power is turned off. A periodic save mechanism (for example, every few minutes) would be sufficient.
My application is a long-duration timer/counter running over several days. I can accept an error of a few minutes or even an hour after a power failure. The main requirement is that the Variable value can be restored when the controller starts up again and the counter can continue from the previously saved value.
Could you please let me know if the T3-TB-11i or T3-BB-32i supports this function, and if so, which command or configuration should be used?
Thank you.
Yes, this function is available. Auto‑save can be configured. However, considering the service‑life limitation of flash memory, we generally do not recommend customers to use this feature. If you do use it, the minimum save interval is 60 minutes. The system will automatically save IN, OUT and VAR point data. Please refer to the screenshot below showing how to enable this function via T3000.
1 Like
We will look into doing something more robust with this feature.
The clock chip on board our products I believe has some ram backed by the supercap which is good for a few days. If the RTC doesnt have ram we can add an E2 chip on the next board rev.
More news on this shortly.
1 Like
Thank you,
I will set up the auto-save feature for the upcoming project.
Chelsea confirms the RTC flash is there but its not battery/supercap backed unfortunately.
She has done some code to save on a periodic basis, 1 hour interval is the lowest setting which depending on what all is being saved, how often the data changes, this will give you a decade or so of flash life. After that there is a risk of reading bad data on power up in your vars. Other than that everything will run normally.
I’d double it to two hours to give you two decades. Chelsea will report back here shortly and the team will add the setting to the user interface.
Another option to consider is to use the trend log feature to read the values from the SQL database. Power consumption, pulse counters and so on, the values will be stored in the database directly.
1 Like