Professional Documents
Culture Documents
Robo M6 Ktunotes - in
Robo M6 Ktunotes - in
Robot Programming:
Programming methods, Robot language classification, Robot
language structure, elements and its functions.
Motion, End-effecter and Sensor commands in VAL
programming language. E S . I N
O T
Simple programs. KTUN
Ref: Mikell and Groover, Industrial Robotics – Technology, Programming and Application
1
Downloaded from Ktunotes.in
Programming Methods
Broad Classification
Online:
E S . I N
Used in basic applications like spray painting and simple pick
and place. U N O T
K T
On line programming is a record play-back approach where
the Robot plays back a sequence of moves.
Offline:
Here the program uses a high level computer language which
gives the Robot decision making power.
It needs a large amount of computing power and
incorporates the use of sensors on the Robot or within its 2
Downloaded from Ktunotes.in
1. Physical Setup:
The operator setup switches that control the robots motion.
3
Downloaded from Ktunotes.in
S . I N
T U N OTE
K
4
Downloaded from Ktunotes.in
S . I N
T U N OTE
K
Manual lead through
Human programmer
physically moves
manipulator Powered lead through uses
teach pendant
5
Downloaded from Ktunotes.in
3. Textual Robot language:
This method is similar to the computer programming. The
movement of the robot will be written in the memory using
some high level English like language
S . I N
T U N OTE
K
6
Downloaded from Ktunotes.in
Robot language classification: (Home work/Assignment)
http://www.roboticsbible.com/robot-programming-languages.html
S . I N
T U N OTE
K
7
Downloaded from Ktunotes.in
Robot Language Structure
Ref: Mikell and Groover, Industrial Robotics – Technology, Programming and Applicatio
S . I N
T U N OTE
K
9
Downloaded from Ktunotes.in
• Monitor mode is used to accomplish overall supervisory
control.
• It also known as supervisory mode.
• In this mode, the user can define the location in space using
the
teach pendant.
• user can set the speed, store programs, transfer programs
from
storage memory to control O E
memoryS . I N
and switch between
U N T
other K T
modes such as edit or run modes.
12
Downloaded from Ktunotes.in
Constants, Variables & Other Data Objects
13
Downloaded from Ktunotes.in
Aggregates & Location Variables
• Aggregate: An ordered set of constants or variables
E.g. In AML language, aggregate is written inside <>
symbol and each element is separated by comma
<50.232, 56.211, sample>
<‘hai’, ‘class’, ‘work’ >
S . I N
• TUN
Mainly used to specify OTE
joint coordinate values in robots
K
14
Downloaded from Ktunotes.in
Defining Points in workspace
16
Downloaded from Ktunotes.in
Motion Commands
• Used for controlling the movement of the manipulator arm.
• Uses “MOVE” Command
• MOVES: S in the command is to move in straight line
• This causes the end effecter to move from present
position to the defined position (Absolute Move)
MOVE A1 VIA A2
• The command tells the robot to move . I its arm to point A1
N
through the point A2. O T E S
K T U N
• APPRO: Used to move the end effector to the vicinity of
the
point along z axis.
• DEPART: Used to move end effector away from the point
A1.
17
Downloaded from Ktunotes.in
• Sample Program: Pick and Place application
APPRO A1, 50
MOVES A1
SIGNAL (to close gripper)
DEPART 50
DMOVE: IncrementalDownloaded
or Deltafrom
move
Ktunotes.in
18
Speed Control
19
Downloaded from Ktunotes.in
End Effector & Sensor Commands
End effector commands for Grippers
• OPEN and CLOSE commands are used to control the
end effector. Happens during execution of next motion.
• OPENI and CLOSEI, used to control it immediately.
E.g.
• Closing the gripper to an opening of . I 40mm
N
T E S
CLOSE 40 MMTUNO
K
• Closing the gripper to an opening of 1.575 inch
CLOSE 1.575 IN
• Grippers with force sensors can be used to provide a
particular force to the object using command
CLOSE 3.0 LB
Here 3LB gripping force is applied
20
Downloaded from Ktunotes.in
End effector commands for Tools
• Used when powered tools are connected as end effector
instead of grippers.
• OPERATE statement is used for controlling the tool.
Example: powered screw driver
1. OPERATE TOOL (SPEED = 125 RPM)
2. OPERATE TOOL (TORQUE = 5 IN LB)
3. OPERATE TOOL (TIMET=E5S .IN
SEC)
U N O
KTtells the tool to rotate at speed of 125
The first statement
rotation per minute.
Second statement tells it to rotate at a torque of 5 inch lb
Third statement is for rotating the tools for 5 seconds,
after that the operation will terminate.
21
Downloaded from Ktunotes.in
Sensor Operation
• Statements that are used to get the output from sensors
and to
out the signals from microcontroller.
SIGNAL: instruct the robot controller to output a signal
WAIT: instruct the robot to wait at its current location until
it N
S . I
receives a signal. NOTE
K T U
It can be used for getting the feedback signal
E.g. 1
1. Different ports or lines of the robot controller can be
turned ON or OFF using the signal command.
SIGNAL 3, ON output port 3 is turned ON
------------------- execution of different command
------------------- Downloaded from Ktunotes.in 22
E.g. 2:
Setting analog voltages at the ports of the controller.
For this separate ports has to assigned on the controller.
23
Downloaded from Ktunotes.in
• It is possible to define the port number using variable
names for easy understanding.
E.g. Port 5 is set as output port and is connected to a
motor and port 15 is set as input port and is connected
to get signal from a sensor.
DEFINE MOTOR1 = OUTPORT 5
DEFINE SENSOR1 = INPORT 15
SIGNAL MOTOR1, ON OTE S . I N
K ONT U N
WAIT SENSOR1,
----------------------------------------
----------------------------------------
SIGNAL MOTOR1, OFF
WAIT SENSOR1, OFF
24
Downloaded from Ktunotes.in
Ques: Write command for providing 4.5V through the port
105 and check the correctness through the port 15. Use
arbitrary names for the ports in the commands
Ans:
DEFINE ANALOG = OUTPORT 105
DEFINE SENSOR = INPORT 15
S . I N
SIGNAL ANALOG, 4.5 UNOTE
WAIT SENSOR 4.5K T
25
Downloaded from Ktunotes.in
REACT statement
• Used to continuously monitor an incoming signal and to
respond to it.
• It can serve as an interrupt command based on the signal
state.
E.g.
REACT 17, SAFETY
Input line 17 is to monitored, when change N occurs to the
value of the input then branch E S . I
itTto a subroutine or program
N O
called SAFETY. KTU
E.g. It is possible to set the priority if different signals are
there. The number after PRIORITY term will decide the
priority value.
37
Downloaded from Ktunotes.in
• Another application is in the use of Pallets for material
transfer
• Mainly used in warehouses
• Large number of material can be placed on the pallets
and then the pallet is handled.
S . I N
T U N OTE
K
38
Downloaded from Ktunotes.in
Loading and Unloading
39
Downloaded from Ktunotes.in