BinaryInputPointObserver (FB)

FUNCTION_BLOCK FINAL BinaryInputPointObserver EXTENDS PointObserver IMPLEMENTS IBinaryInputPointObserver

DNP3 Master datapoint observer for a datapoint of DNP3 object group 1 “binary inputs”.

InOut:

Scope

Name

Type

Comment

Inherited from

Input

itfMaster

IMaster

Connect to a Master.

PointObserver

xEnable

BOOL

Enable the PointObserver.

PointObserver

pointNumber

UINT

Datapoint number.

PointObserver

Output

xError

BOOL

An error occured.

PointObserver

eErrorID

Error

The specific error.

PointObserver

modified

BOOL

Data received since last call.

PointObserver

sequenceNumber

UDINT

Sequence number of received data.

PointObserver

flags

USINT

Flags 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_BINARY_ON - the current state of the input (On)

hasTimeStamp

BOOL

Update received from Outstation has a valid time stamp.

timeStamp

LDATE_AND_TIME

Time stamp reported - valid if hasTimeStamp = TRUE, invalid otherwise.

Properties:

Enabled, inherited from PointObserver

IsModified, inherited from PointObserver

Key, inherited from PointObserver

Typ, inherited from PointObserver

Methods: