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.

CWObj Reads the current work object data<br />

Example<br />

CWObj (Current Work Object) is used to read the data of the current work object.<br />

PERS wobjdata temp_wobj;<br />

temp_wobj := CWObj();<br />

The value of the current work object is stored in the variable temp_wobj.<br />

Return value Data type: wobjdata<br />

Syntax<br />

This function returns a wobjdata value holding the value of the current work object,<br />

i.e. the work object last used in a movement instruction.<br />

The value returned represents the work object position and orientation in the world<br />

coordinate system, see wobjdata.<br />

CWObj’(’’)’<br />

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

Related information<br />

Described in:<br />

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

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

Systems<br />

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

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

Saved successfully!

Ooh no, something went wrong!