I have an issue with Ph expansion slot and co2 solenoid valve. CO2 solenoid valve keeps turning on/off a lot of times a day without reason. Actually there is a reason (there are two of them):
1st: as calcium reactor has feed pump ph changes during the seconds/minutes and this lead to that when ph reaches the border between limits - it switches co2 solenoid for a second and turns off, example: if solenoid should turn on when ph 6.50 and turn off when ph is 6.40 then when it reaches 6.49 and goes till 6.50 - it turns on solenoid just before it actually goes to 6.50
2nd: sometimes it just happens that you have ph in expansion 6.44 and suddenly it goes to 8.01 for a millisecond. Why - I don't know, but this triggers solenoid to turn on and off.
Here is the code that I'm using:
Code: Select all
if ( hour()>=7 && hour()<22 )
{if ( ReefAngel.Params.PHExp < 640 && ReefAngel.Params.PHExp >= 600) ReefAngel.Relay.Off(Box1_Port4); //CO2 Switch Off 635
if ( ReefAngel.Params.PHExp >= 660 && ReefAngel.Params.PHExp < 800) ReefAngel.Relay.On(Box1_Port4); //CO2 Switch On 665
}
else
{ReefAngel.Relay.Off(Box1_Port4); //CO2 Switch Off
}