Map Instance Attributes for SiB-X Import Rules

  1. In System Browser, select the import rules block of the library. For example, Project > System Settings > Libraries > L4-Project > Global > BACnet > [import rules].
  1. In the Import Rules tab, open the Instance Attributes Mapper expander.
  • Any existing instance attribute mappings display. You may import instance attributes from a configuration file, modify existing data, or edit the configuration.
    NOTE: If you work on import rules in a customized library, you cannot delete inherited objects, even if modified (such action will result in resetting the instance attributes to their original value).
  1. If you want to import the mapping from an existing configuration file, proceed as follows:
    a. Click Import.
    b. In the Select the CSV file dialog box, select the CSV file you want to import and click OK.
    A message box informs you if the import fails for any reason.
  1. If you want to modify the existing configuration, select an instance, and change one or more of the following parameters:
  • SIB-X function attribute
    Enter the attribute description and select the SiB-X file section containing the attribute used to identify the type of instance. If you select Standard Feature, a function will display in the field. If the field is left empty, no function is assigned. Also, if the attribute is not present in the file, the function will be left empty.
  • Value of the [attribute]
    Enter the value of the function attribute that will identify a specific type of instance.
    This field is required. Alphanumeric values are allowed.
  • Function name
    Select the name of the function that will be associated to the instances of this type.
    Leave this field blank if you do not want to associate a function to this type of instance during the import.
  • Discipline, Subdiscipline, Type, and Subtype
    Select the value that will be associated to the instances of this type.
    If you choose Value not set, for Discipline, Subdiscipline, Type, or Subtype, all these fields will assume the value of the original object model defined for the object.
  1. If you want to create a new instance attribute, click Add to add a new row; then repeat step 3.
  1. To remove an instance attribute, select it and click Remove.
  1. Click Save .
  • The instance attributes mapping configured is activated and will be applied when importing SiB-X field data.
  1. If you want to export the configuration data to a CSV file for later use, proceed as follows:
    a. Click Export.
    b. In the Export Function Mapping Data dialog box, select the destination folder and click OK.
  • A message box informs you if the export fails for any reason.
  • The import of configuration data results in overwriting the existing instance attributes mapping. When the import is complete, the appropriate function for each instance that has a function associated will be available in the Main expander of the Object Configurator.

 

You can modify the exported configuration by opening the CSV file, for example, with Microsoft Office Excel, modifying data, and saving the changes.