BACnetSetDccValue (FUN)

FUNCTION BACnetSetDccValue : IEC_BACNET_STATUS

Sets the device communication control status of a local device.

Sets a value of the Device Communication Control Value (DCC-Value). This value indicates whether or not a device is able to initiate and respond to APDUs on the communication internetwork, depending on whether the DCC-Value is DCC_ENABLE or DCC_DISABLE or DCC_DISABLE_INITIATION. This routine instructs the Server or Gateway application to either disable or enable initiating and responding APDUs. The default value of DCC-Value is DCC_ENABLE. This routine sets the DCC-Value in one Server / Gateway application.

InOut:

Scope

Name

Type

Comment

Return

BACnetSetDccValue

IEC_BACNET_STATUS

A status indicating if the operation worked.

Input

instNumber

IEC_BACNET_DWORD

The Device Object instance number of the Device.

value

IEC_BACNET_DCC_VALUE

The device communication value to set for the specified device.