09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CTool Reads the current tool data<br />

Example<br />

CTool (Current Tool) is used to read the data of the current tool.<br />

PERS tooldata temp_tool;<br />

temp_tool := CTool();<br />

The value of the current tool is stored in the variable temp_tool.<br />

Return value Data type: tooldata<br />

Syntax<br />

This function returns a tooldata value holding the value of the current tool, i.e. the tool<br />

last used in a movement instruction.<br />

The value returned represents the TCP position and orientation in the wrist centre coordinate<br />

system, see tooldata.<br />

CTool’(’’)’<br />

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

Related information<br />

Described in:<br />

Definition of tools Data Types- tooldata<br />

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

Systems<br />

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

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

Saved successfully!

Ooh no, something went wrong!