beautypg.com

ETC Unison Paradigm Central Control Server BACnet Interface Reference Guide User Manual

Page 33

background image

Timed Event Handling

29

Timed Event object, using the property type:

"PROP_BEGIN_TIME_OFFSET_MINUTES". This is an integer data-type with a

value between -1439 and 1439.

If a Duration Time Type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_BEGIN_TIME_DURATION". This

is an integer data-type with a value between 0 and 2,147,483,647 (minutes).

Step 5:

Write the Timed Event "End Time". If no event duration is required, set this equal

to the "Start Time".

a: First - Perform a BACnet "Write Property" command on Instance Zero of the

Timed Event object, using the property type: "PROP_END_TIME_TYPE". This

property is an integer data-type with an enumeration value: 0 = Real, 1 =

Astronomical, 2 = Duration.

b: Select one of the following actions, depending upon the value of this property:

If a Real Time Type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_END_TIME_HOUR". This is an

integer data-type with a value between 0 and 23.

• Then, perform a BACnet "Write Property" command on Instance Zero of the

Timed Event object, using the property type: "PROP_END_TIME_MINUTE".

This is an integer data-type with a value between 0 and 59.

If an Astronomical Time Type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_END_TIME_ASTRO". This is an

integer data-type with an enumeration value: 0 = Sunrise, 1 = Sunset.

• Then, perform a BACnet "Write Property" command on Instance Zero of the

Timed Event object, using the property type:

"PROP_END_TIME_OFFSET_MINUTES". This is an integer data-type with a

value between -1439 and 1439.

If a DURATION Time Type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_END_TIME_DURATION". This is

an integer data-type with a value between 0 and 2,147,483,647 (minutes).

Step 6:

Write the Timed Event "Recurrence".

a: Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_RECURRENCE_TYPE". This

property is an integer data-type with an enumeration value: 0 = Once, 1 =

Hourly, 2 = Daily, 3 = Weekly, 4 = Monthly, 5 = Yearly, 6 = Custom, 7 = Holiday.

b: Select one of the following actions, depending upon the value of this property:

If a Once Recurrence type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type:

"PROP_RECURRENCE_ONCE_MONTH". This is an integer data-type with a

value between 1 and 12.

• Then, perform a BACnet "Write Property" command on Instance Zero of the

Timed Event object, using the property type:

"PROP_RECURRENCE_ONCE_DAY". This is an integer data-type with a value

between 1 and 31.

• Finally, perform a BACnet "Write Property" command on Instance Zero of the

Timed Event object, using the property type:

"PROP_RECURRENCE_ONCE_YEAR". This is an integer data-type with a

value between 10 and 99 (an offset from the year 2000).

If a Weekly Recurrence type:

• Perform a BACnet "Write Property" command on Instance Zero of the Timed

Event object, using the property type: "PROP_RECURRENCE_WEEKLY". This

is a character string data-type with a value that represents each day as either '1'

or '0', on or off. As an example, the weekly string "1000010" would represent the