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 ENDTRAP
Good Job0
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
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 801 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings