RobotStudio event

Setting the Robot Speed to 100% always

Hi I am trying to set up the Robot speed to 100% always even if someone tries to change them from the TP. Is there a way to do this from the Main program ?? I want to do this because I have coordination issues between the conveyor and robot. I am using vision and conveyor tracking.  

Comments

  • You can use the instruction SpeedRefresh in a background task.
    This requer the option multimove.
     

    Regards
    Knud Erik Lindberg
    Jorgensen Engineering
  • soup
    soup ✭✭✭
    There could be a way to lock it out on the pendant with user permissions, but unfortunately, the default pendant speed override trumps SpeedRefresh.

    Or lock users into a WHILE loop until it's manually changed:

    WHILE CSpeedOverride()<>100 DO
       ErrWrite "Speed Override Active", "Change speed override back" \RL2:="to 100 percent.";
       Stop;
    ENDWHILE
  • I have used this bit of code in the past to check speed override.

    nSpeedOride:=CSpeedOverride();
    WHILE nSpeedOride <> 100 DO
        TPErase;
        TPWrite "Speed Override is NOT 100%!!!";
        TPWrite "Program will run when override is set to 100%.";
        nSpeedOride:=CSpeedOverride();
        WaitTime 0.25;
    ENDWHILE

    Lee Justice