Hello all,
I wanted to add additional program lines to the below code that I have in one of my older Webcontrol board. Version: v03.01.03
I tried so many different combinations but it will not work.
Basically, I wanted to add to my existing code (listed below in green) code that will tun on OP3 at 4:00 and then turn off OP3 at 23:00, also wanted to have one email sent when it goes on and off.
Can someone help me with integrating the above into the below?
Thank you very much.
START
TSTLT AIP1 8
SET OP1 1
TSTGT AIP1 12
SET OP1 0
TSTLT T3 1080
SET OP2 1
TSTGT T3 1160
SET OP2 0
XOR OP1 VAR1
BZ TEMPTEST
TSTEQ OP1 1
EMAIL 1
TSTEQ OP1 0
EMAIL 2
TEMPTEST:
XOR OP2 VAR2
BZ DONE
TSTEQ OP2 1
EMAIL 3
TSTEQ OP2 0
EMAIL 4
DONE:
SET VAR1 OP1
SET VAR2 OP2
END
I wanted to add additional program lines to the below code that I have in one of my older Webcontrol board. Version: v03.01.03
I tried so many different combinations but it will not work.
Basically, I wanted to add to my existing code (listed below in green) code that will tun on OP3 at 4:00 and then turn off OP3 at 23:00, also wanted to have one email sent when it goes on and off.
Can someone help me with integrating the above into the below?
Thank you very much.
START
TSTLT AIP1 8
SET OP1 1
TSTGT AIP1 12
SET OP1 0
TSTLT T3 1080
SET OP2 1
TSTGT T3 1160
SET OP2 0
XOR OP1 VAR1
BZ TEMPTEST
TSTEQ OP1 1
EMAIL 1
TSTEQ OP1 0
EMAIL 2
TEMPTEST:
XOR OP2 VAR2
BZ DONE
TSTEQ OP2 1
EMAIL 3
TSTEQ OP2 0
EMAIL 4
DONE:
SET VAR1 OP1
SET VAR2 OP2
END