<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/</id><updated>2024-10-20T19:58:31.193000Z</updated><subtitle>Recent posts to Persistent variables are not read after initialization</subtitle><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#637c" rel="alternate"/><published>2024-10-20T19:58:31.193000Z</published><updated>2024-10-20T19:58:31.193000Z</updated><author><name>pietrobalint</name><uri>https://forge.codesys.com/u/pietrobalint/</uri></author><id>https://forge.codesys.com688f6fde86641417f00e64283e20b3b889adaa43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What do you mean it is part of the licensefree part?&lt;br/&gt;
I attached my error message.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#779f" rel="alternate"/><published>2024-10-11T20:29:49.732000Z</published><updated>2024-10-11T20:29:49.732000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf628ef8eb837c00a46f58394c72e26589cfa0756</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;no need to activate application composer. It is part of the licensefree part.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#a2c3" rel="alternate"/><published>2024-10-11T18:01:17.020000Z</published><updated>2024-10-11T18:01:17.020000Z</updated><author><name>pietrobalint</name><uri>https://forge.codesys.com/u/pietrobalint/</uri></author><id>https://forge.codesys.com75748bd837179412774870ce2c90a3d0ebfb93bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I realized that if I replug the power supply the persistent variables lost their value with the new software too. Cold reset do not affect the variables value but hardware reboot still reset the values. &lt;br/&gt;
Application Composer can't be activated.&lt;br/&gt;
What is the solution?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#8016" rel="alternate"/><published>2024-09-04T21:39:02.151000Z</published><updated>2024-09-04T21:39:02.151000Z</updated><author><name>pietrobalint</name><uri>https://forge.codesys.com/u/pietrobalint/</uri></author><id>https://forge.codesys.com5dc9a3368d3b45877029f6f5a31213462ebf5451</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I updated to 4.13.0.0 and now it works. Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#ac8f" rel="alternate"/><published>2024-09-02T03:45:46.414000Z</published><updated>2024-09-02T03:45:46.414000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com8950d798938e08666dc83aa6506572067ba0bf21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;which version of the runtime do you use?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#8ae1" rel="alternate"/><published>2024-09-01T09:38:22.371000Z</published><updated>2024-09-01T09:38:22.371000Z</updated><author><name>pietrobalint</name><uri>https://forge.codesys.com/u/pietrobalint/</uri></author><id>https://forge.codesys.comcc3dbd81ca0408b2cac37717b71bb0f56e67bd61</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I have Raspberry Pi 5 and I would like to use persistence manager too. But Codesys support said that Application Composer not compatibile with my runtime. Could you recommend a solution?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#f4a8" rel="alternate"/><published>2023-05-12T07:07:54.106000Z</published><updated>2023-05-12T07:07:54.106000Z</updated><author><name>mike2160</name><uri>https://forge.codesys.com/u/mike2160/</uri></author><id>https://forge.codesys.com6b8dee6eaf6e973250a25c4b252ee71a26d37e0d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you, It worked using the persistence manager.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#dedf" rel="alternate"/><published>2023-05-11T18:36:14.772000Z</published><updated>2023-05-11T18:36:14.772000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comddfea7f5763911d06ce24e6421462de98525a785</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Retain/Persistent variables work that way:&lt;br/&gt;
On exit/shutdown for the runtime - these retain variables will be saved to a retain file.&lt;br/&gt;
On startup of the runtime they will be restored from that file.&lt;br/&gt;
If you have no UPS connected how should this work on just switching off the Raspberry Pi?&lt;br/&gt;
- there are only two options&lt;br/&gt;
1. use a UPS (which makes the whole Pi more robust against SD card corruption&lt;br/&gt;
2. an other option might be to use persistence manager from application composer&lt;br/&gt;
(https://content.helpme-codesys.com/en/CODESYS%20Application%20Composer/ac_pm_overview.html)&lt;br/&gt;
even here it would help to have UPS connected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#ebb6" rel="alternate"/><published>2023-05-11T10:42:25.442000Z</published><updated>2023-05-11T10:42:25.442000Z</updated><author><name>mike2160</name><uri>https://forge.codesys.com/u/mike2160/</uri></author><id>https://forge.codesys.com21555f24516195998e7c2866bfe54fa6bed069d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using a Raspberry Pi 4.&lt;br/&gt;
What do you mean by a graceful shutdown?&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Persistent variables are not read after initialization</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/81f4b84e6d/?limit=25#278b" rel="alternate"/><published>2023-05-11T10:05:09.847000Z</published><updated>2023-05-11T10:05:09.847000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9a94763a15568e079422768394bd09f1e5c7e90e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;which device?&lt;br/&gt;
are they written on graceful shutdown?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>