Example for the BACnet Driver

This chapter contains a stepwise instruction for the communication buildup with the BACnet device by usage of the WinCC OA BACnet driver.

Communication buildup

Configuration file of the BACnet driver

The config entry "net" defines the type of the BACnet network and the network parameters and so it is the only mandatory one.

#Example:
[bacnet]
net = 1 "IP" "" "" 47808 "" 0 120 0

Details on the entries in the config file you can find in the chapter Possible config entries of the BACnet driver.

  1. Configure the BACnet device in WinCC OA through the intended panel "BACnet configuration" (see Configuration of the BACnet driver).

    Figure 1. BACnet configuration panel
  2. Apply the BACnet driver manager via the WinCC OA Console with the driver number 1 and start it.

    Note: Mind that the simulator WCCILsim is not running!
    WCCOAbacnet -num 1
  3. Configure for "Device_6789" the peripheral address to the BACnet device (see Definition of the peripheral addresses of the BACnet driver).

    In this example a data point element is used for the address configuration, which will be used to send analog values: ExampleDP_Arg1 at the data point type ExampleDP_Float for analog values. This element contains the config _address (peripheral address) and the config _original (value transmission).

  4. Define for example an analog input for the property High_Limit (see figure below).

    Figure 2. Address configuration panel of the BACnet driver for an analog input
  5. After a successful connection to the BACnet device the status in the BACnet device configuration panel changes to online.