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.

Examples<br />

Limitations<br />

Error handling<br />

Syntax<br />

Load "ram1disk:DOORDIR/DOOR1.MOD";<br />

Load the program module DOOR1.MOD from the ram1disk at the directory<br />

DOORDIR into the program memory.<br />

Load "ram1disk:DOORDIR" \File:="DOOR1.MOD";<br />

Same as above but another syntax.<br />

It is not allowed to load a program module that contains a main routine.<br />

TRAP routines, system I/O events and other program tasks cannot execute during the<br />

loading.<br />

Avoid ongoing robot movements during the loading.<br />

Avoid using the floppy disk for loading since reading from the floppy drive is very time<br />

consuming.<br />

A program stop during execution of the Load instruction results in a guard stop with<br />

motors off and the error message "20025 Stop order timeout" will be displayed on the<br />

Teach Pendant.<br />

If the file in the Load instructions cannot be found, then the system variable ERRNO<br />

is set to ERR_FILNOTFND. If the module already is loaded into the program memory<br />

then the system variable ERRNO is set to ERR_LOADED (see "Data types - errnum").<br />

The errors above can be handled in an error handler.<br />

Load<br />

[FilePath’:=’]<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!