Sooo. Someone emailed me about the coding that I use for my Apex.
BEWARE you cannot copy paste most of this coding as it will give you errors as you need to have the outlets setup the exact same. However, hopefully it will give people ideas.
Also the coding hasn't been cleaned up yet. There are some redundant statements, such as If FeedA 000 Then OFF along with If Outlet mainPump = OFF Then OFF. The reason it is redundant is because the Outlet mainPump also has a If FeedA 000 Then OFF statement. So it will turn off and both statements will return TRUE. So only need one, haven't found the time to clean them up.
Anyways here it is.....
Firmware: 4.12_2A12
Listing generated: 04/20/2012 10:27:07
PROGRAM
1-Blue [0]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 12:00 to 13:00 Then bSunrise
If Time 13:00 to 22:00 Then ON
If Time 22:00 to 23:00 Then bSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then Storm-1
If Outlet Daylight = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Fan(L.E.D.) = OFF Then OFF
1-White [1]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 13:00 to 14:00 Then wSunrise
If Time 14:00 to 20:00 Then wMidday
If Time 20:00 to 21:00 Then wSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then OFF
If Outlet Daylight = ON Then wMidday
If Outlet actinicsONLY = ON Then OFF
If Outlet Fan(L.E.D.) = OFF Then OFF
2-White [27]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 13:05 to 14:05 Then wSunrise
If Time 14:05 to 20:05 Then wMidday
If Time 20:05 to 21:05 Then wSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then OFF
If Outlet Daylight = ON Then wMidday
If Outlet actinicsONLY = ON Then OFF
If Outlet Fan(L.E.D.) = OFF Then OFF
2-Blue [28]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 12:05 to 13:05 Then bSunrise
If Time 13:05 to 22:05 Then ON
If Time 22:05 to 23:05 Then bSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then Storm-2
If Outlet Daylight = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Fan(L.E.D.) = OFF Then OFF
3-White [33]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 13:10 to 14:10 Then wSunrise
If Time 14:10 to 20:10 Then wMidday
If Time 20:10 to 21:10 Then wSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then OFF
If Outlet Daylight = ON Then wMidday
If Outlet actinicsONLY = ON Then OFF
If Outlet Fan(L.E.D.) = OFF Then OFF
3-Blue [34]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 12:10 to 13:10 Then bSunrise
If Time 13:10 to 22:10 Then ON
If Time 22:10 to 23:10 Then bSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then Storm-3
If Outlet Daylight = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Fan(L.E.D.) = OFF Then OFF
4-White [29]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 13:15 to 14:15 Then wSunrise
If Time 14:15 to 20:15 Then wMidday
If Time 20:15 to 21:15 Then wSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then OFF
If Outlet Daylight = ON Then wMidday
If Outlet actinicsONLY = ON Then OFF
ont-size:10px;"> If Outlet Fan(L.E.D.) = OFF Then OFF
4-Blue [30]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Fallback OFF
Set OFF
If Time 12:15 to 13:15 Then bSunrise
If Time 13:15 to 22:15 Then ON
If Time 22:15 to 23:15 Then bSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then Storm-4
If Outlet Daylight = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Fan(L.E.D.) = OFF Then OFF
5-Blue [2]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 12:20 to 13:20 Then bSunrise
If Time 13:20 to 22:20 Then ON
If Time 22:20 to 23:20 Then bSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then Storm-5
If Outlet Daylight = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Fan(L.E.D.) = OFF Then OFF
5-White [3]
Program Type: Advanced
Display Icon: Sun
Program:
Fallback OFF
Set OFF
If Time 13:20 to 14:20 Then wSunrise
If Time 14:20 to 20:20 Then wMidday
If Time 20:20 to 21:20 Then wSunset
If Outlet Maintenance = ON Then Cleaning
If Outlet Cloudy = ON Then Clouds
If Outlet Lightning = ON Then OFF
If Outlet Daylight = ON Then wMidday
If Outlet actinicsONLY = ON Then OFF
If Outlet Fan(L.E.D.) = OFF Then OFF
sendAlarm [4]
Program Type: Advanced
Display Icon: Sound B
Program:
Set OFF
sendWarning [5]
Program Type: Advanced
Display Icon: Sound A
Program:
Fallback OFF
Set OFF
If Temp > 79.0 Then ON
If Outlet Emergency = ON Then ON
sendEmail [6]
Program Type: Advanced
Display Icon: Email
Program:
Fallback OFF
Set OFF
If Temp > 79.0 Then ON
If Temp < 76.5 Then ON
If Temp < 70.0 Then ON
If Outlet mainPump = OFF Then ON
If Power Apex Off 000 Then ON
If Time 09:00 to 09:10 Then ON
If FeedA 000 Then ON
If FeedB 000 Then ON
If FeedC 000 Then ON
If FeedD 000 Then ON
If Outlet Emergency = ON Then ON
If Outlet SkimmerFull = ON Then ON
chillerPump [7]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback OFF
If Temp > 77.4 Then ON
If Temp < 77.4 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet mainPump = OFF Then OFF
If Outlet heater(Fuge) = ON Then OFF
If Outlet heater(Sump) = ON Then OFF
Min Time 001:00 Then OFF
If Outlet Emergency = ON Then OFF
heater(Fuge) [8]
Program Type: Advanced
Display Icon: Thermometer
Program:
Fallback OFF
If Temp < 76.5 Then ON
If Temp > 77.3 Then OFF
If Temp < 70.0 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet mainPump = OFF Then OFF
If Outlet chillerPump = ON Then OFF
Min Time 001:00 Then OFF
If Outlet Emergency = ON Then OFF
heater(Sump) [9]
Program Type: Advanced
Display Icon: Thermometer
Program:
Fallback OFF
If Temp < 77.1 Then ON
If Temp > 77.2 Then OFF
If Temp < 70.0 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet mainPump = OFF Then OFF
If Outlet chillerPump = ON Then OFF
Min Time 001:00 Then OFF
If Outlet Emergency = ON Then OFF
SkimCleaner [10]
Program Type: Advanced
Display Icon: Arrows
Program:>
Fallback OFF
Set OFF
OSC 000:00/000:15/359:45 Then ON
If Outlet Maintenance = ON Then OFF
If Outlet Skimmer = OFF Then OFF
If FeedA 000 Then OFF
If FeedB 000 Then OFF
If FeedC 000 Then OFF
If FeedD 000 Then OFF
fugeLight [11]
Program Type: Advanced
Display Icon: Light A
Program:
Fallback OFF
Set OFF
If Time 22:00 to 14:00 Then ON
If Temp > 80.0 Then OFF
If Outlet Maintenance = ON Then ON
If Outlet Cloudy = ON Then OFF
If Outlet Lightning = ON Then OFF
If Outlet actinicsONLY = ON Then OFF
If Outlet Emergency = ON Then OFF
mainPump [12]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback ON
Set ON
If FeedA 005 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet Emergency = ON Then OFF
Skimmer [13]
Program Type: Advanced
Display Icon: Arrows
Program:
Fallback OFF
Set ON
If Outlet mainPump = OFF Then OFF
If Power Apex Off 005 Then OFF
If FeedA 010 Then OFF
If Outlet Maintenance = ON Then OFF n>
If Outlet SkimmerFull = ON Then OFF
Defer 005:00 Then ON
autoTopOff [14]
Program Type: Advanced
Display Icon: Spiget
Program:
Fallback OFF
Set OFF
OSC 000:00/030:00/330:00 Then ON
Min Time 001:00 Then OFF
If Outlet mainPump = OFF Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet Emergency = ON Then OFF
Maintenance [15]
Program Type: Advanced
Display Icon: Clock
Program:
Fallback OFF
Set OFF
If FeedD 000 Then ON
Cloudy [16]
Program Type: Advanced
Display Icon: Moon
Program:
Fallback OFF
Set OFF
OSC 000:00/005:00/010:00 Then ON
If DoW SMT-TFS Then OFF
If Time 20:00 to 15:00 Then OFF
Lightning [17]
Program Type: Advanced
Display Icon: Moon
Program:
Fallback OFF
Set OFF
If Time 23:25 to 23:40 Then ON
If DoW -MTWTFS Then OFF
actinicsONLY [18]
Program Type: Advanced
Display Icon: Moon
Program:
Fallback OFF
Set OFF
Powerhead-1 [19]
Program Type: Advanced
Display Icon: Fan
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF
Min Time 001:00 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet Emergency = ON Then OFF
Powerhead-2 [20]
Program Type: Advanced
Display Icon: Fan
Program:
Fallback ON
Set ON
If FeedA 000 Then OFF
Min Time 001:00 Then OFF
If Outlet Maintenance = ON Then OFF
If Outlet Emergency = ON Then OFF
T.B.D.(1) [21]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback OFF
Set OFF
Fan(L.E.D.) [22]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback ON
Set OFF
If Time 11:55 to 23:30 Then ON
If Outlet Maintenance = ON Then ON
If Outlet Cloudy = ON Then ON
If Outlet Lightning = ON Then ON
If Outlet actinicsONLY = ON Then ON
If Outlet Daylight = ON Then ON
If Outlet Emergency = ON Then OFF
Powerhead-4 [23]
Program Type: Advanced
Display Icon: Fan
Program:
Fallback ON
Set ON
If Outlet Maintenance = ON Then OFF
If FeedA 000 Then OFF
If Outlet Emergency = ON Then OFF
Powerhead-3 [24]
Program Type: Advanced
Display Icon: Fan
Program:
Fallback ON
Set ON
If Outlet Maintenance = ON Then OFF
If FeedA 000 Then OFF
If Outlet Emergency = ON Then OFF
T.B.D.(2) [25]
Program Type: Advanced
Display Icon: Bell
Program:
Fallback ON
Set OFF
FX-Speakers [26]
Program Type: Advanced
Display Icon: Sound A
Program:
Fallback OFF
Set OFF
If Outlet Lightning = ON Then ON
Not-Used [31]
Program Type: Advanced
Display Icon: Light A
Program:
Fallback OFF
Set OFF
Not-Used(2) [32]
Program Type: Advanced
Display Icon: Light B
Program:
Fallback OFF
Set OFF
yle="font-size:10px;">VDM(1) [35]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Fallback OFF
Set OFF
VDM(2) [36]
Program Type: Advanced
Display Icon: Left/Right Arrows
Program:
Fallback OFF
Set OFF
Not-Used(3) [37]
Program Type: Light
Display Icon: Light A
Program:
Fallback OFF
Set OFF
If Time 08:00 to 20:00 Then ON
If Temp > 82.0 Then OFF
Min Time 030:00 Then OFF
Daylight [38]
Program Type: Advanced
Display Icon: Moon
Program:
Fallback OFF
Set OFF
MoonLights [39]
Program Type: Advanced
Display Icon: Moon
Program:
Fallback OFF
Set OFF
If Time 22:00 to 13:00 Then ON
If Outlet Lightning = ON Then ON
If Outlet Emergency = ON Then OFF
Switch_1 [40]
Program Type: Advanced
Display Icon: Light A
Program:
Set OFF
Switch_2 [41]
Program Type: Advanced
Display Icon: Light B
Program:
Set OFF
SkimmerFull [42]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Set OFF
If Switch3 CLOSED Then ON
Min Time 001:00 Then ON
Emergency [43]
Program Type: Advanced
Display Icon: Up/Down Arrows
Program:
Set OFF
If Switch4 CLOSED Then ON
Switch_5 [44]
Program Type: Advanced
Display Icon: Moon
Program:
Set OFF
Switch_6 [45]
Program Type: Advanced
Display Icon: Moon
Program:
Set OFF
PROFILES
bSunrise [PF1]
Type: Ramp
Ramp Time: 30
Start Intensity: 0
End Intensity: 100
wSunrise [PF2]
Type: Ramp
Ramp Time: 30
Start Intensity: 0
End Intensity: 80
bSunset [PF3]
Type: Ramp
Ramp Time: 30
Start Intensity: 100
End Intensity: 0
tyle="font-size:10px;">wSunset [PF4]
Type: Ramp
Ramp Time: 30
Start Intensity: 80
End Intensity: 0
bMidday [PF5]
Type: Ramp
Ramp Time: 0
Start Intensity: 100
End Intensity: 100
wMidday [PF6]
Type: Ramp
Ramp Time: 0
Start Intensity: 80
End Intensity: 80
Storm-1 [PF7]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 3
On Time: 1
Off Time: 11
Minimum Intensity: 0
Maximum Intensity: 10
Storm-2 [PF8]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 5
On Time: 1
Off Time: 7
Minimum Intensity: 0
Maximum Intensity: 10
Storm-3 [PF9]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 5
On Time: 1
Off Time: 6
Minimum Intensity: 0
Maximum Intensity: 10
Storm-4 [PF10]
Type: Pump
0px;"> Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 9
On Time: 1
Off Time: 9
Minimum Intensity: 0
Maximum Intensity: 10
Storm-5 [PF11]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 6
On Time: 1
Off Time: 5
Minimum Intensity: 0
Maximum Intensity: 10
Clouds [PF12]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 2
On Time: 100
Off Time: 30
Minimum Intensity: 40
Maximum Intensity: 100
PF13 [PF13]
Type: Weather
Light Maximum Intensity: 10
Cloudy Light Intensity: 10
Cloud Duration: 545
Cloudy Time: 1
Probability of Lightning: 1
Lightning Intensity: 1
PF14 [PF14]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF15 [PF15]
Type: Pump
an style="font-size:10px;"> Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF16 [PF16]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF17 [PF17]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF18 [PF18]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF19 [PF19]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF20 [PF20]
ont-size:10px;"> Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF21 [PF21]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF22 [PF22]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF23 [PF23]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF24 [PF24]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
0px;">PF25 [PF25]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF26 [PF26]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF27 [PF27]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF28 [PF28]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF29 [PF29]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF30 [PF30]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
PF31 [PF31]
Type: Pump
Synchronize: Disable
Divide By 10: Disable
Initial Off Time: 1
On Time: 1
Off Time: 1
Minimum Intensity: 0
Maximum Intensity: 100
Cleaning [PF32]
Type: Ramp
Ramp Time: 1
Start Intensity: 20
End Intensity: 20