Conveyor tracking, DropWObj problem!
PROC ModDrop()
CONNECT gateclosed WITH waitgate;
Begining:
flag1 := FALSE;
DropWObj wobjConv1;
ConfLOff;
ActUnit CNV1;
WaitWObj wobjConv1RelDist:=0.0MaxTime:=3.0 Timeflag:=flag1;
IF flag1=TRUE THEN
SetDO c1DropWObj, 1;
SetDO c1RemAllPObj, 1;
WaitTime 0.1;
SetDO c1DropWObj, 0;
SetDO c1RemAllPObj, 0;
GOTO Begining;
ELSE
ENDIF
MoveL Offs(PickMag,0,0,45), speed1, Z50, toolBotttlesWObj:=wobj0;
MoveL MagIntermid, speed1, Z50, toolBotttlesWObj:=wobj0;
MoveL Offs(Place,7,-15,70), speed1, Z50, toolBotttlesWObj:=wobjConv1;
TriggIO Vac, 0.05TimeDOp:=Do_5, 0;
TriggL Place, speed1, Vac, Z5,toolBotttlesWObj:=wobjConv1;
MoveL Offs(Place,7,30,40), speed1, Z50, toolBotttlesWObj:=wobjConv1;
TriggCheckIO checkgate, 0, DI_5, EQ, 1 StopMove, gateclosed;
TriggL MagIntermid, speed1, checkgate, Z50, toolBotttlesWObj:=wobj0;
MoveL PickMagOff, speed1, Z50, toolBotttlesWObj:=wobj0;
MoveLDO PickMag, speed1, FINE, toolBotttlesWObj:=wobj0,DO_5,1;
DropWObj wobjConv1;
IDelete gateclosed;
ENDPROC
Please help!! Olivier C2011-01-20 11:59:13
Comments
-
Hi,<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
The problem is now fixed! And the robot work very well at 60 objects by minute.
When the pointer was staying for a long time at the command WaitWObj wobjConv1; it was because an object was already connected. Can someone explain me why (randomly), the DropWObj wobjConv1; command doesn?_Tt drop the object connected? The solution (temporary I guest?) I fond is replacing the DropWObj wobjConv1; command by:
WHILE c1Connected=1 DO
DropWObj wobjConv1;
SetDO c1DropWObj, 1;
WaitTime 0.001;
SetDO c1DropWObj, 0;
ENDWHILE
0 -
Please get in touch with your local ABB Robotics Service representative that can forward your issue to our tech support.
Henrik Berlin
ABB0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings