S4ProgramLoad doesn't work [WebWare SDK]
Hi Guys
I'm Trying to load a program in the S4C from my PC using the S4ProgramLoad, when I try to load it, simply nothing happens, not even an error message. I think it might be the way I've written the file path, since the robot is connected to the pc via TCP/IP server, I just write
I'm Trying to load a program in the S4C from my PC using the S4ProgramLoad, when I try to load it, simply nothing happens, not even an error message. I think it might be the way I've written the file path, since the robot is connected to the pc via TCP/IP server, I just write
AxHelper1.S4ProgramLoad(0,"ram1disk:/ABC.PRG",3,resultid)
Another thing, does the robot have to be in full auto mode to be able to load programs from the PC using the S4ProgramLoad method?
Thanks,
Another thing, does the robot have to be in full auto mode to be able to load programs from the PC using the S4ProgramLoad method?
Thanks,
0
Comments
-
I assume the file ABC.PRG is at the root of ramdisktry ram1disk:ABC.PRG or ram1disk:ABC.PRG or ABC.prgor if you put it in a directory MyDirABC.PRGI found an old sample where i used it as
"DummyDummy.mod"
Look also at the status returned for S4ProgramLoadtry with the robot in different mode, it is possible that we need to be in automatic mode, because in manual mode it is possible to modifiy the programJCJC0 -
Thanks a lot, it worked in automatic modeNow I have just to try to start the program not with the ActiveX control if not with my own designed buttons.I will report my advances.Thank you very much again0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings