<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Retain variable help</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1f7d517fa4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1f7d517fa4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1f7d517fa4/</id><updated>2020-02-27T14:02:25.722000Z</updated><subtitle>Recent posts to Retain variable help</subtitle><entry><title>Retain variable help</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1f7d517fa4/?limit=25#0e83" rel="alternate"/><published>2020-02-27T14:02:25.722000Z</published><updated>2020-02-27T14:02:25.722000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0415e3d7f7ac8d36829c4f31f4c8057b7029d52d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;never used 'Ormec Smlc 160' so probably I would recommend to ask the&lt;br/&gt;
manufacturer of this plc if there is a NVRAM inside this plc.&lt;br/&gt;
This is needed to have the retain feature available.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Retain variable help</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1f7d517fa4/?limit=25#78ad" rel="alternate"/><published>2020-02-27T14:02:25.465000Z</published><updated>2020-02-27T14:02:25.465000Z</updated><author><name>mehrab</name><uri>https://forge.codesys.com/u/mehrab/</uri></author><id>https://forge.codesys.comc2dfaa84bbf765a26909934d116cc38a62c3669d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;br/&gt;
Writing a program to Ormec Smlc 160&lt;/p&gt;
&lt;p&gt;I have variables in "Retain" &lt;br/&gt;
Variables like pump speed and temperature set points&lt;/p&gt;
&lt;p&gt;When I reset the PLC, all the values come back.&lt;br/&gt;
Doing cold reset through codesys also same thing&lt;br/&gt;
But when I power down (manually), the variables don't come back.&lt;/p&gt;
&lt;p&gt;Why is that?&lt;/p&gt;
&lt;p&gt;I've tried putting the variables in "Retain Persistent" and still the same thing.&lt;/p&gt;
&lt;p&gt;Under target settings I have checked load boot project automatically&lt;/p&gt;
&lt;p&gt;What else can I try?&lt;/p&gt;
&lt;p&gt;This is very important as I don't think the PLC will be able to recover from a power outage without an operator being present and certain pumps need to be on at all time&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sent from my iPhone using Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>