Daily scheduling
- Last UpdatedNov 22, 2022
- 2 minute read
- PI System
- PI Manual Logger 2017 R2
- Visualization
In daily scheduling, you can specify the pattern of schedules recurring on a daily basis, or every several days. The start and end times can be either on the same day or on different days. If the end time is on the next day, any time that falls between the start time and the next day end time will be prompted for data collection, such as midnight between the scheduled days.
Example 1
You want data to be collected from a point once a day, starting at 3:00 PM. You give the operator six hours to collect the data.
-
Recurrence pattern: daily
-
Starts from: 3:00:00 PM
-
Ends On: 9:00:00 PM
-
Every: 1 day
Example 2
You want to schedule a group of tags to be collected every four days on both the day and night shift on that first day. Given that a tag cannot be included more than once in a single tour, there are two ways to handle this.
-
Method 1: Create two separate tours, one for the morning shift and one for the evening shift.
-
Advantage: It is easier to visibly recognize the hours in which tags need to be collected.
-
Disadvantage: This can lead to schedules, tag configuration, etc., getting out of sync, although this may be a desired feature.
-
-
Method 2: Use Conditional Manual Data Entry (CMDE) with Clock Scheduling to control it.
-
Advantage: You need to maintain only one tour.
-
Disadvantage: This may appear to be slightly more confusing at first.
-
-
To perform this scheduling with CMDE, follow these two steps:
-
For the group, define the following CMDE (Conditional Specification):
if( ((TourTime() - "January 1, 2013") % 4) = 0, ClockSchedule(), Skip())
Note: Instead of January 1, 2013, use the date from which the four-day shifts start.
-
Note: The '%' is a Modulus function, which means in this case, that every four days, starting from January 1, 2013, check the clock scheduling to see if the tags are due.
-
Define Clock Scheduling (CS) for the tour along these lines:
-
Starts from: 1/1/2013 at 4:00:00 AM
-
Ends on: 8:00:00 AM
-
Recurrence Pattern: Hourly
-
Every: 12 hours
Note: This Clock Scheduling means that between the hours of 4 AM - 8 AM and 4 PM - 8 PM, the tags are to be collected.
-
-
The use of CMDE in conjunction with the Clock Scheduling results in the tags within the group being collected between the hours of 4 AM - 8 AM and 4 PM - 8 PM every fourth day, starting from January 1, 2013.