Master.DoubleBitInputGetFromPointNum (METH)¶
METHOD DoubleBitInputGetFromPointNum : Error
Get the value of Double-bit Input datapoint (DNP3 object group 3 “double-bit binary inputs”) with given point number (0 .. MaxPointNum). Returns PointNotExistent, if a datapoint with the given point number doesnt exist, OK otherwise.
- InOut:
Scope
Name
Type
Comment
Return
DoubleBitInputGetFromPointNumInput
pointNumberUINTPoint number.
Output
flagsUSINT- flags (including value) received from Outstation. Flag values are OR’d
- combinations of the following:
- DNPDEFS_DBAS_FLAG_ON_LINE - the point has been read
successfully
- DNPDEFS_DBAS_FLAG_RESTART - the field device that originated the
data object has been restarted. This device may be the deviced reporting this data object.
- DNPDEFS_DBAS_FLAG_COMM_LOST - the device reporting this data object
has lost communication with the originator of the data object
- DNPDEFS_DBAS_FLAG_REMOTE_FORCED - the state of the binary object
has been forced to its current state at the originating device
- DNPDEFS_DBAS_FLAG_LOCAL_FORCED - the state of the binary object
has been forced to its current state at the device reporting this data object
- DNPDEFS_DBAS_FLAG_CHATTER - the binary input point has been filtered
in order to remove unneeded transitions in the state of the input
- DNPDEFS_DBAS_FLAG_DOUBLE_INTER
the current state of the input (Intermediate -transitioning condition)
- DNPDEFS_DBAS_FLAG_DOUBLE_OFF
the current state of the input (Off)
- DNPDEFS_DBAS_FLAG_DOUBLE_ON
the current state of the input (On)
- DNPDEFS_DBAS_FLAG_DOUBLE_INDET
the current state of the input (Indeterminate -abnormal or custom condition)
hasTimeStampBOOLHas a valid time stamp.
timeStampLDATE_AND_TIMETime stamp reported - valid if hasTimeStamp = TRUE, invalid otherwise.