How to check actual memory consumption with Siemens S7 software

kemppioy

Member
Join Date
Oct 2005
Location
Dallas
Posts
72
Hello,

I am very very new with Siemens S7 and I was wondering how to check the actual memory consumption of the S7 cpu while offline? How do I open the project and then check how much memory is used? Thanks for your help!

PK
 
... in step7 you can see memory consupmtion of particular blocks, if you will select all of them (ctrl+a), on the bottom bar ... approximate size is showed (it works in both branches - Sources & Blocks) ... maybe it is too possible to check more precisely by using simulator and then try it like in online mode ... PLC -> Diagnostic/ Settings -> Module Information -> Memory
 
Hi there,
To see the memory consumption just open your S7 project then go to the menu PLC>Diagnostic/setting>Module Information ..., In module information(Memory Tab) you can see the allocated memory and also work memory of your CPU. But you have to do it online while connected to your PLC. I hope that answer you question.
 
In the 'Simatic Manager' you must select the map 'Blocks'. Click with the 'righside-button' of the mouse on 'Blocks'. You will see a new menu. In this menu you must select the page 'Blocks'. There you will find the amount of load- and workmemory of your program.
 
If you try to estimate the consumed memory offline (without looking at the module information online), then it is not enough to just add the blocks together.
In addition to the blocks there is memory set aside to the system settings and communication connections. Especially the communication connections can take up a surprising amount of memory.

Try to compare the size of the the blocks offline and what work mem is used online. You will notice a significant difference.
 
So basically what everyone is saying is that I need to go online to get an idea of the exact memory usage? Problem is that the current processor we are using is not sold anymore so we are checking to see the processor that we should order based on the memory consumption of the plc program that was used with the old cpu. I didn't make the plc program so we are not sure of its memory usage.

Thanks
PK
 
JesperMP said:
If you try to estimate the consumed memory offline (without looking at the module information online), then it is not enough to just add the blocks together.
In addition to the blocks there is memory set aside to the system settings and communication connections. Especially the communication connections can take up a surprising amount of memory.

Try to compare the size of the the blocks offline and what work mem is used online. You will notice a significant difference.

in the most-top branch of project ... 'Other Stations' and 'MPI' have visible size ... is this what you mean? in my case ... about 4kb together
 
in the most-top branch of project ... 'Other Stations' and 'MPI' have visible size ... is this what you mean? in my case ... about 4kb together
Offline: In the project tree, go to blocks and open the properties. Select the "Blocks" tab and you can see the Total "Size in work memory".

Online: Open the "Module information" for the CPU and select the "memory" tab. Observe the "Wok memory" column at the "Total" row.

There will be a difference between the offline and the online values.
 
Info from Siemens

I found this on the Siemens website. It's explains why there is a difference, the effect of START-UP and how you can calculate the extra memory.
 

Similar Topics

Hello all, I have a Controllogix 1756-L61 with some RIO. There are a couple of 1734-OB4E's that have gone bad. (no output voltage) My boss found...
Replies
10
Views
1,073
Hello I am new here and new to PLC's, I wrote this program for a class that I am taking and my local tech school. The description is switch 7 will...
Replies
0
Views
414
Hello I am new here and new to PLC's, I wrote this program for a class that I am taking and my local tech school. The description is switch 7 will...
Replies
10
Views
1,975
I'm trying to save a project as an L5X and I need to uncheck the "Encode Source Protected Content" checkbox, but it's grayed out. How do I get...
Replies
1
Views
943
Hello. I have been working on my first plc project for a while now. I just ordered all the parts that I need and before I did that, I created the...
Replies
10
Views
2,033
Back
Top Bottom