EasyManuals Logo

Siemens CPU 315-2 DP User Manual

Siemens CPU 315-2 DP
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #75 background imageLoading...
Page #75 background image
Memory concept
4.1 Memory areas and retentivity
CPU 31xC and CPU 31x, Technical Data
Manual, 01/2006 Edition, A5E00105475-06
4-7
Local data
Local data store:
the temporary variables of code blocks
the start information of the OBs
transfer parameters
intermediate results
Temporary Variables
When you create blocks, you can declare temporary variables (TEMP) which are only
available during block execution and then overwritten again. These local data have fixed
length in each OB. Local data must be initialized prior to the first read access. Each OB also
requires 20 bytes of local data for its start information. Local data access is faster compared
to access to data in DBs.
The CPU is equipped with memory for storing temporary variables (local data) of currently
executed blocks. The size of this memory area depends on the CPU. It is distributed in
partitions of equal size to the priority classes. Each priority class has its own local data area.
Caution
All temporary variables (TEMP) of an OB and its nested blocks are stored in local data.
When using complex nesting levels for block processing, you may cause an overflow in the
local data area.
The CPUs will change to STOP mode if you exceed the permissible length of local data for a
priority class.
Make allowances for local data space required for synchronous error OBs. This is assigned
to the respective triggering priority class.
See also
Retentivity of load memory, system memory and RAM (Page 4-2)

Table of Contents

Other manuals for Siemens CPU 315-2 DP

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 315-2 DP and is the answer not in the manual?

Siemens CPU 315-2 DP Specifications

General IconGeneral
Memory64 KB
Power Supply24 V DC
Order Number6ES7 315-2AG10-0AB0
Number of DP Masters1
Number of DP Slaves124
Load Memory64 KB
Number of Timers256
Number of Counters256
Data Memory64 KB
Operating Temperature0 to 60 °C
Integrated InterfacesMPI, DP
Digital OutputsNot integrated
Analog InputsNot integrated
Analog OutputsNot integrated
Programming LanguagesLAD, FBD, STL
Digital InputsNot integrated
Weight660 g

Related product manuals