Nested interrupts
Comments
-
Hello,Interrupts are queued in the interrupt queue and processed one after the other.That means, as long as a TRAP routine is processed, the other routines in the queue remain untouched. Only when the TRAP routine is finished, the next interrupt routine is processed.For this reason, you should avoid wait-instructions or long-running trap routines, since these may also interfere with the normal program flow.
Furthermore, the size of the interrupt queue is limited, so that the error message "Interrupt queue full" appears, if always new interrupts occur but the queue is not emptied.Based on the above summary, I would say nested interrupts are not possible in RAPID. Maybe you should use multitasking.1 -
Thank you for your answer! I think you are right; furthermore, I've noticed that if a trap routine is running and another interrupt occurs in the meanwhile, at the end of the trap execution the trap related to the new interrupt will not be executed.0
-
Hello,there seems to be something wrong with your program because new interrupts are always queued, and as soon as a TRAP routine is finished the next TRAP routine should be executed.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)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings