Creating and Configuring a Function

In Desigo CC, you can configure functions under the Functions block of a library, at your allowed customization level (for example, L4-Project).

1 - Create a Functions Block at the Required Customization Level

Before you can create and configure a function, you must have a Functions library block available at your allowed customization level. There are various ways to accomplish this. Select one of the following methods as appropriate.

If you already have a Functions block available that you can work in, skip this step.

Customize a Single Function to the Required Level

If you customize an individual function, it is duplicated at your customization level along with its original library structure.

  1. In System Browser, select the function you want to customize. For example,
    Project > System Settings > Libraries > L1-Headquarter > BA > Air system > Functions > SensorAirFlow.
  1. In the Models & Functions tab, click Customize .
  1. Click OK to confirm.
  • The function and its library folder structure are duplicated at your customization level. For example,
    Project > System Settings > Libraries > L4-Project > BA > Air system > Functions > SensorAirFlow.
  • You can now configure new functions under the Functions folder, as well as edit the function you customized.

 

Customize a Library to the Required Level

If you customize an entire library, its folder structure (including the Functions block, if present) is re-created at your allowed customization level.

  1. In System Browser, select the library you want to customize. For example, Project > System Settings > Libraries > L1-Headquarter > BA > Air system.
  1. In the Library Configurator tab, click Customize entire library to a lower level .
  1. Click OK to confirm.
  • The folder structure of the library is duplicated at your customization level. For example, L4-Project.
  • If the library included a Functions block, you can now configure functions in it. Otherwise, you can manually add a Functions block and then begin configuring functions.

 

Manually Create a Library with Functions Block at Your Customization Level

Perform these steps at your authorized customization level. This example uses L4-Project.

  1. In System Browser, select the library level where you want to create the new library. For example Project > System Settings > Libraries > L4-Project.
  1. Select the Library Configurator tab.
  1. Click Add new object and select New library object .
  1. In the General Settings expander, enter:
  • Discipline: This determines the discipline folder under which the library will be placed. For example, BA or Fire.
  • System: This determines the name initially given to the library.
  1. Click Save .
  1. In the New object dialog box, edit the name and description of the library as required and click OK.
  • The new library is created.
  1. Add a Functions block to the library: See Manually Add a Functions Block to an Existing Library, below.

 

Manually Add a Functions Block to an Existing Library
  • The library you want to work on already exists at your allowed customization level.
  • The library does not already include a Functions block.
    NOTE: A library can only have one Functions block.
  1. In System Browser, select the library where you want to add the Functions block. For example, Project > System Settings > Libraries > L4-Project > [discipline] > [library].
  1. Select the Library Configurator tab.
  1. Click Add new object and select New Function Folder .
  1. Enter the version designation, as well as additional information as needed.
  1. Click Save .
  1. In the New object dialog box, click OK.
  • The Functions block is created under the library. For example, Project > System Settings > Libraries > L4-Project > [discipline] > [library] > Functions.
  • You can now begin configuring functions in this block.

 

2 - Create a New Function

Once you have a Functions block available to work in, you can create a new function from scratch, or by making a copy of an existing one.

Skip this step if you want to work on an existing function.

Create a Function From Scratch
  • A Functions block is available at your customization level (for example, L4-Project).
  1. Select the Functions block where you want to create the new function. For example, Project > System Settings > Libraries > L4-Project> Fire > [subsystem library] > Functions.
  1. Select the Models & Function tab.
  1. Click New Object Model or Function .
  1. In the New object dialog box, enter a name.
  1. Click OK.
  1. In the Main expander, select the appropriate presets:
  • Discipline (Building Automation and Control, and so on)
  • Subdiscipline (Air Handling, Room Control, and so on)
  • Type (Sensor, Switch, and so on)
  • Subtype (Temperature, Flow, and so on)
  1. Select the Valid check box.
  1. Select the corresponding entry for Default Property.
  1. Click Save .
  • The function is saved in the corresponding folder and the presets are defined.

NOTE 1:
Each function requires a default property (for example, Value). The assignment can only be carried out after the individual properties are created in the Properties expander.
NOTE 2:
The function is not yet configured following this step. Select the workflow for Simple, Functional, Extended or Mixed function, depending on application.

 

Create a Function from an Existing One
  • A Functions block is available at your customization level (for example, L4-Project) in which to save the function.
  1. In System Browser, select the function that you want to copy. For example, Project > System Settings > Libraries > L1-Headquarter > BA > Air system > Functions > SensorAirFlow.
  1. In the Models & Functions tab, click Save As.
  1. In the Save Object As dialog box, select the Functions block where you want to save a copy of the function. For example, L4-Project > BA > Air System > Functions.
  1. Enter a name and description for the new function, and click OK.
  • A copy of the function is placed in the specified Functions block.

 

3 - Configure the Function

Once you have a function available at your customization level, you edit or configure its settings.

Configure an Existing Function
  • The function you want to configure is available at your customization level.
  1. In System Browser, select the function you want to configure, for example: Project > System Settings > Libraries > L4-Project > BA > Air system > Functions > SensorAirFlow.
  1. Select the Models & Functions tab.
  1. Open the Properties expander.
  • Any properties already configured for this function display in the Property list.
  1. To create a new property:
    a. Click Add.
    b. Enter a name for the property.
    c. Click OK.
  1. To remove a property:
    a. Select the property in the list.
    b. Click Remove.
  1. To configure a property, select it in the Property list then complete the following:
  1. Repeat the preceding step for all the properties you want to configure.
  1. To associate a symbol or graphic to the function, see Assigning Graphics / Symbols to an Object Model or Function.
  1. Click Save .