1.1 Settings
Double-click the [Scheduler] in the project workspace or select [Tools] – [Scheduler] to bring up the [Scheduler] window.
Item | Description |
Schedule | You can manage the schedule in types such as a specific date, holiday and the day of the week. |
New Schedule | Adds a new schedule. This button will appear when you press [Schedule] button. Alternatively, you can add a new schedule by pressing the icon. |
Edit Sch | Edits the existing schedule. You may double-click the desired schedule. Alternatively, you can select the schedule and press [Edit Sch] button. |
Delete Sch | Deletes the selected schedule. Alternatively, you can select the schedule and press icon to delete the item. |
Model | Represents the timetable in which the schedule is defined. |
New Model | Adds a new model. This button will appear when you press [Model] button. Alternatively, you can add a new model by pressing the icon. |
Edit Model | Edits the existing model. You may double-click the desired model. Alternatively, you can select the model and press [Edit Model] button. |
Delete Model | Deletes the selected model. Alternatively, you can select the model and press icon to delete the item. |
Holiday Setup | The ‘Holiday’ includes the national holidays and the traditional holidays. You can add, edit or delete the holiday schedule by pressing [Holiday Setup] button or icon. |
Daily Starting Time | When you assign the daily starting time, the scheduler executes the 24h operation starting from the assigned hour. For example, if the assigned value is 1, the schedule starts with the operation of the 01:00 AM. The operation before 01:00 AM will be executed at the last. |
Confirm | Applies the configuration to the project and closes the Scheduler. |
1.1.1 Add/Edit Model
You can manage the model as a daily timetable. The model is for the routine schedule. To bring up the [Edit Model] window, press [Add Model] button or icon.
Item | Description |
Name | Assign the name of the model. The name cannot be duplicated. |
Description | Enter the short description of the model. |
Use As Base Schedule | If you are using the model on the days in which the schedule is not assigned, select this option. Only a single model can be assigned as a base schedule. The icon will be marked to the base schedule model. |
Timetable | Displays the added timetables in a list. The execution time, option and the command are displayed. |
OK | Saves the model configuration and closes the [Edit Model] window. |
Cancel | Cancels the model configuration and closes the [Edit Model] window. |
1.1.2 Add/Edit Timetable
You can configure a specific with a specific action, according to the assigned hour. To bring up the [Edit Schedule] window, select [Add] or [Edit] button.
Item | Description | |
Time | Assign the base time to execute the command (Operation) Expression. You can assign from 00:00 to 23:59. | |
Option | Once at the specified time | The timetable is executed only once in the assigned time. In other words, if the system is executed other than the assigned time, the command (Operation) expression will not be executed. |
Continuous | The assigned command (Operation) expression is repeatedly executed from the starting time of the timetable to the next timetable. You can assign the execution interval from 1 to 32767 seconds. | |
Command (Operation) Expression | Enter the command or operation expression to be executed at the assigned hour. E.g.) If ‘CURRENT_KWH = 1’ is entered, the value “1” will be assigned to the tag named “CURRENT_KWH” at the assigned time. | |
OK | Saves the configuration and closes the window. | |
Cancel | Cancels the configuration and closes the window. |
1.1.3 Holiday Setup
When you create a new project or delete the file named ‘ProjectName.sch’ from the project folder, the CimonD will create a new schedule file. This file contains the holiday as shown below.
Name | Date | Remarks |
New Year | Jan. 01 | Solar |
To bring up the [Holiday Setup] window, select [Holiday Setup] button or icon. You can add, edit and delete the holidays.
(1) Add/Edit Holiday
Item | Description |
Name | Enter the name of the holiday. The name cannot be duplicated. |
Date | You can assign the date of the holiday. You can assign the year from present year to 2037, or every year. The month can be assigned from January to the December, or every month. The date can be assigned from 1 to 31, or the last day of the month. |
OK | Saves the configuration and closes the window. |
Cancel | Cancels the configuration and closes the window. |
1.1.4 Add/Edit Schedule
After the configuration of the model and the holidays, you can add or edit the detailed schedule. To bring up the [Edit Schedule] window, select [Add Sch] button or icon.
Item | Description | |
Schedule Type | Date | You can assign the year from present year to 2037, or every year. The month can be assigned from January to the December, or every month. The date can be assigned from 1 to 31, or the last day of the month. |
Holiday | Represents the holidays assigned in the [Holiday Setup]. It is not necessary to assign a date or day. | |
Day | Select a day of the week (Monday to Sunday). | |
Apply Model | Select a model to be executed on the specified date/holiday/day. If the models are predefined, you can select the model from the list. If there is no registered model, manually enter the model name and then register the model with the same name. In case of the unregistered model, following message will pop-up. | |
Description | Enter the short description of the schedule. | |
OK | Saves the configuration and closes the window. | |
Cancel | Cancels the configuration and closes the window. |
1.2 Scheduler Operation
In this section, you will be guided to the operation of the scheduler. This section explains the priority of the schedule type, the condition of the leap month, and the operation of the timetable.
1.2.1 Schedule Priority
CIMON-SCADA system selects the one of the schedules registered to the scheduler. Sometimes, there may be cases when more than two schedules need to be selected. The example can be the New Year on Sunday. In this case, only one of the corresponding schedules (Holiday and the Sunday schedule) must be selected. The selection follows the priority as shown below.
Priority | Schedule Type |
1 (Highest) | Date |
2 | Holiday |
3 | Day of Week |
4 (Lowest) | Base Schedule |
If the duplicated schedules have the same priority, the system selects the schedule which is registered before. |
1.2.2 Leap Month in Lunar Calendar
In CIMON-SCADA, you can configure the schedule with the lunar calendar. In the lunar calendar, there is a a special month named ‘Leap Month’. The CIMON-SCADA processes the leap month as shown below.
(1) When the specific month is assigned
If a date such as ‘Lunar, Every year, Aug, 15th’ is assigned, the ‘leap month, Aug, 15th’ is processed as a not applicable date.
(2) When the month is assigned as ‘‘Every Month’’
If a date such as ‘Lunar, yyyy, every month, dd’ is assigned, the system processes the date normally when the year and the date match in the leap month.
1.2.3 Timetable Operation
CIMON-SCADA selects the schedule to be executed when the system starts the operation. When a schedule is selected, CIMON-SCADA refers to the assigned model’s timetable. The table shown below is an example of the timetable.
Time | Option | Command(Operation) expression |
00:00 | Continuous (60 sec) | Command 1 |
09:00 | Once at the specified time | Command 2 |
10:00 | Continuous (4000 sec) | Command 3 |
11:00 | Continuous | Command 4 |
(1) Initial Operation
Finds the closest past time from the present.
If the result has the option ‘Continuous’, the assigned command will be executed according to the interval. If the result has the option ‘Once at the specified time’, the command will not be executed since the time value is not equal.
When the CIMON-SCADA is executed at 07:00 AM, the system will find the configuration of the timetable at 00:00. The Command 1 will be executed according to the assigned interval.
When the CIMON-SCADA is executed at 09:01, the Command 2 will not be executed since the option is ‘Once at the specified time’.
(2) Expiration
The commands assigned as ‘Continuous’ option repeatedly operates until the next timetable. For example, the Command 1 will operate until 08:59:59 AM every second.
The commands assigned as ‘Once at the specified time’ is valid for a minute. For example, the Command 2 is valid from 09:00:00 to 09:00:59.
(3) Interval of the ‘Continuous’ option
You can assign an interval of the ‘Continuous’ option from 1 to 32767 seconds. The default interval is 60 seconds. If the interval is too long, the command may be executed only once.