Page 1 of 1

temp probe in another tank

Posted: Mon Jan 21, 2013 8:13 pm
by rossbryant1956
I am using this piece of code in my main tank:

Code: Select all

ReefAngel.TempProbe = T1_PROBE;  // Set the 1st plug to monitor DT temp 
    ReefAngel.OverheatProbe = T1_PROBE;  // to monitor the overheat and temperatures
    ReefAngel.OverheatShutoffPorts = Port1Bit | Port3Bit;  // DT Lights and Heat turned off when Overheat temperature exceeded
       InternalMemory.OverheatTemp_write( 829 );
I now want to add another probe on the third port and monitor another tank separately. It will have separate heaters, lights etc. How do I do this, create a another overheat point on another probe and act independently

thx in advance

Re: temp probe in another tank

Posted: Mon Jan 21, 2013 8:24 pm
by rimai
I think you already have that :)
Your own post:
http://forum.reefangel.com/viewtopic.php?p=17386#p17386

Re: temp probe in another tank

Posted: Tue Jan 22, 2013 5:38 am
by rossbryant1956
nope, I am bringing up a second tank and want another ( a second) overheat variable. One that runs in the first tank and a second one that runs in the other tank. Thx

Re: temp probe in another tank

Posted: Tue Jan 22, 2013 8:46 am
by rimai
It's going to be hard coded.
This functionality is not in the libraries.
You can use something like this:

Code: Select all

if (ReefAngel.Params.Temp[T3_PROBE] > 830)
{
ReefAngel.Relay.Off(Port1);
}

Re: temp probe in another tank

Posted: Tue Jan 22, 2013 9:09 am
by rossbryant1956
that'll work, thx.