script ? using apex controller for temp controll with ac-unit/chiller ..

j-123

Premium Member
apex controller question (full version apex controller about 6 months old)...

goal ... to get ac unit to come on for an hour each time tank hits the high temp set point.

i am using a window ac unit as chiller which is blowing right on the tank. it also takes out extra heat and humidity in room from the lights from tank. ac unit more effecient if it runs for an hour at a time .

i have the ac window unit plugged into an outlet on the apex controller with temp on thermastat on ac unit set to 60 degrees . so it runs all the time unless apex turns it off.

question:
how to get the ac unit to cycle on for like an hour when it needs to come on (then goes off ). then temp rises some and it comes on again like for an hour at a time.

below is my code , but the "min time" does not work.
so it comes on for 5 min , then goes off because temp is back to 79.0

is there a better way to do this ..

some how ,,, come on at 79 degree , but go off at 77 degree

my code ::::

Fallback OFF
Set OFF
If Temp > 79.0 Then ON
Min Time 060:00 Then OFF

ok, thanks
 
Fallback OFF
Set OFF
If Temp > 79.0 Then ON
Min Time 060:00 Then ON

Change as highlighted. This will keep the outlet ON for at least an hour, then if the Temp has dropped to 79.0 it will turn OFF. Here is an alternative, creating a control range:

[AC]
Fallback OFF
If Temp > 79.0 Then ON
If Temp < 78.8 Then OFF

This will turn the AC ON at 79.1 and allow it to run as long as necessary until the Temp drops to 78.7.

Todd
 
Fallback OFF
If Temp > 79.0 Then ON
If Temp < 78.8 Then OFF

This will turn the AC ON at 79.1 and allow it to run as long as necessary until the Temp drops to 78.7.

Todd

hey Todd,

thanks for script , i tried this one above , this would be my first choice , to be able to just use temp set points to turn it off and on.

when i ran the above script, the outlet would be on from anything greater than 79.0 ,,, but once cooled to 79.0 then outlet would just turn off.

it would not wait until 78.8 too turn off .

so the lower set point was not doing anything.

any thoughts anyone ?

thanks, Joe
 
Did you take out the "Set OFF" comment? If not then maybe when the temp reaches no mans land (between 78.8 and 79) the controller will not have any specific parameters to go by and will default to the "Set OFF" comment. Just a thought.
 
As Gold Stripe mentioned, did you use the code exactly as written? What about the chiller itself, does it have a thermostat? If so, then it will need to be set slightly lower than the Apex.

Todd
 
Back
Top