Using Recipe Functions for persistent Data with SIMATIC S7-1200 and S7-1500
These parameters shall be saved persistently as CSV file on the memory card of the controller. The user can decide when to save the data. Either automatically, when the power supply PSU8600 changes to the buffer mode at power failure, in a given time interval, or upon request by the user, for example via HMI. After power failure and returned current, persistent data shall be read back from the CSV file into the user program.
The figure below provides an overview of the automation task.
The parameters set during commissioning are collected in a global data block.
The “DBtoCSV” block writes the collected data of the global data block to a CSV file on the load memory. The “CSVtoDB” block reads the data from the CSV file on demand and writes it back to the global data block.
The figure below shows a schematic overview of the most important components of the solution:
Documentation and Sample Project
Documentation (1,1 MB)
Project for STEP 7 V13 SP1 (6,4 MB)
Device configuration as file for the TIA Selection Tool (7,4 KB)