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
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.
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?
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!