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.

Program execution<br />

Examples<br />

This argument can be omitted, and if it is, the position is related to the world<br />

coordinate system. If, on the other hand, a stationary TCP or coordinated external<br />

axes are used, this argument must be specified for a linear movement relative<br />

to the work object to be performed.<br />

See the instruction MoveL for information about linear movement.<br />

The movement always ends with a stop point, i.e. the robot stops at the destination<br />

point.<br />

If a flying search is used, i.e. the \Stop argument is not specified, the robot movement<br />

always continues to the programmed destination point. If a search is made using the<br />

switch \Stop or \PStop, the robot movement stops when the first signal is detected.<br />

The SearchL instruction stores the position of the TCP when the value of the digital<br />

signal changes to active, as illustrated in Figure 1.<br />

1<br />

0<br />

Figure 1 Flank-triggered signal detection (the position is stored when the signal is changed the<br />

first time only).<br />

In order to get a fast response, use the interrupt-driven sensor signals sen1, sen2 or sen3<br />

on the system board.<br />

SearchL \Sup, sen1, sp, p10, v100, probe;<br />

The TCP of the probe is moved linearly towards the position p10. When the<br />

value of the signal sen1 changes to active, the position is stored in sp. If the value<br />

of the signal changes twice, program execution stops.<br />

SearchL \Stop, sen1, sp, p10, v100, tool1;<br />

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

PDispOn *, tool1;<br />

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

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

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

PDispOff;<br />

The TCP of tool1 is moved linearly towards the position p10. When the value of<br />

the signal sen1 changes to active, the position is stored in sp and the robot is<br />

<strong>RAPID</strong> Reference Manual 8-SearchL-3<br />

time<br />

= Instruction reaction when<br />

the signal changes

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

Saved successfully!

Ooh no, something went wrong!