Flexy storage room

hello,
I have FLEXY 205 without extra SD storage. if there are 20 REAL, 20 BOOLEN, 20 INT tags, if they log every minute, how many days of history logging it should save up to?
thanks, just to have a roughly idea. currently I see the history logging only up to 3 days. is it correct?

Hi @Charles_UAS,

I think that this topic might be a good reference for you:

Questions about the Flexy

hi Tim, I read them. kind of understand the concept, but don’t know how to estimate my logging data size. for test purpose, I will remove some tags, give longer cycle time. so in concept, the logging period should be extended. right?

The less often that you are polling your data the longer the logging period should be. You can also change your logging method from a time based one to a deadband one that will only record the value if it changes by a certain threshold. If you want to keep it time based you could take a look at the internal memory information. You should then be able to see how much memory is currently being stored and then you could log for 10 minutes or so and calculate roughly how long it would be before the memory is filled

hi TIM,
for a test, I removed all tags just to have 4 tags left. 1 BOOL, 1 REAL, 1 INT and 1 DINT, history cycle time is 1 min. I let the PLC run for more than 10 days, please see my paste for the internal memory info. I don’t know how to calculate the memory size. as of today June/24, I can see the logging is back to June/11.
could you help me to know if it reaches max storage, or the logging volume will still get extended more. how much more?
thanks in advance.
see my screen shots:image
image

Hi Charles I found this doc that might be useful

It looks like if you have 4 tags that you’re polling at once per minute you’ll get about 24 days if you have your memory size set to 139264

(139264 points / 4 tags) * 60 seconds = 2,088,960 seconds.

if there’s 86400 seconds in a day, then that leaves you with about 24.17 days worth of data

thanks Tim, your reply is very help. I am doing some math.
here is my memo config in that flexy205:
image
image
image
my flexy model is 205, so its recording size is sitting on 6MB or 16384 points.
in case of 16384/4 tags * 60s = 245760 second ===>> 2.84 days;
in case of 73728/4 tags * 60s = 1105920 second ==>> 12.8 days (this is close to my actual).
am I doing right?
also if you use 3 recording memory size options(6MB, 14MB or 19MB) divided by their 3 different points (16384, 73728, 139264), the actual size (Byte) per point is not the same.
sorry for asking too much, but I really want to understand how the recording memory size works, so I can estimate my logging design.
thanks,

Hey Charles,

I was just checking this with some colleagues in Belgium and it seems the doc I sent was a little bit dated and was based off of the CD devices. For all devices you can calculate points this way: Recording size * 1024 * 1024 / 20

Recording Size (MB) Points
6 314,572
14 734,003
19 996,147

So for this one, by default you’ll be using the 6MB. This will give you the (314572 Points / 4 Tags) * 60 seconds * 1 day / 86400 seconds = about 54.61 days

great, all clear:
6MB x 1024 KB x 1024 Byte = 6291456/20 byte per point = 314572 points
thank you so much
in case if we need to extend the record storage, we need to insert the SD card. will its size all be counted as record storage? for example in case of a 16GB SD, that will give us a lot of points if 20 byte per points.

hi TIM,
could you send me couple links of topics of how to use SD card to extend the storage and how to set it up?
thanks,

Hi Charles,

I think this ticket should be a good reference for that

Hello @Tim_hms ,

When you say : For all devices you can calculate points this way:
Recording size * 1024 * 1024 / 20

What do the numbers (1024 and 20) mean?

When you report 314572 points, what do the points correspond to?
Each line of record pushed in a file?

So for this one, by default you’ll be using the 6MB. This will give you the (314572 Points / 4 Tags) * 60 seconds * 1 day / 86400 seconds = about 54.61 days

The acquisition period will be independent of the data format (BOOL, FLOAT, …)?

Thank you for all your informations.

Hi @DOne,

The 102410246/20 was a rough calculation to get the amount of points. Basically it’s just your Recording size (with the default 6MB, 14MB or 19MB) / 20. It’s not that it takes up 20 bytes per point, but this is a simplified version to calculate how many points you’ll get with that data.

A more in depth version can be found here:

As long as you’re not using a string tag (has it’s own separate storage area), then each tag log will use up the same amount of points

1 Like

It appears we now have a zip file that helps you calculate the amount of data your Flexy can store before FIFO starts to kick in:

https://techforum.ewon.biz/thread-1224.html

1 Like