I keep getting this 50080 Error , something about that cant move to target location or something .
maybe there is something wrong with my robtargets.. not sure
Location of the unloading pallet.
CONST robtarget lava_5_ylhaalla:=[[1578.28,282.49,1864.94],[0.032404,0.466071,0.883973,0.017889],[0,-1,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
Lowest point it will search for the pallet
CONST robtarget lava_5_stop:=[[1578.28,282.49,270.6],[0.03149,0.46519,0.88453,0.0144],[0,-1,-1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
and this is the searching program.
MoveJ [[1578.28,282.49,1864.94],[0.032404,0.466071,0.883973,0.017889],[0,-1,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]],v1000,z50,tool130;
ConfL\On;
IF Suorita_L5_haku=1 THEN
MoveL Offs(lava_5_ylhaalla,L5_x,L5_y,L5_z),v500,fine,tool130;
SearchL\Stop,di_1_anturi_haku\Flanks,lava_5_jatto,Offs(lava_5_stop,L5_x,L5_y,L5_z),v50,tool130;
SetDO do_9_alipaine,0;
PulseDO\PLength:=0.5,do_10_puhallus;
MoveL Offs(lava_5_jatto,L5_x,L5_y,L5_z),v1000,fine,tool130;
MoveL Offs(lava_5_jatto,L5_x,L5_y,L5_z+20),v1000,z15,tool130;
SetDO do_9_alipaine,0;
PulseDO\PLength:=3,do_10_puhallus;
WaitTime 2;
PulseDO\PLength:=3,do_10_puhallus;
MoveL Offs(lava_5_ylhaalla,L5_x,L5_y,0),v500,z10,tool130;
Clear Suorita_L5_haku;
Add L5_z,25;
MoveJ koti,v1000,z50,tool130;
i have tried to change the location , used ConfL/On. and still nothing . im guessing im missing something