Enum, Eret – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 223

Advertising
background image

Language Reference • Reference

201

Publication 1398-PM601A-EN-P — October 2000

WORDS

ENUM

Error Number

System

Purpose

Currently active error number.

Syntax

variable = ENUM

variable

Variable can be a nonvolatile variable Gn, a volatile variable
Vn, or another system variable.

Remarks

ENUM contains a value only while an error is active. Once the error is cleared ENUM
is set to zero.

Refer to the appendix “Error Messages” on page 418 for a list of errors.

See Also

EFLAG, WFLAG, WNUM, SYSERROR, SYSWARN

Example

V1 = ENUM

ERET

Ereturn Flag

System

Purpose

The ERET flag runs system program 26 (ERETURN).

Syntax

ERET = value

value

The value can be ON, OFF, a nonvolatile flag Bn, a volatile flag
Fn, or another system flag.

Remarks

See Also

Appendix A, System Programs

Example

ERET = ON

Advertising