8/2/2019 1:22 AM | |
Joined: 9/27/2006 Last visit: 8/14/2024 Posts: 12277 Rating:
|
Hello Tekabi; There is no "special storage" implementation in S7 CPUs. Every DB has "actual" values and "initial (declaration)" values, you must learn how they are different and how you can transfer the acual values to the initial values so they are loaded when the CPU is restarted or the memory is initalized. And this has to be done manually, there are no functions or code to do this. Start by looking at these FAQs on the subject; there is also a procedure described in the first link to actualize the initial values of your DBs with the last setpoints you want to preserve: What is the significance of the initial and actual values of a data block? https://support.industry.siemens.com/cs/us/en/view/837001 What does the terms Initial value (declaration view), Initial value (load memory) and Actual value mean in data blocks when a controller is loaded / restarted? https://support.industry.siemens.com/cs/us/en/view/18645578 How do you save the setpoint values (actual values) of the SIMATIC S7-300 which are changed online during commissioning? https://support.industry.siemens.com/cs/us/en/view/109478260 Hope this helps, Daniel Chartier |
Follow us on