| Author | Post |
|---|
Electronia Member

|
Posted: Sunday Jun 1st, 2008 07:59 am |
|
I am using:
- Cbus Toolkit ver 1.7.4 for the adressing etc of the Cbus relays and dimmers
- Comfigurator ver 2.2.3 for Comfort panels and
- Piced ver 4.3.0 for the Clipsal Coulor Touch Screen and Pascal Logic Engine programming
Background info
- Cbus side:
- 12ch Relay named "Relay A" with channels named A1 ... A12
- 12ch Relay named "Relay B" with channels named B1 ... B12
- 8ch Dimmer named "Dimmer C" with channels named C1 ... C8
- 8ch Dimmer named "Dimmer D" with channels named D1 ... D8
- PAC for logic
- 7 x DLT Ulti Saturn Key switches
- 5 x 2 Button Ulti Saturn Key switches
- 1 x Scene Controller
- Comfort Side:
- Panel is a Comfort II Ultra bought from Clipsal they call it a "Minder Pro"
- 1 x UCM01 ver 5.62 for serial coms to PC
- 1 x UCM02 Cbus
- 1 x LEM01 Local expantion module
- 2 x Keypad LCD Clipsal calls it "Key PAd Horizontal LCD"
- 1 x DP Clipsal calls it "Door Station"
- 12 x PIR's connected to Zone 1 ... 12
- 4 x Outdoor PIR's connected to zone 13 ... 16
- 1 x GSM communicater client has no telkom line
Apart from the normal fucntions of Comfort as a security system I would also like to controll the lights around the PIR's at night time to go on at certain levels during certain times.
I have created 16 GA's "028 ... 043" in Cbus Toolkit for PIR1 ... PIR16. In Comfort if the PIR_Garage (zone 1) <> 0 I use responce PIR1_On in the on responce and PIR1_Off in the off responce. the idea is to set the Cbus GA "028" to on and off respectivly, but I cant see the change on this GA in Piced when the PIR sees movement.
- On Responce: PIR1_On - CBUS On 2 28
- Off Responce: PIR1_Off - CBUS Off 2 28
Q. Is there an alternative way of setting the status of the PIR's on Cbus?
Q. How can I set the status of a key (4 keys per page) of a Clipsal DLT Ulti Saturn key switch on Comfort?
Q. When the Scene Controller is in a particular mode, and a PIR sees movement at night time it will overide the Scene setting by switching its designated light circuit to a on level. To prevent this I need to send the status of a Scene key to Comfort so that it overides the on responce for the zone of that PIR. How can this be done?
Kobus
|
slychiu Administrator

| Joined: | Saturday Apr 29th, 2006 |
| Location: | Singapore |
| Posts: | 950 |
| Status: |
Offline
|
|
Posted: Sunday Jun 1st, 2008 08:29 am |
|
Your On Response and Off Response for each PIR should switch the C-Bus lights on that address. However make sure you have the C-Bus group addresses numbered correctly. The Clipsal group addresses you mentioned are in Hexadecimal notation or decimal?
Check that the UCM/CBUS (Not UCM02) has its ID set to 2 on SW7, and in your Mindit Number of UCMs = 2
Your UCM/CBUS should have both leds D9 and D10 (green and red) both rapidly flashing showing that it is communicating with Comfort
The other leds RDY (green) should be ON, ERR should not be on, Busy 1 will flash wehen there is any C-Bus message from the C-Bus, BUSY2 should flash when there is any message to C-Bus (like from the PIR activation)
Make sure that the C-Bus wires are connected in the correct polarity to the UCM/CBUS. There is no polarity marking on the connector (by Clipsal) of which is +ve or -ve.
I am not familiar with the DLT, but the status of the leds can be set by Comfort by sending the group address and the command to it
I am not sure what you mean in the last question. My assumptions are;
You have a zone response on the PIR which turns on a Cbus light when motion is detected
You need to override that On response when a Scene key is active
If the Scene has a group address, say 10, that group address status is captured in Counter 10. In the zone Response, you can check the value of the counter 10 to decide if you will switch the light or another light on, or not at all.
|
Electronia Member

|
Posted: Sunday Jun 1st, 2008 08:58 am |
|
Thanks for your reply.
I have no wiring problem its all OK. What I have done is to write a little bit of logic in Comfigurator and it is switching the Cbus relays correctly. But I can still not see the change of the GA's at the Cbus side, I need to see this changes to make it usable in the PAC.
See attached file, this limmited logic works from Comfort. But I would realy like to do the logic in Piced, it makes life easier with regards to the key inputs, scene settings and senario's.
PIR_1 switches certain Cbus channels on and then off after 5 min at night time when movement is detected.
PIR_2 ... PIR_11 switches certain Cbus channels on and then off after 5 min at any time movement is detected
PIR_12 is what I would like to use, but it doesnt seem to set that GA
Kobus
Attachment: I0601 Macro Minder Pro.ccl (Downloaded 2 times)
|
slychiu Administrator

| Joined: | Saturday Apr 29th, 2006 |
| Location: | Singapore |
| Posts: | 950 |
| Status: |
Offline
|
|
Posted: Sunday Jun 1st, 2008 10:16 am |
|
Hi Kobus
I dont why the zone response is able to switch the Cbus relays but you are unable to see the GAs on the CBus side. The fact that it is switching the relays means that it has sent the correct message to the correct group address on C-Bus. Why are you not able to see that group address ih Cbus? This may be a C-Bus or Colour CTouch configuration issue which is affecting you
I have looked at one of the Zone Responses, on Zone 1, PIR_!_Garage;
If Input PIR_1_Garage <> 0 Then
If Hours >= 18 Then
If Hours < 7 Then
End If
End If
Do C1_ON [Switch Cbus Circuit C1 on]
Do C1_OFF [Switch Cbus Circuit C1 off] After 5 Seconds Using Timer01
End If
The 1st line "If Input PIR_1_Garage <> 0 Then" is superfluous, as this response is triggered by that same PIR_1_garage. Hence that condition can be removed for simplicity, although it causes no harm except to make your responses longer.
If you examine the above logic condtion, you will find that the If Hours do nothing because there is nothing to do when the two conditions are true except End If
The last two Do responses happens always whatever the time because they are outside the conditional loops.
The conditions for Hours> and < can be replaced by the condition
"If Night time" Found in Response Wizard > If > System Parameter > Night Time
The Night Time flag is TRUE after Sunset and before Sunrise. Look in the Schedule > Sunrise/Sunset Times screen, and select your City (Johannesburg?) to apply the table of Sunrise and Sunset Times. Comfort can adjust Daylight Saving time changes automatically so your Time Programs and Reminders work correctly
Hence the above Response can be simplified to
If Night Time Then
Do C1_ON [Switch Cbus Circuit C1 on]
Do C1_OFF [Switch Cbus Circuit C1 off] After 5 Seconds Using Timer01
End If
Provided the above is what you wanted
In the zone responses you have the lights switching on but there is no action to switch them off after 5 minutes I dont know if you have the PAC doing thatm b ut in Comfort you can program the OFF Response of each zone as
Do Response (Switch off Cbus group address) after 300 seconds using Timer ForZone1
I hope this is helpful
|
Electronia Member

|
Posted: Sunday Jun 1st, 2008 12:09 pm |
|
Thank's for your quick responce
Kobus
|
 Current time is 01:43 pm | |
|