Event scheduler, Event scheduler -1, 10 event scheduler – Echelon i.LON 100 e2 Internet Server User Manual
Page 153
i.
LON 100 Internet Server Programmer’s Reference
10-1
10 Event Scheduler
You can use the Event Scheduler application to schedule periodic updates to the data points
in your network. You will select a data point, or group of data points, for each Event
Scheduler you create. These data points will be updated to specific values on the dates and
times that the Event Scheduler is effective. The dates and times that the Event Scheduler is
active, as well as the values the Event Scheduler will update the data points to, are
completely user-defined. This section provides an overview of how this works.
Day-Based Schedules
For each event schedule, you will create up to seven day-based schedules. Each day-based
schedule will apply to certain days of the week. For example, you could set up one day-based
schedule that is active Monday through Friday, and another that is active Saturday and
Sunday. Or, you could set up a separate day-based schedule for each day of the week.
You will define a series of day-time values for this day-based schedule, meaning that you will
be allowed to specify what value you want your data points to be assigned at any given time
during the days that the schedule is active. For example, you could create an Event
Scheduler that sets a SNVT_switch data point to on (100.0 1) at 8:00 and off (0.0 0) at 17:00
on wekdays Monday through Friday, and leaves the data point set to off on Saturday and
Sunday.
Date-Based Schedules
In addition, you can create date-based exceptions for each Event Scheduler. These exceptions
will allow you to select specific dates which require a unique schedule, such as holidays, and
assign them a schedule that is different than any of the the day-based schedules. You will be
able to set up a separate set of day-time values for each exception. This allows you to specify
what value you want your data points to use on each exception date at any given time, and
gives you complete flexibility when creating an Event Scheduler.
The date-based exceptions must be created with the Event Calendar application. This is
described in Chapter 11 of this document.
Data Points
The Event Scheduler application allows the integrator to dynamically select data points of
any standard or user defined network variable type to be updated by an Event Scheduler.
These outputs should be bound to network devices that require activation on a scheduled
interval. The data points must be created and added to the Data Server before they are used
by the Event Scheduler application. For more information on this, see Data Server on page 5-
1.
Refreshing Exceptions
As mentioned earlier, you will use the Event Calendar application to create the exception
points that define the date-based schedules for your Event Schedulers. Chapter 11 describes
this procedure. The exceptions you create are stored in an exception list (a list of exceptions
in UNVT_date_event format) that is stored within the Node Object. The Node Object
maintains the exception list, and it receives this list via the NVL_nviDateEvent point.
All Event Schedulers on the
i.
LON 100 read the exception list from the local NodeObject
internally (not with a binding), and as a result only use current exception configurations. By
default, the data points of the NodeObject and the local Calendar are configured in a loop, so
that this exception list comes from the local Calendar object via an internal binding between
the NVL_nvoEcDateEvent output of the Calendar, and the NVL_nviDateEvent input of the
NodeObject.