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.

Error handling<br />

The start of the search, i.e. when the I/O signal is ready to react, is not, in this case, the<br />

programmed destination point of the previous positioning instruction, but a point along<br />

the real robot path. Figure 2 illustrates an example of something that may go wrong<br />

when zone data other than fine is used.<br />

The instruction SearchC should never be restarted after the circle point has been<br />

passed. Otherwise the robot will not take the programmed path (positioning around the<br />

circular path in another direction compared with that programmed).<br />

Start point with<br />

zone data z10<br />

Start point with<br />

zone data fine<br />

Search object<br />

Figure 2 A match is made on the wrong side of the object because the wrong zone data was used.<br />

Typical stop distance using a search velocity of 50 mm/s:<br />

- without TCP on path (switch \Stop) 1-3 mm<br />

- with TCP on path (switch \PStop) 12-16 mm<br />

An error is reported during a search when:<br />

End point<br />

- no signal detection occurred<br />

- more than one signal detection occurred – this generates an error only if the \Sup<br />

argument is used.<br />

Errors can be handled in different ways depending on the selected running mode:<br />

Continuous forward<br />

No position is returned and the movement always continues to the programmed<br />

destination point. The system variable ERRNO is set to ERR_WHLSEARCH<br />

and the error can be handled in the error handler of the routine.<br />

Instruction forward<br />

No position is returned and the movement always continues to the programmed<br />

destination point. Program execution stops with an error message.<br />

Instruction backward<br />

During backward execution, the instruction just carries out the movement without<br />

any signal supervision.<br />

8-SearchC-4 <strong>RAPID</strong> Reference Manual

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

Saved successfully!

Ooh no, something went wrong!