Specifications

2 S7-1200/1500 Innovations
2.7 Block sizes
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
17
Copyright
Siemens AG 2014 All rights reserved
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
size)
S7 -300/400 S7-1200 S7-1500
DB
Max. size 64 kB 64 kB 64 kB (non-optimized)
16 MB (optimized)
Max. number 16.000 59.999 59.999
FC/FB
Max. size 64 kB 64 kB 512 kB
Max. number 7.999 65.535 65.535
FC / FB / DB
Max. number 4.096 (CPU319)
6.000 (CPU412)
1.024 6.000 (CPU1516)
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 Size Value range
USint 8 bit 0 .. 255
SInt 8 bit -128 .. 127
UInt 16 bit 0 .. 65535
UDInt 32 bit 0 .. 4.3 million
ULInt* 64 bit 0 .. 18.4 billion
LInt* 64 bit -9.2 billion .. 9.2 billion
* only for S7-1500