Calendar

The Calendar creates a recurring event at certain times. The repeat mode can be set individually. The modes of daily, weekly, monthly or annual repetition are available.
A timestamp is required as a reference value, as the algorithm needs a time context in which to work. This reference timestamp is set automatically, if there is another algorithm in the configuration. Therefore, it is not possible to use the Calendar individually.
Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.
Configuration options
- Recurrence Mode:
Daily: Daily recurrence. The time of the event can be set.
Weekly: Weekly recurrence. The time of the event and the days of the week on which the event is to be generated can be set.
Monthly: Monthly recurrence. The time of the event and the recurrence type can be set.
Yearly: Annual recurrence. The time of the event, the recurrence type and the months in which the event is to be created can be set. - Time: Time of the event
- Day Of Week Mask: Days of the week on which an event is to be created.
- Recurrence Specification:
Specific Day: The event should be created on a specific day. This can be set using the Day parameter.
First: The event should be created on the first specified day of the month. The specification is made via the Day Of Week parameter.
Last: The event should be created on the last specified day of the month. Specification takes place via the Day Of Week parameter - Day: Day on which an event is to be created.
- Day Of Week: Day of the week of the event
Unspecified: The event is created on the first or last day of the month, depending on the Recurrence Specification parameter.
Monday..Sunday: The event is generated on the first or last set weekday of the month, depending on the Recurrence Specification parameter. - Month Of Year Mask: Months in which an event is to be created.
Output values
- Event: Indicates TRUE at the time of the event, otherwise FALSE.
- Next Event: Displays the time remaining until the next event.
Standard HMI Controls
For the Calendar algorithm, the following HMI controls are available for generating an Analytics Dashboard:
1. The Table Control or Multivalue Control visualizes all output values: Event, Next Event.



Alternatively, customer-specific HMI controls can be mapped in the Calendar algorithm using the Mapping Wizard.