F_BinPV_AND : E_BACNETBINARYPV

F_BinPV_AND : E_BACNETBINARYPV 1:

Application

Function for logical linking of BACnet BinaryPV values. The following table shows the logic:

eBinPV1

eBinPV2

Return value

INACTIVE

INACTIVE

INACTIVE

INACTIVE

ACTIVE

NOTHING

INACTIVE

NULL

NOTHING

INACTIVE

NOTHING

NOTHING

 

ACTIVE

INACTIVE

NOTHING

ACTIVE

ACTIVE

ACTIVE

ACTIVE

NULL

NOTHING

ACTIVE

NOTHING

NOTHING

 

NULL

INACTIVE

NOTHING

NULL

ACTIVE

NOTHING

NULL

NULL

NULL

NULL

NOTHING

NOTHING

 

NOTHING

INACTIVE

NOTHING

NOTHING

ACTIVE

NOTHING

NOTHING

NULL

NOTHING

NOTHING

NOTHING

NOTHING

The basic rule: If both values are identical, the result is also identical; otherwise, the function returns NOTHING.

 

VAR_INPUT

eBinPV1      : E_BACNETBINARYPV;
eBinPV2      : E_BACNETBINARYPV;

 

eBinPV1: Input value 1.

eBinPV2: Input value 2.

 

Return value: Function result of type E_BACNETBINARYPV.