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 - Persist?

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

Persist? (by Jack)
Hi Guys,
Does anyone have an example of how the 'Persist' function works? I have a move statement that have a variable name '_f1' which has options of 0, 1, 2 or 3. I have then made '_f1' persist with this command. The variable '_f1' works fine in the selected options until I power down unit. The variable goes back to the default 0 and not the programmed option. If I can see an example of someone who has it working hopefully I can see what I am doing wrong.

Thanks.
Mon Jun 10 2013, 09:12:07
(no subject) (by chris)
The persist command should be used at after the variable is used, not before. If this is not the issue, tell me the used
cpu.
Mon Jun 10 2013, 10:29:43
(no subject) (by MGP)
Try this i think it's an example from JW.
Mon Jun 10 2013, 14:47:24, download attachment persist.ld
Persist (by Jack)
Thank You for your assistance. I worked out what I was doing wrong and it all works fine now. What I was doing was making the Persist function interlocked by some logic. What this failed to allow to happen is read the Persist on power up. Take out the interlock so the Persist command was valid on power up and it works as expected.

Thanks again.
Mon Jun 17 2013, 07:14:27
Persist (by William)
Thank you so much for your attachment :D
Wed May 17 2017, 11:30:03
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):