Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Robot Programming

Name: The Real Programmer 2013-04-21 23:41


Robot Programming


• On-line programming methods

• Simulation and Off-line programming


A feature of robots, compared to special machines, is the ability to program the robots.

The programming of robots can be a relatively simple or a highly complex operation. This depends upon the type of robot, the nature of the work it has to perform and its interaction with the environment and with peripheral devices. The task is compounded when more than one robot is working within the manufacturing area. A typical example would here be the automotive industry where robots are used for welding and spray painting car bodies

Two basic methods are used to program robots: on-line and off-line programming.

On-line programming is defined as the process of an operator directly interacting with the robot and the robot controller to teach the robot the new program. In on-line programming, the robot cannot be performing any other tasks while the operator is teaching the new program.

Conversely, in off-line programming, the robot program is developed on a computer which is not attached to the robot, so that robot can continue to perform an application. The following sections provide more detail concerning the processes of on-line and off-line programming.

Before proceeding, two terms must be defined: position and step. A position is a set of numbers (x,y,z) within a robot program which define the angles of each of the robot axes when the robot manipulator is at a point in space. The position is used by the robot controller to move each of the robot axes to the correct point during execution of the robot program.

A step is a command which is written in the robot programming language. The step causes the robot system to perform an action other than moving the manipulator. Examples of steps are: "close the gripper" and "wait for the operator to push the start button". (These example steps are written in English (or textual) for clarity-the actual steps would be written in the robot programming language.)

1) On-line programming methods

On line programming involves teaching the robot both the steps to perform and the positions to move to. In some robots, the positions are separate from the steps, in others the programs contain both the steps and the positions. Typically the steps are entered into the robot controller through some type of text editor. This is also known as the textual programming method. The positions can be also entered through the text editor, or can be "taught" by moving the robot physically to the desired location.

Two methods are used to teach positions: the walk-through, and the power-teach methods. In the walk-through method, the robot controller stores all of the positions of the robot as the operator moves the robot through the desired path. This method is used to store complex paths such as the paths used for spray painting. To move the robot, the operator moves a joy-stick, and the robot tracks the motion of the joy-stick.


* Continuous Path Method (Walk thru)

• Some applications (such as paint spraying) require the robot to follow a continuous and possibly complex path in space, rather than visit a sequence of points.

• In such cases a different type of robot is used which can be programmed by simply tracing out the required path in space.

• No record button is used but instead the computer automatically records joint positions at a rate of 80 to 100 times per second, as the robot is moving.

• In some cases the desired path is traced out using the actual robot. but this may be difficult due to the weight of the arm. Hence a number of manufacturers provide a second "teaching" arm, which is dimensionally identical but considerably lighter (it has no drives fitted) and therefore can be more easily manoeuvred by the programmer.

In the power-teach method, the operator uses a teach-pendant to move the robot to each position. Buttons on the teach pendant are pushed by the operator to cause single joints to move. Once the robot is at a position, the operator uses the teach pendant to store that position in the memory of the controller by pressing another button on the teach pendant. This method is used for pick-and-place operations, along with all other point-to-point moves of a robot.


* Point to Point Method (power-teach)

• A teach pendant, which in its simplest form is a box with buttons, is used to manoeuvre the robot in space

• The robot is driven to each of the points in space it must subsequently visit, in order to perform its intended task.

• At each point a "program" or "record" button is pressed and the current joint positions are automatically stored in the robot system's computer memory.

• When programming is complete, the program can be replayed using the stored sequence of joint positions.

• Variations in the above procedure include the positioning of the robot directly by hand, which is an option available with some robots.

Example of an application.

10 V=300 mm/s max=1500 mm/s
20 Refram 0
30 TCP 0
40 Robot coord
50 Pos V=100% (* X=160.6 Y=115.6 Z=-616.6 mm *)
60 Pos V=100% (* X=l90.3 Y=132.6 Z=-753.5 mm*)
70 Pos V=l00% (* X=203.9 Y=140.4 Z=-815.9 mm*)
80 Close 2 Wait 0.3s
90 Pos V=l00% (* X=191.1 Y=133 Z=-756.9 mm*)·
100 Pos V=100% (* X=191.1 Y=133 Z=-815.4 mm*)
110 Pos V=100% (* X=l89.6 Y=139.6 Z=-820.1 mm*)
120 Open 2 Wait 0.3s
130 Pos V=100% (* X=189.6 Y=139.6 Z=-820.3 mm*)
140 Pos V=100% (* X=85.8 Y=139.6 Z=-663.9 mm*)
150 RETURN

* Teach Coordinate Systems

• The buttons on a teach pendant may be used to move individual joints.

• However, when individual joints are moved, it may take some time to manoeuvre the end effector to the next point to be programmed.

• Faster programming can normally be achieved if the teach pendant's buttons can be used to drive the robot in directions parallel to the axes of a specified co-ordinate system

• The most obvious system is a cartesian system, where button presses move the robot in x, y and z directions.

• Some robots provide additional options such as cylindrical co-ordinates (r, e and z) or tool co-ordinates (which use a cartesian system permanently aligned with the end effector).

• In all cases the robot's computer uses a mathematical model of the arm to convert button presses requesting moves in the chosen co-ordinate system to the appropriate combination of joint moves.


* Other Program Information

• Other items of information must be added to the sequence of taught points in order to complete a robot program. These may include:

(a) The type of path to be followed between taught points
(b) The velocity, acceleration and deceleration of the arm along the replay path.
(c) Any loops or jumps to be included in the sequence of taught points during replay. (This may include conditions such as IF A GOTO B,where A is the status of a sensor signal sent to the robot and B is a numerically labelled taught point).
(d) Commands instructing the robot to sample an input signal or to generate an output signal.

As noted a teach pendant is normally used to generate program points but various methods are used to add the other items of information listed above, these include:

(a) A special purpose computer terminal.
(b) An "advanced" teach pendant which incorporates the front panel facilities described in (a) above.
(c) A general purpose computer terminal which is used in conjunction with a robot programming language. The language will be similar to a standard computer language, but will include commands to move to taught points and to specify the other program information described above.


* Choice of Replay Path

- Some robots will automatically move along straight lines between taught points during program replay, but many provide a choice of path, which may include:

(a) Joint interpolated control, where all joints simply start moving at the same time and stop moving at the same time. This produces a smooth path between taught points, but one which is not necessarily linear or easy to predict. Its advantage is that it requires the minimum computation and the robot may be able to move faster than would be possible if one of the following types of replay path were specified.

(b) Linear path control, where the arm moves in predictable straight lines between taught points.

(c) Circular path control, where the paths consist of circular arcs fitted through 3 successive taught points. (This option and (d) below are often used in arc welding applications, where the welding path is divided into a sequence of curves through taught points.)

(d) Any path which can be described mathematically. (Generally only available with robots which use a programming language).


* Input or Output Facilities

- In most robot cells, the robot will need to communicate with other items of equipment.
- Examples of inputs which could be received are a signal to indicate that a machine tool is ready to accept a component from the robot, a signal to tell the robot to unload a die casting machine or information as to the presence, location or identity of a component the robot is to acquire.
- Examples of outputs are signals to switch on a conveyor, a machine tool or a feeder.

Name: Anonymous 2013-05-04 22:46

>>21
check wut?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List