Hi,
I looked at your diagrams and came up with something similar to control my shutters. However, I'm looking for a slightly different behavior:
if shutter is going up, a press on UP or DOWN button stops it
if shutter is going down, a press on UP or DOWN button stops it
if shutter is not moving, a press on UP button starts it going up for X secs
if shutter is not moving, a press on DOWN button starts it going down for X secs
I understand that you use a on-delay timer to distinguish between a cancel of the ongoing operation and re-activation of another operation.
I tried to use the output (through a flag block) negated with an AND on the input button to start the offdelay block only if there is no active output but I encounter timing issues (the output being reset immediately lets the input button go through and re-activates a new off delay transition).
Do you see a way to do this?
Thanks a lot,
Raph
Hi, I looked at your diagrams and came up with something similar to control my shutters. However, I'm looking for a slightly different behavior: