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.

IndInpos Independent In position status<br />

Example<br />

IndInpos is used to test whether an independent axis has reached the selected position.<br />

IndAMove Station_A,1\ToAbsNum:=90,20;<br />

WaitUntil IndInpos(Station_A,2) = TRUE;<br />

WaitTime 0.2;<br />

Wait until axis 1 of Station_A is in the 90 degrees position.<br />

Return value Data type: bool<br />

Arguments<br />

Limitations<br />

The return values from IndInpos are:<br />

Return value Axis status<br />

TRUE In position and has zero speed.<br />

FALSE Not in position and/or has not zero speed<br />

IndInpos MecUnit Axis<br />

MecUnit (Mechanical Unit) Data type: mecunit<br />

The name of the mechanical unit.<br />

Axis Data type: num<br />

The number of the current axis for the mechanical unit (1-6).<br />

An independent axis executed with the instruction IndCMove always returns the value<br />

FALSE, even when the speed is set to zero.<br />

A wait period of 0.2 seconds should be added after the instruction, to ensure that the<br />

correct status has been achieved. This time period should be longer for external axes<br />

with poor performance.<br />

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

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

Saved successfully!

Ooh no, something went wrong!