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.

progdisp Program displacement<br />

Description<br />

Components<br />

Example<br />

Progdisp is used to store the current program displacement of the robot and the external<br />

axes.<br />

This data type does not normally have to be used since the data is set using the instructions<br />

PDispSet, PDispOn, PDispOff, EOffsSet, EOffsOn and EOffsOff. It is only used<br />

to temporarily store the current value for later use.<br />

The current values for program displacement can be accessed using the system variable<br />

C_PROGDISP.<br />

For more information, see the instructions PDispSet, PDispOn, EOffsSet and EOffsOn.<br />

pdisp (program displacement) Data type: pose<br />

The program displacement for the robot, expressed using a translation and an orientation.<br />

The translation is expressed in mm.<br />

eoffs (external offset) Data type: extjoint<br />

The offset for each of the external axes. If the axis is linear, the value is expressed<br />

in mm; if it is rotating, the value is expressed in degrees.<br />

VAR progdisp progdisp1;<br />

.<br />

SearchL sen1, psearch, p10, v100, tool1;<br />

PDispOn \ExeP:=psearch, *, tool1;<br />

EOffsOn \ExeP:=psearch, *;<br />

.<br />

progdisp1:=C_PROGDISP;<br />

PDispOff;<br />

EOffsOff;<br />

.<br />

PDispSet progdisp1.pdisp;<br />

EOffsSet progdisp1.eoffs;<br />

First, a program displacement is activated from a searched position. Then, it is<br />

temporarily deactivated by storing the value in the variable progdisp1 and, later<br />

on, re-activated using the instructions PDispSet and EOffsSet.<br />

<strong>RAPID</strong> Reference Manual 7-progdisp-1

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

Saved successfully!

Ooh no, something went wrong!