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.

Example<br />

Syntax<br />

PROC pallet (num row, num column, num distance, PERS tooldata tool,<br />

PERS wobjdata wobj)<br />

VAR robtarget palletpos:=[[0, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0],<br />

[9E9, 9E9, 9E9, 9E9, 9E9, 9E9]];<br />

palettpos := Offs (palettpos, (row-1)*distance, (column-1)*distance, 0);<br />

MoveL palettpos, v100, fine, tool\WObj:=wobj;<br />

ENDPROC<br />

A routine for picking parts from a pallet is made. Each pallet is defined as a work<br />

object (see Figure 1). The part to be picked (row and column) and the distance<br />

between the parts are given as input parameters.<br />

Incrementing the row and column index is performed outside the routine.<br />

Rows<br />

Figure 1 The position and orientation of the pallet is specified by defining a work object.<br />

Offs ’(’<br />

[Point ’:=’] ’,’<br />

[XOffset ’:=’] ’,’<br />

[YOffset ’:=’] ’,’<br />

[ZOffset ’:=’] ’)’<br />

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

Related information<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O O<br />

X-axis<br />

O O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

Columns<br />

O<br />

O<br />

O<br />

O<br />

O<br />

Described in:<br />

Position data Data Types - robtarget<br />

9-Offs-2 <strong>RAPID</strong> Reference Manual<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

Y-axis<br />

O O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O

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

Saved successfully!

Ooh no, something went wrong!