Persistent data usage formula function for Siemens SIMATIC S7-1200 and S7-1500

Aug 17, 2023

If you need to preserve parameters (such as the position value and limit value of the drive) after power outage and restart, you must backup these parameters in advance. These parameters can be stored as reserved variables or saved in CSV files using the recipe function.

These parameters should be stored in CSV files for a long time on the memory card of the controller. Users can decide when to save data. It can be automatically saved at a specified time interval when the power PSU8600 encounters a power failure and switches to buffering mode, or saved through HMI or other methods upon user request. After a power failure and current connection, persistent data needs to be read back from the CSV file to the user program.

The following figure provides an overview of this automated task.


The parameters set during debugging are all concentrated in a global data block.

The "DBtoCSV" block writes the data from the collected global data block to a CSV file on the loading storage. The 'CSV to DB' block reads data from the CSV file as needed and writes it back to the global data block.

The following figure is a schematic diagram of the most important components in this solution:

 About us:  

    Adleman Limited is a control system components company,which located in Xiamen,a beautiful coastal city. 

We are specialized in providing world-reknowed brands: Allen Bradley , ABB , General Electric , Triconex , Honeywell , Bently Nevada , Schneider , Hima ,etc. Even some discontinued ones,such as A-B 1785/1771 and so on.

Adleman Limited is a professional manufacturer of global famous brand modules and spare parts.

Our main products are: distributed control system (DCS), programmable logic controller (PLC), large servo control system.

The spare parts we sell are guaranteed for one year and are rigorously tested and certified.


We are now a global manufacturer of industrial automation spare parts and components.

Contact me at ONCE to get the quotation:

Attn: Mr. Liao

Mobile: +86 15259245292


WeChat/WhatsApp: +86 15259245292


Address: Room 1601, Building 6, Haicang Seattle, No. 330 Zhonglin Road, Haicang District, Xiamen City, Fujian Province

6ES7470-0AA00-0AA0 6ES7312-1AD10-0AB0 6ES7314-6CF02-0AB0
6ES7470-1AB00-0AA0 6ES7312-1AE13-0AB0 6ES7314-6CG03-0AB0
6ES7470-1AD00-0AA0 6ES7312-1AE13-4AB0 6ES7315-1AF00-0AB0
6ES7478-1AN00-0AA0 6ES7312-5AC00-0AB0 6ES7315-1AF01-0AB0
6ES7478-1AP00-0AA0 6ES7312-5AC01-0AB0 6ES7315-1AF02-0AB0
6ES7478-1AQ00-0AA0 6ES7312-5AC02-0AB0 6ES7315-1AF03-0AB0
6ES7478-2DA00-0AC0 6ES7312-5AC81-0AB0 6ES7315-2AF00-0AB0
6ES7478-2DA01-0AC0 6ES7312-5AC82-0AB0 6ES7315-2AF01-0AB0

Need Help? Chat with us

leave a message
For any request of information or technical support, fill in the form. All fields marked with an asterisk* are required.
Looking for FAQs?
Contact us #
+86 -15259245292

Our hours

Mon 11/21 - Wed 11/23: 9 AM - 8 PM
Thu 11/24: closed - Happy Thanksgiving!
Fri 11/25: 8 AM - 10 PM
Sat 11/26 - Sun 11/27: 10 AM - 9 PM
(all hours are Eastern Time)




Contacts Us