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.

Stop Stops program execution<br />

Example<br />

Arguments<br />

Stop is used to temporarily stop program execution.<br />

Program execution can also be stopped using the instruction EXIT. This, however,<br />

should only be done if a task is complete, or if a fatal error occurs, since program execution<br />

cannot be restarted with EXIT.<br />

TPWrite "The line to the host computer is broken";<br />

Stop;<br />

Program execution stops after a message has been written on the teach pendant.<br />

Stop [ \NoRegain ]<br />

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

Program execution<br />

Example<br />

Specifies for the next program start in manual mode, whether or not the robot and<br />

external axes should regain to the stop position. In automatic mode the robot and<br />

external axes always regain to the stop position.<br />

If the argument NoRegain is set, the robot and external axes will not regain to the<br />

stop position (if they have been jogged away from it).<br />

If the argument is omitted and if the robot or external axes have been jogged<br />

away from the stop position, the robot displays a question on the teach pendant.<br />

The user can then answer, whether or not the robot should regain to the stop position.<br />

The instruction stops program execution as soon as the robot and external axes reach<br />

the programmed destination point for the movement it is performing at the time. Program<br />

execution can then be restarted from the next instruction.<br />

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

TPWrite "Jog the robot to the position for pallet corner 1";<br />

Stop \NoRegain;<br />

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

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

Saved successfully!

Ooh no, something went wrong!