<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Memory Problems</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7db0955314/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7db0955314/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/7db0955314/</id><updated>2020-02-27T15:19:20.006000Z</updated><subtitle>Recent posts to Memory Problems</subtitle><entry><title>Memory Problems</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7db0955314/?limit=25#11a7" rel="alternate"/><published>2020-02-27T15:19:20.006000Z</published><updated>2020-02-27T15:19:20.006000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comdad07d8f0957a98fbb809181b3a94d783ce4b48f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
guess the main question is missing you probably are asking for &lt;br/&gt;
how to save retain/persistent data on this system, ist that right?&lt;/p&gt;
&lt;p&gt;for using retain memory you need to have an UPS on your industrial pc or additional hardware (non volatile ram – NVRAM)&lt;br/&gt;
This is needed for CODESYS V2.3 and CODESYS V3.&lt;/p&gt;
&lt;p&gt;For using retains a proper shutdown of the plc/pc is needed (the plc runtime does save the retain/persistent variables on this shutdown to the retain file and restore them on next bootup)&lt;br/&gt;
This is the way it works (V2.3 RTE and Version 3 Control RTE)&lt;br/&gt;
If you have additional hardware in your PC NVRAM – then this proper shutdown of windows is not needed you could only which off because the retains are written cyclic.&lt;/p&gt;
&lt;p&gt;That is the whole story for the retains. Some industrial pc manufacturer provide a NVRAM (pci express I guess) card to do this in CODESYS Control RTE V3 as hardware add on (you need to ask your pc manufacturer if the have it for this pc)&lt;br/&gt;
But not sure if this works in V2.3. For Control RTE V3 it is for sure possible.&lt;/p&gt;
&lt;p&gt;Now you need to decide:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add a UPS to your system (maybe it is already there?)&lt;/li&gt;
&lt;li&gt;Add NVRAM card to your system&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;See the description how to use them here in the online help:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://help.codesys.com/webapp/cds-vartypes-retain-persistent;product=codesys;version=3.5.11.0" rel="nofollow"&gt;https://help.codesys.com/webapp/cds-var ... n=3.5.11.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;maybe the third option in combination with UPS, you could use the persistence manager from application composer.&lt;br/&gt;
There is the description in the online help too for doing this.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Memory Problems</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/7db0955314/?limit=25#704e" rel="alternate"/><published>2020-02-27T15:19:18.142000Z</published><updated>2020-02-27T15:19:18.142000Z</updated><author><name>RBS</name><uri>https://forge.codesys.com/u/rbs/</uri></author><id>https://forge.codesys.com08b86dce4493cb79a844a131e5bdaa6c9f92b7b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi There,&lt;br/&gt;
I am working with Codesys 3.5.10 SP2 and I am having some issues with the memory on my Industrial PC/////&lt;/p&gt;
&lt;p&gt;CPU: on-board Intel® Celeron® Quad Core processor J1900 processor,&lt;br/&gt;
up to 2.42GHz, 2M L2 cache&lt;br/&gt;
 BIOS: AMI BIOS&lt;br/&gt;
 System memory: 2 x 204-pin DDR3L SO-DIMM socket, 4GB DDR3L&lt;br/&gt;
(default), support up to 8GB DDR3L-1066/1333, non-ECC and&lt;br/&gt;
un-buffered&lt;br/&gt;
 Storage device:&lt;br/&gt;
1 x external locked CFast socket&lt;br/&gt;
1 x hard drive bay: optional 1 x 2.5" SATA HDD or 1 x SATA DOM&lt;/p&gt;
&lt;p&gt;Good enough right, ok but here are the messages that I get from 3.5&lt;br/&gt;
and 2.3, same program with same PLC.&lt;br/&gt;
In Codesys 2.3 as you see, there is no problems only on 3.5;&lt;br/&gt;
Please can someone tell me what could be the problem?&lt;br/&gt;
This is a huge program that I have written that contains more than 18 structures, 18 FB's, 25 Functions, 4 PLC_PRG's, thanks in advance for your help!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CODESYS 2.3.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3175"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: OversizedPrg.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3174"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>