2 pH Probes and CaRx code question

  • Thread starter Thread starter BPiers
  • Start date Start date
  • Tagged users None

BPiers

Active Member
View Badges
Joined
Feb 20, 2015
Messages
422
Reaction score
95
Location
Pembroke Pines, FLA
Rating - 0%
0   0   0
First time using 2 pH probes. One for the main tank (pH), the other in my Calcium Reactor (pH2)

I thought I could have the CO2 solenoid be controlled by pH2, but I'm having issues uploading the code. I want the switch to be naturally OFF, but on as long as the pH within the CaRx is no less than 6.4, when the solenoid will shut off until the pH rises again.
The Feed D is my maintenance feed, with a 5 minute defer statement.

I get the error with the pH2, even though it is a prompted line when writing the statement.
What am I doing incorrectly?

Fallback OFF
if pH2 > 6.41 Then ON
if pH2 < 6.4 Then OFF
If FeedD 000 Then OFF
Defer 005:00 Then ON
 
Send Failed

//Error: line 2 - Valid keywords following If are Temp, pH, ORP, DO, Cond, Par, Feed, SwX, Error, Power, Sun, or Moon // If pH2 > 6.41 Then ON //Error: line 3 - Valid keywords following If are Temp, pH, ORP, DO, Cond, Par, Feed, SwX, Error, P


it looks like pH2 is an Invalid keyword? Even though this is the name of a secondary probe?
 
What is the probe actually named as on the Probe/Input setup under the Configuration tab?
And is it enabled there?
 
pH2.

Screen Shot 2016-01-15 at 1.19.16 PM.png
 
To test something, I added a set of lines in my email alarm for the same probe, pH2 and get the same upload error:

Send Failed

//Error: line 8 - Valid keywords following If are Temp, pH, ORP, DO, Cond, Par, Feed, SwX, Error, Power, Sun, or Moon // if pH2 > 6.6 then ON //Error: line 9 - Valid keywords following If are Temp, pH, ORP, DO, Cond, Par, Feed, SwX, Error, Po
 
GOT IT!
Looks like the system doesn't like the use of pH2, so I changed it to pH_CaR and everything loads just fine.
Thanks @evolved!
Yeah, something like that. :)

No problem.
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%

New Posts

Back
Top