Memory Allocation on a PLC5

kdcui

Lifetime Supporting Member
Join Date
Dec 2007
Location
USA
Posts
386
I am making some changes to a PLC5 / 80 E, but is running out of memory, and I need to clean up the code in order to get some new logic to fit.

There is one unused file, B11, which contains 100 elements.

Prior to removing the file, the used space consisted of:

Program File Words: 50991
Overhead: 6768 words
Data File Words: 45236

I deleted the B11 file expecting to free up 100 words, however I ended up freeing up much more space (1062 words).

After I deleted the B11 file, the used space was:

Program File Words: 50029
Overhead: 6768 words
Data File Words: 45136

The Data File memory freed up 100 words, which makes sense. I can only assume that the remaining 962 words (50991 - 50029) came from memory necessary to allocate the data file.

I tried creating the file again, but this time with 1 element. This time it only used 1 word. I kept incrementing the file size, and as I increased the size of B11, the Program File memory would increase a little (until I hit 50991 at 100 elements).

How does the PLC5 allocate space for the B11 file? This would be different for each file type, I would think.

I would try and find a Tech Note on this, but I don't have my authorization number on-hand from Rockwell.
 
Last edited:

Similar Topics

Hello I am doing some research on plc memory allocation, including RAM, EEPROM, volatile and non-volatile variables etc. I would like to keep my...
Replies
5
Views
1,729
History: On an Omron CJ1W-DRM21 Network, had a servo driven actuator that went bust. This node is in the middle of the memory map (node 6), with...
Replies
2
Views
1,756
Is there a way to change the memory allocation in a CompactLogic processor. I am runing out of "Data and Logic" memory but have tons of unused I/O...
Replies
4
Views
2,436
Hi all, I am trying to add a function block to a PLC program written for an Omron CJ1M PLC. However, CX Programmer has thrown a compile error...
Replies
0
Views
5,358
Hi Folks, Was wondering if anyone can offer a bit of guidance. I tried downloading to a 414-2 the other day but was stopped due to lack of...
Replies
2
Views
3,305
Back
Top Bottom