# Properties (Logging Group)

[Max Record] 'DataLogging.(Logging Group Name).MaxRecord'
Set how much logging data to save. When logging data exceeds the set value, the process specified by the [Operation When [Save in] Is Full] field is executed. Setting Value Range: 0 - 2147483647
Note: The amount of logging data you can save depends on the capacity of the save location. For information on the data size of logging data, refer to the following. Calculating the Size of Data to Save For a guide on the value of [Max Record], refer to the following. Conditions for Collecting Data Data Binding Support: To use as a Binding Source, refer to the following. DataLogging.(Logging Group Name).MaxRecord For more information of Data Binding concept, refer to the following. Data Binding

[Condition Type]
Select the condition for collecting logging data: -[Value Change]: Logging data is collected when there is a change in the variable value. -[Periodic]: Logging data is collected periodically. -[Script]: Logging data is collected when the [Data Logging] operation is executed.
Note: For information on [Data Logging], refer to the following. Data Logging

When selecting [ValueChange] in [Condition Type]When selecting [ValueChange] in [Condition Type]

[Execution Condition]
Select the condition for execution of collecting logging data: -[ON]: Logging data is collected when the value of the BOOL type variable set as the [Trigger Variable] turns ON. -[OFF]: Logging data is collected when the value of the BOOL type variable set as the [Trigger Variable] turns OFF. -[On Change]: Logging data is collected when there is a change in the value of the variable set as the [Trigger Variable].

[Trigger Variable]
Set the variable that controls the collection of logging data. Click the property marker and select [Variable].
Data Binding Support: When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding

When selecting [Periodic] in [Condition Type]When selecting [Periodic] in [Condition Type]

[Frequency]
Set the frequency at which logging data is collected. Setting Value Range: 1 - 100

[Units]
Select the unit for the frequency of collecting logging data. -[Secs] -[Mins] -[Hours] -[100ms]

[Interlock]
Set a BOOL type variable for stopping the collection of logging data. While the variable value is ON, stops collecting logging data. Click the property marker and select [Variable].
Data Binding Support: When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding

[Export Data]

[Enable]
Saves logging data on the display unit to a file.
Note: For information about exporting and importing, refer to the following. Exporting and Importing Logging Settings and Logging Data

[Data Storage]
Select the export file location from the following. -[Local Storage] -[SD Card] -[USB Storage]
Note: The storage which can be selected for [Data Storage] depends on the display unit model. When using SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, or PC/AT, simply selecting [SD Card] or [USB Storage] will NOT store the export file in the SD card or USB storage inserted in the display unit. To save the export file in the SD card or USB storage, specify the destination folder in the [Destination Folder (SD Card)] or [Destination Folder (USB Storage)] property of the target. [Target01] property window > [Function] tab > [Options] tab > [Preferences] Properties (Target01)

[Append Date/Time]
At the end of the file name of the exported, append the export date and time. Example: If the exported date and time is 2016/10/31 and 10:43:45 PM, then the exported file is saved as “\20161031PM104345.TXT”.
Note: Note:The date and time formats depend on the [Date Format] and [Time Format] settings. [Target01] property window > [Function] tab > [Options] tab > [Export] For more information, refer to the following. [Date Format] [Time Format] If the [Append Date/Time] check box is cleared and a file already exists with the export file name, the existing export file is overwritten by the new export file.

[Detect Modification]
Detects modifications to the exported file. Use the Export File Validation tool to detect modifications.
When [Detect Modification] is enabled, an alphanumeric string is added to the first line of the exported file. This string is used by the Export Validation Tool to detect modifications to the file data. When using the Export Validation Tool, do not erase or modify this string. For information on the Export Validation Tool, refer to the following. Checking the Modification in Exported File

[Folder Name] '(Logging Group Name).ExportData.FolderName'
Set the name of the folder. (Example: \Log) You can use up to 256 characters, except the following symbols, for the folder name. : ; | , * ? " < > /
Note: On the IPC Series, to use a specific language for folder and file names, set up in [Control Panel] > [Change system locale]. Data Binding Support: To use as a Binding Source, refer to the following. (Logging Group Name).ExportData.FolderName When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding

[File Name] '(Logging Group Name).ExportData.OutputFileName'
Set the name of the exported file. (Example: LogData) You can use up to 256 characters, except the following symbols, for the file name. : ; | , * ? " \ /
Note: On the IPC Series, to use a specific language for folder and file names, set up in [Control Panel] > [Change system locale]. Data Binding Support: To use as a Binding Source, refer to the following. (Logging Group Name).ExportData.OutputFileName When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding

[Export Status]

[Enable]
You can store the export file save status or error status to a variable.

[Save Status] '(Logging Group Name).ExportStatus.SaveStatus'
Set an integer variable to store the start and completion status of the export process. From the property marker, select [Variable].
When exporting, the following is stored in the save status. (1) Exporting bit (2) Completion bit The timing chart for the save status is as follows. A: User starts export B: Export complete C: User clears values in variables Data Binding Support: To use as a Binding Source, refer to the following. (Logging Group Name).ExportStatus.SaveStatus When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding

[Error Status] '(Logging Group Name).ExportStatus.ErrorStatus'
Set an integer variable for storing the result of the export process. From the property marker, select [Variable].
When the end bit (bit position:1) of the variable specified in the [Save Status] field is ON, the following results appear in the error status. 0: Data is exported successfully. 1: No external storage. 3: Not enough disk space. 4: File open/write error. Data Binding Support: To use as a Binding Source, refer to the following. (Logging Group Name).ExportStatus.ErrorStatus When used as a Binding Target, the Binding Sources that can be associated are as follows. [ Variable] For more information of Data Binding concept, refer to the following. Data Binding