jvalstar Posted May 2, 2019 Report Share Posted May 2, 2019 I'm having a problem during downloading my program to a Unistream USP-104-B10. I get the following error: Tags Allocation The size of the Tags memory in this project has exceeded the PLC memory capacity. The error list shows: Tags - Global tags - The tag memory should be reallocated. Please run Ribbon > PLC > Reallocate Memory. How do I fix this problem? Or how can I see how many tags i have too much? Thank you! Link to comment Share on other sites More sharing options...
Saragani Posted May 5, 2019 Report Share Posted May 5, 2019 Most likely that you have you have exceeded the retained memory total size (256KB). Most of the times it happens due to large Data Tables. Link to comment Share on other sites More sharing options...
NutzlosNorm Posted November 23, 2020 Report Share Posted November 23, 2020 Any way to increase the amount of memory (SD card)? How can I see how close I am other than hacking away at my program until the error goes away? I have this error in a program for a USC-B10-B1 and I have three data tables. Link to comment Share on other sites More sharing options...
mm440 Posted April 30 Report Share Posted April 30 Hi, how can i increase the amount of this retained memory? I have 3 data tables, 3065 rows each... I have same error message. Link to comment Share on other sites More sharing options...
ORSO2001 Posted May 2 Report Share Posted May 2 hi @mm440 i don't know what are the specification of your project, and mostly the size of your data table, but maybe you can solve your problem modifying the "strategy"...i mean...what is the frequency of the data table update? if it is in a reasonable timing you can think about use a data table with not retained memory and save/upload it from the SD (without CSV and zip files). 1 Link to comment Share on other sites More sharing options...
ORSO2001 Posted May 2 Report Share Posted May 2 i did a test....i created a table of 20.000 rows; in each rows are present 10 tags of uint32 so at the end 800.000 bytes (39% of non retained memory!) to store and read; each store and read (full data table) need between 1.7/2.0 seconds... 1 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted May 2 MVP 2023 Report Share Posted May 2 You can't increase the size of the internal retained memory. As Saragani says, it's 256K. I would calculate the actual data size needed - you need to specify the number of columns in each table as well as the data type to determine how big they'll be. You can creatively use an SD card to get more storage. Look at the Help on "Store DTI to File" and "Load DTI from File". Joe T. 1 Link to comment Share on other sites More sharing options...
mm440 Posted May 23 Report Share Posted May 23 Thank You for your reply! I have 3 data tables, each with 37 columns and 1500 rows. The sampling occurs every 20 seconds. I solved the problem by reducing the data table to 30 rows, and when it fills up, I append it to the CSV file. This way, I don't lose any data if there is a power outage... Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted May 24 MVP 2023 Report Share Posted May 24 15 hours ago, mm440 said: This way, I don't lose any data if there is a power outage... This does give rise to the question of What happens if the power outage happens to coincide with the update? Does the entire SD file that's being appended get corrupted? A highly unlikely scenario, but possible. Perhaps it might be better to copy the main one regularly, but this is very dependent on the frequency needed to extend card life, and the need for logging in the first place. cheers, Aus Link to comment Share on other sites More sharing options...
mm440 Posted May 24 Report Share Posted May 24 Good question. For now, I have solved this by saving the files under different names for each shift, so in the worst case, only the current shift's file could be damaged. Link to comment Share on other sites More sharing options...
kvlada Posted June 15 Report Share Posted June 15 There are 24V power supplies with battery backup capability. Basically a UPS for a PLC. Once a power-fail is detected, PLC waits for any flash memory operations to be complete, and then goes into stop mode, or tells the UPS to shut down. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now