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.6K RobotStudio
 - 401 UpFeed
 - 21 Tutorials
 - 15 RobotApps
 - 306 PowerPacs
 - 407 RobotStudio S4
 - 1.8K Developer Tools
 - 250 ScreenMaker
 - 2.9K Robot Controller
 - 363 IRC5
 - 81 OmniCore
 - 8 RCS (Realistic Controller Simulation)
 - 853 RAPID Programming
 - 31 AppStudio
 - 4 RobotStudio AR Viewer
 - 19 Wizard Easy Programming
 - 110 Collaborative Robots
 - 5 Job listings
 
