Block Sizes; New Data Types For S7-1200/1500; Elementary Data Types - Siemens S7-1200 Programming Manualline

Step 7 tia portal, background and system description
Hide thumbs Also See for S7-1200:
Table of Contents
2 S7-1200/1500 Innovations

2.7 Block sizes

2.7
Block sizes
For S7-1200/1500 controllers the maximum size of blocks was significantly
increased in the main memory.
Table 2-7: Block sizes
Max. size and number
(regardless of the main memory
DB
FC/FB
FC / FB / DB
Recommendation
Use the DBs for S7-1500 controllers as data container of very large data
volumes.
Data volumes of > 64 kB can be stored in an optimized DB (max. size 16 MB)
with S7-1500 controllers.
2.8

New data types for S7-1200/1500

S7-1200/1500 controllers support new data types in order to make programming
more convenient. With the new 64 bit data types considerably larger and more
accurate values can be used.
Note
You will find further information in the following entry:
How is the conversion of data types performed in the TIA Portal for the
S7-1200/1500?
http://support.automation.siemens.com/WW/view/en/60546567
2.8.1

Elementary data types

Table 2-8: Integer data types
Type
USint
SInt
UInt
UDInt
ULInt*
LInt*
* only for S7-1500
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
S7 -300/400
size)
Max. size
Max. number
16.000
Max. size
Max. number
Max. number
4.096 (CPU319)
6.000 (CPU412)
Size
8 bit
8 bit
16 bit
32 bit
64 bit
64 bit
S7-1200
64 kB
64 kB
59.999
64 kB
64 kB
7.999
65.535
1.024
S7-1500
64 kB (non-optimized)
16 MB (optimized)
59.999
512 kB
65.535
6.000 (CPU1516)
Value range
0 .. 255
-128 .. 127
0 .. 65535
0 .. 4.3 million
0 .. 18.4 billion
-9.2 billion .. 9.2 billion
17

Hide quick links:

Table of Contents
loading

This manual is also suitable for:

S7-1500

Table of Contents