CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Feb 18, 2020 8:41 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Dec 13, 2019 11:32 am 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 209
Hi.
In Trend/Alarm Storage there is setting Maximum number of records.
It seems reasanoble to also show how many PLC memory will be occupied by sqlite file in this case.

Right now I want to know approximate memory space for 1 record in Trend/Alarm storage.

_________________
Make CODESYS great again


Top
   
PostPosted: Thu Jan 02, 2020 8:06 pm 
Offline
Frequent User
Frequent User

Joined: Thu Mar 17, 2016 1:24 pm
Posts: 209
Still interesting in answer.

_________________
Make CODESYS great again


Top
   
PostPosted: Fri Jan 03, 2020 2:26 pm 
Offline

Joined: Thu Aug 04, 2016 4:21 pm
Posts: 55
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?!
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.


Top
   
PostPosted: Thu Jan 09, 2020 9:53 am 
Offline

Joined: Tue Mar 13, 2018 8:50 am
Posts: 3
Hello, Gentlemen :)

Maybe I can help you with your question. I'm testing the storage functionality on the EPEC 6107 HMI with next trend storage configuration:
Measure in every n-th cycle : 5 (100ms)
Max number of vars: 5, but I use only 3


Sqlite DB size for period 7-1-2020 17:1:36 - 9-1-2020 9:50:22 is 65974272 bytes


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited