RobotStudio event

SearchL with No Sensor

morrowka1969
morrowka1969 Shelby TWP, MI
Is there a way to use the SearchL command without a sensor.  I would like to monitor servo feedback and use that as the trigger rather than a sensor.

Answers

  • Newman
    Newman Sweden
    I've done something similar before. If you have Multitasking you can create a background task that sets a virtual output. Cross connect that output to a virtual input and use the input in your SearchL.
    -----------------
    David
    Swedish freelance ABB robot programmer
  • morrowka1969
    morrowka1969 Shelby TWP, MI
    Hi David,

    Thanks for the response.  What is the feedback coming from that we set the virtual output with?  Is there a servo feedback variable that I can look at?
  • Newman
    Newman Sweden
    I thought you had an external servo. If you mean you want to monitor a robot axis you could read the current torque of an axis with function GetMotorTorque().
    -----------------
    David
    Swedish freelance ABB robot programmer
  • morrowka1969
    morrowka1969 Shelby TWP, MI
    Perfect!  Thank you for the help!!  I’ll give it a try.