How to Safeguard Recipe Data on CompactLogix 5370: Automatic SD Card Saving After Each Write

Question:

I am utilizing a 1769-L16ER-BB1B controller and storing recipe data in an array of user-defined data types. It is essential for disaster recovery that the recipe data is preserved in case of controller failure. Is it possible to directly save the array to the SD card? Ideally, I would like to save it automatically after each write to the array. If it is possible to save the tag values along with the program, then saving the entire data set after each array write may be the best solution. Can someone demonstrate how to accomplish this within the logic or guide me to a detailed article in the Knowledgebase? I have already searched the Knowledgebase but was unable to find the information I require.

Top Replies

Yesterday, I came across a PDF that didn't seem to match what I needed at first glance. However, upon closer inspection today, I discovered that it is precisely the information I was searching for - a comprehensive guide on Memory Card Usability with Logix5000 Controllers.

I need help finding a downloadable link for the application code mentioned in the PDF that explains how to read and write data to NVM. Despite searching through Rockwell's sample applications and using Google, I have not been able to find it. Any suggestions on where to locate it?

When exploring the pre-installed programs in Logix500/Studio500/LogixDesigner, you'll come across an example program designed for writing tag values to an SD card. The program, like CF_ReadWrite.acd, serves this purpose. I've had the opportunity to work with it and have created a streamlined version that caters better to my specific needs. I will have access to it again next week and am willing to share it with you upon request.

It appears that the files you need are already stored in your system. You can find them under the following directories: C:\RSLogix 5000\Projects\Samples\ENU\v17\Rockwell Automation or C:\RSLogix 5000\Projects\Samples\ENU\v16\Rockwell Automation. Look for the manual Logix-AP007B-EN-P.pdf in these folders. Additionally, you can also find sample files such as CF_Read_Write.ACDC and CF_Read_Write_Example.ACD in the same location. Please note that V16 and V17 only support ControlLogix, while V18 supports CompactLogix as well.

Thank you both for your input. After coming across Knowledgebase article 28539, I reached the same conclusion. It's surprising that this information wasn't included in the manual.

While the 1769-L16ER-BB1B controller has an SD card slot, it's primarily for firmware and program backup. Unfortunately, to the best of my knowledge, you can't directly save the array data or tag values automatically on the SD card after each write operation. However, there are alternative methods to preserve your data like using SCADA system or OPC Server with a history feature to regularly record the values or implement a routine within your logic to write the array data to a database upon changes. For disaster recovery, consider using a redundant system or a PLC with higher-end capabilities for better data handling. Detailed articles are hard to come by, but there might be some tutorials on these alternatives if you look around online.

While it's not directly possible to save an array onto an SD card with a 1769-L16ER-BB1B, you can make real-time backups with an indirect approach. You could implement a routine that copies the entire array into a second identical array, and then log changes to this backup with transactions, essentially creating a mirror of your important data that's updated with every write. In case of a disaster, you could at least have the most recent backup array on hand. However, do note this would consume more CPU processing resource and memory. As for saving tag values alongside the program, Rockwell's "Prosoft DataLinx Module" might help. Please consult the detailed user guide for the module to know more regarding this.

Absolutely, saving your recipe data to the SD card can be a great fail-safe mechanism in case of a controller breakdown. I'd recommend using the 'SD Card - Save/Restore' functionality available in Studio 5000 Logix Designer. However, you might want to consider how often you do this since frequent writing to the SD card could diminish the lifespan of the card over time. As for writing the entire data set after each array write, it's possible but may be overkill and could significantly slow down your system. Maybe a periodic backup or event-triggered one could be more efficient. Be aware that the save operation only stores user-defined tags, you'll have to manually reproduce your program. I'd suggest checking out Rockwell Automation's user manual on "Logix 5000 Controllers Save and Restore" for further information and guides. Hope this helps!

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. Can I save recipe data directly to an SD card using a CompactLogix 5370 controller?

Answer: - Yes, it is possible to save data to an SD card in a CompactLogix 5370 controller. You can achieve this by configuring the controller to write the data to the SD card after each array write.

FAQ: 2. Is it feasible to automatically save recipe data to the SD card after each write with a 1769-L16ER-BB1B controller?

Answer: - It is possible to set up automatic saving of recipe data to the SD card after each write with a 1769-L16ER-BB1B controller. This can help ensure that the data is preserved in case of a controller failure.

FAQ: 3. How can I save tag values along with the program on a CompactLogix controller?

Answer: - To save both tag values and the program on a CompactLogix controller, you can consider saving the entire data set after each array write. This can be an effective solution for safeguarding recipe data and ensuring disaster recovery.

FAQ: 4. Is there a guide or detailed article available on how to save recipe data to an SD card with a CompactLogix controller?

Answer: - While searching the Knowledgebase may not have yielded the desired information, you can refer to the user manual or programming guides provided by the controller's manufacturer for detailed instructions on saving recipe data to an SD card using a CompactLogix

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  â†’