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.

Example<br />

Error handling<br />

Syntax<br />

ActUnit Station_A;<br />

weld_stationA;<br />

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

ActUnit Station_B;<br />

weld_stationB_1;<br />

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

WaitTime 0.2;<br />

DeactUnit Station_A;<br />

weld_stationB_2;<br />

Station_A is activated and the welding is started in station A.<br />

Station_A (axis 1) is then moved to the 90 degrees position while the robot is<br />

welding in station B. The speed of the axis is 20 degrees/s . The speed is changed<br />

with acceleration/deceleration reduced to 50% of max performance.<br />

When station A reaches this position, it is deactivated and reloading can take<br />

place in the station at the same time as the robot continues to weld in station B.<br />

If the axis is not activated, the system variable ERRNO is set to ERR_AXIS_ACT.<br />

This error can then be handled in the error handler.<br />

IndAMove<br />

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

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

[ ’\’ToAbsPos’:=’ ] < expression (IN) of robtarget><br />

| [ ’\’ ToAbsNum’:=’ ] < expression (IN) of num> ’,’<br />

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

[ ’\’ Ramp’:=’ < expression (IN) of num > ] ’;’<br />

<strong>RAPID</strong> Reference Manual 8-IndAMove-3

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

Saved successfully!

Ooh no, something went wrong!