Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - PERSISTENT function

(you are viewing a thread; or go back to list of threads)

PERSISTENT function (by Ziggy)
How does the Persistent function work?

Is the variable updated only if it changes?
How is the persistent variable read back?

Should a read -> compare -> update if different be implemented to preserve the write life of eeprom?

Am I worrying too much about irrelevant things ?
Thu May 3 2018, 18:45:32
MAKE PERSISTENT operation (by Ihor Nehrutsa)
Fri May 4 2018, 03:41:54
(no subject) (by MGP)
Also:
You can save a variable about 100,000 times, but if you want to keep a counter persistent you will quickly get to that number.
'
Therefor you can use a 'supervisor and reset IC', in case of a voltage drop.
you can use such an ic to make the counter "persistent" when the inputpin is set.
Fri May 4 2018, 10:42:28
(no subject) (by Ziggy)
First of all Thank You both foe your advice, it is always welcome and appreciated.

The task to hand is to log a long term trend value.
The idea being that a series of measurements is made on a schedule and after each measurement is made it is compared to a historic trend value.
If the new measurement contributes to a change in trend value the new value is recorded.

It would be interesting to implement a bit more than just a trend value.
An algorithm which generates some meaningful statistic about the trend value would be of interest.

The schedule would log the trend anywhere from once a day to a few times a day.
Fri May 4 2018, 17:43:51
Simulation of persistent (by Ahmad sakr)
How to simulate persistent function (I mean how to simulate power disconnect to test eeprom)
Thanks
Mon May 7 2018, 21:50:34
(no subject) (by Calubert)
Hola, Inserta un circuito abierto a tu izquierda del programa en escalera, esto es como en un programa en arduino colocar los signos \\ y todo lo que tengas en esas linea de tu programa que dará nulo hasta colocar un circuito cerrado, en las Instrucciones lo encontraras en la segunda linea veras el circuito abierto y circuito cerrado. Espero que te haya servido de aguda.
Tue May 8 2018, 04:24:00
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):