beautypg.com

Appendix c, Continued) – Rockwell Automation 57C423 Common Memory Module User Manual

Page 30

background image

CĆ2

Appendix C

(Continued)

1000 NVMEMDEF WINDOW%, STOPPB@
The NVMEMDEF statement also allows you to define array variables. The

following example defines an array of 20 (0Ć19)singleĆprecision integers with the

name SIZES%".

1650 NVMEMDEF SIZES%(19)

Common Memory Module Located in Any

Even Slot Other Than 0

This section describes how to configure the Common Memory module when it is

located in any even slot other than 0. In this situation the Common Memory

module provides userĆconfigurable data storage only. In other words, you can

specify the exact address at which to store data.
The slot to the right of the Common Memory module must be empty because the

module contains 64K userĆconfigurable registers, or the equivalent of the address

space of two slots. Therefore, if the Common Memory module is placed in slot 6,

the first 32K registers are addressed as slot 6. The second 32K registers are

addressed as slot 7. Refer to the figure below.

SLOT 6

SLOT 7

Register 0

Register 0

Register 32767

Register 32767

Common

Memory

Module

Empty

Slot

64K Registers

(128K Bytes Memory)

32 Bit Register Reference Format

Use the following method to reference 32 bits of data as a single value. One

statement is required in the configuration task for each variable. The symbolic

name of each value should be as meaningful as possible:
nnnnn IODEF SYMBOLIC_NAME![ SLOT=s, REGISTER=r]
When referenced as a double precision integer of 32 bits, register r" is the high

order 16 bits and register r+1" is the low order 16 bits.

This manual is related to the following products: