Rslog5000 online edit problem

suboliu

Member
Join Date
Oct 2010
Location
windsor
Posts
266
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.
 
Bummer! I guess you'll have to find ways to free up memory or upgrade. Just out of curiosity, what processor is it?
 
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

Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
0
Views
1
I'm trying to verify a project with a PLC. The Transfer Setup menu item is grayed out and every time I click Verify with PLC, I get an error...
Replies
1
Views
74
Hi. I’m trying to upload program from existing PLC S7-1200. Create new project in TIA v15.1 then upload. After upload successfully, go online but...
Replies
5
Views
242
Does anyone know of a way to detect if someone is online with the controller in ControlLogix (from logic) I'm thinking that maybe there is a CIP...
Replies
7
Views
400
Got a VIPA 315-2AG23 that i try to go online with but can't seem to make it work through a network. I can go online if i'm plugged directly in the...
Replies
4
Views
282
Back
Top Bottom