Device-Independent Fields Treated Specially by the BSAPScanner

Field Name Description
st buffer size

For analog and logical alarm data types, additional data can be passed back into the database. A set of special CE functions will be used to extract the data (see Special CE Functions. For analog alarms, set this value to 116, for logical alarms, set this value to 108.

For analog and logical data types; if this value is set to one, the inhibit status byte will be saved into the scan task buffer; if this value is set to eight, the scan time (from the system) will be saved into the scan task buffer. This value can be retrieved using the standard SCAN CE function.

The format of the inhibit status byte is as follows:

Bit Description
0 reserved
1 reserved
2 reserved
3 reserved
4 manual inhibit status
5 control inhibit status
6 alarm inhibit status
7 questionable data status (analog only)

 

[warning] This byte has a different format than the inhibit status byte saved in the alarm data types scan task buffer.
# of elements Set this value to one for non-array data (including lists), and to the number of elements to read for arrays.
RTAP DE type If this value is set to rtABS_TIME for an analog signal, it will be assumed that the actual value being returned from the RTU is in Julian date/time format (i.e. top two bytes are the number of four seconds in the current day and the bottom two bytes are the number of days since Dec. 31, 1976).