Automatic loaded modules - behavior after restart
Options
mrva
✭
Hello, I'm wondering how the Automatic loading of modules is supposed to work.
I have a semistatic task and a program module in a Home directory. I configured it as automatic loaded.
Based on information from Help, the loaded version of the module in a task should be in this case updated with the file from Home directory upon a standard warm restart. But the only way (beside manual loading) to update the file is to use Reset RAPID.
Am I missing something? I just want to update the file in Home, and apply new changes upon restart. Now I need to stop the task manually and load modules manually.
Thanks
Jakub
I have a semistatic task and a program module in a Home directory. I configured it as automatic loaded.
Based on information from Help, the loaded version of the module in a task should be in this case updated with the file from Home directory upon a standard warm restart. But the only way (beside manual loading) to update the file is to use Reset RAPID.
Am I missing something? I just want to update the file in Home, and apply new changes upon restart. Now I need to stop the task manually and load modules manually.
Thanks
Jakub
Tagged:
0
Answers
-
Hello,You can have a standard module (unchanged), which load your modified module located in Home.
PERS bool bReqNewModLoad; CONST string sFolderPath:="HOME:/T_PLC/"; ... IF bReqNewModLoad THEN !IDelete Trap initialized in DynamicLoad.mod !This proc must exists in DynamicLoad.mod %"DynResetTrap"%; UnLoad sFolderPath+"DynamicLoad.mod"; StartLoad\Dynamic,sFolderPath+"DynamicLoad.mod",lsDynLoad; WaitLoad lsDynLoad; ErrWrite\I,"Dynamic Loading OK","DynamicLoad.mod was loaded successfully."; bReqNewModLoad:=FALSE; ENDIF ... ERROR IF (ERRNO=ERR_UNKINO) OR (ERRNO=ERR_UNLOAD) THEN SkipWarn; TRYNEXT; ENDIF ...
0 -
Thanks for your answer, though it doesn't answer my question (how the automatic loading modules is supposed to work).
I use the Load Unload instructions for loading modules when production changes, but I was looking for kind of batch-update mechanism for distributing changes in other modules to several robots.
Jakub0
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 736 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings