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 - Suggestion

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

Suggestion (by Teo Zee Von)
1. Add non-volatile counter and timer. The counter and timer value is saved into EEPROM. When power-up the value restore back automatically. These functions is very useful.

2. A new line in the same rung can be added when Tab key is pressed.

Thank you.
Tue Jul 28 2009, 11:47:37
(no subject) (by Jonathan Westhues)
If you want to store a variable in EEPROM, then look at the "make persistent" op. LDmicro will save that variable to non-volatile memory whenever it changes, and load it from non-volatile memory at startup.

There's no need to specify when the variable should be saved; LDmicro will automatically write it only when it changes. So that instruction should generally be the only instruction in its rung, with its rung-in condition always true.
Tue Jul 28 2009, 12:04:45
(no subject) (by Teo Zee Von)
Thank you.
Tue Jul 28 2009, 13:03:49
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):