Memory usage and application examples
3.2 Memory usage for data logging
Example for size of a CSV file
The figure "Open CSV file" shows a CSV file opened in a spreadsheet program with five
written data records in one data log.
The figure "Size of the header and the data records" shows the size of the header used in
the CSV file and the size of the individual data records on the SIMATIC memory card.
The figure "Column size" shows the size of the respective columns depending on the data
type used.
Open CSV file
Column size
Each data record also has a separator comma. Therefore, the calculation of the total size per
column also includes 1 byte for each separator comma.
Note that the calculation of the size of the header, the data records and the columns is not
an integral component of the open CSV file. The size information was added manually to
illustrate the elements that make up the size of a data log. You can have the total size of a
data log you have created as CSV file displayed in the web server on the "DataLogs" page.
56
Size of the header and the data records
Structure and Use of the CPU Memory
Function Manual, 10/2018, A5E03461664-AC