<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/</id><updated>2022-10-22T10:57:29.869000Z</updated><subtitle>Recent posts to Raspberry retain variables</subtitle><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=2#c96a" rel="alternate"/><published>2022-10-22T10:57:29.869000Z</published><updated>2022-10-22T10:57:29.869000Z</updated><author><name>yannickasselin</name><uri>https://forge.codesys.com/u/yannickasselin/</uri></author><id>https://forge.codesys.com4f44b4d11355485e8dcfb7cfcb5d051b64badc85</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe you should have a look at "persistence manager". A little involved to setup but once it's done, it's very powerful and flexible.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#1783" rel="alternate"/><published>2022-10-19T00:15:30.026000Z</published><updated>2022-10-19T00:15:30.026000Z</updated><author><name>richard-wang</name><uri>https://forge.codesys.com/u/richard-wang/</uri></author><id>https://forge.codesys.combd2d965862bc3290a7062653dd1f6228316b04d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin&lt;br/&gt;
Even this is old thread, but it actually saved my day.&lt;br/&gt;
The code you wrote actually works very well , I saved all my retained tags even if PI4 is powered off without using UPS.&lt;br/&gt;
For whoever wants to make retain variables works, please look carefully on the first page. Edwin's sample code works perfectly.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#0967" rel="alternate"/><published>2020-02-27T16:54:48.477000Z</published><updated>2020-02-27T16:54:48.477000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com71991b58ecbc88bac1d2245ad8b00d12497e4978</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; phenixrb&lt;/p&gt;
&lt;p&gt;Hello,&lt;br/&gt;
does anyone have a solution that works for a raspberry pi 3 B +?&lt;br/&gt;
thank you&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#11fc" rel="alternate"/><published>2020-02-27T16:54:47.560000Z</published><updated>2020-02-27T16:54:47.560000Z</updated><author><name>donavira</name><uri>https://forge.codesys.com/u/donavira/</uri></author><id>https://forge.codesys.comf218691dcc9f68a0e046098bd93eb34bedfed91f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;br/&gt;
Did you test the bug?&lt;br/&gt;
I tried the project with a 32 bit PC (Win XP), V3.5 SP7 Patch 3. Raspberry PI same. The retain variables stores their values after a power down. &lt;br/&gt;
Regards, Donát.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#f3d9" rel="alternate"/><published>2020-02-27T16:54:44.962000Z</published><updated>2020-02-27T16:54:44.962000Z</updated><author><name>donavira</name><uri>https://forge.codesys.com/u/donavira/</uri></author><id>https://forge.codesys.com45ffe664ace2b92f7243a671789d962cd5bd5ebe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
could you please send the project to the CODESYS store -&amp;gt; my question -&amp;gt; bugreport&lt;br/&gt;
I'll try to reproduce.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi,&lt;br/&gt;
I uploaded the complete projectarchive.&lt;br/&gt;
Thanks in advance, Donát.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#48aa" rel="alternate"/><published>2020-02-27T16:54:44.029000Z</published><updated>2020-02-27T16:54:44.029000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcae98f421fa0306d447e1dd946e239a0c4a86cbf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
could you please send the project to the CODESYS store -&amp;gt; my question -&amp;gt; bugreport&lt;br/&gt;
I'll try to reproduce.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#27af" rel="alternate"/><published>2020-02-27T16:54:43.107000Z</published><updated>2020-02-27T16:54:43.107000Z</updated><author><name>donavira</name><uri>https://forge.codesys.com/u/donavira/</uri></author><id>https://forge.codesys.com513be189dd8d3e07f35e2a3366abda6bd4e4731d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Edwin,&lt;/p&gt;
&lt;p&gt;I cant use with retain variables with RPI3B+. Earlier RPI an Debain versions worked well. Raspberry shutdown is correct. I attached a PLC log file, wich consist a two error lines: Retain restore from file failed: &lt;span&gt;[Application]&lt;/span&gt;, area=1, size=4096,type=0x0020&lt;br/&gt;
Retain restore from file failed: &lt;span&gt;[Application]&lt;/span&gt;, area=2, size=4096,type=0x0120&lt;br/&gt;
HW: Rasperry PI3B+, Raspbian Strech 4.14., Runtime 3.5.13.20 licensed, Codesys V3.5SP13Patch2&lt;br/&gt;
Help me please&lt;br/&gt;
Thx&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4217" rel="nofollow"&gt;RPI3B+_retain_load_fail.xml &lt;span&gt;&lt;span&gt;[33.82 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#26d9" rel="alternate"/><published>2020-02-27T16:54:40.541000Z</published><updated>2020-02-27T16:54:40.541000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.comf5e9ae9976b22b4c91c827534a35295d7bd93b74</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you gracefull shutdown raspberry yes, have or not have UPS.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#ffcb" rel="alternate"/><published>2020-02-27T16:54:39.610000Z</published><updated>2020-02-27T16:54:39.610000Z</updated><author><name>jascur</name><uri>https://forge.codesys.com/u/jascur/</uri></author><id>https://forge.codesys.com454004bcc7f12c7d611788fec7a81f708e8a498a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If I  have  an  UPS and  reboot  my  raspberry does variables declared as  retain will keep  values??&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry retain variables</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/?limit=25&amp;page=1#a016" rel="alternate"/><published>2020-02-27T16:54:37.026000Z</published><updated>2020-02-27T16:54:37.026000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.comf5dcf0b6b693442d49b3493afe5cbcdb41f01236</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is it not possible to store data in a file into a USB Key instead of the SD card ?&lt;br/&gt;
J do this in an Eaton PLC and its work well.&lt;br/&gt;
But I don't know how to name the USB Key with a Raspberry.  &lt;/p&gt;
&lt;p&gt;BR.&lt;/p&gt;
&lt;p&gt;Japib&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>