RobotStudio event

Saving + applying code doesn't actually "save" ?

Hi guys, 

When I press the save icon (top left) and press Apply (Rapid tab, CTRL + SHIFT + S) should the changes be saved?

RobotStudio just crashed and after restarting the editor showed code I was working on a couple of ours ago. Luckily I 
had a more recent backup but if pressing the save button + applying changes doesn't store code I'm really curious how
to save changes :) 

Thanks
p

Comments

  • Hi
    Apply only deploys it to the controller (real or virtual) it doesn't save the file/files
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • In this case the controller will show the state of the code at the last warmstart. During a warmstart the RAPID code in controller memory is written to a file somewhere and loaded back into memory after the restart. Since the RAPID editor works in controller memory those changes are saved to this 'internal' file storage when the controller is restarted. Changes done after your last restart will be lost.
    We are currently working on a new design that will make all the changes be done on file, which will prevent our users from this problem.

    Henrik Berlin
    ABB
  • Hi Henrik,

    Thanks for you reply. With restart do you mean right click in Controller > [System Name] > Restart > ... ? So in order to save changes I need to perform that? 

    p.  
  • I would recommend to regularly create a Pack&Go file. That will save the station and embed it in a package togheter with a controller backup.
    Henrik Berlin
    ABB
  • After a crash, I have had success with just restarting RS. So when RS ask to terminate the currently running controllers I press No! I just open my station again and my RAPID code is preserved.

    When RS crashes, it is only program itself that is terminated. The virtual controller er still running!