A Citect.ini parameter has been added to
give the option of changing this behaviour. By default this
parameter is 0 (FALSE). To enable the configuration based
limits (delay or threshold) to always be used, in the Alarm
section, set:
useConfigLimits = 1
The correct behaviour now depends upon whether we are running
standalone or redundant configurations and the online and offline
state of the servers.
Standalone:
- By default run time generated changes override configuration
changes to preserve existing behaviour.
- The above parameter can be used to force Citect to use the limits
from the rdb file (compiled from the dbf file). Update times of the
rdb and almsave.dat are NOT considered – the rdb is always
used.
Redundant:
- If the secondary or backup is online and changes are made at
runtime on the primary, to limit parameters these changes will be
propagated to the secondary and saved to the secondaries rdb file
and dbf file. These may potentially overwrite configuration changes
being performed on this machine. Hence be aware editing the dbf
file on an online machine may result in your changes being
overwritten. The above parameter DOES NOT prevent this.
- If the machine is offline you can edit the dbf and rdb then the
local almsave.dat, rdb or dbf is not updated by the remote machine.
Setting UseConfigLimits influences whether this station, when
coming online will use the rdb only or potentially use the
almsave.dat. If it uses almsave.dat, as per previous behaviour it
will compare the timestamp of the primary and secondary almsave.dat
files. As with any deployment of the configuration files, on a
partial set of the machines in a network, this can lead to the
configuration for multiple machines being out of sync. This would
mean runtime configured limits, via cicode or tag writes calls
generated on a remote machine and not stored in the local rdb or
dbf, will NOT be preserved.
This fix has been tested in both a standalone and network
configuration.
Future versions of Citect will clarify the editing and
deployment of configuration data and the policy on runtime
changeable limit data. This problem has been resolved in
v7.00.
|