Comfort Automation/ Security System Forums
Curtains buttons in 2 modes - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Products (https://www.comfortforums.com/forum-3.html)
+--- Forum: Questions on Using Comfort (https://www.comfortforums.com/forum-159.html)
+--- Thread: Curtains buttons in 2 modes (/thread-1107.html)



- mindi65 - 07-04-2008

Hi

I have 2 buttons connected to 2 RIO inputs and 2 relays connected to mainboard outputs for UP and DOWN of curtains. When one relays is on then curtains are going to one direction when another - to another direction

I need to create set of responses to operate it in following way:

Introduce a delay (like 1 second) to each of the \"down\" and \"up\" button. So when you press \"down\" and then you want to cancel it by pressing \"up\", you can do so by turning off output for curtain down and after 1 second turning on output for curtain up. The same principle works from \"up\" and \"down\".

If you just press \"up\" or \"down\" and hold more then for 1 second then one relay is ON for measured time.

Thanks

Mindaugas






- hendy - 07-07-2008

One way to do it is like the following:
Assuming the 2 buttons are connected to input 1 (Up button) and input 2 (Down button) of RIO ID 1 and relays are connected to output 1 (controlling curtain up) and output 2 (controlling curtain down) of mainboard; open Comfigurator > Events > SCS/RIO Response:

Put the following response at the \"On Response\" of ScsRioResp129 (UP button): 
    [color=\"blue\"]Output Output02 Off
    Do Output1ON [Output 1 ON] After 1 Second Using Timer01

[color=\"black\"]At the \"Off Response\" of ScsRioResp129:
    [color=\"blue\"]Output Output01 Off
[/color]
Similar thing for \"On Response\" of ScsRioResp130 (DOWN button):
    [/color][/color][color=\"blue\"]Output Output01 Off
    Do Output2ON [Output 2 ON] After 1 Second Using Timer02
[/color]
[color=\"blue\"][color=\"black\"]And [/color][/color][color=\"blue\"][color=\"black\"]at the \"Off Response\" of ScsRioResp130:
    [color=\"blue\"]Output Output02 Off[/color][/color][/color]
[color=\"blue\"][color=\"black\"]

In a normally open switch/button, the \"On Response\" is triggered when the button is pressed (close contact) and \"Off Response\" is executed when the button is released (open contact).

Hope it answers your question.




[/color][/color]


- mindi65 - 07-07-2008

Thanks