
2.2 Overview of the memory management functions
Function library LenzeMemDrv.lib
Introduction
2−2
L
LenzeMemDrv.lib EN 1.1
Tip!
In addition to the functions of the LenzeMemDrv.lib, the operating system of the PLC includes
codes which allow the following memory−related functions:
· Reading/writing data of a RAM block by means of autoincrement access" while the PLC
program is running (C0504 ... C0508).
· Activating a read/write protection for the FLASH memory (C2006/C2007).
Detailed information can be found in the relevant PLC Manuals.
2.2.1 Functions supported by Lenze PLCs
9300 Servo PLC Drive PLC ECSxA
General memory functions
L_MemGetStateDriver ü ü ü ^ 3−2
L_MemGetStateOfMemory ü ü ü ^ 3−3
Functions for RAM memory access
L_MemCopyFromRam ü ü ü ^ 4−2
L_MemCopyToRam ü ü ü ^ 4−4
L_MemReadDINT ü ü ü ^ 4−6
L_MemReadDWORD ü ü ü ^ 4−7
L_MemReadINT ü ü ü ^ 4−8
L_MemReadWORD ü ü ü ^ 4−9
L_MemWriteDINT ü ü ü ^ 4−10
L_MemWriteDWORD ü ü ü ^ 4−11
L_MemWriteWORD ü ü ü ^ 4−13
L_MemWriteINT ü ü ü ^ 4−12
Functions for FLASH memory access
L_MemClearFlash ü ^ 5−2
L_MemLoadRamFromFlash ü ^ 5−3
L_MemSaveRamToFlash ü ^ 5−5
2.2.2 Backup memory of Lenze PLCs
9300 Servo PLC Drive PLC ECSxA
RAM 2 64−kbyte blocks 2 64−kbyte blocks 2 64−kbyte blocks
FLASH 15 64−kbyte segments − −
Commentaires sur ces manuels