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.

triggdata Positioning events - trigg<br />

Description<br />

Example<br />

<strong>Characteristics</strong><br />

Triggdata is used to store data about a positioning event during a robot movement.<br />

A positioning event can take the form of setting an output signal or running an interrupt<br />

routine at a specific position along the movement path of the robot.<br />

To define the conditions for the respective measures at a positioning event, variables<br />

of the type triggdata are used. The data contents of the variable are formed in the program<br />

using one of the instructions TriggIO or TriggInt, and are used by one of the<br />

instructions TriggL, TriggC or TriggJ.<br />

VAR triggdata gunoff;<br />

TriggIO gunoff, 5 \DOp:=gun, off;<br />

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

The digital output signal gun is set to the value off when the TCP is at a position<br />

5 mm before the point p1.<br />

Triggdata is a non-value data type.<br />

Related information<br />

Described in:<br />

Definition of triggs Instructions - TriggIO, TriggInt<br />

Use of triggs Instructions - TriggL, TriggC,<br />

TriggJ<br />

<strong>Characteristics</strong> of non-value data types <strong>Basic</strong> <strong>Characteristics</strong>- Data Types<br />

<strong>RAPID</strong> Reference Manual 7-triggdata-1

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

Saved successfully!

Ooh no, something went wrong!