Set Program Pointer

KSP
✭
I have a problem with setting the Program Pointer to a given routine.
I have 2 tasks defined in the controller (T_ROB1 and T_ROB2) with each task
having it's own program with a number of routines.
What I want, is to start a task at a given routine. So first I set the PP to the routine using the Task.SetProgramPointer() funtion and then I start the task.
This works fine, but when I want to start the second task in the same way I get an error when setting the PP because the other task is already running.
Is there any way to work around this problem ror is it just not possible to set the PP of one task when another task is already running?!
0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 337 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 831 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings