Professional Documents
Culture Documents
Laboratory Manual: Robotics Lab
Laboratory Manual: Robotics Lab
ROBOTICS LAB
B. Tech - V Semester
(For R-2020 Regulations)
Institute Vision
To evolve into and sustain as a Centre of Excellence in Technological
Education and Research with a holistic approach.
Institute Mission
• To produce high quality engineering graduates with the requisite
theoretical and practical knowledge and social awareness to be able
to contribute effectively to the progress of the society through their
chosen field of endeavor.
• To undertake Research & Development, and extension activities in
the fields of Science and Engineering in areas of relevance for
immediate application as well as for strengthening or establishing
fundamental knowledge.
Department Vision
To become a sought after center for higher learning and application in
the field of Mechanical Engineering
Department Mission
• To produce competent and responsible mechanical engineering
graduates and post graduates by imparting quality and value based
education
• To prepare students for professional career and guide them for
entrepreneurship and higher studies including research
• To motivate the young minds towards services beneficial to the
society through their academic and professional activities
Program Specific Objectives (PSOs): The student must attain the knowledge and skills to
PSO-1 Design, analyse and optimize mechanical systems along with control mechanisms
ROBOTICS LAB
Course code: 20ME1205 L T P C
0 0 3 1.5
Course Outcomes: At the end of the course the student will be able to
CO1: demonstrate various components, degrees of freedom and coordinate systems of serial and
parallel robots (L3)
CO2: demonstrate various operations using teach pendant and simulate the robot motion using
ROBLOX (L3)
CO3: apply various functions for writing program for pick and place operation on vertical and
SCARA Robot (L3)
CO4: apply various functions for writing program for drawing a circle and looping on SCARA
robot (L3)
CO5: use various commands to develop programs for air inspection, deburring and assembly
operations on SCARA robot, and for pocket milling operations on parallel robots (L3)
LIST OF EXPERIMENTS
Note: Any twelve of the following experiments are to be performed
1. Study of Robot components and Degrees of Freedom of serial and parallel robots
2. Robot jogging and understanding coordinate systems using teach pendant
3. Teaching points to the robot using teach pendant
4. Programming to bring robot to home position
5. Programming for pick and place activities by Articulated robot
6. Programming for pick and place program for SCARA robot
7. Programming for drawing circle on SCARA robot
8. Programming to demonstrate loop commands on SCARA robot
9. Programming to demonstrate loop commands on Articulated robot
10. Programming to write a function/subprogram
11. Program for pocket milling on 2-DoF parallel kinematic machine
12. Program for rectangular contour on 3-DoF parallel kinematic machine
COs PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
CO-1 3 2 2 1
CO-2 3 2 2 1
CO-3 3 2 2 1
CO-4 3 2 2 1
CO-5 3 2 2 1
1: Slight (Low), 2: Moderate (Medium), 3: Substantial (High), put -: No Correlation
CO-1 3
CO-2 3
CO-3 3
CO-4 3
CO-5 3
Internal Exam – 1
Programming for Internal Lab
drawing circle on Write a 2 Observation
7 SCARA robot CO – 4 program for Experiment Record
drawing circle Submission
and execute it (Cycle 2)/
on SCARA (Week:7/12)
robot
EXPERIMENT 01
Aim: To study the robot components and understand the degrees of freedom of serial and parallel
robots.
Function Line Diagram Representation of Robot Arms:
The 4 basic components of a robot system are
a) Manipulator
b) Sensory Devices
c) Controller
d) Power Conversion Unit
Manipulator:
• The manipulator consists of a series of rigid members called lines connected by joints
• Every joint is connected by two links. One link is called ‘input link’ and the other is called
‘output link’
• A joint is that, which provide the relative motion to the two parts of a body or link
• The link can be connected to form a serial chain or parallel chain. Majority of industrial
manipulators are serial chains
• Each joint in the robot is provided with one degree of freedom (motion along one direction)
• The purpose of the joint is to provide a controlled relative movement between the input
and output links.
• The major links are set of joint link pairs that grossly position the manipulator in space.
Usually they consist of three sets (Counting from the base of the robot)
• The minor linkages are those joints and links associated with the fine positioning of the
end effector
• The end effector may be a total that does a function such as wielding, drilling or it may be
some type of gripper to hold objects.
The Manipulator is composed of 3 components:
1) The major linkages
2) The minor linkages (wrist components)
3) The end effector (Gripper or Tool)
Sensory Devices:
• For proper control of the manipulator, we must know the state of each joint i.e., its position,
velocity and acceleration. To achieve this, a sensory element must be incorporated into the
joint link pair.
• Other type of sensors may also be included in a robot system. Example: Vision system etc.
• This sensor along with its associated electronics and control is used to locate a particular
object in its field of view.
• Once found, it relays the co-ordinate of the object can position its gripper over the object
in order to pick it up.
Controller:
The controller provides the intelligence to cause manipulator to perform a specified task.
Essentially, the controller consists of:
• A memory to store data defining the positions of where the arm to move and other info
related to proper sequencing of system.
• A sequencer that interprets the data stored in memory and then utilizes the data inference
with other components of the controller.
• A computational unit that provides the necessary computations to aid the sequences.
• An interface to obtain the sensory data such as the position of each joint or information
from the vision system into the sequences.
• An interface to transfer sequence information to the power conversion unit so that
actuations can eventually cause the joints to move in derived manner.
• Some set of control unit for the operation to use in order to demonstrate positions and
control the robot (teach pendant)
Power Conversion Unit:
• The power conversion unit contains the components necessary to take a signal from the
sequencer (either digital or analog) and convert into a meaningful power level so that the
actuators can move
Degree of Freedom:
• The number of independent motions or movements that an object can perform in 3D space
is known as ‘DOM’. A rigid body free to move in space has 6 degrees of freedom (3
translations & 3 rotations).
• Industrial robots are designed to perform productive work such as pick and place, welding
and assembly etc.
• The work is accomplished by enabling the robot to move its body, arm and wrist through
a series of motion and positions.
• The individual joint motions associated with the performance of a task are referred to by
the term degree of freedom and a typical industrial robot is equipped with 4 to 6 DOF.
Articulated or revolute or jointed Configurations:
• The articulated arm is the same as the human arm. This type of an arm is often referred to
as an anthropomorphic manipulator.
Gayatri Vidya Parishad College of Engineering (Autonomous)
Robotics Lab (20ME1205)
• This type arm consists of 2 straight links, corresponding to the human fore arm and upper
arm with two rotary joints corresponding to the elbow and shoulder joints. These two links
are mounted on a vertical rotary table corresponding to the human wrist joint.
• The anthropomorphic structure is the most dexterous one, because all the joints are
revolute.
• The Work volume of this configuration is spherical and with proper arrangement of joint
and links the arm end point can sweep a full spherical shape.
• The positioning accuracy varies with arm end point location in work piece.
• The range of industrial applications of this arm is wide.
• The SCARA configuration has a vertical major axis rotation such that gravitational load,
Coriolis and centrifugal force do not stress the structure as much as they would if the axis
were horizontal, this advantage is very important at high speeds and high precision.
• This configuration provides high stiffness to the arm in vertical direction and high compliance
in the horizontal plane, thus making SCARA congenial for many assemblies’ tasks.
EXPERIMENT 02
Aim: To jog the robot (SCARA or Articulated) and understand the coordinate system using teach
pendant.
Teach pendant:
The teach pendant is the main user interface for the robots. It is a handheld device with a color
touchscreen, a custom keypad, and various safety devices such as a “Deadman” switch, emergency
stop, and enable switch that can be swapped out with a key switch for security.
⑩ [JOG] operation key: Move the robot according to jog mode. And, input the numerical value.
⑪ [SERVO] key: Press this key with holding enable switch lightly, then servo power will turn
on.
⑫ [MONITOR] key: It becomes monitor mode and display the monitor menu.
⑬ [JOG] key: It becomes jog mode and display the jog operation.
⑭ [HAND] key: It becomes hand mode and display the hand operation.
⑮ [CHARCTER] key: Switch the function of the number/character keys between number input
and character (letter or some special character) input when both inputs are available on the
T/B.
⑯ [RESET] key: This resets the error. The program reset will execute, if this key and the [EXE]
key are pressed.
⑰ [ ↑] [ ↓] [ ←] [ →] key: Moves the cursor each direction.
⑱ [CLEAR] key: Erase a text on the cursor position when number/character input is available.
⑲ [EXE] key: Input operation is fixed. And, while pressing this key, the robot moves when direct
mode.
⑳ Number/character key: Input the number or character when the number/character input is
available.
Procedure to jog the robot using teach pendant:
1) Before Jogging the Robot first, we have to switch on servo. A green light will be on
2) Now enable the switch at the back side of teach pendent. A yellow light will on. Now, hold
the yellow button and turn to right side or left side for jogging It is to be hold continuously
for jogging. If you not hold jogging will be stopped.
3) Now the jogging can be done in XYZ (world co-ordinate) or in joint coordinate system.
4) Now the jogging can be done in XYZ (world co-ordinate) or in joint coordinate system.
Understanding coordinate system using teach pendant
• Press Jog then press F1. It will shift to XYZ (world co-ordinate) or in joint co-ordinate
system. If we press X the Robot moves in X-direction. By Pressing Y, Robot moves in Y
direction Similarly if we press the gripper moves in Z-direction.
• Now we will close the XYZ co-ordinate system and we will move to Joint co-ordinate
system. For closing press FUNCTION then press F4 to close. Now press F1, display will
be changed to joint coordinate system.
• Now in joint mode If we press X, then joint J1 will moves. If we press Y, the joint J2 will
move. Similarly, if we press Z joint J3 will move. If we press ‘A’ the gripper will rotate.
To close this press FUNCTION after that press F4 to close.
Result:
Successfully jogged the SCARA or Articulated robot.
EXPERIMENT 03
Aim: To teach a point to the robot (SCARA or Articulated) using teach pendant box
Procedure:
1) Switch ‘on’ the main of Articulated Robot
2) Unlock the emergency stop on teach pendant and key box
3) Hold the teach pendant box in hand and enable switch should be in ‘on’ position
4) Keep the dead man switch to the right or left to make the robot to move
5) Switch ‘on’ the servo button to ‘on’ the servo
Procedure to Teach a Point:
1) Press the function key
2) Select File/Edit press enter key in teach pendant
3) Open a New File/ Edit File the Existing File
4) Open the File Name UST, press exe. Button.
5) Now we have to teach 2 points to the robot
Teaching Point – 1:
1) Press jog button to enter into co-ordinate system
2) By giving the joint configuration to the robot or take the robot gripper desired position
3) Close the jog mode
4) Go to mov P1 and press ‘f4’ to teach the point
5) Press ‘F1’ to confirm.
Teaching Point – 2:
1) Repeat the step ‘1,2 & 3’ in teaching point-1
2) Go to mov P2 and press ‘F4’ to teach the point
3) Press ‘F1’ to confirm.
Working on Teached Points:
1) Press Function Key
2) Press ‘f1’ to perform the operation
3) Go to mov ‘p1’ and press ‘f1’ to forward the gripper to teach point-1 same way, go to
point-2
Result:
Teaching the points to the robot (SCARA or Articulated) successfully completed.
EXPERIMENT 04
Aim: To write and execute program to bring robot (SCARA or Articulated) to home position
using teach pendant.
Procedure:
1) Switch ‘on’ the main of Articulated Robot
2) Unlock the emergency switch ‘on’ teach pendent
3) Create a new file and enter the program and create folder point-1 as mov-P1 and save.
Create another point-2 as mov P2 and close
4) Jog the robot to set the point-1 in workspace by moving the joints and teach and save
5) Again, jog the robot then close and save the program
6) Now press the function button and select the point-1 mov1 and press- forward ‘F1’ button
7) Forward to move robot at their initial coordinate position
8) The select the home position and press ‘F1’ button and observe the robot is moved to
initial home position
Program:
Tool 1
Mov P1 'HOME
End
Observation:
P1= (186.660, 105.000, 453.880,0.000,0.010,0.000) (7,0)
Precautions:
• Don’t hit the robot to any other element in workspace
• Don’t move the robot to its extreme position
Result:
Program is successfully executed to bring robots home position.
EXPERIMENT 05
Aim: To write and execute the program for pick and place of the given object.
Apparatus:
1. Teach pendant
2. Cylindrical shaped aluminum object
Procedure:
1) Switch ‘on’ the main of Articulated Robot
2) Unlock the emergency switch ‘on’ teach pendant
3) Create a new file and enter the program as pick and place
4) Then click the mov-p home and mov-p source give delay 1.0
5) Click on forward button and press button to move the robot continuously
6) Click delay switch just once to move the robot initially
7) Now open the gripper and pick the object by closing the gripper
8) After placing the object in another point send back robot arm to its initial stage
9) Before that note the values in teach pendent in observation
Programming for Pick and Place within the pallet:
1) Mov PHOME ' HOME
2) Mov PSOURCE 'APPROACH
3) Dly 1.0 'WAIT FoR 1 SECOND
4) HOpen 1 'GRIPPER Open
5) Dly 1.0 'WAIT FoR 1 SECOND
6) Mvs PPICK 'PICKING POSITION
7) Dly 1.0 'WAIT FoR 1 SECOND
8) HClose 1 ' GRIPPER Close
9) Dly 1.0 'WAIT FoR 1 SECOND
10) Mvs PSOURCE ' APPROACH POS 1
11) Mov PDEST 'APPROACH 2
12) Mvs PRELEACE ' PLACING POSITION
EXPERIMENT 06
Aim: To Write and execute the program for pick and place of the given object.
Apparatus:
1. Teach pendant
2. Cylindrical shaped aluminum object
Procedure:
1) Switch ‘on’ the main of Articulated Robot
2) Unlock the emergency switch ‘on’ teach pendant
3) Create a new file and enter the program as pick and place
4) Then click the mov-p home and mov-p source give delay 1.0
5) Click on forward button and press button to move the robot continuously
6) Click delay switch just once to move the robot initially
7) Now open the gripper and pick the object by closing the gripper
8) After placing the object in another point send back robot arm to its initial stage
9) Before that note the values in teach pendent in observation
Programming for Pick and Place within the pallet:
1) Mov PHOME ' HOME
2) Mov PSOURCE 'APPROACH
3) Dly 1.0 'WAIT FoR 1 SECOND
4) HOpen 1 'GRIPPER Open
5) Dly 1.0 'WAIT FoR 1 SECOND
6) Mvs PPICK 'PICKING POSITION
7) Dly 1.0 'WAIT FoR 1 SECOND
8) HClose 1 ' GRIPPER Close
9) Dly 1.0 'WAIT FoR 1 SECOND
10) Mvs PSOURCE ' APPROACH POS 1
11) Mov PDEST 'APPROACH 2
12) Mvs PRELEACE ' PLACING POSITION
EXPERIMENT 07
EXPERIMENT 08
EXPERIMENT 9
EXPERIMENT 10
1) Explain different robot components and DoF for SCARA and Articulated Robot.
2) Demonstrate how to Jog a robot using various coordinate systems
3) How to teach points to the robot using teach pendent, demonstrate
4) Write a program to bring robot to home position and execute it.
5) Write program for pick and place operation and execute it on Articulated robot?
6) Write a program for pick and place operation and execute it on SCARA robot.
7) Write a program for drawing circle and execute it on SCARA robot
8) Write a program to demonstrate loop commands on SCARA robot
9) Write a program to demonstrate loop commands on Articulated robot.
10) How do you call a function in Robot programming?
11) Write a program for pocket milling and demonstrate it on 2-DoF parallel kinematic
machine.
12) Write a program for rectangular contour and demonstrate it on 3-DoF parallel
kinematic machine.
EXPERIMENT 11
Main Program:
G90 (Absolute command -origin is same for all commands)
G01 X0 Y0 F## (G01 for linear interpolation/X horizontal axis distance, X10 means move 10mm left from central
axis, Y Vertical Distance, Y-10 means move 10 mm downward)
Precautions:
• Give the points correctly before operation
• Don’t move the PKM to its extreme position
• Keep speed constant
Result:
Program to perform pocket milling on 2-dof parallel kinematic machine is successfully
executed.
EXPERIMENT 12
Main Program:
Trajectory Description:
G01 X0 Y0 Z0 F#70 (G01 for linear interpolation/the movement of the tool to the start point of the milling
G01 Z-0.1 F50 (lower the tool to the desired cutting depth)
Precautions:
• Give the points correctly before operation
• Don’t move the PKM to its extreme position
• Keep speed constant
Result:
Program to perform rectangular contour milling on 3-dof parallel kinematic machine is
successfully executed.