RobotStudio event

stopmove

Options
hi,
 

i want to make my robot suddenly move if i press one button (di). i use trap which contains stopmove. And for making the robot moves again, i use trap that contains startmove.

here my program:

 

trap pause_int

stopmove;

endtrap

 

trap resume_int

startmove;

endtrap

 

the program is correct, but i only can make pause and resume only once time. after i pause the robot and resume, the robot can't be paused again.

I think, the problem is because of the PP is still in trap position (not return to main program), so when i press the pause button, the trap can't be executed.

 

Are there any suggestion for my problem?

 

thank you very much

 

best regards

carmila
indah carmila