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 conditions
in RobotStudio
How to activate the trap conditions in robot running time DO signal cutoff means how to stop the robot
0
Answers
-
A little more explanation would be appreciated but here is an example of what I think you are referring to.
VAR intnum sig1int;
PROC main ()
IDelete sig1int;
CONNECT sig1int WITH trap_stop_at_once;
ISignalDO do1, 0, sig1int;
!Do stuff here.
!Do stuff here
ENDPROC
TRAP trap_stop_at_once
stop;
ENDTRAP
0 -
revans said:A little more explanation would be appreciated but here is an example of what I think you are referring to.
VAR intnum sig1int;
PROC main ()
IDelete sig1int;
CONNECT sig1int WITH trap_stop_at_once;
ISignalDO do1, 0, sig1int;
!Do stuff here.
!Do stuff here
ENDPROC
TRAP trap_stop_at_once
stop;
ENDTRAP
Hi ...Use ISleep and IWatch to start and stop trap monitoring.Just Complementing...TRAP trap_stop_at_once ISleep sig1int ! Avoids recursion while executing the trap StopMove; ! Wait for UP Signal WaitUntil do1=1; StartMove; IWatch sig1int ENDTRAPGood Job0
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
