Error: ivalid program [WebWare SDK]
Hi.
We are setting up a communication software to save S4 robot program.
The software works properly with the virtual controller.
With the physical robot I have a TCPIP connection and I can see the robot state, etc.
The robot program is loaded and checked, the robot is in auto mode and the program itself is not running.
When I try to save the program from the physical robot I have always the error -2103 (invaild program), but we cannot know why.
Call is
o = Helper1.S4ProgramSave(0, "D:
obotprog.prg", 3, l)
Thanks
Comments
-
In the help file, the introduction to S4ProgramSave states "This method saves a RAPID program from a Program Controller to a file system local to the S4". In other words, this method only works with the robot controller file system.
You must save the file to the flash disk or to a mounted drive first, then use S4FileCopy to move it to your PC.
This method works on your VC because the VC uses PC paths rather than robot-style paths for saving files.
RussD38652,6472222222Russell Drown0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings