Address Areas Of System Memory; Table 4-3 Retentive Behavior Of Dbs For Cpus With Firmware >= V2.1.0 - Siemens CPU 31 Series Technical Data Manual

Table of Contents

Advertisement

Memory concept
4.1 Memory areas and retentivity
Retentive behavior of a DB for CPUs with firmware >= V2.1.0
For these CPUs you can specify in STEP 7 (beginning with version 5.2 + SP 1), or at
SFC 82 CREA_DBL (parameter ATTRIB -> NON_RETAIN bit), whether a DB at POWER
ON/OFF or RUN-STOP
• keeps the actual values (retentive DB), or
• accepts the initial values from load memory (non-retentive DB)
Table 4-3
At POWER ON/OFF or restart (warm start) of the CPU, the DB should
receive the initial values
(non-retentive DB)
Reason:
At POWER ON/OFF and restart (STOP-
RUN) of the CPU, the actual values of the
DB are non-retentive. The DB receives the
start values from load memory.
Requirement in STEP 7:
Note
Note:
• Only 256 KB of RAM can be used for retentive DBs on a CPU 317.
• Only 700 KB of RAM can be used for retentive DBs on a CPU 319.
The remainder of the RAM is used by code blocks and non-retentive data blocks.
4.1.4

Address areas of system memory

The system memory of the S7 CPUs is organized in address areas (refer to the table below).
In a corresponding operation of your user program, you address data directly in the relevant
address area.
4-4
Retentive behavior of DBs for CPUs with firmware >= V2.1.0
The "Non-retain" check box must be set
in the block properties of the DB, or
a non-retentive DB was generated with
SFC 82 "CREA_DBL" and the
corresponding block attribute (ATTRIB -
> NON_RETAIN bit.)
retain the actual values (retentive DB)
Reason:
At POWER OFF/ON and restart (STOP-RUN) of the
CPU, the actual values of the DB are retained.
Requirement in STEP 7:
The "Non-retain" check box must be reset in the
block properties of the DB or
a retentive DB was generated with SFC 82.
CPU 31xC and CPU 31x, Technical Data
Manual, 01/2006 Edition, A5E00105475-06

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents