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 #82 background imageLoading...
Page #82 background image
Memory concept
4.2 Memory functions
CPU 31xC and CPU 31x, Technical Data
4-14 Manual, 01/2006 Edition, A5E00105475-06
4.2.5 Recipes
Introduction
A recipe represents a collection of user data. You can implement a simple recipe concept
using static DBs. In this case, the recipes should have the same structure (length). One DB
should exist per recipe.
Processing sequence
Recipe is written to load memory:
The various data records of recipes are created as static DBs in STEP 7 and then
downloaded to the CPU. Therefore, recipes only use load memory, rather than RAM.
Working with recipe data:
SFC83 "READ_DBL" is called in the user program to copy the data record of a current
recipe from the DB in load memory to a static DB that is located in work memory. As a
result, the RAM only has to accommodate the data of one record. The user program can
now access data of the current recipe. The figure below shows how to handle recipe
data:
6)&5($'B'%/
6)&:5,7B'%/
/RDGLQJPHPRU\
&XUUHQW
UHFLSH
00&
5HFLSH
5HFLSHQ
5HFLSH
&38
Saving a modified recipe:
The data of new or modified recipe data records generated during program execution can
be written to load memory. To do this, call SFC 84 "WRIT_DBL" in the user program.
These data written to load memory are portable and also retentive on memory reset. You
can backup modified records (recipes) by uploading and saving these in a single block to
the PG/PC.
Note
A
ctive system functions SFC82 to 84 (active access to the SIMATIC Micro Memory Card)
have a distinct influence on PG functions (for example, block status, variable status,
download block, upload, open.) This typically reduces performance (compared to passive
system functions) by the factor 10.

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