Example: BACnet day/night control

The example below illustrates how to configure simple day/night control with the aid of a BACnet schedule and output object. This can be used for lighting control, for example, which is active during the night. The time for activating the binary output is set to 22:00. The output is reset at 4:00.

Example: BACnet day/night control 1: The example schedule_example.zip can be downloaded here .

  1. Create a BACnet adapter and server (see "Example: Create BACnet adapters and servers")
  2. Adding an I/O bus via I/O automapping (see: "Example: I/O automapping")
  3. Creating a schedule object under the server
  4. a) Right-click on the server and select "Append Object..." to create a new BACnet object
  5. Example: BACnet day/night control 2:
  6. b) Select module "BACnet Schedule Object" and add with "OK"
  7. Example: BACnet day/night control 3:
  8. The object of type BACnetBinaryOuput, which represents the binary output for the lighting control, is entered as object reference for writing the schedule value (ACTIVE / INACTIVE):
  9. a) Double-click on the property ListOfObjectReferences:
  10. Example: BACnet day/night control 4:
  11. b) Then select the PresentValue of the required BinaryOutput object:
  12. Example: BACnet day/night control 5:
  13. The selection of the object reference is important for the subsequent steps. It determines the data type of the TimeValue entries in the property ExceptionSchedule for the following wizard. If the PresentValue of a binary* object is selected, the data type BACnetBinaryPV is otherwise added to Bool.
  14. Double-click on the property ExceptionSchedule:
  15. Example: BACnet day/night control 6:
  16. The wizards facilitates configuration of the switch-on and switch-off times:
  17. Example: BACnet day/night control 7:
  18. The configuration now has to be loaded into the target system by clicking on "Active configuration" on the toolbar:
  19. Example: BACnet day/night control 8: