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.

Program execution<br />

Examples<br />

Limitations<br />

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

the work object to be performed.<br />

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

As the trigger conditions are fulfilled when the robot is positioned closer and closer to<br />

the end point, the defined trigger activities are carried out. The trigger conditions are<br />

fulfilled either at a certain distance before the end point of the instruction, or at a certain<br />

distance after the start point of the instruction, or at a certain point in time (limited to<br />

a short time) before the end point of the instruction.<br />

During stepping execution forwards, the I/O activities are carried out but the interrupt<br />

routines are not run. During stepping execution backwards, no trigger activities at all<br />

are carried out.<br />

VAR intnum intno1;<br />

VAR triggdata trigg1;<br />

...<br />

CONNECT intno1 WITH trap1;<br />

TriggInt trigg1, 0.1 \Time , intno1;<br />

...<br />

TriggL p1, v500, trigg1, fine, gun1;<br />

TriggL p2, v500, trigg1, fine, gun1;<br />

...<br />

IDelete intno1;<br />

The interrupt routine trap1 is run when the work point is at a position<br />

0.1 s before the point p1 or p2 respectively.<br />

If the current start point deviates from the usual, so that the total positioning length of<br />

the instruction TriggL is shorter than usual (e.g. at the start of TriggL with the robot<br />

position at the end point), it may happen that several or all of the trigger conditions are<br />

fulfilled immediately and at the same position. In such cases, the sequence in which the<br />

trigger activities are carried out will be undefined. The program logic in the user program<br />

may not be based on a normal sequence of trigger activities for an ”incomplete<br />

movement”.<br />

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

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

Saved successfully!

Ooh no, something went wrong!