Appendix – Lenze ECSCAxxx User Manual

Page 382

Advertising
background image

Appendix

Memories
RAM memory access via codes

14

l

382

EDBCSXA064 EN 3.2

IMPORTANT

Possible settings

Code

Selection

Lenze/
{Appl.}

Designation

No.

C0505

0

Offset address within the RAM
block selected via C0506

^ 381

0

{1}

65532

C0506

1

Selection of the RAM block for
access via C0509

^ 381

1

RAM block 1

2

RAM block 2

C0507

0

Value read from the RAM block

l

After reading, the pointer to
the memory address is
automatically incremented by
4 bytes.

^ 381

0

{1}

65532

C0508

0

Value to be written into the RAM
block

l

After writing, the pointer to
the memory address is
automatically incremented by
4 bytes.

^ 381

0

{1}

65532

C0509 CmpChecksRa

m

0

Check sum verification

^ 381

0

Inactive

Stop the PLC during the check
sum verification to avoid a
time−out when reading back the
code.

1

Active

Auto increment access

Reading/writing of the corresponding 4 data bytes is effected by means of the "auto
increment access", i. e. the pointer to the corresponding address in the selected RAM block
is automatically incremented by 4 bytes after every reading of the code C0507, or after
writing of the code C0508.

Example: reading of successive "double integer" values from the RAM block by means of
auto increment access

0

Offset

C0505

auto-increment

(+4 bytes)

65532

4 bytes

4 bytes

4 bytes

4 bytes

RAM
block

4 bytes

0

Offset

C0505

auto-increment

(+4 bytes)

65532

4 bytes

4 bytes

4 bytes

4 bytes

4 bytes

0

Offset

C0505

auto-increment

(+4 bytes)

65532

4 bytes

4 bytes

4 bytes

4 bytes

4 bytes

1.

2.

3.

C0507

C0507

C0507

ECSXA297

Fig. 14−3

Example: auto increment access

Advertising
This manual is related to the following products: