Troubleshooting Memory Full Issue on Siemens S7-400 PLC

Question:

Yesterday, I visited a client's location and made a minor adjustment by converting a placeholder bool output to a real output in the existing hardware configuration. However, when I attempted to download the modification, I encountered a memory full error. Despite attempting to compress the memory as I have successfully done previously, I was unable to load the block to the PLC. Are there any alternative solutions I can explore before recommending a CPU upgrade to the customer? Cheers, Mark.

Top Replies

If you encounter an issue with your PLC, try stopping it, removing the problematic block from the online folder, downloading and adding a new block, and then restarting in run mode. This simple troubleshooting process can help resolve any programming errors efficiently.

According to MarkNightingale, no tags or markers were added, just a switch to an output already in the hardware configuration. Therefore, the entire program block that was altered needs to be downloaded. If the block is large, it may not be feasible due to lack of available free memory, despite minimal code changes. One potential solution for limited PLC memory is to divide existing program blocks into smaller segments. In my opinion, upgrading to the S7-1500 would be advisable over purchasing a larger and pricier S7-400 CPU, which would only provide temporary relief.

Thank you for the responses. I will consider implementing your suggestions when I am back on location. Unfortunately, upgrading to the S7-1500 is not feasible due to the cost involved. I have a question regarding the CPU and VAT tables. Does storing 50 VAT tables in the CPU take up a significant amount of memory? I am considering deleting some of the tables to free up space. Any advice on this matter would be appreciated. Cheers, Mark.

MarkVAT tables are not downloaded to the CPU as they are offline project components.

According to JRW, MarkVAT tables are not downloaded to the CPU as they solely exist as offline project objects. However, if they are uploaded to the web server, they can be downloaded along with the hardware configuration. This means that MarkVAT tables can be accessed online if they are made available on the server.

Hey Mark, it sounds like a frustrating situation! Before considering a CPU upgrade, you might want to check if there are any unnecessary programs or data that can be cleared from the PLC’s memory. Additionally, reviewing the current configurations to see if there's any redundant logic can help free up some space. Sometimes old projects or unused data blocks can take up valuable memory as well. If those options don’t pan out, consider breaking down the changes into smaller increments, if feasible. Good luck!

Hey Mark! It sounds like a real challenge. Before recommending a CPU upgrade, you might want to check for any unused or redundant blocks in the existing program that you can delete to free up space. Also, consider consolidating data structures or optimizing logic to reduce memory consumption. Some PLCs also have options for organizing and archiving older data, which could help clear some memory. Best of luck!

Hey Mark! It sounds frustrating to run into that memory issue, especially after making adjustments. Before going for a CPU upgrade, have you tried checking for any unused data blocks or programs that can be deleted? Sometimes legacy code can take up more space than we realize. Additionally, you could look into optimizing your existing code or breaking down your modifications into smaller, more manageable blocks to see if that helps. Good luck!

More Replies β†’

Streamline Your Asset Management
See How Oxmaint Works!!

βœ…   Work Order Management

βœ…   Asset Tracking

βœ…   Preventive Maintenance

βœ…   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. What could be causing the memory full issue on the Siemens S7-400 PLC after making minor adjustments?

Answer: - The memory full issue could be due to the increased memory usage caused by converting a placeholder bool output to a real output in the hardware configuration.

FAQ: 2. How can I troubleshoot and resolve the memory full error on the Siemens S7-400 PLC?

Answer: - You can try compressing the memory or optimizing the program to reduce memory usage. It's also essential to check for any unnecessary data or code that can be removed to free up memory space.

FAQ: 3. What alternative solutions can be explored to resolve the memory full error before considering a CPU upgrade?

Answer: - Before recommending a CPU upgrade, you can try optimizing the existing program by removing any redundant or unused code, variables, or data blocks. Additionally, you can consider splitting the program into smaller sections to reduce memory usage.

FAQ: 4. Is there a specific procedure to follow when compressing the memory on the Siemens S7-400 PLC to avoid memory full errors?

Answer: - When compressing memory, ensure to follow the proper guidelines provided by Siemens for the S7-400 PLC. Make sure to back up the existing program before compressing memory, and carefully review the impact of compression on the program's functionality.

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  β†’