The Calendar function block contains a list of holidays that are used in the exception schedule of a controller. You can create multiple calendars in the same controller, each with its own set of dates.
Calendar entries can refer to a specific date, a date range, or a recurring event. Instead of linking CalendarSchedules, you can reference them from the special events configuration of one or more weekly schedules. Each CalendarSchedule defines the day portion of a special event as a reference. Then, in each special event, you configure time- of-day events as needed.
Figure 1: Calender Function Block |
Figure 2: Calender Property Sheet |
Input
Input Name |
Description |
NA |
Table 1: Inputs of Calendar Function
Output
Output Name |
Description |
NA |
Table 2: Outputs of Calendar Function
Parameter
Parameter Name |
Description |
Calender Type |
Date - (default) By various combinations of weekday, numerical date, month or month combinations, and year Date Range - By start and end range, using for each a combination of day, month, year. Week and Day - By combination of day of week, week in month, month. Custom - By various combinations of day, month, weekdays, and year. |
Right-click menus |
Add - Add a new calendar event (same as using Add button). Edit - Edit day(s) selection criteria (but not changing calendar type). Same as Edit button. Rename - Rename selected calendar event (same as using Rename button). Priority (up) - Move calendar event up in display list (same as using Priority button). Priority (down) - Move calendar event down in display list (same as using Priority button). Delete - Removes selected calendar event from the schedule component. |
Table 3: Parameters of Calendar Function
Example
Figure 3: Calender Event
Refer to General Description for general information about IRM N4 Function Blocks.