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.

IndSpeed Independent Speed status<br />

Example<br />

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

IndCMove Station_A, 2, 3.4;<br />

WaitUntil IndSpeed(Station_A,2 \InSpeed) = TRUE;<br />

WaitTime 0.2;<br />

Wait until axis 2 of Station_A has reached the speed 3.4 degrees/s.<br />

Return value Data type: bool<br />

Arguments<br />

The return values from IndSpeed are:<br />

Return value Axis status<br />

option \InSpeed<br />

TRUE Has reached the selected speed.<br />

FALSE Has not reached the selected speed.<br />

option \ZeroSpeed<br />

TRUE Zero speed.<br />

FALSE Not zero speed<br />

IndSpeed MecUnit Axis [ \InSpeed ] | [ \ZeroSpeed ]<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 />

[ \InSpeed ] Data type: switch<br />

IndSpeed returns value TRUE if the axis has reached the selected speed otherwise<br />

FALSE.<br />

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

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

Saved successfully!

Ooh no, something went wrong!