Create BACnet Backup Scheduled by Time

Scenario: You want to configure Desigo automation stations to regularly save the BACnet data at the same time. The workflow guides you through the required steps.

 

Reference: General information on Desigo automation stations is available at Desigo Automation.

 

Flowchart:

 

 

Prerequisites:

  • System Manager is in Engineering mode.
  • In System Browser, select Management View.

 

Steps:

1 – Activate Automation Stations for Backup & Restore
  1. Select Project > Field Networks > [Network name] > Hardware > [Automation station] of the corresponding automation station.
  1. Select the BACnet tab.
  1. Open the Backup/Restore Information expander and clear the Enable backups check box.
  • If cleared: BACnet Backup is backed up as scheduled.
    If selected: BACnet Backup is backed up as per the backup rate (not used for this procedure).
  1. Enter the data for the BACnet backup properties:
  • Reinitialize password: Password for the automation station.
  • Confirm password: Confirm the password for the automation station.
  1. Repeat Steps 2 through 5 for all automation stations.

 

2 – Check the Desigo Device Object Model
  • The BACnet Backup settings for each automation station are done.
  1. Select Project > Field Networks > [Network name] > Hardware > [Automation station] of the corresponding automation station.
    NOTE: Apply this workflow to all automation station types.
  1. Click the Object Configurator tab.
  1. Open the Main expander and double-click the text Object model.
  • In System Browser, the Object Model is selected.
  1. Click the Models & Functions tab.
  1. Open the Properties expander and select the System_Status property.
  1. In the Command Configuration expander, check the BACnetBackupDevice entry. Enter the Backup name in the Alias column. If not entered, select the alias name from the drop-down list.
Object Model of a Desigo Automation Station

 

3 – Creating a Macro
  • The Object Model is checked for the correct alias name.
  1. In System Browser, select Application View.
  1. Select Applications > Logics > Macros and select the Macro tab.
  1. Click Create and select New Macro.
  1. In the New Object dialog box, enter a name and description.
  1. Click OK.
  • The new macro appears in the Macro tab.
  1. In System Browser, select Management View.
  1. Select Project > Field Networks > [Network name] > Hardware > [Automation station] of the corresponding automation station.
  1. Drag the automation station to the Macro configuration area.
  1. Repeat Step 8 for each automation station.
  1. Define the initial delay in the column Initial Delay (in seconds) for each automation station.
  • 1. automation station = 0 seconds
  • 2. automation station = 300 seconds
  • 3. automation station = 600 seconds, and so on.
    NOTE: This cascade procedure avoids an overload of network traffic.
  1. Click Save .
  • The macro is defined and all automation station are assigned.
Macro for BACnet Backup and Restore

 

4 – Automatically Execute

You can create an automated backup of BACnet automation station data using the functions Macro and Reaction Editor.

  1. Select Applications > Logics > Reactions.
  • The Reaction Editor opens.
  1. In the Triggers tab, select Time & Organization Mode expander and click Add.
  1. Click anywhere on the row.
  • The dialog box to set the execution time displays.
  1. Set the dates, days and time to execute the macro.
  1. In System Browser, select Applications > Logics > Macros > [MyMacro BACnet Backup] and drag the object to the Output expander.
  1. Click Save As .
  1. Enter a name and description.
  1. Click OK.
Reaction Defined for Executing Macro