MoveLDO set multiple output

How can I set multiple outputs with one MovelDo instruction.
I think that using more MoveLDO instructions with the same target is not the best practice.

Thank you for your help

Comments

  • dnilssondnilsson Gothenburg admin
    You could instead use MoveLGO and set a grouped output of signals.

    Best regards,
    Daniel
  • lemster68lemster68 United States ✭✭✭
    Read up on TriggL, TriggJ and associated instructions.
    Lee Justice
  • jmfjmf South Africa
    You can try something like this maybe.
        PROC MoveLDo_Multi(robtarget mvldo1,VAR signaldo mvldosig1,num mvldonum1,VAR signaldo mvldosig2,num mvldonum2,VAR signaldo mvldosig3,num mvldonum3,speeddata mvldospeed,zonedata mvldozone,PERS tooldata mvldotool,\PERS wobjdata mvldowobj)
            MoveLDO mvldo1,mvldospeed,mvldozone,mvldotool,mvldosig1,mvldonum1;
            MoveLDO mvldo1,mvldospeed,mvldozone,mvldotool,mvldosig2,mvldonum2;
            MoveLDO mvldo1,mvldospeed,mvldozone,mvldotool,mvldosig3,mvldonum3;
        ENDPROC
    
        PROC MoveLDo_Test()
            pCurrent:=CRobT();
            MoveLDo_Multi pCurrent,doTT_LeftRotate,1,doTT_RightRotate,1,doAir_1,1,v300,fine,tWG;
            WaitTime 10;
            pCurrent:=Offs(pCurrent,100,100,-500);
            MoveLDo_Multi pCurrent,doTT_LeftRotate,0,doTT_RightRotate,0,doAir_1,0,v300,fine,tWG;
        ENDPROC


  • DenisFRDenisFR FRANCE ✭✭✭
    Hello,
    You can use MoveLSync. This call a procedure when get into finish zone.
Sign In or Register to comment.