Set ProgramPointer to non existing routine problem
chaos
✭
Dear All,
I tested the new release RW 5.11.02 with my HMIs and the following problem occurs.
I set the program pointer to a procedure which don't exist anymore with the following code.
try
{
aTask = AController.Rapid.GetTask("T_ROB1");
aTask.SetProgramPointer("Clean_Tool", "Teach_Clean_Tool");
Rapid RapidHMI = AController.Rapid;
RapidHMI.Start(RegainMode.Clear, ExecutionMode.Continuous,
ExecutionCycle.Once);
}
catch
(System.Exception ex)
{
ABB.Robotics.Diagnostics.Debug.WriteLine(ex.Message);
System.Diagnostics.Debug.WriteLine(ex.Message);
GTPUMessageBox.Show(this.Parent, null, "Couldn't set PP to the needed
routine", System.Windows.Forms.MessageBoxIcon.Hand,
System.Windows.Forms.MessageBoxButtons.OK);
}
Till the last revision I got an error message through the catch method. With the actual
revision the robot start the program from the current program pointer position and no error occurs, e.g. PP is set to main and I try to call the Teach_Clean_Tool procedure and this procedure doesn't exist - the robot continues with the main routine.
Do somebody knows about this problem respectively how I can handle it?
Thank you
BR
I tested the new release RW 5.11.02 with my HMIs and the following problem occurs.
I set the program pointer to a procedure which don't exist anymore with the following code.
try
{
aTask = AController.Rapid.GetTask("T_ROB1");
aTask.SetProgramPointer("Clean_Tool", "Teach_Clean_Tool");
Rapid RapidHMI = AController.Rapid;
RapidHMI.Start(RegainMode.Clear, ExecutionMode.Continuous,
ExecutionCycle.Once);
}
catch
(System.Exception ex)
{
ABB.Robotics.Diagnostics.Debug.WriteLine(ex.Message);
System.Diagnostics.Debug.WriteLine(ex.Message);
GTPUMessageBox.Show(this.Parent, null, "Couldn't set PP to the needed
routine", System.Windows.Forms.MessageBoxIcon.Hand,
System.Windows.Forms.MessageBoxButtons.OK);
}
Till the last revision I got an error message through the catch method. With the actual
revision the robot start the program from the current program pointer position and no error occurs, e.g. PP is set to main and I try to call the Teach_Clean_Tool procedure and this procedure doesn't exist - the robot continues with the main routine.
Do somebody knows about this problem respectively how I can handle it?
Thank you
BR
0
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