|
<< Click to Display Table of Contents >> Navigation: Components > Control, logic & time > Alarm clock |
The alarm clock is an invisible server component with the ability to schedule created channels. Use as a pure alarm clock, without switching function, is also possible.
The alarm clock can control up to 99 arbitrary channels. In this case, each channel name, switching offset, active time, any active and inactive value can be defined. The summer / winter selection can be used to group season-related circuits.
To use the alarm clock this can be connected with buttons and text inputs, as a Visible Client component. So it is possible to operate the functions of the alarm clock in the client and, for example. to change the alarm time.
Data points of the component
Name |
Type |
function |
|---|---|---|
Dynamic |
Folder |
Folder Dynamic displays the outputs for the defined channels. These must be linked here. - There is an output for each channel to output the desired signal. - A positive (later) time offset (in minutes) or a negative (earlier) time offset will be set or sent via the Bidirectional data point "Output Offset Time". - Via the bidirectional data point "Output Active Time" of the same name, the active time (in minutes) of the output is set or the active time preset in the Channel Editor is sent. |
Active |
Bidirectional |
Here, the alarm is activated or the status is displayed as active / inactive. |
Alarm |
Output |
Here, an on signal is output at the time of the alarm for the duration of the alarm or until it is deactivated. |
Alarm Off |
Input |
An on signal at this input disables the alarm. |
Alarm duration [min] |
Bidirectional |
Time duration for which the alarm signal is active after triggering |
Alarm time [hh:mm] |
Bidirectional |
Alarm time in the format hh: mm defined via the parameters or specified via a text input in this format. |
Snooze duration [min] |
Bidirectional |
Time period in minutes for which the alarm output is deactivated after the snooze function is activated. This functionality is only active during the alarm time period. |
Snooze |
Input |
Enables slumbering mode on a wake-up signal |
Alarm Clock-Editor |
Bidirectional |
Connection between an alarm clock and one or more alarm clock editors. |
Winter |
Input |
If an on signal is present at this input, the alarm clock is in winter mode and only channels with winter marking are used. |
Properties
Name |
|
function |
|---|---|---|
Channels |
0 |
Here the individual channels are defined in a list. These then appear as output in the data point Folder Dynamic. |
Alarm time [hh:mm] |
06:00 |
If this parameter is set, the current nominal state of the channels is sent when the solution is started in the server or when the simulation is started in the editor. |
Alarm duration [min] |
2 |
Time duration for which the alarm signal is active after triggering |
Snooze duration [min] |
1 |
Duration in minutes, for which the wake-up signal is deactivated after actuation of the slumber function. This functionality is only active during the alarm period. |
Send state at startup |
|
If this parameter is set, the current nominal state of the channels is sent when the solution is started in the server or when the simulation is started in the editor. |
Send state in activation |
|
If this parameter is set, the current nominal state of the channels is sent when activating the alarm clock. |
Active |
|
Here the alarm is activated / deactivated. |
Channels
Name |
Switch-offset(min) |
Active time(min) |
Value active |
Value inactive |
Summer |
Winter |
|---|---|---|---|---|---|---|
Output01 |
-1 |
1 |
127 |
0 |
x |
x |
Output02 |
10 |
1 |
On |
Off |
x |
x |
Output03 |
0 |
0 |
3 |
30 |
x |
x |
... |
|
|
|
|
|
|
Here the outputs of the alarm clock are set with switching times.
Name: A freely definable name for the output
Shift Offset (min): Time in minutes when this output should switch in relation to the alarm time
Active time (min): Time in minutes, for the duration of the output signal
Value active: Specify what is sent.
Value inactive: Define what should be sent after the active time.
Summer / Winter: Times for summer and winter operation can be set separately. If the input "Winter" in the alarm clock is set to "high", only the switching times are active for which the tick was set in winter.
In the example above, Output01 is set to one minute before the alarm time, to 127 for one minute, and then back to 0.
At the set alarm time, Output03 is set to the value 3. This output does not automatically switch to inactive because the active time has been set to 0.
Ten minutes after the set alarm time, Ausgan02 becomes active (ON) for one minute and then sends the OFF signal.