Alarm clock

An alarm function is realised with this logic group and can thus trigger functions at the specified time.

The function is realised in this logic group as follows.
The hour and minute value for the desired wake-up time is transferred to the logic group via the "Hour input" and "Minute input" inputs and compared with the current hour and minute value.
If both values are identical, the logic group triggers via the output with the bit value "1".

The "Enable" input allows the logic group, and thus the alarm function, to be activated and deactivated.

The output is reset to the bit value "0" via the "Reset" input after the logic group has triggered.

To the sequence of the logic group.
The two comparators "hour" and "minute" and the elements "timer" are first activated via the release.
This causes the "Timer" element to send the current minute and hour value.
These two results from the comparator elements are logically ANDed via the logic element "True? Wake up!" are logically AND linked with each other.
As soon as both inputs are connected to the logic element "True? Wake up! are TRUE, the value "1" is output via the output.
The output of this logic group is set back to "0" by the "Reset" input.

Note: The inputs "Input hour" and "Input minute" are not checked by the logic group for valid values (hour: 0 to 23 and minutes: 0 to 59).
Thus, the values must be checked in the visualisation. This can be done, for example, via the visualisation element "Value display/value sender". The permitted value range can be defined here.
The days of the week are not taken into account in this function. If necessary, however, they can be subsequently extended with a week clock element that replaces the release of this logic group.

Alarm clock

833
This logic group is compatible with: EP, LOM
*With the download you accept the Notes on use for logic groups.