Revision 1.1
LOG
The LOG statement causes the device to log data according to the settings specified under the Logging
setup tab. Note that in order to log, logging must be enabled in the Logging setup tab. The format is:
LOG
EMAIL
The EMAIL statement causes the device to send an email. The format is:
EMAIL
...or...
EMAIL relayX
...or...
EMAIL inputX
...or...
EMAIL tempX
The first option (EMAIL) sends an email message to all email addresses listed under the Network tab.
EMAIL
The second option (EMAIL relayX, where relay represents the internal relay, and where X represents the
relay number 1 or 2 ) sends an email message identical to the message that is sent when that relay
changes state. The message indicates that the email was caused by the relay, and the message is only
sent to the email addresses specified in the appropriate relay setup page under the Outlets tab.
EMAIL relay1
The third option (EMAIL inputX , where X represents the input number 1 or 2) sends an email message
identical to the message that is sent when that input changes state. The message indicates that the
email was caused by that input, and the message is only sent to the email addresses specified in the
appropriate Input setup page under the Inputs tab.
EMAIL input1
The fourth option (EMAIL tempX, where X represents the sensor number 1-3) sends an email message
identical to the message that is sent when that sensor's Alarm condition is reached. The message
indicates that the email was caused by the temperature alarm being reached, and the message is only
sent to the email addresses specified in the appropriate sensor setup page under the Sensors tab.
EMAIL temp1
END
The END statement ends the main body of code.
END
Xytronix Research & Design, Inc.
WebSwitch™ Users Manual
100
Need help?
Do you have a question about the WebSwitch XRDI-WS3 and is the answer not in the manual?