Paul L

MrPLC Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Paul L

  • Rank
    Hi, I am New!

Profile Information

  • Country United Kingdom
  1. S7-1200 & Recipes

    I have written a number of programs to use the load memory for recipes. I have followed the datasheet and it works fine! I have an array of a custom data type in a DB with load memory set. And also a DB with a single custom data type. I use the commands  READ_DBL and WRITE_DBL, and all works! The nice thing I found was, it I altered something in the program, the DB in the load memory didn't get reset and kept its data I altered via the HMI, so worked perfect for variables on a machine that was needed when running, and been able to update minor parts of the program without putting all these back to init values was great! However, SP1 came.... BTW I had been using the original version off the DVD, some of the updates after this, but before SP1, caused havoc with the READ_DBL and WRITE_DBL commands, my once working and compiled code refused to compile after the update...... Back to SP1, I had held back for a while, and now Upd8 is out I went for it! The previous error of compiling had gone, great! But upon testing I have found a problem. I download everything fine. I alter a few parameters that get saved into the load memory via the HMI. All ok! But when I download a minor change elsewhere in the program, the DB in the load memory gets reset. Not what I need.... I haven't done anything to the program to change this, the only change is SP1 UPD8. I have read about retentative, but I need 64k of storage, and not sure it even works as I would need it to. I will most doubt need to go back to the original install, but leaves me with slightly unstable software, and no option to use newer CPUs etc... So, just wondering if anyone knows anything that can help! Many thanks