RobotStudio event

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

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

    Best regards,
    Daniel
  • Read up on TriggL, TriggJ and associated instructions.
    Lee Justice
  • 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


  • Hello,
    You can use MoveLSync. This call a procedure when get into finish zone.