<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/</id><updated>2021-01-04T21:06:07.157000Z</updated><subtitle>Recent posts to Persistence Manager</subtitle><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#6101/95f6" rel="alternate"/><published>2021-01-04T21:06:07.157000Z</published><updated>2021-01-04T21:06:07.157000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.comb787137a7dca2dc7066990654457e324ccecf434</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the info. I also had problems with step 5. "Composer - Add Module Library to Project" step is missing in the pdf.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#4f26/45a2" rel="alternate"/><published>2020-12-19T16:49:33.214000Z</published><updated>2020-12-19T16:49:33.214000Z</updated><author><name>dumpfbacke</name><uri>https://forge.codesys.com/u/dumpfbacke/</uri></author><id>https://forge.codesys.com595062bc9acdaf0863dfe4dbcb5dec6c36513d46</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for asking again.&lt;/p&gt;
&lt;p&gt;I am using VAR PERSISTENT RETAIN to rescue data on my raspberry pi.&lt;br/&gt;
Runtimesystem will save this data in to file in case of stop runtime and restore it automaticly during startup runtime, right? in case of loss power data can not be restored because of controlled runtimestop is not possible.&lt;br/&gt;
So now is it possible to save for example once per hour thisVAR PERSISTENT RETAIN file" by plc code?&lt;br/&gt;
in my opinion the most simple way to rescue in case of powerloss.&lt;br/&gt;
please answer, thanks dumpfbacke&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#f80c" rel="alternate"/><published>2020-11-19T11:38:50.289000Z</published><updated>2020-11-19T11:38:50.289000Z</updated><author><name>thinkamp</name><uri>https://forge.codesys.com/u/thinkamp/</uri></author><id>https://forge.codesys.comc90f344e5dd53470910e2673daf3fbee8e460abe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Das Problem wurde gelöst. Es lag an dem Simulations-Modus.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#0174" rel="alternate"/><published>2020-11-16T15:32:57.716000Z</published><updated>2020-11-16T15:32:57.716000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comca23542d78e9903a6a6ff4153eae9330bafec306</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;if you write 'simulation' you mean you are using Control Win on the same machine where CODESYS is up and running or is it real simulation in CODESYS?&lt;br/&gt;
Simulation is not doing these files acesses... so please login to the plc which is on your CODESYS machine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#28e4" rel="alternate"/><published>2020-11-16T13:46:31.237000Z</published><updated>2020-11-16T13:46:31.237000Z</updated><author><name>thinkamp</name><uri>https://forge.codesys.com/u/thinkamp/</uri></author><id>https://forge.codesys.com6b296b204a047f19317bf52a1faac299bddc8516</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo, &lt;br/&gt;
ich habe mich bereits eine Weile mit dem Persistence Manager beschäftigt, jedoch stehe ich nach wie vor vor dem Problem, dass die Variabeln nicht gespeichert werden.&lt;/p&gt;
&lt;p&gt;Ich habe alles in der Simulation ausprobiert.&lt;br/&gt;
Bei einem erneuten Download werden die Daten wieder überschrieben.&lt;br/&gt;
Beim ausführen des Musterprojekts werden folgende Fehler angezeigt:&lt;br/&gt;
&lt;em&gt;License file invalid.&lt;br/&gt;
&lt;/em&gt;Chanel1periodicandChange: Config file not found!&lt;br/&gt;
*Chanel2onChange: Config file not found!&lt;/p&gt;
&lt;p&gt;Es wird auch eine Datei vom Typ ~U-Datei erzeugt in der folgende Daten zu fenden sind:&lt;/p&gt;
&lt;p&gt;Name&lt;br/&gt;
DESKTOP-QJPPC0T&lt;br/&gt;
5548&lt;br/&gt;
637411299644040318&lt;/p&gt;
&lt;p&gt;Dies entspricht nicht dem Format in wie es in der Beschreibung zu finden ist:&lt;br/&gt;
&lt;a href="https://help.codesys.com/webapp/ac_pm_storage_format;product=core_Application_Composer;version=3.5.16.0" rel="nofollow"&gt;https://help.codesys.com/webapp/ac_pm_storage_format;product=core_Application_Composer;version=3.5.16.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kann mir hierzu jemand weiterhelfen?&lt;/p&gt;
&lt;p&gt;Vielen Dank im Voraus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#8923" rel="alternate"/><published>2020-02-27T16:18:29.344000Z</published><updated>2020-02-27T16:18:29.344000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comaa4f57a4c0baf3d5f8d3d374343ce3ea1ee5d5be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
not sure, some ideas:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Check the taskdeployment where your modbus io's are updated and varify the&lt;br/&gt;
 priorities of your tasks according this. &lt;br/&gt;
