Professional Documents
Culture Documents
Lab 1: KUKA KR 125 Robot Pick and Place Two sessions, w/c 1st November 2004
Name:
Laboratory Group:
Table of Contents
3. KUKA Startup and Shutdown Procedures ___________________________________ 5 4. Task__________________________________________________________________ 7 5. User level commands for the KR 3 _________________________________________ 7 6. Sample program for Session 1____________________________________________ 10 7. Grading and Laboratory Report __________________________________________ 11
19. Always turn off gas valves after using the MIG welding equipment. 20. WHEN IN DOUBT, STOP AND ASK! 21. Read and understand specific safety rules as posted. HOUSEKEEPING 1. Always clean up after yourself. Clean tables, equipment, and sweep floor in your area. 2. Return tools used to their proper place. 3. Shut off all equipment before leaving lab. 4. When you leave the lab, be certain that all windows and doors are closed and locked. Turn off the lights. Finally, RESPECT THE ROBOTS WORK ENVELOPE!
2. Lab Overview
2.1 Robot type KR 125 - Kuka Robot 2.2 Programming User level Programming on KRC 125 Pendant 2.3 Additional Equipment 1. Plastic Bottles 2. Prong tool 3. Fixturing 2.4 Objectives 1. To familiarize the student with the use of robot systems for pick and place operations. 2. To familiarize the student with the programming a robot system using a control pendant. 3. To familiarize the student with the importance of cycle times of a manufacturing cell and the effect of robot toolpaths upon cycle times. 4. To familiarize the student with the benefits and shortcomings of 6-axis design robots. 5. To familiarize the student with the KR 3 robot for a typical industrial application. 2.5 References 1. Basic commands for this lab. 2. Related books and periodicals. 2.6 Laboratory prerequisites 1. Read this lab handout THOROUGHLY. 2.7 Lab duration 1. This laboratory will last for two one-hour sessions.
4. Task
During this laboratory you will create a program that will perform a pick-and-place operation commonly found in industry. The program should be capable of picking up bottles from a conveyor belt and placing them in a pallet box for subsequent delivery. This is very similar to a task performed within the soft drinks industry. Figure 1 illustrates the equipment you will have at your disposal. The tool on the end of the robot is a prong tool that slides underneath the lip of a drinks bottle. Moving the tool in a vertical direction will therefore pick up the bottle. You will have to pick up six bottles (one at a time) from the end of a conveyor belt and place them in a 2 * 3 array on the delivery box, ready for shipping.
tool robot
bottles
delivery pallet
Each lab group will have their program execution time recorded and the group with the best cycle time will be eligible for a bonus to their lab 1 grade of up to 10%. However, your grade for this lab cannot exceed 100%. A time penalty of 30 seconds will be charged for any bottle that is incorrectly picked/placed. A 30 second penalty will also be incurred if any manual assistance is required during the execution of your program.
(point-to-point), LIN (linear), and CIRC (circular), and these are explained in detail in Table 1 and Figure 2. PTP motion is the quickest way of moving the robot tool from one position to another. The robot has six rotational axes, each of which has a predetermined maximum velocity. When specifying the velocity of a PTP command, a percentage of this maximum is used e.g. 50%. The movements of the axes are synchronized in such a way that all of the axes start and stop moving at the same time. This means that only the axis with the longest trajectory is moved at the programmed velocity. All other axes move at a velocity that allows them to reach the end point of their motion at the same moment. In the case of linear motion, the robot calculates a straight line from the current position to the desired position. Velocities are specified in m/s. Each joint of the robot will rotate at a different velocity to ensure that a straight line is maintained. CIRC allows the robot to travel along an arc. Velocities are specified in m/s, and a start and end point plus a center point of the arc are also required. It is important to note that only the LIN and CIRC commands give you true control over the path that the robot moves. However, the disadvantage is that they are much slower than the PTP command. It is up to you when you use PTP or LIN moves in this lab, but you must bear in mind that although you want to keep cycle time small (which would favour PTP moves), you also need to exert control over the path the robot moves for safety reasons (which would favour LIN moves). The maximum speed you can use when using the PTP motion command is 100%, and the maximum speed when using the linear command is 3m/s.
CIRC path point 2
Absolute PTP This motion moves from the current position to the specified position by moving all axes, with only the leading axis moving at the programmed velocity. All axes start and stop moving at the same time. The exact path cannot be predicted because it is determined by the controller. Example: PTP P1 CONT VEL=100% PDAT1
Relative PTP_REL This moves axes relative to the current position in synchronous motion. Example: PTP_REL {A1 30} The robot moves the A1 axis 30 degrees in the positive direction.
P1 is the end point of the move. CONT means that the robot moves approximately to this position before proceeding to the next point. This is left blank for exact positioning. VEL sets the axis velocity as a percentage of the maximum for each axis. 100% will be the maximum for this lab. PDAT1 is the data set in which the motion parameters will be saved. LIN This is a linear move between a start and end point. This moves the TCP (Tool center point) or workpiece reference point so that is travels in a straight line. Example: LIN P1 CONT VEL=.5 m/s CPDAT1 Tool[1] Base[0] If the linear velocity cause the axis velocity to exceed its maximum, the robot will not travel at its programmed speed of present an error message. CIRC This is an arc move between a current position and an end point. Example: CIRC P1 P2 CONT VEL=.5m/s CPDATA1 P1 is the center of the arc. P2 is the end point of the arc. CIRC_REL This is an arc move between a current position and an end point. Example: CIRC {X20} {X10, Z20} CONT VEL=.5m/s CPDATA1 This moves along a 20 mm arc in the XZ plane. Ending at the position 20 mm in the Z and 10mm in the X from the beginning position.
LIN_REL This moves the TCP in a straight line relative to the current point. Example: LIN_REL {Z 10} The robot moves up 10 mm.
Logic Commands WAIT This command waits the specified amount of time before executing the next line. Example: WAIT Time= 1.25 sec
Table 1: Basic motion commands
10
Line 1 2 3 4 5 6 7 8 9
Code PTP HOME Vel= 100 % DEFAULT PTP app_pick Vel= 100 % PDAT1 Tool[1] Base[0] LIN pick Vel= 1 m/s CPDAT1 Tool[1] Base[0] LIN pick_dep Vel= 1 m/s CPDAT2 Tool[1] Base[0] PTP main_app Vel= 100 % PDAT2 Tool[1] Base[0] PTP drop1_app Vel= 100 % PDAT2 Tool[1] Base[0] LIN drop1 Vel= 1 m/s CPDAT2 Tool[1] Base[0] LIN drop1_dep Vel= 1 m/s CPDAT2 Tool[1] Base[0] PTP main_app Vel= 100 % PDAT2 Tool[1] Base[0]
Description Move to HOME position Move to app_pick position at 100% velocity Move linearly to pick position at 1m/s Move linearly to pick_dep position at 1m/s Move to main_app position at 100% velocity Move to drop1_app position at 100% velocity Move linearly to drop1 position at 1m/s Move linearly to drop1_app position at 1m/s Move to main_app position at 100% velocity and continue to pick up next bottle
11
were your difficulties, would you use a different approach if you had to do it again, how do you think what you did relates to industry, what have you learned etc (25%) Conclusion should follow naturally from the discussion; include possible suggestions for improving/altering the lab. (10%)
All reports should be handed directly to the TAs (WB117) by 5pm on Monday 15th November 2004.
12