|
01/12/2013, 01:09 AM | #1 |
Registered Member
Join Date: Jan 2013
Posts: 17
|
Advanced Apex AI sol programming problem solving
I have been using Apex controller for over 5 years now, with VDM for AI sol led's and much more. I have a problem where I am trying to get my VO_Set to ramp down profile prior to sunset, according to season table. But what is actually happening, is that when VO_Set turns on at 16:45, is when ramping of profile begins. Inherently VO_Set is working like it was sunrise, starting ramp cycle at beginning rather than prior to end, like sunset. I know if any one could figure this out it would be Ken Argo.
Here are my programs and profiles; Profiles RoyalUp ramp time 60 start intensity 0 end intensity 80 BlueUp 60 0 50 WhiteUp 50 0 40 RoyalMid 0 80 80 BlueMid 0 50 50 WhiteMid 0 40 40 RoyalHi 10 90 90 BlueHi 10 60 60 White Hi 5 60 60 RoyalDwn 120 80 0 BlueDwn 110 50 0 WhiteDwn 100 40 0 Outlets VO_Rise Fallback OFF Set OFF If Sun 000/-480 Then ON If Outlet VO_High = ON Then OFF If Outlet VO_Midday = ON Then OFF If Outlet VO_Set = ON Then OFF VO_Midday Fallback OFF Set OFF If Time 09:45 to 12:00 Then ON If Time 14:01 to 16:46 Then ON VO_High Fallback OFF Set OFF If Time 12:00 to 14:00 Then ON VO_Set Fallback OFF Set OFF If Sun 480/000 Then ON If Outlet VO_Rise = ON Then OFF If Time 09:45 to 16:45 Then OFF RoyalLED Fallback OFF Set OFF If Outlet MoonLed = ON Then MoonLt If Outlet VO_Rise = ON Then RoyalUp If Outlet VO_Midday = ON Then RoyalMid If Outlet VO_Set = ON Then RoyalDwn If Outlet VO_High = ON Then RoyalHi If Outlet Storm = ON Then Storm If Outlet Clouds = ON Then Clouds BlueLED Fallback OFF Set OFF If Outlet VO_Rise = ON Then BlueUp If Outlet VO_Midday = ON Then BlueMid If Outlet VO_High = ON Then BlueHi If Outlet VO_Set = ON Then BlueDwn If Outlet Storm = ON Then Storm If Outlet Clouds = ON Then Clouds WhiteLED Fallback OFF Set OFF If Outlet VO_Rise = ON Then WhiteUp If Outlet VO_Midday = ON Then WhiteMid If Outlet VO_High = ON Then WhiteHi If Outlet VO_Set = ON Then WhiteDwn If Outlet Storm = ON Then Storm If Outlet Clouds = ON Then Clouds Clouds Set OFF If Time 10:00 to 10:35 Then ON If DoW SMTW-F- Then OFF Storm Set OFF If Time 14:00 to 14:30 Then ON If DoW -M-WTFS Then OFF So basically during VO_Set, it takes 2 hours from start of outlet to ramp down RoyalDwn which ends up being the last led on for 10 min by its self, rather than all led's ramping toward sunset time. This means that my actual sunset off time is based on profile ramp and not actual seasonal chart time. Does someone know how to get around this? PS. the reason some VO outlets have Sun syntax and other have If Time is to avoid conflict with led's turning off for 1 second when switching between profiles. This took me some time to tweak up as to have a seamless ramp and switch between profiles throughout the day. |
01/12/2013, 07:53 PM | #2 |
Moved On
Join Date: Jan 2013
Location: California
Posts: 172
|
Any luck on this?
|
01/19/2013, 07:06 PM | #3 |
Registered Member
Join Date: Jan 2013
Posts: 17
|
Nope
|
01/19/2013, 09:04 PM | #4 |
Registered Member
Join Date: Jan 2007
Location: El Cajon, CA
Posts: 7,818
|
VO_Set
Fallback OFF Set OFF If Sun 480/-120 Then ON If Outlet VO_Rise = ON Then OFF If Time 09:45 to 16:45 Then OFF Change the If Sun statement as shown above, and delete the If Time statement. You can eliminate all of your If Time "band-aids" if go back to using If Sun statements exclusively and you reverse the order of the If Outlet statements in the Sol outlets for sunrise, midday, and sunset. Instead of: If Outlet VO_Rise = ON Then BlueUp If Outlet VO_Midday = ON Then BlueMid If Outlet VO_High = ON Then BlueHi If Outlet VO_Set = ON Then BlueDwn Use this: If Outlet VO_Rise = ON Then BlueUp If Outlet VO_Midday = ON Then BlueMid If Outlet VO_Set = ON Then BlueDwn Repeat for White and RB |
Tags |
ai sol, apex programming, ken argo, ramp, sunset |
|
|