Optimization Of The Tia Portal Project - Siemens SIMATIC S7-300 Manual For Migrating

Tia portal
Hide thumbs Also See for SIMATIC S7-300:
Table of Contents

Advertisement

5 Software Conversion
5.2.5

Optimization of the TIA portal project

The full migration is not yet completed with the created TIA Portal project. If there
are no other messages in the migration protocol itself and if there are also no
errors after compilation, in most cases it will still be necessary to carry out an
optimization. The command records and command structures between S7-300/S7-
400 and S7-1500 differ. This is why commands in a S7-300 may possibly be
handled or processed differently. This may possibly lead to a migrated program in
a S7-1500 to run slower than in a S7-300/S7-400 although the technical data
clearly speaks for the S7-1500.
Among others, the following points should be observed for optimization:
Optimized blocks
Block sizes
New data types
New instructions
Symbolic
Library concept
Integrated blocks (library)
Optimized blocks
In the TIA Portal optimized blocks are used, for compatibility reason there are non-
optimized blocks. For optimized blocks, the declared data elements in the available
memory section of the block are automatically arranged in a way so that its
capacity is optimally used and access can be carried out with optimal performance.
Large data types are stored at the beginning, smaller ones at the end. Bits are
stored as byte, the controller does not have to execute masking or conversions.
The data is structured and stored in a way that is optimum for accessing this data
in the CPU used. The data elements only obtain a symbolic name in the
declaration, via which the tag within the block can be addressed. This increases
the performance of the CPU. Access errors, for example, from a HMI are not
possible like this.
For S7-300 and S7-400 the maximum size of a data block is limited to 64KByte. A
S7-1500 can process data blocks up to 10Mbyte - when block access is optimized.
Non-optimized blocks can also be accessed conventionally (direct addressing),
however this restricts the performance. This is why the two variants should not be
mixed in the user program.
In addition, optimized blocks have a storage reserve with which make it possible to
reload in running operation.
Quantity framework
For the S7-1500 the overall quantity framework has become larger – inter alia, the
number of useable blocks, the size of all blocks and the new SIMATIC Memory
Card with up to 32GByte usable memory has increased. All this supports the
usability for the user but also has an effect on the size of the user program.
Migration S7-300/S7-400 nach S7-1500
Entry ID: 109478811,
V1.1,
05/2017
55

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400Simatic s7-1500

Table of Contents