The RAPID program name is not set
avicohen
✭
and get an error : The RAPID program name is not set<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Is there a way to set RAPID program name ?
Dose
setting a program pointer is not sufficient ?
Mastership
master = null;
string
filePath = GetABBRobot().FileSystem.RemoteDirectory;
bool
result = false;
try
{
Task
controllerTask = GetABBRobot().Rapid.GetTask("T_ROB1");
using
(master = Mastership.Request(GetABBRobot().Rapid))
{
controllerTask.SetProgramPointer("OPTITILE_PATH", procedureName);
controllerTask.SaveProgramToFile(filePath);
}
}
0
Comments
-
I think it's due to that there is no name (<no program>) of the rapid program. If you connect to the robot using the online tab of RS and "save program as..." then it will set the program name. But in my opinion saveProgramToFile is basically the same but at least it's worth a try.Per Svensson
Robotics and Vision Specialist
Consat Engineering0 -
Thanks Per for the replay.I am not familar with connect to the robot using the online tab of RSdo you have an example for connecting with it ?Is there simple way to write and read a program from robot ?regards,Avi Cohen0 -
Basically what you have to do when connecting to a real controller is- plug in the network cable (front of the robot controller). But if you allready have the controller connect thru the factory network port(inside the controller) then instead of using one click connect described bellow you select add controller and select it in the list.- Select Online tab in RS- Click on connect to controller (one click connect)- Request write access (if robot in manual mode you have to confirm on the flexpendant)- Right click on T_ROB1 (or the task you want to save) and select save program as..- Give it a name and press save.- Release write accessThat's itPer Svensson
Robotics and Vision Specialist
Consat Engineering0 -
Thanks perI try to do it from my application using PC SDKWhat i fide out that saving module work okSo i uesed itAvi0
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)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings