9/3/2009 3:02 PM | |
Posts: 25 Rating: (1) |
Dear All, Is there any formula of memory calculation based on I/O for S7 400H? |
9/4/2009 7:46 AM | |
Posts: 261 Rating: (42) |
Hi NBRM, It’s very difficult to calculate your required Memory as per your I/O count. The memory of the S7 400 CPUs can be divided into the following areas: 1. User memory: A) Load memory: i) Load Memory intergraded: RAM with battery backup. ii) Load Memory external: RAM with battery backup or non volatile flash memory. B) Work Memory: i) Work Memory Code: RAM with battery backup. For process image I/O (both central and distributed) and diagnostics buffer. ii) Work memory Data: RAM with battery backup. For local data stack. 2. System memory: RAM with battery backup. For contains Bit memories, Timers counters (managed by operating system), Block stack and interrupt stack. N.B: You can only expand your load memory up to the CPU specified range. Load memory contains: (Fig1) i) The user program ii) The system data. The work memory contains: (Fig 2, 3, and 4) i) Logic blocks ii) Communication job iii) Process Image input iv) Process Image Output v) Diagnostics buffer. Required working memory in code/data memory Size of the process image (inputs): 12 bytes per byte in the process input image in Code memory Size of the process image (outputs): 12 bytes per byte in the process output image in Code memory Communication resources (communication jobs): 72 bytes per communication job in Code memory Size of the diagnostic buffer: 32 bytes per entry in the diagnostic buffer Code memory Quantity of local data: 1 byte per byte of local data in Data memory That means: Your Load memory depends upon your programming part and H/W configuration which is no longer correlated with your I/O count. Your work memory depends upon your load memory (Logic blocks) + process image I/Os + Diagnostics buffer and communication jobs. In addition you can follow the link given by Pegaia as “Tomb Rule for estimation of memory occupation in SIMATIC PLC.”With best regardsddg Attachmentref.pdf (1109 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on