Examples for the Scheduler

Application Examples

This topic provides step-by-step examples for configuring the scheduler and covers special days, weekly/daily schedules, free schedules, and reaction programs. Use cases demonstrate HVAC control, coordinated window positioning, and automated sun blind adjustment based on time and DPE actions.

The following chapter illustrates how to create daily, weekly, and reaction programs as well as free programs. The examples also show how to create a special days list that is used when creating the above-mentioned time programs.

Example:

The heating and air conditioning of an office building should be controlled with the scheduler. The system should be active from Monday to Friday from 06:00 to 18:30. On Saturdays and Sundays, the system should be active from 06:00 to 12:00. On holidays, a different action pattern should be activated from 08:00 to 12:00. All ON and OFF actions should be confirmed by pop-up messages at the control station.

This example shows how to create a special days list used for activating a different control pattern during special days, a weekly program for heating and air conditioning from Monday to Sunday, and a daily program for the special days using the special days list.

  1. Step 1 - Creating the Special Days List
    Note:
    The holidays used in this example are for illustration purposes only. Adapt the special days to match the holidays and regulations applicable to your region.
    1. Start your project.
    2. Open the Scheduler via System Management > Settings > Scheduler.
    3. Open the special days panel by clicking on the Configure Special Days button.
    4. Click on the Create New Special Day button and enter the name Labor Day in the Name field.
    5. Select the date May 1 using the Date Time Picker and click OK. The created day is displayed in the special days table. Repeat steps 1 to 4 and create the following special days: Christmas Eve December 24, Christmas Day December 25, New Year's Eve December 31. Your special days table should look like the table in the figure:
      Figure 1. Special Days Table
  2. Click on the Create New Configuration button in the special days lists table.
  3. Define the name Holiday_list_A and press OK.
  4. Move the created special days to the Holiday_list_A by pressing the button. Your Holiday_list_A should look as follows:
    Figure 2. Holiday_list_A
  5. Save the list.
    Result Step 1: A special days list Holiday_list_A was created and can be used when creating time programs.

Step 2 - Creating a Weekly Schedule

Create a weekly schedule with time conditions for a normal work week.

Step 2 - Creating a Weekly Schedule

  1. Create a new weekly schedule ("Normal_Week") with the description "This time program contains the time condition for a normal weekly schedule". Set the time from 06:00 to 18:30 in the first section by defining the name and description using the corresponding buttons and by dragging the time bar from 06:00 to 18:30 in the Weekly Overview.
  2. Select the special days list Holiday_list_A with the mode "Do not execute on special days".
  3. Define a different time pattern from 06:00 to 12:00 for Saturday and Sunday.
  4. Select a validity range (e.g. from the beginning to the end of the current year) from the Time Condition.
  5. Configure a pop-up action for the desired user interface and create the required DPE list that sets the heating and air conditioning values by pressing the button and by defining the DPE values via Set DPE List and Activate PopUp.
  6. Activate the time program.
  7. Save the time program.
    Figure 3. Normal Week
    Result Step 2: A weekly program was created. The created program sets the heating and air conditioning values from 06:00 to 18:30 (Monday-Friday) and from 06:00 to 12:00 (Saturday-Sunday) and displays a pop-up message.

Step 3 - Creating a Daily Program

Create a daily program that is only active on holidays and triggers specific actions.

Step 3 - Creating a Daily Program

  1. Open the daily program configuration panel by clicking on the Create New Daily Program button.
  2. Create a new daily program ("Holidays") with the description "Time condition valid only on holidays". Set the time condition from 08:00 to 12:00 in the first section by defining the name and description using the corresponding buttons and by dragging the time bar in the overview window.
  3. Select the same special days list but with the mode "Execute only on special days".
  4. Select a validity range (e.g. from the beginning to the end of the current year) from the Time Condition.
  5. Configure a pop-up action for the desired user interface and create the required DPE list that sets the heating and air conditioning values by pressing the button and by defining the DPE values via Set DPE List and Activate PopUp.
  6. Activate the time program.
  7. Save the time program.
    Figure 4. Normal Week

    Result Step 3:

    A daily program was created. The created program sets the heating and air conditioning values only on the special days that were created in Step 1.

Creating a Free Program

