<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Trend/Alarm Storage - how many bytes per record?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/</id><updated>2020-02-27T17:58:09.142000Z</updated><subtitle>Recent posts to Trend/Alarm Storage - how many bytes per record?</subtitle><entry><title>Trend/Alarm Storage - how many bytes per record?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/?limit=25#1c17" rel="alternate"/><published>2020-02-27T17:58:09.142000Z</published><updated>2020-02-27T17:58:09.142000Z</updated><author><name>AlexRoss</name><uri>https://forge.codesys.com/u/alexross/</uri></author><id>https://forge.codesys.comcff7f2f785c0dded4441b0d4ca0ca3b7c68b6e72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, Gentlemen  &lt;/p&gt;
&lt;p&gt;Maybe I can help you with your question. I'm testing the storage functionality on the EPEC 6107 HMI with next trend storage configuration:&lt;br/&gt;
&lt;strong&gt;Measure in every n-th cycle : 5 (100ms)Max number of vars: 5, but I use only 3&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sqlite DB size for period 7-1-2020 17:1:36 - 9-1-2020 9:50:22 is 65974272 bytes&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trend/Alarm Storage - how many bytes per record?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/?limit=25#f9a5" rel="alternate"/><published>2020-02-27T17:58:08.071000Z</published><updated>2020-02-27T17:58:08.071000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.coma076f292dbb8be79f19b5906407292817b362619</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; D. Kugler&lt;/p&gt;
&lt;p&gt;because it's interesting for me too, I started a test with 1000, 2000 and 3000 alarms max. and checked the file size of the sqlite.db. It looked like if no latch variable is used, one message takes about 164-188 byte. If f.eg. a DINT as latch variable is included, it took rund about 200 bytes. So, I think it's depending on configuration and there is no fixed size. Maybe codesys stuff has an answer, what's the maximum size/alarm is?!&lt;br/&gt;
If space in ram is a problem I would prefere to set the radiobutton to Maximum storage size. Fill the storage by blinking an alarm and have a look, how many alarms are in the history max.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trend/Alarm Storage - how many bytes per record?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/?limit=25#567c" rel="alternate"/><published>2020-02-27T17:58:05.102000Z</published><updated>2020-02-27T17:58:05.102000Z</updated><author><name>e.kislov</name><uri>https://forge.codesys.com/u/e-kislov/</uri></author><id>https://forge.codesys.com0514b095d51952f0f3b98a145f0a0e3df9300992</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Still interesting in answer.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trend/Alarm Storage - how many bytes per record?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/9850eec96c/?limit=25#e05f" rel="alternate"/><published>2020-02-27T17:58:04.051000Z</published><updated>2020-02-27T17:58:04.051000Z</updated><author><name>e.kislov</name><uri>https://forge.codesys.com/u/e-kislov/</uri></author><id>https://forge.codesys.com6b18f99953b517b49e70a71710ca39ad338a404c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;br/&gt;
In Trend/Alarm Storage there is setting &lt;strong&gt;Maximum number of records&lt;/strong&gt;.&lt;br/&gt;
It seems reasanoble to also show how many PLC memory will be occupied by sqlite file in this case.&lt;/p&gt;
&lt;p&gt;Right now I want to know approximate memory space for 1 record in Trend/Alarm storage.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>