Unload a module with PCSDK

drslump
✭
Hello everybody ,
I'm traying to develop my first app with PC SDK and I would like to know if is it possible delete or "unload" a module from a virtual controller in RobotStudio or real controller in a real robot ( in a similar but opposite way of the command "tasks[0].LoadModuleFromFile("2.mod", RapidLoadMode.Add);" )
thank you
0
Comments
-
Short reply:[quote="PC SDK reference manual"]ABB Robotics IRC5 PC SDK
Delete MethodPC SDK ?-? ABB.Robotics.Controllers.RapidDomain ?-? Module ?-? Delete()
Deletes the module from the memory of the controller.
Declaration Syntax
C# Visual Basic public void Delete() Public Sub DeleteRemarks
Requires mastership of Rapid domain. Requires the LoadRapidProgram grant. [/quote]There is also a deleteprogram function on the task object.John
Developer Center0 -
-
Can I save that module to the same location where I load it from before deleting from the memory of the controller?0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 337 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 831 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings