_AlertSaveRestore

For administering swapped out data the names of the target directories are kept, the name of the source directory when importing, the limits of the time interval within the data is contained in the directory, status bits for advancement of the import process etc. - all this information is saved in internal data points. _AlertSaveRestore contains the settings for the alarm history.

Data point element Type Description
SaveDirList.DirNames dyn_string Swapped out data of the value history is moved into the sub directories of the directory ”r;save ”r; in the WinCC OA database. More precisely a sub directory is created at each start time of an archive class for which a ”r;swap out” was configured . All data that is swapped out under this archive class with the corresponding start time is saved in this sub directory. Data of the alert history is saved in the sub directories of the directory ”r;alsave” in the WinCC OA database. The sub directories are created at specific intervals that are specified in the alert classes. Contains the names of the sub directories of the Save directory
SaveDirList.Descriptions dyn_string Contains the information of the above mentioned sub directories. The sub directories are created via the data background manager. The corresponding archive class as well as the swap out interval are specified.
Restore.FromDirName string The data point elements under ”r;Restore” contain the information that are necessary to import the data newly to the value or alert history or allow to activate such import. Name of the directory that contains the data that is to be imported newly. The directory has to be a sub directory of the save directory and has to be specified relative in respect to the save directory. Its name is arbitrary.
Restore.DpList dyn_dpid Contains the addresses of the data point elements whose data should be imported newly. If an empty DPList is assigned data of all data point elements (of the defined directory) are imported.
Restore.StartTime time Defines the start time of the data that is to be imported. The start time should be defined within the data storage (swap out) interval of the data.
Restore.EndTime time Defines the end time of the data that is to be imported. The end time should be defined within the data storage (swap out) interval of the data.
Restore.SavePreviousData bool Defines whether the data (located between the start and end time) that is available in the value or alert history should be swapped out or overwritten (you can define that the compacted data of the history won`t be lost when importing uncompacted data!)
Restore.Command bool Activates the import of data into the value history. TRUE or FALSE
Restore.Status string Contains information of the import progress.
Save.DpList dyn_dpid The data point elements under "Save" contain information that is necessary for the data storage (swap out)from the value or alert history. The information under "Save" is for data storage that takes place independent from the settings in the archive or alert classes. With the aid of this element a data storage can also be triggered. Contains the addresses of the data point elements whose data should be swapped out. If an empty DpList is assigned data of all data point elements of the defined directory is swapped out.
Save.StartTime time Defines the start time for the data storage (swap out).
Save.EndTime time Defines the end time for the data import.
Save.SavePreviousData bool Defines whether the data (located between the start and end time), which is available in the value or alert history, should be swapped out or overwritten.
Save.DontDelete bool Prevents erasure of data.
Save.Command bool Activates the data storage into the value or alert history. TRUE or FALSE
Save.Status string Contains information of the data storage (swap out) progress.
PeriodicSave.Interval time

Alert data can be swapped out cyclic or deleted with the aid of the elements under "PeriodicSave".

Contains the processing interval.

PeriodicSave.Status string Contains information of the data storage (swap out) or erasure progress.