BACnetSetDccValueAndTimeout (FUN)ΒΆ
FUNCTION BACnetSetDccValueAndTimeout : IEC_BACNET_STATUS
Sets the device communication control status of a local device along with some tinmeout in secnds for automatic reset to enabled.
If a local device in the database shall not respond to any APDU received the value DCC_DISABLE shall be set. If a local device shall only stop initiatig request on its own the value DCC_DISABLE_INITIATION shall be set. If a local device shall execute all received requests the value DCC_ENABLE shall be set. The default value after construction of a local device is DCC_ENABLE. The timeout specified may only be applied for one the disabled states and not for the enabled state.
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetSetDccValueAndTimeout
Input
instNumber
The Device object instance number of the Device.
value
The device communication value to set for the specified device.
nTimeout
The timeout in seconds for automatic reset to the enabled state. The value of ::BACNET_DCC_INDEFINITE will disable the automatic reset.