Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
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.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
