Memory usage and application examples
3.2 Memory usage for data logging
Tags of the data block
The following figure shows the tags of the "My_Datalog_Vars" data block. These tags are
used by the "Data logging" instructions "DataLogCreate" and "DataLogNewFile". The
"MyDataLogName" and "MyNEWDataLogName" tags are called in the NAME block
parameter, and give the data logs a name. The "MyData" structure is called in the DATA
block parameter and specifies the structure of the csv file. The three MyData tags
temporarily store new values. The tag values at these DB addresses are transferred to a
data log using the "DataLogWrite" instruction. The "MyDataLogHeaders" tag is called in the
HEADER block parameter and specifies a header for the data log.
Figure 3-4
Network 1
A rising edge at REQ starts the creation of the data log.
Figure 3-5
Network 1
48
Declaration table with the data block's tags
Structure and Use of the CPU Memory
Function Manual, 10/2018, A5E03461664-AC