Hi,i am new and need help with email. I don't know how to do this,
1-when t3(pipe temp)goes above 80f email em1
2-when t5(water temp)goes above 105f email em2
3-when t3 (pipe temp)goes below 60f email em3
4-when t5(water temp)goes below 90f email em4
the code i have now works like this and test good
-if op1 is on (manual)op7(pump)on and if water is below103.5f turn op8(heater)on
-if op1 off(manual off)check water temp below 100f turn on pump and heat
-and safety if t3(pipe) over 80f turn all off
-and safety if t5(water)over 105 turn all off
START
TSTEQ OP1 1
CALLSUB MANUAL_ON
TSTGE T3 800
callsub ph_off
tstge t5 1050
CALLSUB PH_OFF
TSTLE T5 1000
CALLSUB HEAT_ON
TSTGE T5 1040
CALLSUB HEAT_OFF
END
MANUAL_ON:
SET OP7 1
TSTLE T5 1035
SET OP8 1
TSTGE T5 1040
SET OP8 0
RET
HEAT_ON:
SET OP7 1
SET OP8 1
RET
HEAT_OFF:
SET OP8 0
DELAY 10000
SET OP7 0
RET
PH_OFF:
SET OP1 0
SET OP7 0
SET OP8 0
RET
1-when t3(pipe temp)goes above 80f email em1
2-when t5(water temp)goes above 105f email em2
3-when t3 (pipe temp)goes below 60f email em3
4-when t5(water temp)goes below 90f email em4
the code i have now works like this and test good
-if op1 is on (manual)op7(pump)on and if water is below103.5f turn op8(heater)on
-if op1 off(manual off)check water temp below 100f turn on pump and heat
-and safety if t3(pipe) over 80f turn all off
-and safety if t5(water)over 105 turn all off
START
TSTEQ OP1 1
CALLSUB MANUAL_ON
TSTGE T3 800
callsub ph_off
tstge t5 1050
CALLSUB PH_OFF
TSTLE T5 1000
CALLSUB HEAT_ON
TSTGE T5 1040
CALLSUB HEAT_OFF
END
MANUAL_ON:
SET OP7 1
TSTLE T5 1035
SET OP8 1
TSTGE T5 1040
SET OP8 0
RET
HEAT_ON:
SET OP7 1
SET OP8 1
RET
HEAT_OFF:
SET OP8 0
DELAY 10000
SET OP7 0
RET
PH_OFF:
SET OP1 0
SET OP7 0
SET OP8 0
RET