On every 1st, 5th, 10th, 15th, 20th, 25th, and 30th day of the month and only if these days are not Wednesdays, Saturdays, or Sundays, the windows of an office building should be aligned in the same way to meet the corporate image of the company. If the windows are already optimally aligned (window data points == TRUE), the scheduler should do nothing. On holidays, no actions should be executed. This example illustrates how to create a free program that sets the values of the defined window data points to align the windows of the office building in the same way.

Creating a Free Program
  1. Open the free program configuration panel by clicking on the Create New Free Program button.
  2. Create a new free program ("Align_windows") with the description "Align the windows optimally") by defining the name and description using the corresponding buttons.
  3. Select the special days list Holiday_list_A with the "Do not execute on special days" mode.
  4. Select the Advanced option from the Time Condition and open the configuration panel by pressing the Advanced Configuration button.
  5. Define a validity range in the advanced configuration panel (e.g. from the beginning to the end of the current year) by pressing the

    button.

  6. Enter the days Monday, Tuesday, Thursday, and Friday (1st, 5th, 10th, 15th, 20th, 25th, and 30th of the month).
    Figure 5. Advanced Configuration
  7. Press OK.
  8. Configure the required DPE list that contains the window setting values.
  9. Create a window datapoint of type BOOL via PARA.
  10. Select the created datapoint from the DPE combo box and configure the additional value condition for the window datapoint.
  11. Enter the value FALSE in the field.
  12. Activate the free program.
    Figure 6. Aligning windows triggered by free program

    Result:

    A free program was created. The created program sets the values of the defined window data points to align the windows of the office building in the same way. The values are set when the defined time condition (1st, 5th, 10th, 15th, 20th, 25th, and 30th day and only if these days are not Wednesdays, Saturdays, or Sundays during the defined validity period and if the additional value condition gets the value FALSE) is fulfilled.

Creating a Reaction Program

The sun blinds on the second floor of an office building should be lowered every day at 15:30 for two hours because of the evening sun. However, this should only be executed when all windows are closed. If the windows are open, all open windows should first be closed. On weekends, no actions should be executed. The example includes creating a reaction program that checks whether windows are open and closes the open windows of the building, a daily program that triggers the created reaction program, and a daily program that lowers the sun blinds at the defined time.

Creating a Reaction Program
  1. Open the free program configuration panel by clicking on the Create New Free Program button.
  2. Create a new free program ("Check_windows") with the description "Align the windows optimally") by defining the name and description using the corresponding buttons.
  3. Open the reaction program configuration panel by clicking on the Create New Reaction Program button.
  4. Create a new reaction program ("Check_windows").
  5. Select the window datapoint from the DPE 1 combo box.
  6. Select the condition type Single Value.
  7. Select the logical operator =.
  8. Define the value condition.
  9. Configure the required DPE that closes the not yet closed windows and sets the closed window data points to TRUE.
  10. Activate the reaction program.
  11. Save the created reaction program.
    Result: A reaction program that checks whether the windows are open and closes the open windows, as well as sets the window datapoint values to TRUE, was created.

Creating a Daily Program

Create a daily program that triggers a reaction program to check windows.

Creating a Daily Program

Open the program configuration by pressing the Create New Daily Program button.

  1. Create a new daily program ("Trigger_reaction_program") with the description "Triggers a reaction program that checks the windows".
  2. Define a validity range (e.g. from the beginning to the end of the current year).
  3. Define the time 15:25-15:30 by dragging a time bar in the weekly overview.
  4. Apply the time to Monday, Tuesday, Wednesday, Thursday, and Friday.
  5. Configure the required DPE that activates and deactivates the reaction program.
  6. Activate the daily program.
  7. Save the created daily program.
    Result: A daily program that activates a reaction program was created. The reaction program checks whether windows are open.
    Figure 7. Trigger_reaction_program

Creating a Daily Program

Create a daily program that lowers the sun blinds on the second floor for 3 hours.

Create a new daily program ("Adjust_jalousie") with the description "Lowers the sun blinds on the second floor for 3 hours" and time condition 15:30 to 18:30.
  1. Select the weekdays from Monday to Friday
  2. Define a validity range (e.g. from the beginning to the end of the current year).
  3. Configure the required DPE list that lowers the sun blinds at 15:30 and raises them at 18:30.
  4. Activate the scheduler.
    Figure 8. Adjust the sun blinds on the second floor
  5. Save the time program.
    Result: A daily program that lowers the sun blinds when the defined time and datapoint values (the window datapoint receives the value TRUE = windows are closed) are met, was created.