Siemens programming the cpu 314c-2dp manual Work memory RAM, Retention of the memory objects

Page 10

Automation and Drives - SCE

Retentivity

Your CPU 31xC has retentive memory. Retentivity is implemented on the MMC and on the CPU. Due to this retentivity, the contents of the retentive memory are retained even after the mains supply has been switched off and the CPU has been restarted (warm restart).

Load memory

You program in the load memory (MMC) is always retentive. During loading, it is stored on the MMC, is powerfail-proof and cannot be cleared.

Work memory (RAM)

Your data in the work memory are backed up on the MMC in the event that the mains supply is switched off. The contents of data blocks are therefore always retained.

System memory

With regard to clock memories, timers and counters, you configure (properties of the CPU, Retentivity tab) which parts are to be retentive and which are to be initialized with "0" when the system is restarted (warm restart).

The diagnostic buffer, MPI address (and baud rate) as well as the runtime meter are generally stored in the retentive memory area on the CPU. The retentive area for the MPI address and the baud rate ensure that your CPU is still able to communicate after a power failure, a complete memory reset or loss of the communication parameters (because the MMC was removed, or the communication parameters were deleted).

Retention of the memory objects

The following table shows which memory objects are retained when transitions between operating modes occur.

Memory Object

Operating Mode Transition

 

 

STOP Æ

 

PowerOn/PowerOff

 

 

RUN

 

 

X

User Program/User Data (load memory)

X

Actual values of the DBs

X

X

Flags, timers and counters configured as

X

X

retentive

 

 

Diagnostic buffer, hours run meter

X

X

MPI address, baud rate

X

X

Memory

Reset

X

-

-

X

X

X = retentive; - = not retentive

 

 

 

 

 

 

Foreword

Notes

Hardware configuration

STEP 7 program

Testing

 

 

 

 

 

 

 

T I A Training Document

 

Page 10 of 25

 

Module

 

 

 

 

A5

Issue date: 02/2008

 

 

Programming the CPU 314C-2DP

Image 10
Contents Module A5 Automation and Drives SCE Seite ForewordFrequency Converter at Simatic S7 ForewordTo 3 days Module C To 3 days Module D Learning ObjectiveHardware and software needed Automation and Drives SCE Operating the Cpus 31XC Operator control and display elementsPositions of the mode selector Status and fault/error displaysMode selector Slot for the Simatic Micro Memory Card MMCLoad memory Memory Areas of the CPU 31XCIntroduction RAMWork memory RAM Retention of the memory objectsCreating the Hardware Configuration for the CPU 314C-2DP CPUAutomation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Automation and Drives SCE Assignment list Writing a ProgramBit Automation and Drives SCE Automation and Drives SCE Testing the Program Automation and Drives SCE