3 memories, 1 retain memory, Retain memory – Lenze ECSCAxxx User Manual
Page 376: Appendix

Appendix
Memories
Retain memory
l
376
EDBCSXA064 EN 3.2
14.3
Memories
The table below gives you an overview of the memories available:
Memory
Size
Information
ROM
Program memory
512 kbytes
Re−written whenever the program is downloaded
RAM
PLC data memory
10 kbytes
Can be symbolically used for FB instances and PLC variables.
Application memory
2 blocks
à 64 kbytes
Data get lost after mains disconnection.
E2PROM−buffered memory
Retain memory
160 bytes
See chapter 14.3.1
Persistent memory
32 bytes
I
Tip!
Function library LenzeMemDrv.lib includes functions for read/write access to
the additional backup memory (application data memory) of the ECSxA... axis
module.
,
Further information ...
can be found in the Manual for the function library LenzeMemDrv.lib.
14.3.1
Retain memory
The values of the retain variables are stored fail−safe in the retain memory, and therefore
are still available to the program after mains switching. Saving with C0003 = 1 is not
necessary.
ƒ
Retain variables are declared by using the variable class
VAR RETAIN.
ƒ
Retain variables are created as a symbolically addressable memory.
ƒ
At every program download, the retain variables are reset to their initialisation
value; if no initialisation value is specified, the respective retain variable is initialised
with the value ’0’.
ƒ
The retain variables in the ECSxA... axis module can be reset to their initialisation
value in the online mode of the DDS by using the commands Online
W
Reset (cold) or
Online
W
Reset (original).