ETC Unison Paradigm Central Control Server BACnet Interface Reference Guide User Manual
Page 36
32
Unison Paradigm BACnet Interface Object Reference Guide
d: Next, using the AST instance number returned above, perform a "Read
Property" for the object type: OBJECT_ACTION_SCRIPT_TEMPLATE, using
the BACnet standard property: "PROP_PRESENT_VALUE" (decimal constant
85). The returned property value is the target type that will be used below.
e: Perform a BACnet "Write Property" command on Instance Zero of the Timed
Event object, using the property type:
"PROP_END_ACTION_SELECTED_OBJECT_TYPE". This property value
should be set to the integer retrieved in the previous sub-step.
f:
Next, perform a BACnet "Write Property" command on Instance Zero of the
Timed Event object, using the property type:
"PROP_END_ACTION_SELECTED_OBJECT_NAME". This property value
should be set to the name or instance number of the appropriate selected
target. This name or instance number may refer to an existing wall, preset,
macro, channel, group, override or sequence.
g: Last, if needed (i.e. if there is a non-zero number of argument values) use a
programmed loop and write as many argument values as needed, using a
BACnet "Write Property" for the property type:
"PROP_END_ACTION_ARGUMENT_VALUES". The property value will be
set to the indexed argument value, while the index will range from 1 to a
maximum of 4.
Step 9:
Write the Timed Event "MetaData" (if needed). This step is optional. If editing
metadata is not required, proceed to the Step 10.
a: Perform a BACnet "Write Property" command on Instance Zero of the Timed
Event object, using the property type: "PROP_NO_OF_METADATA". The
property value should be set to the number of MetaData elements to be added
to the Timed Event. Acceptable values are integers and range from 0-8.
b: Next, if needed (i.e. if there is a non-zero number of metadata elements) use
a programmed loop and write as many metadata values as needed, using a
BACnet "Write Property" for the property type: "PROP_META_DATA". The
property value will be set to a character string with format "#, metadata", where
# = the MetaData Index and 'metadata' = the actual MetaData character string.
The property index will range from 1 to a maximum of 8.
Step 10: Create the Timed Event.
a: Perform a BACnet "Write Property" command on Instance Zero of the Timed
Event object, using the property type: "PROP_CREATE_OBJECT". The
property value can be set to an integer zero and is not used. This action will
send a request for creation within the Paradigm Central Control Server (P-
CCS). If the arguments populated by the previous steps are valid, an UCOV
(Unconfirmed Change of Value) message will be received verifying the Timed
Event creation.
5.2Controlling (Modifying) an existing Timed Event Instance
Step 1:
Perform a BACnet "Write Property" command on an existing instance of the
Timed Event object, using the property type:
"PROP_TIMED_EVENT_PREPARE_UPDATE". The property value can be set
to an integer zero and is not used. This action will move a copy of the specified
Timed Event instance to the special Instance Zero holding area.
Step 2:
Proceed to use the same sequence of actions in
to make any modifications necessary to the Instance Zero Timed
Event object.
Step 3:
Perform a BACnet "Write Property" command on an existing Instance of the
Timed Event object, using the property type: "PROP_CONTROL_OBJECT". The
property value can be set to an integer zero and is not used.