Applications
some process events that record a set of process data. The organization of this data is defined
by the data log wizard.
2. A data log record is a single row of data written into data log.
Using the Data Log Wizard
The Data Log Wizard can configure four data logs at most, which is used to:
1. Define the format of the data log record
2. Select data log’options such as time stamp, date stamp, and clear data log on upload
3. Specify the maximum number of records that can be stored in the data log
4. Create project code that is used to store records in the data log.
Steps using Data Log Wizard to create a data log:
1. Create a symbol table for each data log which includes symbol names same as that of data
log field. Each symbol defines the V memory addresses that store the current data log. Each
table also includes a symbolic constant to recognize each data log.
2. A data block tab for each data log record that assigns V memory addresses for each data log
field. Your program uses these V memory addresses to accumulate the current log data set.
3. Create a DATx_WRITE subroutine to copy the specified data log from V memory to the
memory card. Each execution adds a new data record to the log stored in the memory card.
Data Log Options
You can configure the following options for the data log. See Figure 6-25.
Time Stamp
You can have a Time Stamp in each data log record. Select this option, the CPU will
automatically add a time stamp each record when the user program write a data log.
Data Stamp
You can add a Date Stamp to each data log record. When selected, the CPU automatically
includes a date stamp with each record when the user program commands a data log write.
Clear Data Log
You can clear all the record in data log after uploading the data. the data log will be cleared each
time it is uploaded if you selected this.