Meeg Posted June 24, 2018 Report Posted June 24, 2018 I have a question regarding Data Tables and the "retained" option. I have some rather large tables, to big to have them all as retained. But I still want to keep the values in case of Power failure. In your help function it is noted that Data Tables reside the SD card.. Still there is an option if they should be "retained". But is it not retained anyway if it is stored in the SD? Will they always be recovered from the SD card at power up? Or does it have to be done using the "store to file" and "load from file" functions? In my application is acceptable to store the tables periodically (once every hour or day) even if i loose the newest (unstored) data on the recovery. Also in your help function a ladder function "Initialize Data Table" is mentioned.: "In most cases, Data Tables values should be initialized after power-up (but i can not find this initialize" function). Please help me to understand the best way of doing this... ? Regards Meeg
Saragani Posted June 24, 2018 Report Posted June 24, 2018 The SD part is related to Store to file and load to file. There is a Ladder element called Clear DTI, which should clear all the values to the default (0 / empty) values.
Meeg Posted June 24, 2018 Author Report Posted June 24, 2018 So if I understand you correct: - Data Tables are not stored in the SD card before the "store to file" command is executed. - "load from file" can be used at initialisation (after Power failure) in order to recover the stored values?
Saragani Posted June 24, 2018 Report Posted June 24, 2018 Correct, but even if there is a power failure, since you store the table in retained memory, then it is backed-up using battery, so it should retain the values unless the battery is low.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now