09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

symnum Symbolic number<br />

Description<br />

Example<br />

Predefined data<br />

Symnum is used to represent an integer with a symbolic constant.<br />

A symnum constant is intended to be used when checking the return value from the<br />

functions OpMode and RunMode. See example below.<br />

IF RunMode() = RUN_CONT_CYCLE THEN<br />

.<br />

.<br />

ELSE<br />

.<br />

.<br />

ENDIF<br />

The following symbolic constants of the data type symnum are predefined and can be<br />

used when checking return values from the functions OpMode and RunMode.<br />

Value Symbolic constant Comment<br />

0 RUN_UNDEF Undefined running mode<br />

1 RUN_CONT_CYCLE Continuous or cycle running mode<br />

2 RUN_INSTR_FWD Instruction forward running mode<br />

3 RUN_INSTR_BWD Instruction backward running mode<br />

4 RUN_SIM Simulated running mode<br />

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 />

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

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

Saved successfully!

Ooh no, something went wrong!