Is it possible to trigger saving PERS values from RAPID?
I am new to RAPID programming and am struggling with the safe storing of PERS-values - especially robtargets.
In my application the values are initialized by declaring the robtargets with values
in a module which is used to store all positions that the operator may have to teach during operation.
The teaching process also is based on assigning new values to those PERS-values from rapid code.
The code works fine, but when reading the handbook I stumbled across a passage that states that
the assignment of new values to persistants only takes place in memory while the program is being executed.
As far as I understand, the new values are only saved back to the program on disk when the following happens:
-module is saved to disk
-program is saved
-program is edited
Since none of these events is supposed to be done by the operator, I now am wondering if the values, that are assigned to the persistants during operation (new positions) will be lost in case of a controller reboot/ power loss.
Is there any possibility to trigger the store-procedure for the persistants from RAPID-code?
Is there a best practice to make sure PERS-values are written back to the disk after being manipulated?
I tried the "save"-"startload" instruction for saving the module and loading it back at startup, but since the program is already running when the load is called and the PERS are already loaded, I get an error-message.
Since the program loads the module automatically, I also cannot unload it before using startload.
Thank you so much for your help.
- All Categories
- 5.4K RobotStudio
- 377 UpFeed
- 15 Tutorials
- 12 RobotApps
- 286 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 272 IRC5
- 41 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 731 RAPID Programming
- 15 Wizard Easy Programming
- 108 Collaborative Robots
- 3 Job listings