SetProgramPointer at specified row not working
Jerome
✭
Hi, can you tell me how to use the SetProgramPointer sub to send the PP to a specified row of a routine. Here is my VB.Net code:
aTask.SetProgramPointer(ppLastPPPosition.Module, ppLastPPPosition.Routine)
System.Threading.Thread.CurrentThread.Sleep(1000) '1000ms = 1sec
aTask.SetProgramPointer(ppLastPPPosition.Module, ppLastPPPosition.Start.Row)
I'm able to get the PP in the routine but the PP is not going to the specified row (third instruction above).
What should I do?
Thanks
Jerome
aTask.SetProgramPointer(ppLastPPPosition.Module, ppLastPPPosition.Routine)
System.Threading.Thread.CurrentThread.Sleep(1000) '1000ms = 1sec
aTask.SetProgramPointer(ppLastPPPosition.Module, ppLastPPPosition.Start.Row)
I'm able to get the PP in the routine but the PP is not going to the specified row (third instruction above).
What should I do?
Thanks
Jerome
0
Comments
-
Can someone at ABB look at this problem Please!Thanks,Jerome0
-
Are you using a row number relative to the Module?
Carlos Martinez
ABB0 -
Yes I am. I'm moving the program pointer in the routine successfully but when I try to Set it to a specified row it doesn't work. ppLastPPPosition.Start.Row is a ProgramPointer data type that return a num with the row.I'm using RAB 5.12 with a RW5.12_02.01.2043 in the IRC5.Jerome0
-
Can you create a simple test (C# + RAPID) ? This will help to analyze what is now working properly.ThanksCarlos Martinez
ABB0
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