• Why not take a moment to introduce yourself to our members?

james1990

Advanced Reefer
Location
Long Island NY
Rating - 100%
57   0   0
I am setting up a ATO with my apex but I am getting an error with the code.
the Avast top off states that the boxes are normally CLOSED i.e. when unpressurized the switch reports a closed, or activated state, turning the pump ON

this is what I have,

Fallback OFF
Set OFF
OSC 000:00/000:15/059:50 Then ON
If TopOff1x5_1 CLOSED Then ON
If TopOff1x5_1 OPEN Then OFF

it says line 4 and 5 error.
 

Widdy

Moderator
Vendor
Rating - 100%
75   0   0
Make sure name of switch (TopOff1x5_1) is correct.

Only line #4 is needed. It'll assume the opposite (Line 5) when line 4 is not satisfied.

Might want to alter your OSC line to read OSC 000:00/000:15/059:45 That'll fulfill 1 full hour.
 

james1990

Advanced Reefer
Location
Long Island NY
Rating - 100%
57   0   0
I changed the name to TO1x5_1 in the virtual outlet but im still getting this error

\\ Error: Valid keywords following If are Temp, pH, ORP, DO, Cond, Feed Cycle, SwitchX, PowerFail, Sun, or Moon //Error: line 3 - If TO1x5_1 CLOSED Then ON
\\ Error: Valid keywords following If are Temp, pH, ORP, DO, Cond, Feed Cycle, SwitchX, PowerFail, Sun, or Moon //Error: line 4 - If TO1x5_1 OPEN Then OFF
 

qy7400

Member
Location
Long Island
Rating - 100%
28   0   0
I don't think you can rename the switch names, program should read..


Fallback OFF
Set OFF
OSC 000:00/000:15/059:50 Then ON
If Switch_1 OPEN Then OFF

The if statement will over ride the osc command, with line 5 the top off will always fill
 

viplok

Advanced Reefer
Location
manhattan
Rating - 100%
33   0   0
plug ur ato pump to one of the outlet and program the outlet to following

Fallback OFF
Set OFF
If pH > 08.40 Then OFF
If Switchx6_2 CLOSED Then ON
If FeedA 000 Then OFF

no VO no nothing. simple and to the point:p
 

Sponsor Reefs

We're a FREE website, and we exist because of hobbyists like YOU who help us run this community.

Click here to sponsor $10:


Top