beautypg.com

Compiletomemory, Config – 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 209

background image

Language Reference • Reference

187

Publication 1398-PM601A-EN-P — October 2000

WORDS

COMPILETOMEMORY

Compile to Memory

Compiler Options

Purpose

Selects whether the program executable should be saved in PC memory or to a disk
file.

Syntax

COMPILETOMEMORY = ON/OFF

ON

The program executable information will be stored in PC mem-
ory.

OFF

The program executable information will be stored in a disk file.

Remarks

The COMPILETOMEMORY statement overrides the default compiler option for
Compile to Memory/Compile to Disk set in the Edit menu, Compiler Options dialog
box.

See Also

PGMTYPE, DEBUG, LISTFILE, EXPANDMACROS

Example

COMPILETOMEMORY = ON

COMPILETOMEMORY = OFF

CONFIG

Configuration

Miscellaneous

Purpose

Change to Feedback Configuration menu n. This allows the feedback configuration to
be changed within a program.

Syntax

CONFIG = n

n

n specifies which of the four configurations setup in the Param-
eter menu is active. Values for n are 1 through 4. The ULTRA
Plus or IQ defaults to Feedback Configuration menu # 1 on
power up.

Remarks

ATTENTION

!

Exercise caution when changing the feedback
configuration while the ULTRA Plus

or IQ is enabled.

Unexpected motion may result from differences
between the new configuration and the old
configuration.

The active configuration menu remains in effect after the program ends. If no change
is made to this variable by the program or by a Host Language Command, the current
value in the Personality Module is used. The value in the Personality Module is set in
the Parameter menu, Feedback Config dialog box.

At power-up the configuration menu is always set to 1.

See Also

Example

CONFIG = 2

;Use configuration number 2

CF = 3

;Use configuration number 3