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.
S4ProgramLoad with IRC5 [WebWare SDK]
I'm having a problem with the S4ProgramLoad command.
The problem occurs with Interlink 4.6 and RobotWare 5.06. In this example I've two programs on the robot, PROGA.PGF and PROGB.PGF. PROGA.PGF points to PROGA.MOD and PROGB.PGF points to PROGB.MOD.
I'm doing the following command from the PC.
helper.S4ProgramLoad(0, "ctrl:(HOME$)/PROGA.PGF", 3, resultId);
Now it works correct. The program PROGA is loaded.
Then we do the following command from the PC.
helper.S4ProgramLoad(0, "ctrl:(HOME$)/PROGB.PGF, 3, resultId);
The program PROGB is now loaded. The problem is that the module PROGA.MOD is not deleted, it still remains in the memory.
If I do the same thing directly from the FlexPendant the PROGA.MOD is automatically deleted.
Is this a correct behaviour?
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings