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.

TriggC Circular robot movement with events<br />

Examples<br />

Arguments<br />

TriggC (Trigg Circular) is used to set output signals and/or run interrupt routines at<br />

fixed positions, at the same time as the robot is moving on a circular path.<br />

One or more (max. 4) events can be defined using the instructions TriggIO,<br />

TriggEquip or TriggInt and afterwards these definitions are referred to in the instruction<br />

TriggC.<br />

VAR triggdata gunon;<br />

TriggIO gunon, 0 \Start \DOp:=gun, on;<br />

MoveL p1, v500, z50, gun1;<br />

TriggC p2, p3, v500, gunon, fine, gun1;<br />

The digital output signal gun is set when the robot’s TCP passes the midpoint of<br />

the corner path of the point p1.<br />

Start point p1<br />

TriggC p2, p3, v500,gunon, fine, gun1;<br />

Figure 1 Example of fixed-position IO event.<br />

Circle point p2<br />

The output signal gun is set to on<br />

when the TCP of the robot is here<br />

End point p3<br />

TriggC [\Conc] CirPoint ToPoint Speed [ \T ]<br />

Trigg_1 [ \T2 ] [ \T3 ] [ \T4] Zone Tool [ \WObj ]<br />

[ \Conc ] (Concurrent) Data type: switch<br />

Subsequent logical instructions are executed while the robot is moving. This<br />

argument is used to shorten the cycle time when, for example, communicating<br />

with external equipment, and synchronisation is not required. It can also be used<br />

to tune the execution of the robot path, to avoid warning 50024 Corner path<br />

failure, or error 40082 Deceleration limit.<br />

When using the argument \Conc, the number of movement instructions in succession<br />

is limited to 5. In a program section that includes StorePath-RestoPath,<br />

movement instructions with the argument \Conc are not permitted.<br />

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

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

Saved successfully!

Ooh no, something went wrong!