Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Save / Erase / Load RAPID task module via RWS

Hi, I'm trying to use an app on Omnicore teachpendant that can handle the work with modules.

I created simple app using AppMaker, and I'm trying to find a solution in javascript to Load / Save / Erase program module loaded in a task. As far as I got, I can work with any data from the module, but I cannot work with the module as a whole.

Is there a way to do it via RWS?

Thanks
Kuba
Tagged:

Comments

  • The idea of ​​my code is to load a module that is in a programs folder within the HOME folder of my controller, to the task of my robot T_ROB1. But I'm having trouble knowing which method to use to load these modules, I would need something like loadModule, but I haven't found a solution. Would anyone have an idea?

    const modulePath = `HOME:/PROGRAMAS${programName}.mod`;

          await RWS.Rapid.loadModule("T_ROB1", modulePath);