Disconnected startup parameters
- Last UpdatedApr 03, 2023
- 2 minute read
Interfaces use disconnected startup parameters to control how disconnected startup operates. Some parameters require values. Disconnected startup settings for UniInt interfaces include the following parameters:
-
Cache mode (cachemode)
Syntax: /cachemode
Required. If enabled, the cachemode startup parameter indicates that the interface is configured for disconnected startup.
Default: Not Defined.
-
Cache file path (cachepath)
Syntax: /cachepath=path
Specifies the directory path to the cache files. The specified directory must already exist on the interface node. By default, the cache files are created in the same location as the interface executable, which may require increased service account access permissions. For more information about security for access to the default file path, see Restricted access for service accounts.
If the path contains any spaces, enclose the path in quotes. For example:
-
/cachepath=D:\PIPC\Interfaces\CacheFiles
-
/cachepath="D:\Program Files\PIPC\MyFiles"
-
-
Cache file synchronization (cachesynch)
Syntax: /cachesynch=#
Specifies the amount of time in milliseconds that the interface takes to synchronize the point cache file with Data Archive during each update.
Note: If the value of the cachesynch parameter is greater than the interval of any scan class, input scans will be missed while the cache file is being synchronized. Ensure that the value is less than the smallest scan class period (defined with the f parameter). Interfaces often have multiple scan classes.
By default, the interface synchronizes the point cache if running in disconnected startup mode. UniInt allocates a maximum of # milliseconds during each pass through the control loop, synchronizing the interface point cache until the file is completely synchronized.
The default value is 250 milliseconds. The minimum value is 50 milliseconds, and the maximum is 3000 milliseconds. The interface changes # values of 1 to 49 to the minimum value of 50 milliseconds and values greater than 3000 to the maximum value of 3000 milliseconds. To disable synchronization of the point cache file, set # to 0. For example:
-
/cachesynch=50 (50 millisecond interval)
-
/cachesynch=3000 (3 second interval)
-
/cachesynch=0 (do not synchronize the cache file)
-