Use Persistence to Stop Fleeting Changes in Value from Changing a Point State

Most types of point on Generic Modbus controllers support Persistence.

Use Persistence to stop momentary changes in point value from changing the state of a point. When used, persistence stops the driver from processing fleeting changes in point state and reporting those fleeting changes to the server. This stops Geo SCADA Expert from raising change of state alarms and logging change of state events when a point value is fluctuating.

You can configure persistence for changes into a state, or out of a state, using a point’s Persistence Type field. Use this field in conjunction with the Persistence Duration fields, which define the required amount of time before a change in point value is recorded as a change in point state. The persistence fields are on the <Point Type> tab of the Point Form.

Use the Persistence Type field to specify one of the following:

Persistence delays the recording of a change in state, not the recording of a change in value. If a point is also configured to use Significant Change and a change in value exceeds the Significant Change Deadband, the value of the point will be updated immediately, although the state will not have changed at that stage. Any change in state will only be recorded, along with the point’s current value at that time, once the Persistence Duration has elapsed. (For an example that demonstrates this, see Use Persistence with an Analog Point.)

With a Persistence Type other than ‘None’, use the point’s Persistence Duration fields to specify the amount of time during which a change in state has to persist, before that change in state is recorded:

With digital points, a Persistence Duration field exists for each point state.

With analog points, a Persistence Duration field exists for each state limit. (Persistence does not apply should an analog point become over range (above Full Scale), under range (below Zero Scale), or Invalid, as these states are reported immediately.)

For each change in state that is to persist before it is recorded, use the relevant Persistence Duration field to specify the required time period. You can either enter the time period in the OPC Time Format directly in the field, or use the Interval Window (accessed via the field’s browse button) to specify the required value. (Leave a Persistence Duration field at the default of 0 for any state changes that are to be recorded immediately.)

Be aware that an analog point’s Significant Change settings also have an effect on when and if that point’s change in value and state is recorded:

With a Persistence Type other than ‘None’, whenever an analog point’s value crosses a state limit, the relevant Persistence Duration begins.

If the point’s Significant Change Deadband has not been exceeded due to the value change, then the value of the point will only be updated once the Persistence Duration expires.

However, if the point’s Significant Change Deadband has been exceeded due to the value change, then the value change will be recorded immediately, but the point state will remain the same. Once the Persistence Duration expires, the point’s current value will be logged, along with the new state. This is because persistence applies to the state change and not the value change. (If, during the Persistence Duration, the point’s value crosses the state limit back to the original state, the point value will not update and the persistence time will be canceled.)

For examples that demonstrate how persistence might be used with points on the Advanced Modbus driver, see the following:


Disclaimer

Geo SCADA Expert 2020