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.

OpMode Read the operating mode<br />

Example<br />

OpMode (Operating Mode) is used to read the current operating mode of the system.<br />

TEST OpMode()<br />

CASE OP_AUTO:<br />

...<br />

CASE OP_MAN_PROG:<br />

...<br />

CASE OP_MAN_TEST:<br />

...<br />

DEFAULT:<br />

...<br />

ENDTEST<br />

Different program sections are executed depending on the current operating mode.<br />

Return value Data type: symnum<br />

Syntax<br />

The current operating mode as defined in the table below.<br />

OpMode’(’ ’)’<br />

A function with a return value of the data type symnum.<br />

Related information<br />

Return value Symbolic constant Comment<br />

0 OP_UNDEF Undefined operating mode<br />

1 OP_AUTO Automatic operating mode<br />

2 OP_MAN_PROG Manual operating mode<br />

max. 250 mm/s<br />

3 OP_MAN_TEST Manual operating mode<br />

full speed, 100 %<br />

Described in:<br />

Different operating modes User’s Guide - Starting up<br />

Reading running mode Functions - RunMode<br />

<strong>RAPID</strong> Reference Manual 9-OpMode-1

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

Saved successfully!

Ooh no, something went wrong!