● Memory configuration (code+data)
In this box, enter the memory configuration of your CPU that you obtained online.
● Allocation for recipe logic
Select the percentage of the memory configuration to be reserved for the recipe logic. The
following selections are available: 0%, 10%, 20%, 30%, 40% and 50%.
Example
The memory setup of a CPU 417 is specified as 30 megabytes. 15 megabytes of this is code
memory and 15 megabytes data memory. In our example, 20% of the memory is to be reserved
for the recipe logic. This means that: 20% of 15 MB, i.e. 3 MB, are allocated for data blocks.
A data block of the type "MemIDB64" has a size of 64 KB. This means that 3 MB = 3072 KB
divided by 64 KB corresponds to 48 data blocks contained in the "@ASB_Mem" CFC chart.
This calculation and the resulting installation of this number in the CFC chart is handled by the
system in the BATCH configuration dialog.
How many data blocks do I need?
The more batches processed simultaneously on a unit in one AS, the greater the number of
instance blocks required.
A master recipe executed on the AS requires at least 2 data blocks. Twenty batches running
simultaneously with this control recipe require 40 data blocks in the "@ASB_Mem" CFC chart.
Result: The 20% allocation of the data area in work memory is adequate.
Engineering
7.3 BATCH engineering
SIMATIC BATCH V8.2
Operating Manual, 02/2016, A5E35958174-AA 199