RobotStudio event

Error Routine when Searching

Options

I am trying to use a sensor to search for the edge of my part. I have  error logic written but when I try to simulate failure, it does not work. Where do I need to look to better understand how to write the code and then be able to simulate it?

Thanks

Mike

Comments

  • Anders S
    Options
    Hi Mike,



    To simulate a search instruction in RobotStudio you can setup an event in the EventTable that trigs on a collision and sets the digital input that you use in your search instruction. Do like this:

    Create a CollisionSet with your search tool as ObjectsA and the part you search for as ObjectsB.

    Open the EventTable and add an entry, select Event Type Collision Start and select your CollisonSet.

    Action Type should be IO and Params should be the IO that you use in your search instruction.

    Anders S38597,5829513889
    Best regards,
    Anders Spaak
    ABB Robotics