09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Example<br />

at the two positions. The displacement will be calculated in such a way that the new<br />

position (ExeP) will have the same position and orientation in relation to the displaced<br />

coordinate system, ProgDisp, as the old position (ProgPoint) had in relation to the<br />

original coordinate system (see Figure 2).<br />

y<br />

Original<br />

position, ProgPoint<br />

Original<br />

orientation<br />

Program displacement<br />

Object Coordinate System<br />

Figure 2 Translation and rotation of a programmed position.<br />

The program displacement is automatically reset<br />

- at a cold start-up<br />

- when a new program is loaded<br />

- when starting program executing from the beginning.<br />

PROC draw_square()<br />

PDispOn *, tool1;<br />

MoveL *, v500, z10, tool1;<br />

MoveL *, v500, z10, tool1;<br />

MoveL *, v500, z10, tool1;<br />

MoveL *, v500, z10, tool1;<br />

PDispOff;<br />

ENDPROC<br />

.<br />

MoveL p10, v500, fine, tool1;<br />

draw_square;<br />

MoveL p20, v500, fine, tool1;<br />

draw_square;<br />

MoveL p30, v500, fine, tool1;<br />

draw_square;<br />

x<br />

y<br />

New<br />

position, ExeP<br />

New<br />

orientation<br />

Program Displacement Coordinate System<br />

(ProgDisp)<br />

The routine draw_square is used to execute the same motion pattern at three different<br />

positions, based on the positions p10, p20 and p30. See Figure 3.<br />

<strong>RAPID</strong> Reference Manual 8-PDispOn-3<br />

x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!