Professional Documents
Culture Documents
Data Logging in S7 1200
Data Logging in S7 1200
• You can access these CSV data logs (to analyze them, for example, in
Microsoft Excel)
Data Logging in S7 1200
In the user program, the Data Log instructions are used to store process values in log files.
These log files can be stored on the memory card (MC) or in the internal load memory of the CPU.
The log files are stored in CSV format. When using a memory card, the csv file can be accessed using
a card reader, or when accessed via a Web server, they can be downloaded with the aid of a Web
browser.
Data Logging in S7 1200
1. – DataLogCreate V1.0
2. – DataLogOpen V1.1
3. – DataLogWrite V1.0
4. – DataLogClose V1.0
5. – DataLogNewFile V1.1
Data Logging in S7 1200
1. DataLogCreate
2. DataLogOpen
Opening the data log file via the “NAME” parameter returns
the “ID” that allows “DataLogWrite” and “DataLogClose” to
access this file.
Data Logging in S7 1200
3. DataLogWrite
4. DataLogClose
5. DataLogNewFile
Application Example
Data Logging in S7 1200
CPU properties
Data Logging in S7 1200