Rslog5000 online edit problem

Hello everyone,
Today when I online edit Rslogix5000 program, it always said" Error: unable to allocate sufficient stack space to execute all ADD_ON instruction contained in program"
so what should I do?
any suggestion appreciate!
 
KB 601193 suggests that your processor memory usage is full or near full. Check the Memory tab on controller properties to verify if this is true.
 
That's the smallest of the range, so the good news is, it would be an easy fix to swap it out for a 1756-L72S or higher.

Easy, and of course, hideously expensive. Your budget gets nervous every time you utter the magic "s" word (safety).

As dmroeder suggested, you might be able to free up some memory programatically to get you moving again, but it depends - if you're only going to keep adding to this PLC, you're going to have to upgrade it at some point. So you might as well bite the bullet and do it now, rather than spend too much time and effort only to have to replace it in 6 months anyway :)
 
You can clear up easy space by going to the tags and filtering by Unused and deleting anything there. Do it online so that if an HMI is using one, you won't be able to delete it. Do it for both controller-scoped and every program-scoped tag file.

I once had a SLC that was out of memory, and it was the largest model. Looking through the code, I found very inefficient uses of memory: data being moved from lots of different places instead of a single COP. I got to the point that I was even replacing MOV 0 <tag> with CLR <tag> instructions, because the former takes 3 words of memory (1 for the instruction, 1 for each element), while the latter takes only 2.

It was a PITA, but in the end, I wound up down to only 90% full, and a much more organized system.
 

Similar Topics

I just had an occurrence where doing online edits with a PLC happen to cause a watchdog timeout for messaging failure. Which on this particular...
6
Replies
200
Views
How to fix this error?A step-by-step would be greatly appreciated! Thank you!
2
Replies
407
Views
We've been experiencing an issue where Logix Designer 5000 lags so much while online with a v36+ controller that it becomes nearly unusable. Just...
1
Replies
384
Views
Hi. I am trying to setup NETLink Pro on a PC. I know the setup works because I have managed to get the setup working on a different PC. There...
4
Replies
210
Views
Has anyone been working with the Colab Research tool in Google? It showed up in this forum ca. Oct, 2024. It's a way to do modeling, plots, etc...
2
Replies
319
Views
Top