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.

Limitation<br />

Error handling<br />

Syntax<br />

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

IndSpeed returns value TRUE if the axis has zero speed otherwise FALSE.<br />

If both the arguments \InSpeed and \ZeroSpeed are omitted, an error message will be<br />

displayed.<br />

The function IndSpeed\InSpeed will always return the value FALSE in the following<br />

situations:<br />

- The robot is in manual mode with reduced speed.<br />

- The speed is reduced using the VelSet instruction.<br />

- The speed is reduced from the production window.<br />

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

correct status is obtained. This time period should be longer for external axes with poor<br />

performance.<br />

If the axis is not in independent mode, the system variable ERRNO will be set to<br />

ERR_AXIS_IND.<br />

IndSpeed ’(’<br />

[ MecUnit’:=’ ] < variable (VAR) of mecunit> ’,’<br />

[ Axis’:=’ ] < expression (IN) of num><br />

[ ’\’ InSpeed ] | [ ’\’ ZeroSpeed ] ’)’<br />

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

Related information<br />

Described in:<br />

Independent axes in general Motion and I/O Principles -<br />

Program execution<br />

More examples Instructions - IndCMove<br />

Check the position status for independent axes Functions - IndInpos<br />

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

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

Saved successfully!

Ooh no, something went wrong!