RobotStudio event

Create new Module using PCSDK

Is there any example how to create a new module on a task using the API?
Do i need to create a local file, upload it to controller and then call LoadModuleFromFile?


Comments



  • Hi apox,
     
    Yes, you are right. You need to create a local file, upload it to the controller and then use LoadModuleFromFile to get it into the RAPID task of the controller.
    By using the LoadModuleFromFile approach PC SDK gets all the syntax check and related functionality directly from the RAPID engine.
     
    There are examples for LoadModuleFromFile and file transfer in the Application manual. Is that sufficient or do you need an example of the whole procedure?
  • apox
    apox ✭✭
    In this case that is sufficient for me, thanks a lot.