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 (Operation is illegal in current execution state) when setting the PP. I think it is because the other task is running.
Is there any way to work around this problem or is it just not possible to set the PP of one task when another task is already running?!
0
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