User Manual
Calendars and schedulers
Schedule
10
168 | 353 CM110664en_07
Key
① An exception profile applies to more than one day. On the second day, the exception profile
is inactive, because another profile with a higher priority is active for the whole day.
② An exception program without the entry NULL. This exception profile is active for the whole
day and ends automatically in the automation station at 24:00 hours by the NULL entry.
③ Several exceptions with the same priority on the same day, but without overlapping times.
The exception profiles do not interfere with each other as an exception begins with the first
time entry and ends with NULL.
④ Several exception profiles with the same priority on the same day with overlapping times.
These exception profiles affect each other, as several exceptions with the same priority level
are active simultaneously. In such cases, the rule is that if the switch commands are the
same, the first time-entry applies (in this example 13:00 to NULL). With non-identical switch
commands, the latest time-entry applies.
⑤ Operation in accordance with the weekly schedule.
Output signals
The scheduler sends the following output signals:
● [PrVal]
● [NxVal]
● [NxTi]
The [NxVal] und [NxTi] output signals support the optimum start/stop control
of the plant. When determining [NxVal] and [NxTi] in the time schedule, the
current day and the next two days are taken into account. This results in a time
window of 48 to 72 hours, depending on the current time and the next switch
entry. If there is no change in [PrVal] within the time window, then [NxVal] is
the same as [PrVal] and [NxTi] is equivalent to the current date plus 3 days
(00:00h).
This default value [DefVal] appears at the [PrVal] output when there is no
active entry in the time schedule, or when the entries are all NIL, or when the
time period is outside the active period.
The [EnDef] variable enables or disables the [DefVal] variable.
The function block variables [DefVal] and [EnDef] are mapped to the
Schedule_Default property. The property Schedule_Default can have the value
[DefVal] or NIL.
Variable DefVal Variable EnDef Property Schedule_Default
Value True Value
Don't care False NIL (= Release)
The NIL value in the Schedule_Default property is the release value for the
active priority of the object controlled by the scheduler. Do not confuse it with
the NIL value in the exception schedule used to prioritize the time entries.
Function blocks for various data types
There are four versions of the schedule block, with an analog, binary or
multistate output or with a variable data type (boolean, unsigned, real or
enumerated).
Function block Output Example
BSchd (PX) Binary True/False
ASchd (PX) Analog 20°C
MSchd (PX) Multistate Off, Stage 1, Stage 2, Stage 3
Schd (PX and Desigo room
automation)
Boolean / Unsigned / Real /
Enumerated
[PrVal] [NxVal] [NxTi]
[DefVal]
[EnDef]