Trap trigger condition
Hi everyone,
I have question concerning the trap function. What append if the conditions that trigger a Trap recame true when the trap is running ?
For example I have an object arriving on the A sensor, at this point my trap will activate and a cylinder push the object to the B sensor. If I have the retry the move the object will return in A at this point what will happen ?
Il need to make 3 retry and leave the object at the A position if it can't reach the B
Thanks !
I have question concerning the trap function. What append if the conditions that trigger a Trap recame true when the trap is running ?
For example I have an object arriving on the A sensor, at this point my trap will activate and a cylinder push the object to the B sensor. If I have the retry the move the object will return in A at this point what will happen ?
Il need to make 3 retry and leave the object at the A position if it can't reach the B
Thanks !
0
Comments
-
Typically, in a trap routine you would use ISleep to disable the interrupt while you deal with the trap condition. Otherwise, you could get into the situation where the interrupt queue becomes full, causing a robot error.Lee Justice0
-
Thanks I did'nt know I can use Isleep inside the trap itself
0 -
You are welcome.
Lee Justice0
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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings