07-04-2008, 03:35 PM
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
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