Does this look OK? Thanks.
I would like a relay to turn on the pump to the panels when I have a temp difference between the panel output and storage tank of 12 degrees or more and off when it is less than 5 degrees.
T1=solar panel water temp, T2=water tank temp, T3=shop temp
OP1=TTL output 1 for panel pump relay, OPT2=TTL output for heat transfer pump
relay.
Start
ADD 12 T2 VAR1
ADD 5 T2 VAR2
TSTLT T1 VAR2
CALLSUB panel_pump_off
TSTGT T1 T2 VAR 1
CALLSUB panel_pump_on
END
panel_pump_off:
SET OP1 0
RET
Panel_pump_on:
SET OP1 1
RET
I would like a relay to turn on the pump to the panels when I have a temp difference between the panel output and storage tank of 12 degrees or more and off when it is less than 5 degrees.
T1=solar panel water temp, T2=water tank temp, T3=shop temp
OP1=TTL output 1 for panel pump relay, OPT2=TTL output for heat transfer pump
relay.
Start
ADD 12 T2 VAR1
ADD 5 T2 VAR2
TSTLT T1 VAR2
CALLSUB panel_pump_off
TSTGT T1 T2 VAR 1
CALLSUB panel_pump_on
END
panel_pump_off:
SET OP1 0
RET
Panel_pump_on:
SET OP1 1
RET