Comfort Automation/ Security System Forums > Third Party (interfacing to Comfort) > Smart-House/Dupline > UCM/Dupline Tutorial Part 3 |
Moderated by: admin |
Author | Post | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
ident Administrator
|
The UCM/Dupline polls and monitors for Dupline Output activity for addresses A1 to P8, and saves the value to Comfort Counters. Comfort Ultra has 256 Internal Counters numbered from 0 to 255 which can be used as general purpose Registers or to hold the states of external devices like Dupline and C-Bus. Each Counter can hold a 1 byte value ie 0 to 255. Dupline output states are saved in the counter as values 0 for OFF, 255 for ON. When a Dupline Output command is received by UCM/Dupline, the state (ON or OFF) is kept in the mapped Counter register. The Mapping between Dupline Output addresses and Counters is shown below If the Output is Off, the value 0 is saved in the corresponding counter. If the Output is On, the value 255 is saved in the corresponding counter. This allows Comfort to Monitor the status of the Dupline Outputs and to trigger Responses based on each Counter. |
|||||||||
ident Administrator
|
Monitoring Dupline Status The state of Counters can be heard on the Home Control Menu. In the above example, each Control Key can be assigned to a specific Counter. E.g. Master Bedroom controls Dupline address B1, which is mapped to Counter 9. Hence assigning Feedback Type as Counter and Counter as 9 means the feedback status is obtained from counter 9. This means that when Dupline Output B1 is On, the Home Control menu for Master Bedroom will announce its status as “On†and when Output B1 is Off the master Bedroom will announce its status as “Offâ€. Note that Sending commands to Dupline addresses will also update the mapped Comfort to Dupline Interface Counters Feedback Types on the Home Control menu can be configured as Inputs, Outputs, Counters, Sensors, or Flags. |
|||||||||
ident Administrator
|
Triggering Comfort Responses by Dupline Each Comfort Counter will also trigger a Counter Response when Dupline sends a command which is mapped to a counter. For example, Dupline Output B1 is mapped to Counter 9. In order to allow this to send a command to control an aircondtioner by IR commands, we can make use of the Counter Response. Go to Events > Counters and select Counter 9. Each Counter can be assigned a Response which is triggered when the Counter is changed by Dupline. On the right pane, you can assign the Response by clicking on the ... Button to the right of Response Name. The example below shows how to assign as Response to send an IR code to Output 1. This means that when any change in the Dupline B1 Output is seen by Comfort, it will trigger the IR command. In practice you would like to control the Aircon to turn on or off depending on the Dupline On or Off command. This can be done by creating the Response as shown as the Counter Response If Last UCM Counter = 0 means if the Value of the Counter that triggered the Response is 0. Hence the above Response will do IR1Output1 when the Dupline B1 command is OFF and do IR2Output1 when the Dupline B1 command is On. Please read the UCM/Dupline Manual which can be downloaded from http://www.cytech.biz/ucmdupline_manual.html Last edited on Sunday Jun 17th, 2012 03:17 am by ident |