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 |