Assignment_02 Robot Bar Tender Idea

http://blog.robotiq.com/c-model/?gclid=COD0h5ilkq4CFUjd4AodHhfWMA

Interrupt Stuff

PROC longrun()
 CONNECT trap_1 WITH trap_test;
 ISignalDO do2, 1, trap_1;
 
 WHILE TRUE DO
  !Do Stuff
  P1;
  WaitTime 1;
  P2;
 ENDWHILE
ENDPROC
 
TRAP trap_test
 StopMove \Quick;
 ClearPath; !Store Path to continue motion
 SetDO do1, 1;
 WaitTime 2;
 SetDO do1, 0;
 StartMove;
 MoveJ Home,v1000,FINE,MyTool\WObj:=wobj0;
 RETURN;
ENDTRAP
Liza Langer
Jordan Parsons

Categories