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.

MirPos Mirroring of a position<br />

Example<br />

MirPos (Mirror Position) is used to mirror the translation and rotation parts of a position.<br />

CONST robtarget p1;<br />

VAR robtarget p2;<br />

PERS wobjdata mirror;<br />

.<br />

.<br />

p2 := MirPos(p1, mirror);<br />

p1 is a robtarget storing a position of the robot and an orientation of the tool. This<br />

position is mirrored in the xy-plane of the frame defined by mirror, relative to<br />

the world coordinate system. The result is new robtarget data, which is stored in<br />

p2.<br />

Return value Data type: robtarget<br />

Arguments<br />

The new position which is the mirrored position of the input position.<br />

MirPos (Point MirPlane [\WObj] [\MirY])<br />

Point Data type: robtarget<br />

The input robot position. The orientation part of this position defines the current<br />

orientation of the tool coordinate system.<br />

MirPlane (Mirror Plane) Data type: wobjdata<br />

The work object data defining the mirror plane. The mirror plane is the xy-plane<br />

of the object frame defined in MirPlane. The location of the object frame is<br />

defined relative to the user frame, also defined in MirPlane, which in turn is<br />

defined relative to the world frame.<br />

[\WObj] (Work Object) Data type: wobjdata<br />

The work object data defining the object frame, and user frame, relative to which<br />

the input position, Point, is defined. If this argument is left out, the position is<br />

defined relative to the World coordinate system.<br />

Note. If the position is created with a work object active, this work object must<br />

be referred to in the argument.<br />

<strong>RAPID</strong> Reference Manual 9-MirPos-1

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

Saved successfully!

Ooh no, something went wrong!