2 introduction, 1 general information about the memory management, 2 overview of the memory management functions – Lenze DDS Function library MemDrv User Manual

Page 9: General information about the memory management, Overview of the memory management functions, Function library lenzememdrv.lib, 2introduction, Introduction

Advertising
background image

Function library LenzeMemDrv.lib

Introduction

2.1

General information about the memory management

2−1

L

LenzeMemDrv.lib EN 1.1

2

Introduction

2.1

General information about the memory management

Lenze PLCs offer the oppportunity to copy parts of the variable memory of the PLC (e.g. global
variables, arrays, etc.) into a backup memory. In this way, you can, for instance, create recipe
memories or measured−value memories.

2.2

Overview of the memory management functions

The below figure gives you an overview of the memory management functions available:

RAM

FLASH

Block 1

64 KByte

Block 2

64 KByte

Segment 1

64 KByte

Segment 2

64 KByte

Segment n

64 KByte

L_MemSaveRamToFlash

L_MemLoadRamFromFlash

L_MemClearFlash

L_MemCopyToRam

PLC variables

L_MemCopyFromRam

L_MemWriteWORD

L_MemWriteDWORD

L_MemReadWORD

L_MemReadDWORD

L_MemGetStateOfMemory

State function

Memory transfer function

L_MemWriteINT

L_MemWriteDINT

L_MemReadINT

L_MemReadDINT

Block n

64 KByte

L_MemCompareMemory

Access via Codes

Download from Lenze software tools

Drive PLC Developer Studio

Global Drive Loader

L_MemGetStateDriver

Note!

The type and size of the backup memory depends on the Lenze PLC used. This is why you cannot
use all functions of the LenzeMemDrv.lib function library for all Lenze PLCs.

·

In the following sections you can find an overview of the functions supported by the individual
Lenze PLCs.

Advertising