Error Routine when Searching
gibsoma
✭
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
0
Comments
-
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,5829513889Best regards,
Anders Spaak
ABB Robotics0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 314 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 794 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings