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.
If you customize an individual function, it is duplicated at your customization level along with its original library structure.
- In System Browser, select the function you want to customize. For example,
Project > System Settings > Libraries > L1-Headquarter > BA > Air system > Functions > SensorAirFlow.
- In the Models & Functions tab, click Customize .
- 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.
If you customize an entire library, its folder structure (including the Functions block, if present) is re-created at your allowed customization level.
- In System Browser, select the library you want to customize. For example, Project > System Settings > Libraries > L1-Headquarter > BA > Air system.
- In the Library Configurator tab, click Customize entire library to a lower level .
- 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.
Perform these steps at your authorized customization level. This example uses L4-Project.
- In System Browser, select the library level where you want to create the new library. For example Project > System Settings > Libraries > L4-Project.
- Select the Library Configurator tab.
- Click Add new object and select New library object .
- 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.
- Click Save .
- In the New object dialog box, edit the name and description of the library as required and click OK.
- The new library is created.
- Add a Functions block to the library: See Manually Add a Functions Block to an Existing Library, below.
- 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.
- In System Browser, select the library where you want to add the Functions block. For example, Project > System Settings > Libraries > L4-Project > [discipline] > [library].
- Select the Library Configurator tab.
- Click Add new object and select New Function Folder .
- Enter the version designation, as well as additional information as needed.
- Click Save .
- 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.
- A Functions block is available at your customization level (for example, L4-Project).
- Select the Functions block where you want to create the new function. For example, Project > System Settings > Libraries > L4-Project> Fire > [subsystem library] > Functions.
- Select the Models & Function tab.
- Click New Object Model or Function .
- In the New object dialog box, enter a name.
- Click OK.
- 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)
- Select the Valid check box.
- Select the corresponding entry for Default Property.
- 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.
- A Functions block is available at your customization level (for example, L4-Project) in which to save the function.
- In System Browser, select the function that you want to copy. For example, Project > System Settings > Libraries > L1-Headquarter > BA > Air system > Functions > SensorAirFlow.
- In the Models & Functions tab, click Save As.
- 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.
- 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.
- The function you want to configure is available at your customization level.
- In System Browser, select the function you want to configure, for example: Project > System Settings > Libraries > L4-Project > BA > Air system > Functions > SensorAirFlow.
- Select the Models & Functions tab.
- Open the Properties expander.
- Any properties already configured for this function display in the Property list.
- To create a new property:
a. Click Add.
b. Enter a name for the property.
c. Click OK.
- To remove a property:
a. Select the property in the list.
b. Click Remove.
- To configure a property, select it in the Property list then complete the following:
- Define the settings for VL, AL, DL1, DL2, Status and Property Group. See Properties Expander.
- Open the Details expander and define the settings there. See Property Details Expander.
NOTE: For related, detailed procedures, see also Configuring Properties in Object Models or Functions.
- Repeat the preceding step for all the properties you want to configure.
- To associate a symbol or graphic to the function, see Assigning Graphics / Symbols to an Object Model or Function.
- Click Save .