Coding help

charlieborg

Active Member
Market
Messages
298
Reaction score
119
Location
Cornelia, Ga.
I bought a 6-Way Apex Switch Toggle Box - Adaptive Reef. Installed it on my Apex.

Trying to code it. I made a virtual outlet that I name “FeedMode”.

Set OFF
If Sw3 CLOSED Then ON
Defer 015:00 Then OFF

Then uploaded it.

Next I added this to my return pumps and skimmer.

Fallback ON
Set ON
If Output FeedMode = ON Then OFF
If FeedA 015 Then OFF
If FeedB 015 Then OFF
If FeedC 015 Then OFF
If FeedD 015 Then OFF
Defer 015:00 Then ON

Uploaded this but nothing is happening when I push Sw3?

Is my coding wrong?
 
Try this - you are referencing FeedA, FeedB etc in your pump/skimmer settings but turning on FeedMode with your switch - those are different things

Set OFF
If SW3 CLOSED Then ON
Defer 015:00 Then Off


Fallback ON ; Optional, can be removed as Fallback is already set to ON globally
If FeedMode = ON Then OFF
Defer 015:00 Then ON
 
top section is for your FeedMode virtual outlet

bottom section is the code for your devices you want turned off during feed mode.
 
Ok I got my toggle SW1 AND SW6 working.

Virtual-- all off

Set ON
If SW1 CLOSED Then OFF
If SW1 OPEN Then ON
If SW6 CLOSED Then OFF
If SW6 OPEN Then ON
 
OUTLETS
Fallback ON
Set ON
If Sw1 CLOSED Then OFF
If Sw1 OPEN Then ON
If Sw6 CLOSED Then OFF
If Sw6 OPEN Then ON
If Sw3 CLOSED Then OFF
If Sw3 OPEN Then ON
Min Time 015:00 Then ON
If Sw4 CLOSED Then OFF
If Sw4 OPEN Then ON
Min Time 015:00 Then ON
If Sw5 CLOSED Then OFF
If Sw5 OPEN Then ON
Min Time 015:00 Then ON
If FeedA 015 Then ON
If FeedB 015 Then ON
If FeedC 015 Then ON
If FeedD 015 Then ON

As I said, Sw1 and Sw6 WORKING.

Still working on the rest.
 
That's a lot to remember.. the makers of Apex needs to step up their game for the price their charging and move away from DOS to a more friendly windows approach.
 
Back
Top