![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/robotstudio-webinar-arc-welding.jpg)
SetProgramPointer at specified row not working
![Jerome](https://secure.gravatar.com/avatar/327d1a5b3aae81fd1748eb625df60cbd/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
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
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings