3rd Party BACnet Integration

 

Scenario: Configure Desigo CC to connect to a BACnet third-party device. The workflow guides you through the required steps for online and offline integration.

 

Reference: Background information on BACnet third-party devices is available in the Reference section.

 

Flowchart:

 

Prerequisites:

  • System Manager is in Engineering mode.
  • In System Browser, Management View is selected.
  • The BACnet EDE extension module is installed

 

Steps:

1 – (Optional) Creating BACnet Driver for Third-Party Device Integration

The workflow is only necessary if there is no available BACnet driver for the BACnet network for third-party devices.

Creating BACnet Driver

  • The required driver is not on the server's driver list.
  1. Select Project > Management System > Server > Server > Driver.
  1. Click New , and select BACnet driver.
  1. In the New object dialog box, enter a description.
  1. Click OK.
  • The new driver is available in System Browser.
  1. Select the new driver.
  1. Select the BACnet tab and open the Settings expander.
  1. In the Management Station section, enter the instance number of the BACnet device ID, assigned to the driver as a BACnet client for the BACnet system (for example 34590). The number must be unique on the UDP network.

Starting a BACnet Driver

  1. Select the new driver.
  1. In the Extended Operation tab, next to the Manager status, click Start.
  • The command status displays.

Configure BT BACnet stack

  1. Click the BACnet tab.
  1. Open the BT-BACnet Stack Config expander.
  1. In the BT BACnet stack gateway port table, click Add and select one of the following options:
  • Select BACnet/IP or Ethernet to add a physical port. In the Port Properties expander, set the Network number where your management station is connected (typically =1, unless in conflict with the Network number of the virtual port) and select the hardware adapter in the Adapter drop-down list. (For IP address and UDP Port BACnet/IP settings, see the following guidelines.)
    Note: You need to start the BACnet driver in full mode to select the network adapter. Postpone this step if you are configuring offline.
  • Select Virtual, to add a virtual port.
    Note: Any subsequent change in the Network number field of the Settings expander is automatically reflected in the Network number field of the virtual port.
  1. (optional) Configure the physical port as BBMD or Foreign Device.
  1. Click Save .
  • The new driver is available in System Browser.

If setting up multiple BACnet drivers, you can assign them to the same network card (Network Interface Card, NIC) or different NICs. To avoid configuration conflicts, apply the following guidelines to the physical port configuration:

  • The network number of each physical port must be unique.
  • The IP address and UDP port (default: 47808) of each physical port must be unique. This means that the Physical Ports must have a different IP address or a different UDP port. For instance, if two Drivers are assigned to the same NIC, you can use the value 47809 for the UDP port of the Physical Port of the second Driver.
2 – Create a Field Network for 3rd Party Integration

A network can be created manually or with the network wizard.

Workflow Creating a Field Network

2a – Create a Network Using the Network Wizard

  1. Select Project > Field Networks.
  1. Select the Network Wizard tab.
  1. Open the Subsystem Selection expander and perform the following steps:
    a. Available subsystems: Select the subsystem from the drop-down list. Click Next page .
    b. Network name: Enter a network name.
    c. Network description: Enter a network description. Click Next page .
    d. Station Selection: Select the Main Server from the drop-down list.
    e. Driver selection: Select the communication driver from the drop-down list or create a new driver. Click Next page .
    f. Import into views: Select the required views check boxes and a the Parent Node Name and the Parent Node Description into the text fields. Click Next page .
    g. Import devices: Select an option to import the data files. Click Next page .
    h. Summary information: Check your entries.
  1. Click Run Configuration .
  1. Conduct the additional steps as per Online or Offline (see below) Engineering.

2b – Manually Create Network for AutoDiscovery

To manually create a network, proceed as follows:

Create the Network

  1. Select Project > Field Networks > Management System > Servers > Main Server > Drivers.
  1. Click New , and select New BACnet driver.
  1. In the New object dialog box, enter a name and description.
  1. Click OK.
  • The new driver is available in System Browser.
  1. Click Save .

Assign the Driver

  1. Select Project > Field Networks > [Network name].
  1. Click the BACnet tab and open the Network Setting expander.
  1. From the drop-down list, select the driver.
  1. Click Save .

Create the Views

  1. Select Project > System Settings > Views.
  1. Select the Views tab and enter the data for:
  • Description (name in the Management View)
  • Root description (name of the root folder)
  • Root name (system name for the root folder)
  • In the Type drop-down list box, select one of the following options:
    ‒ User View
    ‒ Logical
    ‒ Physical
  1. Click Save .
  1. Repeat steps 2 and 3 for additional views.
  1. Conduct the additional steps as per Online Engineering (see below).

2c – Manually Create a Network for EDE File

Proceed as follows to manually create a network:

Create the Network

  1. Select Project > Field Networks > Management System > Servers > Main Server > Drivers.
  1. Click New , and select New BACnet driver.
  1. In the New object dialog box, enter a name and description.
  1. Click OK.
  • The new driver is available in System Browser.
  1. Click Save .

Assign the Driver

  1. Select Project > Field Networks > [Network name].
  1. Click the BACnet tab and open the Network Setting expander.
  1. From the drop-down list, select the driver.
  1. Click Save .

Determine the Views from the Import File

Views can only be determined by importing the EDE file in the system.

  1. Click the Import tab.
  1. Click Browse and select the file for import.
  1. Click Open.
  1. In the Source Items list, click to select all files.
  1. Click Import.
  • A confirmation message displays.
  1. Click Yes.

Create the Views

  1. Select Project > System Settings > Views.
  1. Select the Views tab and enter the data for:
  • Description (name in the Management View)
  • Root description (name of the root folder)
  • Root name (system name for the root folder)
  • In the Type drop-down list box, select one of the following options:
    ‒ User View
    ‒ Logical
    ‒ Physical
  1. Click Save .
  1. Repeat steps 2 and 3 for additional views.
  1. Conduct the additional steps as per Online Engineering (see below).

Assign the Hierarchies

  1. Select Project > Field Networks > [Network name].
  1. Select the Import tab.
  1. Open the Hierarchies Mapping expander.
  • All existing hierarchies are displayed in the Hierarchy Name column.
  1. In System Browser, select the new view, for example, Logical.
  • An object for the selected view is displayed in System Browser.
  1. Drag the object to the Hierarchies expander in the Import hierarchy under this node column, of the corresponding line, for example, Logical.
  1. Conduct the additional steps as per Offline Engineering (see below).
3 – Workflow Online Engineering

The Discovery function scans the entire BACnet network for BACnet devices. We recommend using available filter criteria for the scan to avoid unnecessarily impairing the network.

Workflow AutoDiscovery

Restrictions

The following restrictions apply when using online import with Discovery:

  • Only standard BACnet objects are supported. Proprietary object and object extensions are lost.
  • The objects are displayed alphabetically in System Browser.

Scan for Devices

The BACnet Object Browser scans a BACnet network for devices and their status.

  • The PICS from the respective manufacturer support the required devices and objects.
  • The network and driver are created and active.
    NOTE: Logging on to Desigo CC is not necessary in this case.
  1. Open the Windows Start menu and select All Programs > [Vendor name] > Desigo CC > Tools > BACnet Browser.
  • The BACnet Object Browser scans the network for BACnet devices.
    NOTE: If multiple networks have been defined, they are not displayed using the defined network names. The designation in the BACnet Object Browser is System1_1, System1_2, System1_3, and so on.
  1. Select a device from the system tree in the left pane.
  • The right pane is updated with all associated information on the device, sorted by property name and value column.
  1. For subsequent Discovery (application of a filter), note the following data:
  • vendor-identifier
  • object-identifier
  • The device data for the online import into Desigo CC are established.

No Communication is Available

Possible Causes

Proceed as Follows...

Management platform is located on the same network:

  • No foreign device defined
  • IP Address does not reference the BBMD device on the network.
  • UDP Port not correctly defined.
  1. Select Management > Project > Management System > Server > Drivers > [driver name].
  2. Select the BACnet tab and open the BT BACnet Stack Config expander.
  3. Check the settings for Port properties > Foreign device.
    The IP Address must reference the BBMD device on the network.

BACnet driver not working.

  1. Select Management > Project > Management System > Server > Drivers > [driver name].
  2. Click the Extended Operation tab.
  3. Select Manager Status and click Start.

Start a Network Scan

  • You have completed the optional Scan for devices workflow and the information needed to filter is available.
  • The PICS from the respective manufacturer support the required devices and objects.
  1. Select Project > Field Networks > [Network name] and click the Discovery tab.
  1. Open the Hierarchies Mapping expander.
  1. In System Browser, select the logical hierarchy and drag the top node to the column Import this hierarchy under this node.
  1. Click Save .
  1. Open the Discovery Settings expander.
  1. In the Scan timeout in seconds field, set the maximum time for scanning devices (Default: 60 seconds).
    NOTE: If Enable devices auto-discovery is checked, the scanned devices are immediately imported to the project database. Use Scanning for Devices instead to avoid importing devices.
  1. Select the filter criterion:
  • Use network filter and enter the Network number filter.
  • Use instance filter and enter the Beginning instance and Ending instance (object-identifier).
  • Use vendor filter and enter a Vendor ID, see the table below.
  1. Click Save .
  1. Click Scan.
  • As devices are discovered, they display in the Device Discovery expander of the Network Scan section.

Vendor ID

List of Some Vendor IDs

ID

Vendor

ID

Vendor

ID

Vendor

0

ASHRAE

23

York Controls Group

313

Siemens Energy & Automation, Inc.

2

The Trane Company

39

Kieback & Peter GmbH & Co KG

314

ETM Professional Control GmbH

5

Johnson Controls, Inc.

73

ABB Gebäudetechnik AG Bereich NetServ

329

TROX GmbH

7

Siemens Switzerland Ltd (formerly: Landis & Staefa Division Europe)

74

KNX Association cvba

335

Schneider Electric

9

Siemens Switzerland Ltd

80

Fr. Sauter AG

387

Securiton AG

10

Schneider Electric

189

Schneider Toshiba Inverter Europe

450

Hitachi Ltd.

11

TAC

190

Danfoss Drives A/S

747

Fraport AG

17

Honeywell Inc.

222

WAGO Kontakttechnik GmbH & Co. KG

 

 

19

TAC AB

226

Phoenix Contact GmbH & Co. KG

 

 

20

Hewlett-Packard Company

227

Grundfos Management A/S

 

 

22

Siemens Switzerland Ltd (formerly: Cerberus AG)

312

Honeywell Security Deutschland, Novar GmbH

 

 

NOTE:
Some suppliers, such as Siemens Ltd., have multiple Vendor IDs.

Import Data Points

  • The Discovery tab is selected.
  • The devices are listed in the Device Discovery expander of the Network Scan section.
  1. Select a device.
  1. Click Objects.
  • All data points of that device are listed.
  1. Select the data points you want to import.
  1. Click Save .
  1. Click Back.
  1. Repeat steps 1 to 3 for each device you want to import.
  1. Click Import.
  • The progress displays in the Discovery Status section.
  • The data points display in System Browser below the selected network.

Assign/Change a Function

  1. Select Project > Field Networks > [Network] > Hardware > [Device name] > [Data point].
  1. Click the Object Configurator tab.
  1. Open the Main expander.
  1. In the Function drop-down list, select the corresponding function.
  1. Click Save .
  1. Repeat steps 1 to 5 for each additional data point.

Link Objects

The Discovery function imports data points to the Management View. They must be manually linked for the data points to also be available in the Logical View or User View. The following workflows use the Logical View as an example but they also apply to any other view.

Create a Hierarchy Structure

  • The Logical View or User View is available.
  1. In System Browser, select Logical View.
  1. Select Logical.
  1. Select the Views tab.
  1. Select the root folder.
  1. Click Add Aggregator and select an object hierarchy (property, building, floor, room element).
    a. In the New Object dialog box, enter a name and description.
    b. Click OK.
  1. Repeat the process to create the required hierarchy structure.
  1. Click Save .

Create Related Items

  • The hierarchy structure is created in the Logical View.
  1. In System Browser, select the Logical View.
  1. Select the Manual Navigation check box.
  • The workspace is fixed. The view does not change when selecting the data points.
  1. In System Browser, select Management View.
  • The System Browser is in Management View and the Views workspace displays the Logical View.
  1. In the Views workspace, open the corresponding hierarchy.
  1. In System Browser, select the object and drag it to the appropriate hierarchy of the Views workspace.
  1. Repeat steps 4 to 5 to create additional related items.
  1. Click Save .
  • The objects are linked to the Logical View and can be viewed in System Browser.
4 – Workflow Offline Engineering
Workflow Offline Engineering
  1. For the Logical and User View, create one configuration file each (see below).
    Note: No configuration files are needed if none of the two views are used.
  1. (Optional) In the EDE file, supplement the function to the given data points.
  1. Check import rules.
  1. Import the EDE data.
  1. Supplement the imported data points with Function (only if this is not done under Step 2).

Creating/Modifying Configuration Files

  • Configuration files for the Logical or User View (optional) are created. The imported objects are only displayed in Management View if no configuration file is available.
  1. Check the delimiters in your EDE file. Open the EDE file using a text editor.
  1. Using a text editor, create a new Hierarchy-User.txt file or Hierarchy-Logical.txt file (see example at the end of the workflow).
    Note: The mapping files must be in the same folder as the import files.
  1. (Optional) Add the correct code-page information for encoding, for example, !encoding!UTF-8.
  1. (Optional) In separators-1 change the default separator (;) for the EDE file according to your requirements.
  1. (Optional) In separators-2 change the delimiter for the State text and Unit text columns according to your requirements.
  1. (Optional) In separators-3 change the separator (|) for languages according to your requirements.
  1. In the Reference column, set the hierarchy mapping (default column = keyname).
    Note: If the Keyname field is empty on an object, no Logical View or User View is created for this object. The object is, however, displayed in Management View.
  1. Define the following entries (for example, location, building, floor, etc.) for each hierarchy level:
  • Hierarchy Separator for the reference column (for example, _ ' :). Required for parsing the various hierarchy levels.
  • Minimum length of the corresponding hierarchy level.
  • Maximum of the corresponding hierarchy level.
    Note: For fixed field lengths, the minimum and maximum length must be the same and the hierarchy separator left out.
  • State text references to existing text groups.
  • (Optional) A description of the corresponding hierarchy level.
    Note: The description for a virtual hierarchy object is displayed in System Browser.
  1. Select File > Save.
  1. Copy the file to the folder where the EDE file is located.
  1. For multilingual support, check that the order in the TXT files and EDE files match the definition on the System Management Console.

Example for Hierarchy-User.txt or Hierarchy-Logical.txt file with three languages (en-US, fr-FR and de-DE):

!encoding!utf-8

#separators-1#;

#separators-2#,;

#separators-3#|

:column-name:keyname

,_,1,15,Location|Location|Standort

,:,1,15,Building|Bâtiment|Gebäude

,_,1,15,Floor|Plancher|Stockwerk

,_,1,20,Plant|Installation|Anlage

,_,1,20,Object|Objet|Objekt

,_,1,25,Data point|Point|Datenpunkt

(Optional) Extension family name

The selected files are checked for proper syntax prior to import. If an error message is displayed, click Open Log for additional information.
If the Hierarchy-User.txt and Hierarchy-Logical.txt files are used, the minimum and maximum length of the hierarchy level of the data point is checked. An error message is displayed if it is too short or too long. The data point is created in the database, but not visible for the corresponding view.

Supplement EDE File with Function

  1. In Excel, open the EDE file (CSV or XLSX).
  2. Add the column name Function on the same line as the keyword Keyname.
  3. In the Function column, enter a unique function-key for each data point.
  4. Click Save.

Creating a Function Key

Add the Function to the EDE file, if:

  • The third-party BACnet device has a standardized data point name
  • Multiple data points have the same function
  • Future projects have the same data point names of the third-party BACnet device

Workflow

  1. Supplement function key in the EDE file.
  2. Extend import rules for third-party BACnet devices.
  3. (Optional) Export the import rules for additional projects.
  4. (Optional) Import import rules to the new project
  1. Select Project > System Settings > Libraries > L1 Headquarter > BA > Device > BACnet > Import rules.
  1. Click Modify and OK.
  • A project-specific library is created.
  1. Select Project > System Settings > Libraries > L4 project > BA > Device > BACnet > Import rules.
  1. In the Import rules tab, open the Instance Attributes Mapper expander.
  1. Click Add.
  • A new function key line is added.
  1. In the Standard Feature drop-down list box, enter the Reference column text field in the EDE file (for example, FunctionKey).
  1. Define the FunctionKey entries based on the following example:
  • Value of FunctionKey: T_SU
  • Function name: Sensor
  • Discipline: Building automation
  • Subdiscipline: Air handling
  • Type: Heating coils
  • Subtype: Preheater
  1. Repeat Steps 6 to 8 for each function key.
  1. Click Save .
  1. Export the created function keys.
Definition of a Function Key

Exporting a Function Key

Scenario: You want to reuse the configuration in another project.

  • The function keys are created on project level L4.
  1. Select Project > System Settings > Libraries > L4 project > BA > Device > BACnet > Import rules.
  1. In the Import rules tab, open the Instance Attributes Mapper expander.
  1. Click Export.
  1. In the dialog box, select a path and enter a name.
  1. Click Save.
  1. Save the file to another medium.
  • All function keys for L1 – L4 are exported.

Importing Function Keys

Scenario: You created a configuration for another project and want to reuse it on this project.

  • A function key file is available.
  • A L4 project level is available. If the L4 project level is not available, you can create it with Modify .
  1. Select Project > System Settings > Libraries > L4 project > BA > Device > BACnet > Import rules.
  1. In the Import rules tab, open the Instance Attributes Mapper expander.
  1. Click Import.
  1. Select the folder and file name.
  1. Click Open.
  • The function keys are imported to the project.

Conduct Initial EDE Data Import

  • The network and BACnet driver are created and active.
  • The data file includes a description for each data point. The missing description is displayed with the symbol ~.
  • (Optional) Create Hierarchy-User.txt and Hierarchy-Logical.txt configuration files for the Logical View and User View.
  1. Select Project > Field Networks > [Field Network].
  1. In the Import tab, click Browse and select the EDE file.
  1. Click Open and select the EDE file.
  1. In the File type drop-down list, select EDE text file (*.csv) file type or EDE Excel (*.XLSX).
    Note: If the Hierarchy-User.txt and Hierarchy-Logical.txt files are used for mapping the views, they must be located in the same location as the import files.
  1. Select the import file:
    NOTE 1: The Hierarchy-User.txt (optional) and Hierarchy-Logical.txt (required) files cannot be selected.
    NOTE 2: If an error is found while analyzing the file, a message box displays that must be confirmed by clicking OK. Click Open Log for additional Information.
  1. Click Open.
  • The pre-processor creates the files Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv.
  • No texts are available in column B for the description.

Supplement Texts for Hierarchy Folder

The various objects in System Browser receive different names by supplementing file Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv.

Files Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv

Without translation

With translation

 

  1. Open the files Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv.
  1. Supplement the descriptions in column B. Use the special character #separators-3#| (Hierarchy-logical.txt) as separate the language entries.
    Note: The sequence of the languages must match the one defined on the System Management Console.

  1. Create a backup copy of Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv.
  1. Copy Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv back to the original location.

Conduct Second or Additional EDE Data Imports

  • Files Hierarchy-Logical-Map.csv and Hierarchy-User-Map.csv are translated.
  1. Select Project > Field Networks > [Field Network].
  1. In the Import tab, click Browse and select the EDE file.
  1. Click Open and select the EDE file.
  • Note: Missing entries are supplemented in the existing files if new hierarchy objects are found during an additional import. Supplement the texts and repeat the import.
  1. In the Source Items list, click to select all files.
    Note: If Delete unselected objects from views is activated, all automation stations and linked objects that are not located in the selected import file are deleted. The main objects must be deleted manually in Logical View and Physical View as well as User View.
  1. Click Import.
  • A message is displayed at the end of the import process that summarizes the results in a detailed log.

Assigning/Changing a Function

  1. Select Project > Field Networks > [Network] > Hardware > [Device name] > [Data point].
  1. Click the Object Configurator tab.
  1. Open the Main expander.
  1. In the Function drop-down list, select the corresponding function.
  1. Click Save .
  1. Repeat Steps 1 to 5 for each additional data point.
5 – Adapt Alarm Tables

If third-party BACnet devices are integrated in Desigo CC, the alarm table must be checked in accordance with the alarm priorities of the applicable vendor or adapted where applicable. The changes are made per device (recommended) or data point.

BACnet Standard Alarm Table

Alarm Table Standard Third-Party BACnet Device

Alarm class

Alarm state

Alarm priority

Fault

fault

not available

Life Safety

not available

0‒31

Property Safety

not available

32‒63

High Priority Alarm

not available

64‒95

Medium Priority Alarm

not available

96‒127

Low Priority Alarm

not available

128‒191

Status

not available

192‒255

Alarm Table Configurations

The following figure displays how an alarm is configured in the management platform to display in the correct alarm class on the Alarm Overview bar. The example shows the behavior on a data point. The same can be done at the device level.

Alarm Table Standard Configuration

Object

Alarm Setting

Validity Info

Object model

Default

Valid

Device

Alarm table

Valid

Data point instance

Default

Invalid

Field Alarm Response in System

Check Notification Class

In order to ensure a correct display on the Alarm Overview bar, the notification class must be properly set up in the field network. This has to happen at the individual devices or data point as well as on the notification class (NC) object. The example shows the behavior on a data point. The same can be done at the device level.

Checking Notification Class

There are field networks that automatically calculate the notification class from the alarm function and alarm class. In this case, the notification class cannot be edited on the alarm object. Change the alarm function or alarm class to receive another notification class.

Create a New Alarm Table

  1. Select Project > System Settings > Libraries > L1 Headquarters > BA > Device.
  1. Select the desired field network.
  1. Select the Library Configurator tab.
  1. Click Customize .
  • A confirmation message is displayed.
  1. Click OK.
  • Empty folders are created on the corresponding level.
  1. Select Project > System Settings > Libraries > L1 Headquarters > BA > Device [Field Network Type].
  1. Select the desired alarm table.
  1. Click Save As .
  1. In the Save Object As dialog box, do the following:
    a. Select a destination folder for the new alarm table.
    b. Enter a name and description.
    c. Click OK.
  • The new alarm table is available in System Browser.
  1. Edit the alarm table as needed.
  1. Click Save .

Assign a New Alarm Table

  1. Select Project > Field Networks > [Network name] > Hardware > [Device].
  1. In the Object Configurator tab, open the Properties expander.
  1. Select the Alarm.OffNormal property or another alarm property.
  1. In the Alarm Configuration expander, select the Valid check box (blue is displayed).
  1. Select the Field System option and the corresponding Alarm Table from the drop-down list.
  1. (Optional) Repeat the assignment of a new alarm table for all appropriate devices.

NOTE:
If the Valid check box is displayed in gray (see the color-coded check boxes below), the library entries for the object model and function are not considered.

Inheritance Rules for Object Model, Function, and Object

Icon

Color

Description

White

No value is inherited.

Gray

The project instance value is inherited.

Green

The function inherits the value.

Blue

The object model inherits the value.

Question mark with a yellow background.

The value is undefined until the instance is saved.

While you change inheritance properties, you cannot disable an inheritance. As a result, the state changes from to or when editing. This display for the inheritance function is used for the Main, Properties, Details, and Alarm Configuration expanders.