Alarm clock function block

The smart alarm clock for your Smart Home


The Alarm function block allows you to perform actions, either once or repeatedly at the desired days and times. In addition to the days of the week different settings can be defined for holidays, bank holidays or lie ins!

The function block also has the universally loved (or hated!) snooze function.

First of all double click on the block to open up the editor to set your alarms.

To add a new alarm click on the green plus at the bottom left. You can then add a description for the name of the alarm (for example Work days), as well as select the time of the alarm and the days the alarm happens on.

It is important to choose in the properties window of the block whether an acknowledgement of the alarm is required or not in order to turn the alarm off. If an acknowledgement is not required then the alarm will stop automatically after the time set by parameter Ta.

When the alarm goes off a pulse occurs on output QTa, and once the alarm is deactivated (either by a pulse on input C, or after the timeout if no acknowledgement necessary) a pulse occurs on the QTe output. When the alarm is active then the output Qa will be on.

If you want to snooze the alarm then input S allows you to do this. If the ‘acknowledgement required’ box is checked is ticked and the alarm hasn’t been acknowledged in the alarm time (parameter Ts) the snooze will be started automatically. The snooze time can be adjusted with parameter Ts, if a pulse occurs on Tsc within the snooze period then the timer is reset to the beginning. The alarm can also of course be acknowledged with input C within the snooze timer.

If you want something to happen before the actual alarm (for example dim the lights up slowly) you can do that using the QTp output. This provides a pulse at a set amount of seconds before the alarm goes off. You can set this time using the parameter Tp.

If the input DisP is on then all the alarms of the block will be disabled.



C Acknowledgement input With a pulse on this input the alarm is acknowledged and turned off.
Tsc Snooze input Start the snooze timer (which is set with parameter Ts).
DisP Disable alarms Deactivate all the alarms set in the block.



Ta Alarm duration [s] With this parameter set how long the alarm lasts for.
Tp Alarm warning pulse [s] Specifies how long before the alarm goes off a pulse will go off at on QTp. If Tp is set to 0 then this function is not used and no pulse occurs on QTp.
Ts Ts Snooze duration [s] Set how long the snooze will last if no acknowledgment happens within alarm period (if acknowledgement checkbox ticked) or if S is triggered.



QTa Alarm start pulse A pulse will happen on this output when the alarm starts.
Qte Alarm end pulse A pulse happens on this output when the alarm ends.
Qa Alarm status When this output is on the alarm is active, when off the alarm is not active.
Qar Active alarm Indicates whether the alarm has been activated, the alarm signals:

1 = Alarm Alarm active 0 = alarm not active

QTp Warning pulse A pulse occurs on this input Tp seconds before the alarm goes off.
AQs Snooze timer The remaining time in seconds for the snooze timer is output here.