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 />

If this optional argument is used and the actual value of the specified flag is<br />

TRUE at the position-time for setting of the signal then the specified signal<br />

(DOp, GOp or AOp) will be set to 0 in stead of specified value.<br />

When running the instruction TriggEquip, the trigger condition is stored in the specified<br />

variable for the argument TriggData.<br />

Afterwards, when one of the instructions TriggL, TriggC or TriggJ is executed, the following<br />

are applicable, with regard to the definitions in TriggEquip:<br />

The distance specified in the argument Distance:<br />

Linear movement The straight line distance<br />

Circular movement The circle arc length<br />

Non-linear movement The approximate arc length along the path<br />

(to obtain adequate accuracy, the distance should<br />

not exceed one half of the arc length).<br />

Figure 3 Fixed position-time I/O on a corner path.<br />

The position-time related event will be generated when the start point (end point) is<br />

passed, if the specified distance from the end point (start point) is not within the length<br />

of movement of the current instruction (Trigg...). With use of argument EquipLag with<br />

negative time (delay), the I/O signal can be set after the end point.<br />

VAR triggdata glueflow;<br />

TriggEquip glueflow, 1 \Start, 0.05 \AOp:=glue, 5.3;<br />

MoveJ p1, v1000, z50, tool1;<br />

TriggL p2, v500, glueflow, z50, tool1;<br />

...<br />

If the Distance is 0, the output signal is<br />

set when the robot’s TCP is here<br />

End point with<br />

corner path<br />

The analog output signal glue is set to the value 5.3 when the TCP passes a point<br />

located 1 mm after the start point p1 with compensation for equipment lag 0.05 s.<br />

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

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

Saved successfully!

Ooh no, something went wrong!