EasyManua.ls Logo

LOYTEC L-DALI - Page 128

LOYTEC L-DALI
393 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
L-DALI User Manual 128 LOYTEC
Version 5.2 LOYTEC electronics GmbH
Each calendar pattern describes a pattern of dates on which an event shall occur, e.g.,
Holidays.
One can define a set of scheduled events that are recurring differently. For example one
event is defined for regular workdays (Monday through Friday). Another event is defined
based on the holidays calendar pattern. This will lead to overlapping events between
workday and holiday for those weekdays, which are holidays.
The resolution of this overlap is simple: Each event is configured with a priority. Should an
overlap occur, the event with the higher priority will be in effect (e.g., Dec 25
th
in Holidays
overrides the regular workday event). An example is shown in Figure 117. The detailed
view shows the two overlapping events and the preview shows the effective schedule. Note,
if two events with the same priority exist, it is not defined, which one is in effect. Therefore,
always use distinct priorities.
Priorities are numbers, but some priorities have been pre-assigned, e.g. highest, override,
normal, low. Please also refer to the technology-specific limitations described in Section
7.10 to learn about special behavior of the respective networking technology.
If no event is in effect at a given time, the schedule default becomes effective. This can be
defined to be any of the defined presets. In Figure 117 the scheduler will write out
“unoccupied” after 12:30 as no other event exists. A special schedule default is silent. With
the silent default the scheduler will be inactive, if no event is in effect. This means it will
not update its scheduled data points until the next scheduled event, not even at midnight.
Thus, using the silent default one can build an event-based scheduler.
Figure 117: Example with overlapping events and different priorities.
The configuration of calendar-based recurrence is done by calendar patterns in the calendar.
Each calendar pattern contains a number of pattern entries. These entries can define the
following:
A single date: This defines a single date. Wildcards may be used in the year to specify
Dec 25
th
of every year.
A date range: This defines a range. Starting with a start date and ending with the end
date. No wildcards should be used.
A Week-and-Day definition: This defines dates based on a week, such as every 1st
Friday in a month, every Monday, every last Wednesday of a month.
A schedule defines at which time instants certain states of the scheduled data points are
maintained. The next-state feature allows looking up to 48 hours ahead into the future and
predicts when the next scheduled state change will occur. There are two data points
involved: the timeToNext is a counter in minutes to the next scheduled event, and the
nextState data point is the state of the next scheduled event. This information can be used

Table of Contents