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.

Syntax<br />

If the signal value is not correct, the robot enters a waiting state and when the signal<br />

changes to the correct value, the program continues. The change is detected with an<br />

interrupt, which gives a fast response (not polled).<br />

When the robot is waiting, the time is supervised, and if it exceeds the max time value,<br />

the program will continue if a Time Flag is specified, or raise an error if it’s not. If a<br />

Time Flag is specified, this will be set to true if the time is exceeded, otherwise it will<br />

be set to false.<br />

WaitDI<br />

[ Signal ’:=’ ] < variable (VAR) of signaldi > ’,’<br />

[ Value ’:=’ ] < expression (IN) of dionum ><br />

[’\’MaxTime ’:=’]<br />

[’\’TimeFlag’:=’] ’;’<br />

Related information<br />

Described in:<br />

Waiting until a condition is satisfied Instructions - WaitUntil<br />

Waiting for a specified period of time Instructions - WaitTime<br />

8-WaitDI-2 <strong>RAPID</strong> Reference Manual

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

Saved successfully!

Ooh no, something went wrong!