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.

StorePath Stores the path when an interrupt occurs<br />

Example<br />

StorePath is used to store the movement path being executed when an error or interrupt<br />

occurs. The error handler or trap routine can then start a new movement and, following<br />

this, restart the movement that was stored earlier.<br />

This instruction can be used to go to a service position or to clean the gun, for example,<br />

when an error occurs.<br />

StorePath;<br />

Program execution<br />

Example<br />

Limitations<br />

The current movement path is stored for later use.<br />

The current movement path of the robot and external axes is saved. After this, another<br />

movement can be started in a trap routine or an error handler. When the reason for the<br />

error or interrupt has been rectified, the saved movement path can be restarted.<br />

TRAP machine_ready;<br />

VAR robtarget p1;<br />

StorePath;<br />

p1 := CRobT();<br />

MoveL p100, v100, fine, tool1;<br />

...<br />

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

RestoPath;<br />

StartMove;<br />

ENDTRAP<br />

When an interrupt occurs that activates the trap routine machine_ready, the<br />

movement path which the robot is executing at the time is stopped at the end of<br />

the instruction (ToPoint) and stored. After this, the robot remedies the interrupt<br />

by, for example, replacing a part in the machine and the normal movement is<br />

restarted.<br />

Only one movement path can be stored at a time.<br />

<strong>RAPID</strong> Reference Manual 8-StorePath-1

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

Saved successfully!

Ooh no, something went wrong!