Data Structure Of The Data Logs - Siemens S7-1500 Function Manual

Automation system
Hide thumbs Also See for S7-1500:
Table of Contents

Advertisement

3.2.2

Data structure of the data logs

Introduction
You use the "DataLogCreate" instruction to create a data log in STEP 7. The NAME
parameter assigns the data log a name. The DATA and HEADER parameters specify the
data type of all data elements in a data log data record, and the header line of the data log.
The RECORDS parameter indicates the maximum number of records in the data log.
NAME parameter for the "DataLogCreate" instruction
You use the NAME parameter to assign a name for the data log. This is the name under
which the data log is saved in the "\datalogs" directory of the SIMATIC memory card.
DATA parameter for the "DataLogCreate" instruction
The DATA block parameter specifies the structure of the data log's records. The columns
and data types of a data record in the data log are determined by the elements of the
structure declaration or array declaration of this data buffer. Each element of a structure or
array corresponds to a column in a row in the data log.
HEADER parameter for the "DataLogCreate" instruction
Using the HEADER block parameter, you can assign a heading in the header row to each
column in the data log.
RECORDS parameter for the "DataLogCreate" instruction
The RECORDS parameter specifies the maximum number of records that can be stored in a
data log. When the specified maximum number of data records in a data log is reached, the
next write operation overwrites the oldest data record.
Structure and Use of the CPU Memory
Function Manual, 10/2018, A5E03461664-AC
Memory usage and application examples
3.2 Memory usage for data logging
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Et 200proEt 200sp

Table of Contents