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.

PDispSet Activates program displacement using a value<br />

Example<br />

Arguments<br />

PDispSet (Program Displacement Set) is used to define and activate a program displacement<br />

using values.<br />

Program displacement is used, for example, when similar motion patterns are repeated<br />

at several different places in the program.<br />

VAR pose xp100 := [ [100, 0, 0], [1, 0, 0, 0] ];<br />

.<br />

PDispSet xp100;<br />

Activation of the xp100 program displacement, meaning that:<br />

- The ProgDisp coordinate system is displaced 100 mm from the object coordinate<br />

system, in the direction of the positive x-axis (see Figure 1).<br />

- As long as this program displacement is active, all positions will be displaced<br />

100 mm in the direction of the x-axis.<br />

Figure 1 A 100 mm-program displacement along the x-axis.<br />

PDispSet DispFrame<br />

DispFrame (Displacement Frame) Datatyp: pose<br />

Program execution<br />

Object<br />

100<br />

AAAA AAA<br />

AAAA AAA<br />

AAAA AAA<br />

AAAA AAA AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA<br />

AA ProgDisp<br />

The program displacement is defined as data of the type pose.<br />

Program displacement involves translating and/or rotating the ProgDisp coordinate<br />

system relative to the object coordinate system. Since all positions are related to the<br />

ProgDisp coordinate system, all programmed positions will also be displaced. See Figure<br />

2.<br />

<strong>RAPID</strong> Reference Manual 8-PDispSet-1<br />

X

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

Saved successfully!

Ooh no, something went wrong!