SysSaveRetainsΒΆ

This function of type DINT can be used to save the values of retain variables in a file. One of the following values will be returned:

1: OK

0: No program loaded

-1: The given file could not be opened

Input Variable Data type Description
stFileName STRING Name of the file where you want to save the retain variables