beautypg.com

N o t e – ETC Unison Paradigm Central Control Server BACnet Interface Reference Guide User Manual

Page 34

background image

30

Unison Paradigm BACnet Interface Object Reference Guide

selection of Sunday and Friday.

If a Monthly Recurrence

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

Event object. Use the property type:

"PROP_RECURRENCE_MONTHLY_MONTHDAY" if a "specific day of the

month" is desired. This is an integer data-type with a value ranging between 1

and 31.

• Alternately, if a "WeekDay of a MonthWeek" is desired (i.e. the 2nd Tuesday of

the month), first perform a "Write Property" using the property type:

"PROP_RECURRENCE_MONTHLY_WEEKDAY", followed by another "Write

Property" using the property type:

"PROP_RECURRENCE_MONTHLY_MONTHWEEK". These are both integers

with values ranging from 1-7 and 1-5 respectively for WeekDay and MonthWeek.

If a Yearly Recurrence type:

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

Event object. If it is desired to specify a "Month & Day", then first use the property

type: "PROP_RECURRENCE_YEARLY_MONTH", followed by another "Write

Property" using the property type:

"PROP_RECURRENCE_YEARLY_MONTHDAY". These are both integer data-

type with a value ranging between 1-12 and 1-31 respectively.

• Alternately, if a "Month & WeekDay of a MonthWeek" is desired (i.e the 2nd

Tuesday of June), first perform a "Write Property" using the property type:

"PROP_RECURRENCE_YEARLY_MONTH", followed by another "Write

Property" using the property type:

"PROP_RECURRENCE_YEARLY_WEEKDAY", followed by another "Write

Property" using the property type:

"PROP_RECURRENCE_YEARLY_MONTHWEEK". These are all integer data-

type with values ranging from 1-12, 1-7 and 1-5 respectively.

If a Custom Recurrence type:

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

Event object using the property type:

"PROP_RECURRENCE_NO_OF_CUSTOM_DATES". This is an integer data-

type with a value ranging between 1 and 12 for an explicit number of dates.

• Next, perform a "Write Property" using the property type:

"PROP_RECURRENCE_CUSTOM_DATES", using a property index of zero (0).

This property is a character string data-type and should use the format:

"MM.DD.YYYY", where MM = the month (1-12), DD = the day (1-31) and YYYY

= the year, e.g. "10.05.2012".

• Continue with additional "Write Property" commands for the remaining custom

dates using a property index of 1, then 2, then 3, etc., until all custom dates have

been transmitted.

If a Holiday Recurrence type:

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

Event object using the property type: "PROP_HOLIDAY_NAME". This is a

character string data-type with a value being either a Holiday Instance Number,

e.g. "231", or the Name of an existing holiday instance, e.g.

"HOLIDAY_CHRISTMAS".

Step 7:

Write the Timed Event "Start Action"

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

Event object, using the property type: "PROP_START_ACTION_AST_NAME"

(AST = Action Script Template). This property is a character string data-type.

b: Next, perform a "Read Property" for the object type:

OBJECT_ACTION_SCRIPT_TEMPLATE, using the Property:

"PROP_LAST_AST_SELECTED_INSTANCE". This property allows

lightweight reference to the last written to AST which is automatically persisted

in the P-CCS interface.

N o t e :

You may send either an existing Action Script Template Instance No., e.g. '321',

or an existing Action Script Template Instance Name. If a Start Action is not

required, the user may provide the string: "NONE" for this property's value.