Email notifications

3.01.03 and 3.01.04 are the board on the 2.0.2 hardware board. For hardware 2.0.2, the latest firmware is 3.01.13.
Hardware rev 2.2.2 board has firmware starting from 3.02.07.
 
Hi rossw.

After testing your logic, everything works, so I wanted to say thank you for your help.

One other request, I would like to have email notification for when the heat reaches a certain high temperature via email 4

I've tried the following, but it does not work, would you mind helping me set the high as well?


START
TSTLT AIP1 4
SET OP1 1
TSTGT AIP1 8
SET OP1 0
TSTLT T3 830
SET OP2 1
TSTGT T3 880
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
 
At a glance, I think your problem is that when you first start the PLC code OP2 and VAR2 are both 0. You will need to have your temp cycle once below 83 then above 88 before your 'BZ DONE' doesn't skip to DONE on an OP2 value of 0.

In other words, because your code is designed only to send an email the first time through after a change in status, you aren't seeing a change if it booted up at that value until it has a chance to switch to the other value.

EDIT: And for that matter, you should have the same issue with your OP1 values. If you boot your system with both OP1 and VAR1 starting out at 0, you won't get your first EMAIL2 sent until after you first have an EMAIL1 event (or in other words until OP1 has changed to 1, then changed back to 0.)
 
Back
Top