VDM Code for LED's

jkopp36

New member
From the New User Guide:

Set OFF
If Time 08:00 to 09:00 Then RampUp <- ramps it to 75%
If Time 09:00 to 19:00 Then ON <- jumps it to 100%
If Time 19:00 to 20:00 Then RampDown <- ramps it back down to 0%


What if I want to keep the LEDs at 75% (or another % for that matter) from 09:00 to 19:00 in the above example?
 
What if I want to keep the LEDs at 75% (or another % for that matter) from 09:00 to 19:00 in the above example?
Remove the following line, change the end time on the ramp up and the LEDs will hold at the ramp-up value:

If Time 09:00 to 19:00 Then ON <- jumps it to 100%


The final program will look like:

Set OFF
If Time 08:00 to 19:00 Then RampUp <- ramps it to 75%
If Time 19:00 to 20:00 Then RampDown <- ramps it back down to 0%
 
Thanks Ken! That was my guess but wanted to get input before I actually tried it. I'll give it a try tonight.
 
Well Ken, it works but I don't like the fact that if you "manual off" and then go back to "auto" it restarts the rampup. I would rather it just come back full on. Any ideas on that?
 
That is a limitation of the current firmware. There are plans to add code to detect where in a ramp cycle something should be and start at that point but not this version. If you are in the habbit if using manual control then I'd suggest short ramp times for the near future.
 
Understood. In the grand scheme of things it really isn't an issue as long as everything is working as designed.
 
Back
Top