Pulsed Timers in Alerton Visual Logic Programming
This is a reminder to myself on how to generate a pulsed timer in Alerton Visual Logic.
Essentially need 3 blocks plus the AV point for the timer length in seconds.
- Delay on Make
- Delay on Break
- One Shot
With the following setup:
- AV-1: Timer interval in seconds
- BV-1: Dedicated intermediate timer value
- BV-2: Output
and the nomenclature:
Output = DOM(Seconds, Input)
| Line Num | Block | Comment |
|---|---|---|
| 1 | BR-0 = DOM(AV-1, NOT(BV-1)) |
Input of timer is negation of output of following DOB |
| 2 | BV-1 = DOB(0.5, BR-0) |
Timer length here is short, doesn’t really matter too much |
| 3 | BV-2 = OneShot(BV-1) |
Make sure that the output is a pulse for one DDC cycle |
The astute here may notice that the second delay on break isn’t really necessary. My understanding is that on some controllers the OneShot could be finicky on single pass DDC transitions. So the short timer is just to ensure the following OneShot works as intended for robustness.