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.

Backward execution <strong>Basic</strong> <strong>Characteristics</strong> <strong>RAPID</strong><br />

When the procedure is called during backwards execution, the following occurs:<br />

PROC MoveTo ()<br />

.. MoveL p1,v500,z10,tool1;<br />

MoveTo; MoveL p2,v500,z10,tool1;<br />

.. MoveL p3,v500,z10,tool1;<br />

BACKWARD<br />

MoveL p3,v100,z10,tool1;<br />

MoveL p2,v100,z10,tool1;<br />

MoveL p1,v100,z10,tool1;<br />

ENDPROC<br />

Instructions in the backward or error handler of a routine may not be executed<br />

backwards. Backward execution cannot be nested, i.e. two instructions in a call chain<br />

may not simultaneously be executed backwards.<br />

A procedure with no backward handler cannot be executed backwards. A procedure<br />

with an empty backward handler is executed as “no operation”.<br />

5-38 <strong>RAPID</strong> Reference Manual

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

Saved successfully!

Ooh no, something went wrong!