NOTE: The following describes how to configure BACnet settings via the Workbench.
GENESIS64’s BACnet implementation is an out-of-the-box solution that does not need configuration by default. BACnet devices in a local network are discovered automatically, together with their specific settings and address spaces (provided objects and their properties), which are used for connection.
The steps described below are useful in cases where you need to:
BACnet Settings for Devices
It is important to realize that this BACnet Configuration Provider is used for the configuration of Global BACnet runtime settings; for providing the BACnet runtime connection with information for specific BACnet devices and for driving what information is exposed by BACnet runtime (device, object and property names).
Devices - Communication Tab
APDU Timeout [ms]: The APDU_Timeout property, of type Unsigned, shall indicate the amount of time in milliseconds between retransmissions of an APDU requiring acknowledgment for which no acknowledgment has been received. The default value for this property shall be 3,000 milliseconds for devices that permit modification of this parameter. Otherwise, the default value shall be 60,000 milliseconds. This value shall be non-zero if the Device object property called Number_Of_APDU_Retries is non-zero.
APDU Segment Timeout [ms]: The APDU_Segment_Timeout property, of type Unsigned, shall indicate the amount of time in milliseconds between retransmission of an APDU segment. The default value for this property shall be 2000 milliseconds. This value shall be non-zero if the Device object property called Number_Of_APDU_Retries is non-zero. See 5.3. If segmentation of any kind is supported, then the APDU_Segment_Timeout property shall be present.
APDU Retries: The Number_Of_APDU_Retries property, of type Unsigned, shall indicate the maximum number of times that an APDU shall be retransmitted. The default value for this property shall be 3. If this device does not perform retries, then this property shall be set to zero. If the value of this property is greater than zero, a non-zero value shall be placed in the Device object APDU_Timeout property.
Expire Time [s]: Specifies the time when the unused values are removed from the BACnet cache (in seconds). This should be set large enough to avoid thrashing of the system. For example if a person is paging through graphics the system will be subscribing to object/properties. If he leaves the graphic , if this parameter was set to zero, the BACnet engine would cancel COV subscription to the device if COV, stop polling, and then delete from the subscription cache. If he paged immediately back to the same page then the system would have to re-establish connections to the data, poll it, and re-add to subscribe cache. This should be set high enough, so that object/properties stay in the cache and subscribed until the user session is finished.
Subscribe Timeout: This is actually the Subscribe Cycle time. - The BACnet engine will only process requests, any request including COV subscriptions and Read Property requests, based on a cycle as determined by this setting. For example if this is set at 5000, (5 seconds), all requests will be accumulated for 5 seconds, and at the end of this period all requests will be sent to protocol stack for processing.
Re-Subscribe COV Period [s]: This is actually the Subscribe Cycle time. - BACnet requires that all COV subscriptions have a timeout. It is not possible to create a permanent subscription. This parameter sets how often all COV subscriptions will be re subscribed. Resubscription cause a significant load on the controllers and on the IO server. Consequently the setting of this parameter should be as infrequent as possible, but allowing for the fact that if there is any failure within the controller that causes it to loose a subscription, the IO server will not attempt to reestablish until this defined time. Note that this operation only applies to device that have been previously discovered, and are in the IO Servers device cache. New devices will require the discovery process to be activate.
Offline Device Polling: Once the IO server detects a device is offline, it stops all attempts to communicate with this device or any object in that device. Periodically based on this setting the IO server will re-attempt to establish communications with this device. It successful the device will be placed online and all required communications to objects in that device will attempt to re-establish.
Max TSM Per Device: The maximum number of BACnet Transactions (ReadProperty, COV Subscribe, WritePropery), that can simultaneously be in active (in a non null state), to a device. When this number is reached, no further transactions will be processed to the device, until one or more transactions are closed. This can be used to throttle activity to a device.
Max TSM Per Router: The maximum number of BACnet Transactions (ReadProperty, COV Subscribe, WritePropery), that can simultaneously be in active (in a non null state), and sent through a specific BACnet router. When this number is reached, no further transactions will be sent through that router, until one or more transactions are closed. This can be used to throttle activity through a router. Please note that some devices, such as Automated Logic LGR’s, are acting simply as BACnet routers, so that all requests are going directly to the underlying MSTP serial bus. This feature can be used to control the amount of activity being imposed on these busses.
BACnet Device
BACnet Object
BACnet Property
BACnet Port
NOTE: Default BACnet communication is based on IP protocol, where the default port (47808) can be changed (under Ports) if you really need it to be, but, in most cases, you can use the default settings. Also notice that Ports in the Workbench are ICONICS proprietary interfaces created specifically for BACnet communication, where the IP port is not equal to a Workbench port.
See Also:
BACnet Configuration Quick Start
BACnet Client-Server Architecture
BACnet in Workbench64 and GraphWorX64