<?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 during initialization</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/68c21ec622/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/68c21ec622/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/68c21ec622/</id><updated>2023-05-11T08:32:15.131000Z</updated><subtitle>Recent posts to Persistent variables are not read during initialization</subtitle><entry><title>Persistent variables are not read during initialization</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/68c21ec622/?limit=25#77ed" rel="alternate"/><published>2023-05-11T08:32:15.131000Z</published><updated>2023-05-11T08:32:15.131000Z</updated><author><name>mike2160</name><uri>https://forge.codesys.com/u/mike2160/</uri></author><id>https://forge.codesys.comefe9dae202b6bb70024090fd548e61bfe5af6634</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everybody,&lt;/p&gt;
&lt;p&gt;I am currently working on a project on a Raspberry Pi and I need to use Persistent variables for the first time.&lt;br/&gt;
My question: When i declare my variable (lamp = output (see picture)) as persistent and I do a Cold Reset it stays true. But when I start my program again it becomes false. Does this have to do with some settings I haven't configured or can this be somthing else?&lt;/p&gt;
&lt;p&gt;I am quite new to Codesys so any help is appreciated!&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>