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.

Program execution<br />

Example<br />

Syntax<br />

The coordinates returned represent the TCP position in the ProgDisp coordinate system.<br />

External axes are represented in the ExtOffs coordinate system.<br />

VAR robtarget p2;<br />

p2 := ORobT( RobT(\Tool:=grip3 \WObj:=fixture) );<br />

The current position in the object coordinate system (without any ProgDisp or<br />

ExtOffs) of the robot and external axes is stored in p2. The tool grip3 and work<br />

object fixture are used for calculating the position.<br />

CRobT’(’<br />

[’\’Tool ’:=’ ]<br />

[’\’WObj ’:=’ ] ’)’<br />

A function with a return value of the data type robtarget.<br />

Related information<br />

Described in:<br />

Definition of position Data Types - robtarget<br />

Definition of tools Data Types- tooldata<br />

Definition of work objects Data Types - wobjdata<br />

Coordinate systems Motion and I/O Principles - Coordinate<br />

Systems<br />

ExtOffs coordinate system Instructions - EOffsOn<br />

Reading the current pos (x, y, z only) Functions - CPos<br />

9-CRobT-2 <strong>RAPID</strong> Reference Manual

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

Saved successfully!

Ooh no, something went wrong!