FB_BACnetBVDisplay

BACnet binary value object that can be used to display a value from the PLC in the BACnet.

FB_BACnetBVDisplay 1:

Functional description

This function block generates a BACnet binary value object and provides write and read variables for the object within the PLC.
Alternatively, the following versions are available:

Inputs/outputs

VAR_INPUT

bPrVal   : BOOL;

bPrVal: Boolean value from the PLC that is written to the BACnet property Present Value in the event of a change of value.

VAR_OUTPUT

bErr        : BOOL;
udiErrId    : UDINT;
udiErrArg   : UDINT;

bErr: Indicates a general error in the function block. The cause can be in BACnet, in the ADS data exchange, or due to incorrect parameterisation.

udiErrId / udiErrArg: Contains the error number and the error argument. See Error codes.

VAR_IN_OUT

fbDvc     : FB_BACnet_Device;

fbDvc: reference to the function block of the BACnet device object

Requirements

Development environment

Target system

required library

required supplement

TwinCAT 2.11 R3/x64

PC/CX

TcBA library from V1.0.0

TS8040 | TwinCAT Building Automation from V1.0.0