If needed call the modbus stuff in the High Task of the application composer / persistence manager&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusIOUpdates.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4978"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#8d59" rel="alternate"/><published>2020-02-27T16:18:28.516000Z</published><updated>2020-02-27T16:18:28.516000Z</updated><author><name>celliott</name><uri>https://forge.codesys.com/u/celliott/</uri></author><id>https://forge.codesys.come171dc913b94b9e966966423e7c09cab6ffa4e1e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So I've successfully implemented the persistence manager, but this seems to have caused another issue.&lt;/p&gt;
&lt;p&gt;I now have unstable communications with one of my Modbus RTU Slave devices. I'm using Codesys V3.5.15.0.&lt;/p&gt;
&lt;p&gt;The modbus RTU salve, I've tried using V3.5.10.30 and V3.5.15.0 and both drop out shortly after a download. V3.5.10.30 seems to last a little longer, but drops out after a few minutes.&lt;/p&gt;
&lt;p&gt;If I remove the persistence manager, the modbus RTU slave works fine. Also, this slave has been working for around 18 months so I'm fairly certain it's not a wiring issue.&lt;/p&gt;
&lt;p&gt;How do I make this RTU slave have stable communications?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#6101" rel="alternate"/><published>2020-02-27T16:18:27.689000Z</published><updated>2020-02-27T16:18:27.689000Z</updated><author><name>celliott</name><uri>https://forge.codesys.com/u/celliott/</uri></author><id>https://forge.codesys.comd49448bb65e0b7a829dd91634cdada6f6398f1e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the example which worked fine.&lt;/p&gt;
&lt;p&gt;However, I needed to add this function to my existing application where before I could add/configure the persistent functionality, I had to go menu "Composer - Add Module Library to Project", select AC_PRESIST and add to my project.&lt;/p&gt;
&lt;p&gt;From then on, it was quite simple.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#37ee" rel="alternate"/><published>2020-02-27T16:18:25.150000Z</published><updated>2020-02-27T16:18:25.150000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6a2cf879680765768ba4b61cbcf1d3b992ca1eae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;maybe the example project helps in this case.&lt;/p&gt;
&lt;p&gt;Writing files to SD card could lead to corrupt SD card while switching it off. &lt;br/&gt;
Therefore I told already told - for Retains in file and as alternative retains with persistence manager&lt;br/&gt;
having a UPS is mandatory to have it reliable.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4973" rel="nofollow"&gt;Persistenz_mini_PI_SP15.project &lt;span&gt;&lt;span&gt;[277.13 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistence Manager</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedff50478/?limit=25#da5e" rel="alternate"/><published>2020-02-27T16:18:24.315000Z</published><updated>2020-02-27T16:18:24.315000Z</updated><author><name>celliott</name><uri>https://forge.codesys.com/u/celliott/</uri></author><id>https://forge.codesys.com5b6d2524fdd8b6aae23174fb55f6d549f0802941</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I downloaded the file "How to Setup the PersistenceManager from Scratch.pdf" and cannot complete step 5. I'm using version 3.5.15.0 and the screenshot is a little different.&lt;/p&gt;
&lt;p&gt;I can't seem to add the Module or the Application.&lt;/p&gt;
&lt;p&gt;How do I solve this issue?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>