UR Features and Safety Planes
Theme
- Define features and safety plane
- Define TCP
for
andif
loop- Play with the ping-pong ball dispensers! 🚀
Equipment
- UR5e robot with PolyScope.
- Robotiq 2-Finger Adaptive Robot Gripper / Hand-E Gripper
- Lab station with two ping-pong ball dispensers and 4 balls 🏓
Before the lab
1.Very important: Complete the Universal Robots Academy
- Setting up a tool
- Safety settings
- Program Flow
- Feature Coordinates
2.Try to get together in a group of 2-4 people.
Report
There is no need to hand in a report after this lab. Signed attendance will suffice as approved lab exercise.
Tasks
- Set up a tool.
- Define a safety plane.
- Define a safety ball around the tool.
Infinite ball pick and place
Initial conditions: Left (1) ball dispenser has 4 balls, right (2) balldispenser has 0 balls.
In this task you will program the robot to move one ping-pong ball at a time
The program flow is the following
1.Pick ball from 1. dispenser
- if ball not detected, halt
2.Place it in 2. dispenser
3.Repeat step 1-2 4 times
4.Pick balls from 2. dispenser
- if ball not detected, halt
5.Place balls in 1. dispenser
6.Repeat step 4-5 4 times
7.Loop for ever
The dispensers will be moved around when you're done. Therefore, make features for each dispenser and define waypoint like "approach dispenser 1" relative to dispenser 1's feature with an origin that makes sense. For more accuracy, consider using a reference when defining a feature.
And finally test your infinite loop! 🌈
Questions
- How will moveL motions differ if relative to your TCP, and ifrelative to flange?
- What will happen if tool weight is entered too high or too low, andwhen?
- Which direction does your TCP Z-axis point?
- What did you use the safety plane for?
- Did you make features for the dispensers?
- Did stuff work after moving the dispensers around? Why?