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.

ORobT Removes a program displacement from a position<br />

Example<br />

ORobT (Object Robot Target) is used to transform a robot position from the program<br />

displacement coordinate system to the object coordinate system and/or to remove an<br />

offset for the external axes.<br />

VAR robtarget p10;<br />

VAR robtarget p11;<br />

p10 := CRobT();<br />

p11 := ORobT(p10);<br />

The current positions of the robot and the external axes are stored in p10 and p11.<br />

The values stored in p10 are related to the ProgDisp/ExtOffs coordinate system.<br />

The values stored in p11 are related to the object coordinate system without any<br />

offset on the external axes.<br />

Return value Data type: robtarget<br />

Arguments<br />

The transformed position data.<br />

ORobT (OrgPoint [\InPDisp] | [\InEOffs])<br />

OrgPoint (Original Point) Data type: robtarget<br />

The original point to be transformed.<br />

[\InPDisp] (In Program Displacement) Data type: switch<br />

Returns the TCP position in the ProgDisp coordinate system, i.e. removes external<br />

axes offset only.<br />

[\InEOffs] (In External Offset) Data type: switch<br />

Returns the external axes in the offset coordinate system, i.e. removes program<br />

displacement for the robot only.<br />

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

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

Saved successfully!

Ooh no, something went wrong!