beautypg.com

1 creating a day based schedule – Echelon i.LON SmartServer 2.0 User Manual

Page 138

background image

i.LON SmartServer 2.0 Programmer’s Reference

9-7

Property Description

will be decreased with every heartbeat.

The element contains two
properties that define the dates that the Scheduler applies to.
The property defines the start date, and the
property defines the end date.

You must fill each property in using the following format:

YYYY-MM-DD

If the start date is undefined (0000-00-00), it means any date
up to and including the end date. If the end date is
undefined, it means any date from the start date. If both are
undefined, it means the Scheduler is always active. The
default value for both properties is 0000-00-00.

Each Scheduler can have up to seven day-based schedules.
These are schedules that operate based on the current day of
the week. This may be useful when setting up a schedule
that requires different update times for different days of the
week, e.g. weekends and weekdays.

The day-based schedules for your Scheduler are defined by
a list of elements. For a detailed description
of how to configure each element, see
Creating a Day-Based Schedule.

Each Scheduler can have one date-based schedule. You will
reference the schedule exceptions created with the Calendar
application to create this date-based schedule.

The element defines the date-based schedule.
For a detailed description of how to configure the properties
and elements that define the element, see
Creating a Date-Based Schedule.

9.3.2.1 Creating a Day-Based Schedule

The following code demonstrates the structure of the element. The subsequent table lists
and describes the properties that should be defined within each element.


0
Weekday
255

0
00:00:00

LonFormat="UCPTeventType">ET_LOCK



1
09:00:00

LonFormat="">ON

LonFormat="UCPTvalueDef">ON

LonFormat="UCPTtimeDirection">TD_POSITIVE

LonFormat="UCPTeventType">ET_NUL