Skip to main content
FDD routines define the logical rules that monitor your building equipment for specific fault conditions. Cloud BMS provides a pre-configured library of routines and a logic builder for creating custom rules.
Navigate to FDD from the left sidebar, then select Routines from the secondary sidebar.

Routines list

The Routines list displays routines built in your client environment. Use the search bar and Filters button to find specific routines.
Global routines from the FDD library are not available on this page. Access library routines through FDD configuration.
Routines page showing the FDD secondary sidebar with Events, Faults, Routines, Policies, Configs, and Settings, a search bar, Filters button, Create Routine button, Export and Import buttons, and a table listing routines like Heating Fully Open for Long Periods FCUs CV6-Way and Cooling Fully Open for Long Periods with columns for Name, Description, Domain, Priority, Grouping Policy, and Recommended Type, showing 507 routines across 11 pages

The Routines page lists all routines with search, filters, and action buttons for creating, exporting, and importing

Row actions

Select the three-dot menu on any routine row to access available actions:
  • Edit Routine: Open the routine in the logic builder
  • Export Routine: Download the routine as a file for sharing or backup
  • Duplicate Routine: Create a copy of the routine with a new name
  • Delete Routine: Permanently remove the routine
Routines page with a search filtered to temperature gr showing Temperature Greater Than Set Point While Occupied routine with domain Cooling Operation Failure, priority Alert, grouping policy None, and an open three-dot menu displaying Edit Routine, Export Routine, Duplicate Routine, and Delete Routine options

The three-dot menu on each routine row provides Edit, Export, Duplicate, and Delete actions

Create a routine

1

Set routine details

Select + Create Routine from the toolbar. The Workflow Details tab opens.
Workflow Details tab for Heating Fully Open for Long Periods FCUs CV6-Way showing Name field, Description field with detailed routine logic explanation, Recommended Type set to Event, Domains set to Heating Issue, Events Grouping set to Reference Based, Priority set to Alert, a Base device group with Add Devices button, and an Add 1st Solution button, with Cancel and Save buttons

The Workflow Details tab contains the routine name, description, recommended type, domains, grouping, priority, and device configuration

Complete the following fields:When you select entities in Add Devices, the first click includes the entity as a required field. A second click marks the entity in red. A red (excluded) entity means the routine looks for devices that have the other required entities and do not contain that excluded entity. Use exclusion when you need to filter out devices that carry an unwanted field.
Add Devices dialog with Name As set to Base, a Canonicals section showing selectable tags for fcu, vav, ahu, fan, radiantDevice, and uh with a search field, and an Entities section showing selectable tags for OM, ZTS, ZTSS, CLGUM, COUNTER, CSM, DAF, DFC, DFCS, DFEN, DFFREQ, DFM, DFMODE, DFRPC, DFRPS, DFS, DFSS, DFSTAGE, DFSTATS, DSM, DTS and more with a search field, Cancel and Save buttons

The Add Devices dialog lets you select Canonicals and Entities for base and reference devices

2

Build the logic

Open the Logic tab. The left panel contains available logic blocks organized by category: Read (String Point, Number Point, Boolean Point, Enum Point, arrays), Parameters (Number, Boolean, String), Organize (Folder), and Constants (Result).Drag blocks from the left panel onto the canvas to build the detection logic. Connect blocks in sequence to create the logical path from data input to alarm output. Each routine must start with at least one Read block and end with an Alarm Trigger block.
Logic tab for Heating Fully Open for Long Periods FCUs CV6-Way showing the left panel with block categories including Read, Parameters, Organize, and Constants, and a visual canvas with connected blocks: Enum Point for Discharge Fan Status, Enum Builder with On Off Unknown values, Number Point for CV6 with primary_loop_valve_position, Parameters block with Start Delay, Alarm On Delay, Return to Normal Delay, and Heating Valve Cmd, a Delayed Check block, Less Than Equal comparison, And logic gate, and a Delayed Alarm Trigger ending in an Alarm Trigger block

The Logic tab provides a visual canvas for connecting blocks into a detection sequence

See Routine logic blocks for a complete reference of available block types and their functions.
3

Test with the debugger

Open the Debugger tab. The left sidebar displays PARAMS (adjustable parameter values) and INPUTS (simulated device data). The main screen shows the Simulator output.
Debugger tab for Heating Fully Open for Long Periods FCUs CV6-Way showing PARAMS section with Start Delay 30, Alarm On Delay 60, Return to Normal Delay 15, and Heating Valve Cmd -90, INPUTS section with CV6 value field and Status ok, Discharge Fan Status with Select Value dropdown and Status ok, a Send button, and the main Simulator area displaying a Start Simulation button with Stop and Restart controls

The Debugger tab shows parameters and inputs on the left, with the Start Simulation button in the center

  1. Review the PARAMS section and adjust parameter values as needed.
  2. Select Start Simulation to begin the test.
  3. Update INPUT values to simulate different conditions, then select Send.
Debugger tab with PARAMS showing Start Delay 30, Alarm On Delay 60, Return to Normal Delay 15, and Heating Valve Cmd -90, INPUTS showing CV6 value 50, Status ok, Discharge Fan Status set to On, Status ok, and the Simulator showing Starting status with Action Heating Fully Open for Long Periods FCUs CV6-Way logged at 10:09 AM

After sending input values, the Simulator logs actions with timestamps

  1. Verify that the routine produces the expected response for each scenario.
Delay times run in real time during simulation. To speed up testing, temporarily change time units to seconds on timer logic blocks. Return to the correct units before deploying.
Test boundary values thoroughly. Verify conditions that should trigger events and conditions that should not. This catches threshold errors before deployment.
4

Save the routine

Select Save. The routine appears in the Routines list and becomes available for configuration in the Configs page.

Export and import routines

Transfer routines between environments as .json files. Export downloads proven rules. Import uploads them without rebuilding logic.
The export feature lets you download routines as files for sharing or transferring to other environments.
1

Select routines to export

Select the checkboxes next to the routines you want to export. The Export button at the bottom right shows the count of selected routines.
Routines page with two routines selected via checkboxes, with Cancel and Export buttons at the bottom showing a count of 2 selected

Select routines from the list using checkboxes, then select Export

2

Name the export file

Enter a name for the export file in the File Name dialog and select Save.
File Name dialog with a Name field and Cancel and Save buttons

Assign a name to the export file

3

Download the file

The file downloads to your computer as a .json file.
Browser download bar showing exported JSON file

The exported routines download as a JSON file

Data and permissions

Routines are the intellectual property of the party that created them. Neither KODE Labs nor partners hold exclusive rights over general fault detection concepts. Export and import permissions are managed at the role level. Only super admins can access these features. Backend logs track who created, exported, and imported each routine.
This feature works for both FDD routines and FTT workflows. The same export and import process applies to both module types.

Next steps

Routine logic blocks

Explore the available block types for building routine detection logic.

Routine library

Browse pre-configured routines for airside, chilled water, and hot water systems.

FDD configuration

Apply routines to your devices and configure monitoring parameters.
Last modified on August 18, 2026