# Properties (All Alarms)

[Max Record] 'Alarm.MaxRecord'
Set the number of alarm history records to save. When alarm history exceeds the set value, the process specified by the [Operation When [Save in] Is Full] field is executed. The alarm history includes alarms and system errors for all alarm groups. Setting Value Range: 0 - 2147483647
Note: The number of alarm history records you can save depends on the capacity of the save location. For data size of alarm history, refer to the following. Calculating the Size of Data to Save The maximum number of system errors that can be saved is 100. Even if you set [Max Record] to a value greater than 100, the number of system errors saved is limited to 100. If the number of system errors exceeds 100, the oldest system error is deleted and the newest system error is saved. Data Binding Support: To use as a Binding Source, refer to the following. Alarm.MaxRecord For more information of Data Binding concept, refer to the following. Data Binding

[Operation When [Save in] Is Full]
Select the operation that occurs when the alarm history exceeds the number of [Max Record]. -[Overwrite Old Data]: Delete the oldest alarm history and save the new alarm history. -[Stop logging]: Stop saving new alarm history.

[Save in]
Select the save location for alarm history from the following. -[Backup Memory] -[SD Card] -[USB Storage]
Important: When you use external storage for saving alarm history, turn off the display unit before removing the external storage. If you remove external storage before turning off the display unit, the alarm history cannot save even though the external storage is inserted again. In this scenario, restart the display unit after inserting external storage. We recommend you avoid selecting external storage that is often removed from the display unit. Note: The memory and storage which can be selected for [Save in] depend 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 alarm history in the SD card or USB storage inserted in the display unit. To save the alarm history 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)

[Encryption]
Select this check box to encrypt the saved alarm history. The default value is enabled. Clear this check box if you do not want to encrypt the saved alarm history.

[Export Data]

[Enable]
You can save alarm history on the display unit to a file.
Note: For information about exporting and importing, refer to the following. Exporting and Importing Alarms

[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] 'Alarm.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. : ; | , * ? " < > / A sub folder with a Alarm Mode name (‘Log’ of ‘Active’) used for export is created in the folder and the export file is saved. Set Alarm Mode in the [Export Alarm Data] operation. Export Alarm Data
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. Alarm.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] 'Alarm.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. Alarm.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] 'Alarm.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. Alarm.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] 'Alarm.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. Alarm.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

[Hi/Lo Status Behavior]
Select how alarm states operate when the value of the variable configured with a level alarm changes from Hi to HiHi or Lo to LoLo. [Change to RTN on HiHi/LoLo] [Remain Active on HiHi/LoLo]
Note: If you select [Remain Active on HiHi/LoLo] and a changed value exceeds more than one alarm type, all applicable alarms occur at the same time. (Example) For a level alarm with Hi set to 50 and HiHi set to 100, and the value changes from 0 to 105, both Hi and HiHi occur at the same time. As a result the Alarm Summary object displays both of the alarms and in this order Hi, HiHi, to match the direction of change in value (0 to 105).