You are here: Driver Reference > Advanced Drivers Guide > Processing Alarm Data for Point States

Processing Alarm Data for Point States

ClearSCADA can process various forms of data from an outstation, depending on the type of data that the outstation supports. For example, many outstations support current data—the present state or value of a point when the ClearSCADA server requests current data from the outstation. Many outstations also support logged data—time stamped data that is stored in the outstation.

The type of communications used between the server and outstation plays a role in determining when the server retrieves data from the outstation (see Configuring an Outstation).

Where a type of point supports logged data, you can specify how the ClearSCADA server processes the data that it retrieves from the outstation, and specifically when it raises and clears point alarms. Depending on what is supported, the server can raise and clear point alarms when it is processing logged, current, or either type of data. The way the server processes point alarms can affect the speed of alarm annunciation, alarm time stamping, and how it processes cleared alarms (points that are no longer in an alarm state).

Where a type of point supports logged data, you specify when the ClearSCADA server raises and clears point alarms, using the Alarms From field on the <Point Type> tab of the Point Form:


Where the time of alarm is important, choose a logged data option, as these options use the time stamp recorded by the outstation and therefore show when the point actually changed state. Other options may time stamp the alarm with the time that the server processes the alarm (see the example, below). Alarms and events have both an occurrence time and a receipt time. If ClearSCADA does not know the occurrence time when it processes and raises an alarm, it will use that alarm’s receipt time. However, should it become aware of the occurrence time at a later stage, it will update the alarm’s time accordingly. (For example, if it dials out to a PSTN outstation and retrieves the current data for a point that is in alarm, it will raise an alarm with the receipt time—the time that it processed the data. If it then retrieves logged data for that point, in which it retrieves the state change that triggered that alarm, the server will update the alarm data with the occurrence time—the time that the point changed state.)

Where speed of alarm annunciation is important, logged data options are slower than the other options. With most outstations that support logged data, ClearSCADA retrieves the older logged data before it retrieves the newer logged data (which may include a change of alarm state). The server processes the data in the order that it receives that data. With logged data options, the server therefore raises or clears alarms for the older logged data before it processes the newer logged data.

Example:

A major problem detected at a site results in all PSTN outstations attempting to dial in to the server together. This results in the phone lines being engaged when one of the outstations attempts to dial in. The outstation is able to dial in a few minutes later and the server retrieves the outstation’s data.

Several points on the outstation are configured to use the ‘All Data’ option, so that the ClearSCADA server raises and clears any point state alarms whenever it processes any data from the outstation. The server time stamps any raised or cleared alarms with the present time (that is, the time that it processes the data). This differs from the time that the alarms were actually raised or cleared at the outstation. However, operators are able to see the raised and cleared alarm data more quickly than for other points on the outstation that are configured to use the ‘Logged Data Only’ or ‘Most Recent Logged Data’ options.

For these points, the alarm data is time stamped with the time that the change actually occurred at the outstation, but the server processes the points’ older logged data first before coming to the newer logged data, in which some of the changes in alarm state occur.

(The server will adjust the time stamps on the ‘All Data’ alarms once it retrieves the logged data that indicates the occurrence time of those alarms.)

In the unlikely event that the server loses communications with an outstation while retrieving data for a point that uses a Logged Data option, it may be possible for:

The above situations become rectified as soon as communications is restored and the server is able to process the rest of the data.


ClearSCADA 2015 R2